4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_5fconfig_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/unknown_field_set.h>
35 #include "dccl/option_extensions.pb.h"
37 #include <boost/units/quantity.hpp>
38 #include <boost/units/absolute.hpp>
39 #include <boost/units/dimensionless_type.hpp>
40 #include <boost/units/make_scaled_unit.hpp>
42 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2facomms_2fprotobuf_2fstore_5fserver_5fconfig_2eproto
47 static const ::google::protobuf::internal::ParseTableField
entries[];
48 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
49 static const ::google::protobuf::internal::ParseTable
schema[1];
60 class StoreServerConfig;
61 class StoreServerConfigDefaultTypeInternal;
93 *
this = ::std::move(from);
97 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
98 if (
this != &from) InternalSwap(&from);
106 return _internal_metadata_.unknown_fields();
109 return _internal_metadata_.mutable_unknown_fields();
112 static const ::google::protobuf::Descriptor*
descriptor();
131 return CreateMaybeMessage<StoreServerConfig>(NULL);
135 return CreateMaybeMessage<StoreServerConfig>(arena);
137 void CopyFrom(const ::google::protobuf::Message& from)
final;
138 void MergeFrom(const ::google::protobuf::Message& from)
final;
146 ::
google::protobuf::io::CodedInputStream* input) final;
148 ::
google::protobuf::io::CodedOutputStream* output) const final;
150 bool deterministic, ::
google::protobuf::uint8* target) const final;
156 void SetCachedSize(
int size)
const final;
159 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
162 inline void* MaybeArenaPtr()
const {
208 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
210 const ::goby::middleware::protobuf::AppConfig&
app()
const;
220 const ::goby::middleware::protobuf::TCPServerConfig& _internal_tcp_server()
const;
222 const ::goby::middleware::protobuf::TCPServerConfig&
tcp_server()
const;
230 void clear_has_app();
231 void set_has_tcp_server();
232 void clear_has_tcp_server();
233 void set_has_db_file_dir();
234 void clear_has_db_file_dir();
235 void set_has_db_file_name();
236 void clear_has_db_file_name();
238 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
239 ::google::protobuf::internal::HasBits<1> _has_bits_;
240 mutable ::google::protobuf::internal::CachedSize _cached_size_;
244 ::google::protobuf::internal::ArenaStringPtr db_file_dir_;
245 ::google::protobuf::internal::ArenaStringPtr db_file_name_;
248 friend struct ::protobuf_goby_2facomms_2fprotobuf_2fstore_5fserver_5fconfig_2eproto::TableStruct;
256 #pragma GCC diagnostic push
257 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
263 return (_has_bits_[0] & 0x00000004u) != 0;
265 inline void StoreServerConfig::set_has_app() {
266 _has_bits_[0] |= 0x00000004u;
268 inline void StoreServerConfig::clear_has_app() {
269 _has_bits_[0] &= ~0x00000004u;
271 inline const ::goby::middleware::protobuf::AppConfig& StoreServerConfig::_internal_app()
const {
275 const ::goby::middleware::protobuf::AppConfig* p = app_;
290 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
298 if (message_arena == NULL) {
303 if (message_arena != submessage_arena) {
304 app = ::google::protobuf::internal::GetOwnedMessage(
305 message_arena,
app, submessage_arena);
317 return (_has_bits_[0] & 0x00000008u) != 0;
319 inline void StoreServerConfig::set_has_tcp_server() {
320 _has_bits_[0] |= 0x00000008u;
322 inline void StoreServerConfig::clear_has_tcp_server() {
323 _has_bits_[0] &= ~0x00000008u;
325 inline const ::goby::middleware::protobuf::TCPServerConfig& StoreServerConfig::_internal_tcp_server()
const {
329 const ::goby::middleware::protobuf::TCPServerConfig* p = tcp_server_;
336 clear_has_tcp_server();
342 set_has_tcp_server();
343 if (tcp_server_ == NULL) {
344 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::TCPServerConfig>(GetArenaNoVirtual());
352 if (message_arena == NULL) {
357 if (message_arena != submessage_arena) {
358 tcp_server = ::google::protobuf::internal::GetOwnedMessage(
361 set_has_tcp_server();
363 clear_has_tcp_server();
371 return (_has_bits_[0] & 0x00000001u) != 0;
373 inline void StoreServerConfig::set_has_db_file_dir() {
374 _has_bits_[0] |= 0x00000001u;
376 inline void StoreServerConfig::clear_has_db_file_dir() {
377 _has_bits_[0] &= ~0x00000001u;
381 clear_has_db_file_dir();
385 return db_file_dir_.GetNoArena();
388 set_has_db_file_dir();
394 set_has_db_file_dir();
395 db_file_dir_.SetNoArena(
401 GOOGLE_DCHECK(value != NULL);
402 set_has_db_file_dir();
407 set_has_db_file_dir();
409 ::std::string(
reinterpret_cast<const char*
>(value), size));
413 set_has_db_file_dir();
422 clear_has_db_file_dir();
427 set_has_db_file_dir();
429 clear_has_db_file_dir();
437 return (_has_bits_[0] & 0x00000002u) != 0;
439 inline void StoreServerConfig::set_has_db_file_name() {
440 _has_bits_[0] |= 0x00000002u;
442 inline void StoreServerConfig::clear_has_db_file_name() {
443 _has_bits_[0] &= ~0x00000002u;
447 clear_has_db_file_name();
451 return db_file_name_.GetNoArena();
454 set_has_db_file_name();
460 set_has_db_file_name();
461 db_file_name_.SetNoArena(
467 GOOGLE_DCHECK(value != NULL);
468 set_has_db_file_name();
473 set_has_db_file_name();
475 ::std::string(
reinterpret_cast<const char*
>(value), size));
479 set_has_db_file_name();
488 clear_has_db_file_name();
493 set_has_db_file_name();
495 clear_has_db_file_name();
502 #pragma GCC diagnostic pop
514 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_5fconfig_2eproto