4 #ifndef PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgobyd_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>
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_2fzeromq_2fprotobuf_2fgobyd_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[2];
60 class GobyDaemonConfig;
61 class GobyDaemonConfigDefaultTypeInternal;
63 class GobyIntervehiclePortalConfig;
64 class GobyIntervehiclePortalConfigDefaultTypeInternal;
97 *
this = ::std::move(from);
101 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
102 if (
this != &from) InternalSwap(&from);
110 return _internal_metadata_.unknown_fields();
113 return _internal_metadata_.mutable_unknown_fields();
116 static const ::google::protobuf::Descriptor*
descriptor();
135 return CreateMaybeMessage<GobyDaemonConfig>(NULL);
139 return CreateMaybeMessage<GobyDaemonConfig>(arena);
141 void CopyFrom(const ::google::protobuf::Message& from)
final;
142 void MergeFrom(const ::google::protobuf::Message& from)
final;
150 ::
google::protobuf::io::CodedInputStream* input) final;
152 ::
google::protobuf::io::CodedOutputStream* output) const final;
154 bool deterministic, ::
google::protobuf::uint8* target) const final;
160 void SetCachedSize(
int size)
const final;
163 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
166 inline void* MaybeArenaPtr()
const {
182 const ::
goby::middleware::protobuf::AppConfig& _internal_app() const;
184 const ::
goby::middleware::protobuf::AppConfig&
app() const;
194 const ::
goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
196 const ::
goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess() const;
206 const ::
goby::middleware::
intervehicle::protobuf::PortalConfig& _internal_intervehicle() const;
218 const ::
goby::zeromq::protobuf::InterProcessManagerHold& _internal_hold() const;
220 const ::
goby::zeromq::protobuf::InterProcessManagerHold&
hold() const;
235 void clear_has_app();
236 void set_has_router_threads();
237 void clear_has_router_threads();
238 void set_has_interprocess();
239 void clear_has_interprocess();
240 void set_has_intervehicle();
241 void clear_has_intervehicle();
243 void clear_has_hold();
245 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
246 ::
google::protobuf::internal::HasBits<1> _has_bits_;
247 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
248 ::
goby::middleware::protobuf::AppConfig* app_;
249 ::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
251 ::
goby::zeromq::protobuf::InterProcessManagerHold* hold_;
271 *
this = ::std::move(from);
274 inline GobyIntervehiclePortalConfig&
operator=(GobyIntervehiclePortalConfig&& from) noexcept {
275 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
276 if (
this != &from) InternalSwap(&from);
284 return _internal_metadata_.unknown_fields();
287 return _internal_metadata_.mutable_unknown_fields();
290 static const ::google::protobuf::Descriptor*
descriptor();
309 return CreateMaybeMessage<GobyIntervehiclePortalConfig>(NULL);
313 return CreateMaybeMessage<GobyIntervehiclePortalConfig>(arena);
315 void CopyFrom(const ::google::protobuf::Message& from)
final;
316 void MergeFrom(const ::google::protobuf::Message& from)
final;
324 ::
google::protobuf::io::CodedInputStream* input) final;
326 ::
google::protobuf::io::CodedOutputStream* output) const final;
328 bool deterministic, ::
google::protobuf::uint8* target) const final;
334 void SetCachedSize(
int size)
const final;
337 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
340 inline void* MaybeArenaPtr()
const {
356 const ::
goby::middleware::protobuf::AppConfig& _internal_app() const;
358 const ::
goby::middleware::protobuf::AppConfig&
app() const;
368 const ::
goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
370 const ::
goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess() const;
380 const ::
goby::middleware::
intervehicle::protobuf::PortalConfig& _internal_intervehicle() const;
390 void clear_has_app();
391 void set_has_interprocess();
392 void clear_has_interprocess();
393 void set_has_intervehicle();
394 void clear_has_intervehicle();
396 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
397 ::
google::protobuf::internal::HasBits<1> _has_bits_;
398 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
399 ::
goby::middleware::protobuf::AppConfig* app_;
400 ::
goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
410 #pragma GCC diagnostic push
411 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
417 return (_has_bits_[0] & 0x00000001u) != 0;
419 inline void GobyDaemonConfig::set_has_app() {
420 _has_bits_[0] |= 0x00000001u;
422 inline void GobyDaemonConfig::clear_has_app() {
423 _has_bits_[0] &= ~0x00000001u;
425 inline const ::goby::middleware::protobuf::AppConfig& GobyDaemonConfig::_internal_app()
const {
429 const ::goby::middleware::protobuf::AppConfig* p = app_;
444 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
452 if (message_arena == NULL) {
457 if (message_arena != submessage_arena) {
458 app = ::google::protobuf::internal::GetOwnedMessage(
459 message_arena,
app, submessage_arena);
471 return (_has_bits_[0] & 0x00000010u) != 0;
473 inline void GobyDaemonConfig::set_has_router_threads() {
474 _has_bits_[0] |= 0x00000010u;
476 inline void GobyDaemonConfig::clear_has_router_threads() {
477 _has_bits_[0] &= ~0x00000010u;
480 router_threads_ = 10;
481 clear_has_router_threads();
485 return router_threads_;
488 set_has_router_threads();
489 router_threads_ = value;
495 return (_has_bits_[0] & 0x00000002u) != 0;
497 inline void GobyDaemonConfig::set_has_interprocess() {
498 _has_bits_[0] |= 0x00000002u;
500 inline void GobyDaemonConfig::clear_has_interprocess() {
501 _has_bits_[0] &= ~0x00000002u;
503 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyDaemonConfig::_internal_interprocess()
const {
504 return *interprocess_;
507 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
514 clear_has_interprocess();
516 interprocess_ = NULL;
520 set_has_interprocess();
521 if (interprocess_ == NULL) {
522 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
526 return interprocess_;
530 if (message_arena == NULL) {
535 if (message_arena != submessage_arena) {
536 interprocess = ::google::protobuf::internal::GetOwnedMessage(
539 set_has_interprocess();
541 clear_has_interprocess();
549 return (_has_bits_[0] & 0x00000004u) != 0;
551 inline void GobyDaemonConfig::set_has_intervehicle() {
552 _has_bits_[0] |= 0x00000004u;
554 inline void GobyDaemonConfig::clear_has_intervehicle() {
555 _has_bits_[0] &= ~0x00000004u;
557 inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyDaemonConfig::_internal_intervehicle()
const {
558 return *intervehicle_;
561 const ::goby::middleware::intervehicle::protobuf::PortalConfig* p = intervehicle_;
568 clear_has_intervehicle();
570 intervehicle_ = NULL;
574 set_has_intervehicle();
575 if (intervehicle_ == NULL) {
576 auto* p = CreateMaybeMessage<::goby::middleware::intervehicle::protobuf::PortalConfig>(GetArenaNoVirtual());
580 return intervehicle_;
584 if (message_arena == NULL) {
589 if (message_arena != submessage_arena) {
590 intervehicle = ::google::protobuf::internal::GetOwnedMessage(
593 set_has_intervehicle();
595 clear_has_intervehicle();
603 return (_has_bits_[0] & 0x00000008u) != 0;
605 inline void GobyDaemonConfig::set_has_hold() {
606 _has_bits_[0] |= 0x00000008u;
608 inline void GobyDaemonConfig::clear_has_hold() {
609 _has_bits_[0] &= ~0x00000008u;
611 inline const ::goby::zeromq::protobuf::InterProcessManagerHold& GobyDaemonConfig::_internal_hold()
const {
615 const ::goby::zeromq::protobuf::InterProcessManagerHold* p = hold_;
630 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessManagerHold>(GetArenaNoVirtual());
638 if (message_arena == NULL) {
643 if (message_arena != submessage_arena) {
644 hold = ::google::protobuf::internal::GetOwnedMessage(
645 message_arena,
hold, submessage_arena);
661 return (_has_bits_[0] & 0x00000001u) != 0;
663 inline void GobyIntervehiclePortalConfig::set_has_app() {
664 _has_bits_[0] |= 0x00000001u;
666 inline void GobyIntervehiclePortalConfig::clear_has_app() {
667 _has_bits_[0] &= ~0x00000001u;
669 inline const ::goby::middleware::protobuf::AppConfig& GobyIntervehiclePortalConfig::_internal_app()
const {
673 const ::goby::middleware::protobuf::AppConfig* p = app_;
688 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
696 if (message_arena == NULL) {
701 if (message_arena != submessage_arena) {
702 app = ::google::protobuf::internal::GetOwnedMessage(
703 message_arena,
app, submessage_arena);
715 return (_has_bits_[0] & 0x00000002u) != 0;
717 inline void GobyIntervehiclePortalConfig::set_has_interprocess() {
718 _has_bits_[0] |= 0x00000002u;
720 inline void GobyIntervehiclePortalConfig::clear_has_interprocess() {
721 _has_bits_[0] &= ~0x00000002u;
723 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyIntervehiclePortalConfig::_internal_interprocess()
const {
724 return *interprocess_;
727 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
734 clear_has_interprocess();
736 interprocess_ = NULL;
740 set_has_interprocess();
741 if (interprocess_ == NULL) {
742 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
746 return interprocess_;
750 if (message_arena == NULL) {
755 if (message_arena != submessage_arena) {
756 interprocess = ::google::protobuf::internal::GetOwnedMessage(
759 set_has_interprocess();
761 clear_has_interprocess();
769 return (_has_bits_[0] & 0x00000004u) != 0;
771 inline void GobyIntervehiclePortalConfig::set_has_intervehicle() {
772 _has_bits_[0] |= 0x00000004u;
774 inline void GobyIntervehiclePortalConfig::clear_has_intervehicle() {
775 _has_bits_[0] &= ~0x00000004u;
777 inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyIntervehiclePortalConfig::_internal_intervehicle()
const {
778 return *intervehicle_;
781 const ::goby::middleware::intervehicle::protobuf::PortalConfig* p = intervehicle_;
788 clear_has_intervehicle();
790 intervehicle_ = NULL;
794 set_has_intervehicle();
795 if (intervehicle_ == NULL) {
796 auto* p = CreateMaybeMessage<::goby::middleware::intervehicle::protobuf::PortalConfig>(GetArenaNoVirtual());
800 return intervehicle_;
804 if (message_arena == NULL) {
809 if (message_arena != submessage_arena) {
810 intervehicle = ::google::protobuf::internal::GetOwnedMessage(
813 set_has_intervehicle();
815 clear_has_intervehicle();
822 #pragma GCC diagnostic pop
836 #endif // PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto