4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
39 #include <boost/units/quantity.hpp>
40 #include <boost/units/absolute.hpp>
41 #include <boost/units/dimensionless_type.hpp>
42 #include <boost/units/make_scaled_unit.hpp>
44 #include <google/protobuf/port_def.inc>
45 #define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
46 PROTOBUF_NAMESPACE_OPEN
50 PROTOBUF_NAMESPACE_CLOSE
54 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
56 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
69 class GobyDaemonConfig;
70 class GobyDaemonConfigDefaultTypeInternal;
72 class GobyIntervehiclePortalConfig;
73 class GobyIntervehiclePortalConfigDefaultTypeInternal;
79 PROTOBUF_NAMESPACE_OPEN
80 template<> ::goby::apps::zeromq::protobuf::GobyDaemonConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::GobyDaemonConfig>(Arena*);
81 template<> ::goby::apps::zeromq::protobuf::GobyIntervehiclePortalConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::GobyIntervehiclePortalConfig>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
90 class GobyDaemonConfig PROTOBUF_FINAL :
91 public ::PROTOBUF_NAMESPACE_ID::Message {
98 : GobyDaemonConfig() {
99 *
this = ::std::move(from);
102 inline GobyDaemonConfig&
operator=(
const GobyDaemonConfig& from) {
106 inline GobyDaemonConfig&
operator=(GobyDaemonConfig&& from) noexcept {
107 if (GetArena() == from.GetArena()) {
108 if (
this != &from) InternalSwap(&from);
116 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
119 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
122 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
123 return GetDescriptor();
126 return GetMetadataStatic().descriptor;
129 return GetMetadataStatic().reflection;
135 return reinterpret_cast<const GobyDaemonConfig*
>(
138 static constexpr
int kIndexInFileMessages =
141 friend void swap(GobyDaemonConfig& a, GobyDaemonConfig& b) {
144 inline void Swap(GobyDaemonConfig* other) {
145 if (other ==
this)
return;
146 if (GetArena() == other->GetArena()) {
149 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
153 if (other ==
this)
return;
154 GOOGLE_DCHECK(GetArena() == other->GetArena());
160 inline GobyDaemonConfig*
New() const final {
161 return CreateMaybeMessage<GobyDaemonConfig>(
nullptr);
164 GobyDaemonConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
165 return CreateMaybeMessage<GobyDaemonConfig>(arena);
167 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
168 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
171 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
172 bool IsInitialized() const final;
175 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
176 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
177 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
178 int GetCachedSize() const final {
return _cached_size_.Get(); }
181 inline void SharedCtor();
182 inline void SharedDtor();
183 void SetCachedSize(
int size)
const final;
184 void InternalSwap(GobyDaemonConfig* other);
185 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187 return "goby.apps.zeromq.protobuf.GobyDaemonConfig";
192 static void ArenaDtor(
void*
object);
193 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
198 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
211 kInterprocessFieldNumber = 3,
212 kIntervehicleFieldNumber = 4,
213 kHoldFieldNumber = 10,
214 kRouterThreadsFieldNumber = 2,
219 bool _internal_has_app()
const;
222 const ::goby::middleware::protobuf::AppConfig&
app()
const;
227 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
228 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
231 ::goby::middleware::protobuf::AppConfig* app);
237 bool _internal_has_interprocess()
const;
240 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
245 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
246 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
249 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
255 bool _internal_has_intervehicle()
const;
258 const ::goby::middleware::intervehicle::protobuf::PortalConfig&
intervehicle()
const;
263 const ::goby::middleware::intervehicle::protobuf::PortalConfig& _internal_intervehicle()
const;
264 ::goby::middleware::intervehicle::protobuf::PortalConfig* _internal_mutable_intervehicle();
267 ::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle);
273 bool _internal_has_hold()
const;
276 const ::goby::zeromq::protobuf::InterProcessManagerHold&
hold()
const;
281 const ::goby::zeromq::protobuf::InterProcessManagerHold& _internal_hold()
const;
282 ::goby::zeromq::protobuf::InterProcessManagerHold* _internal_mutable_hold();
285 ::goby::zeromq::protobuf::InterProcessManagerHold* hold);
291 bool _internal_has_router_threads()
const;
305 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
306 typedef void InternalArenaConstructable_;
307 typedef void DestructorSkippable_;
308 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
309 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
310 ::goby::middleware::protobuf::AppConfig* app_;
311 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
312 ::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle_;
313 ::goby::zeromq::protobuf::InterProcessManagerHold* hold_;
315 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto;
320 public ::PROTOBUF_NAMESPACE_ID::Message {
327 : GobyIntervehiclePortalConfig() {
328 *
this = ::std::move(from);
331 inline GobyIntervehiclePortalConfig&
operator=(
const GobyIntervehiclePortalConfig& from) {
335 inline GobyIntervehiclePortalConfig&
operator=(GobyIntervehiclePortalConfig&& from) noexcept {
336 if (GetArena() == from.GetArena()) {
337 if (
this != &from) InternalSwap(&from);
345 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
348 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
351 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
352 return GetDescriptor();
355 return GetMetadataStatic().descriptor;
358 return GetMetadataStatic().reflection;
364 return reinterpret_cast<const GobyIntervehiclePortalConfig*
>(
367 static constexpr
int kIndexInFileMessages =
370 friend void swap(GobyIntervehiclePortalConfig& a, GobyIntervehiclePortalConfig& b) {
373 inline void Swap(GobyIntervehiclePortalConfig* other) {
374 if (other ==
this)
return;
375 if (GetArena() == other->GetArena()) {
378 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
382 if (other ==
this)
return;
383 GOOGLE_DCHECK(GetArena() == other->GetArena());
389 inline GobyIntervehiclePortalConfig*
New() const final {
390 return CreateMaybeMessage<GobyIntervehiclePortalConfig>(
nullptr);
393 GobyIntervehiclePortalConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
394 return CreateMaybeMessage<GobyIntervehiclePortalConfig>(arena);
396 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
397 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
398 void CopyFrom(
const GobyIntervehiclePortalConfig& from);
399 void MergeFrom(
const GobyIntervehiclePortalConfig& from);
400 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
401 bool IsInitialized() const final;
404 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
405 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
406 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
407 int GetCachedSize() const final {
return _cached_size_.Get(); }
410 inline void SharedCtor();
411 inline void SharedDtor();
412 void SetCachedSize(
int size)
const final;
413 void InternalSwap(GobyIntervehiclePortalConfig* other);
414 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
415 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
416 return "goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig";
421 static void ArenaDtor(
void*
object);
422 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
427 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
440 kInterprocessFieldNumber = 2,
441 kIntervehicleFieldNumber = 3,
446 bool _internal_has_app()
const;
449 const ::goby::middleware::protobuf::AppConfig&
app()
const;
454 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
455 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
458 ::goby::middleware::protobuf::AppConfig* app);
464 bool _internal_has_interprocess()
const;
467 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
472 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
473 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
476 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
482 bool _internal_has_intervehicle()
const;
485 const ::goby::middleware::intervehicle::protobuf::PortalConfig&
intervehicle()
const;
490 const ::goby::middleware::intervehicle::protobuf::PortalConfig& _internal_intervehicle()
const;
491 ::goby::middleware::intervehicle::protobuf::PortalConfig* _internal_mutable_intervehicle();
494 ::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle);
501 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
502 typedef void InternalArenaConstructable_;
503 typedef void DestructorSkippable_;
504 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
505 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
506 ::goby::middleware::protobuf::AppConfig* app_;
507 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
508 ::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle_;
509 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto;
517 #pragma GCC diagnostic push
518 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
523 inline bool GobyDaemonConfig::_internal_has_app()
const {
524 bool value = (_has_bits_[0] & 0x00000001u) != 0;
525 PROTOBUF_ASSUME(!value || app_ !=
nullptr);
528 inline bool GobyDaemonConfig::has_app()
const {
529 return _internal_has_app();
531 inline const ::goby::middleware::protobuf::AppConfig& GobyDaemonConfig::_internal_app()
const {
532 const ::goby::middleware::protobuf::AppConfig* p = app_;
533 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
536 inline const ::goby::middleware::protobuf::AppConfig& GobyDaemonConfig::app()
const {
538 return _internal_app();
540 inline void GobyDaemonConfig::unsafe_arena_set_allocated_app(
541 ::goby::middleware::protobuf::AppConfig* app) {
542 if (GetArena() ==
nullptr) {
543 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
547 _has_bits_[0] |= 0x00000001u;
549 _has_bits_[0] &= ~0x00000001u;
553 inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::release_app() {
554 auto temp = unsafe_arena_release_app();
555 if (GetArena() !=
nullptr) {
556 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
560 inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::unsafe_arena_release_app() {
562 _has_bits_[0] &= ~0x00000001u;
563 ::goby::middleware::protobuf::AppConfig* temp = app_;
567 inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::_internal_mutable_app() {
568 _has_bits_[0] |= 0x00000001u;
569 if (app_ ==
nullptr) {
570 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
575 inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::mutable_app() {
577 return _internal_mutable_app();
579 inline void GobyDaemonConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
580 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
581 if (message_arena ==
nullptr) {
582 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
585 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
586 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app)->GetArena();
587 if (message_arena != submessage_arena) {
588 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
589 message_arena, app, submessage_arena);
591 _has_bits_[0] |= 0x00000001u;
593 _has_bits_[0] &= ~0x00000001u;
600 inline bool GobyDaemonConfig::_internal_has_router_threads()
const {
601 bool value = (_has_bits_[0] & 0x00000010u) != 0;
604 inline bool GobyDaemonConfig::has_router_threads()
const {
605 return _internal_has_router_threads();
607 inline void GobyDaemonConfig::clear_router_threads() {
608 router_threads_ = 10;
609 _has_bits_[0] &= ~0x00000010u;
612 return router_threads_;
616 return _internal_router_threads();
619 _has_bits_[0] |= 0x00000010u;
620 router_threads_ =
value;
623 _internal_set_router_threads(value);
628 inline bool GobyDaemonConfig::_internal_has_interprocess()
const {
629 bool value = (_has_bits_[0] & 0x00000002u) != 0;
630 PROTOBUF_ASSUME(!value || interprocess_ !=
nullptr);
633 inline bool GobyDaemonConfig::has_interprocess()
const {
634 return _internal_has_interprocess();
636 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyDaemonConfig::_internal_interprocess()
const {
637 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
638 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
641 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyDaemonConfig::interprocess()
const {
643 return _internal_interprocess();
645 inline void GobyDaemonConfig::unsafe_arena_set_allocated_interprocess(
646 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
647 if (GetArena() ==
nullptr) {
648 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
650 interprocess_ = interprocess;
652 _has_bits_[0] |= 0x00000002u;
654 _has_bits_[0] &= ~0x00000002u;
658 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::release_interprocess() {
659 auto temp = unsafe_arena_release_interprocess();
660 if (GetArena() !=
nullptr) {
661 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
665 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::unsafe_arena_release_interprocess() {
667 _has_bits_[0] &= ~0x00000002u;
668 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
669 interprocess_ =
nullptr;
672 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::_internal_mutable_interprocess() {
673 _has_bits_[0] |= 0x00000002u;
674 if (interprocess_ ==
nullptr) {
675 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
678 return interprocess_;
680 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::mutable_interprocess() {
682 return _internal_mutable_interprocess();
684 inline void GobyDaemonConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
685 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
686 if (message_arena ==
nullptr) {
687 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
690 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
691 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess)->GetArena();
692 if (message_arena != submessage_arena) {
693 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
694 message_arena, interprocess, submessage_arena);
696 _has_bits_[0] |= 0x00000002u;
698 _has_bits_[0] &= ~0x00000002u;
700 interprocess_ = interprocess;
705 inline bool GobyDaemonConfig::_internal_has_intervehicle()
const {
706 bool value = (_has_bits_[0] & 0x00000004u) != 0;
707 PROTOBUF_ASSUME(!value || intervehicle_ !=
nullptr);
710 inline bool GobyDaemonConfig::has_intervehicle()
const {
711 return _internal_has_intervehicle();
713 inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyDaemonConfig::_internal_intervehicle()
const {
714 const ::goby::middleware::intervehicle::protobuf::PortalConfig* p = intervehicle_;
715 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::intervehicle::protobuf::PortalConfig*
>(
718 inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyDaemonConfig::intervehicle()
const {
720 return _internal_intervehicle();
722 inline void GobyDaemonConfig::unsafe_arena_set_allocated_intervehicle(
723 ::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle) {
724 if (GetArena() ==
nullptr) {
725 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(intervehicle_);
727 intervehicle_ = intervehicle;
729 _has_bits_[0] |= 0x00000004u;
731 _has_bits_[0] &= ~0x00000004u;
735 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::release_intervehicle() {
736 auto temp = unsafe_arena_release_intervehicle();
737 if (GetArena() !=
nullptr) {
738 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
742 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::unsafe_arena_release_intervehicle() {
744 _has_bits_[0] &= ~0x00000004u;
745 ::goby::middleware::intervehicle::protobuf::PortalConfig* temp = intervehicle_;
746 intervehicle_ =
nullptr;
749 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::_internal_mutable_intervehicle() {
750 _has_bits_[0] |= 0x00000004u;
751 if (intervehicle_ ==
nullptr) {
752 auto* p = CreateMaybeMessage<::goby::middleware::intervehicle::protobuf::PortalConfig>(GetArena());
755 return intervehicle_;
757 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::mutable_intervehicle() {
759 return _internal_mutable_intervehicle();
761 inline void GobyDaemonConfig::set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle) {
762 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
763 if (message_arena ==
nullptr) {
764 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(intervehicle_);
767 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
768 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(intervehicle)->GetArena();
769 if (message_arena != submessage_arena) {
770 intervehicle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
771 message_arena, intervehicle, submessage_arena);
773 _has_bits_[0] |= 0x00000004u;
775 _has_bits_[0] &= ~0x00000004u;
777 intervehicle_ = intervehicle;
782 inline bool GobyDaemonConfig::_internal_has_hold()
const {
783 bool value = (_has_bits_[0] & 0x00000008u) != 0;
784 PROTOBUF_ASSUME(!value || hold_ !=
nullptr);
787 inline bool GobyDaemonConfig::has_hold()
const {
788 return _internal_has_hold();
790 inline const ::goby::zeromq::protobuf::InterProcessManagerHold& GobyDaemonConfig::_internal_hold()
const {
791 const ::goby::zeromq::protobuf::InterProcessManagerHold* p = hold_;
792 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessManagerHold*
>(
795 inline const ::goby::zeromq::protobuf::InterProcessManagerHold& GobyDaemonConfig::hold()
const {
797 return _internal_hold();
799 inline void GobyDaemonConfig::unsafe_arena_set_allocated_hold(
800 ::goby::zeromq::protobuf::InterProcessManagerHold* hold) {
801 if (GetArena() ==
nullptr) {
802 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(hold_);
806 _has_bits_[0] |= 0x00000008u;
808 _has_bits_[0] &= ~0x00000008u;
812 inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::release_hold() {
813 auto temp = unsafe_arena_release_hold();
814 if (GetArena() !=
nullptr) {
815 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
819 inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::unsafe_arena_release_hold() {
821 _has_bits_[0] &= ~0x00000008u;
822 ::goby::zeromq::protobuf::InterProcessManagerHold* temp = hold_;
826 inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::_internal_mutable_hold() {
827 _has_bits_[0] |= 0x00000008u;
828 if (hold_ ==
nullptr) {
829 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessManagerHold>(GetArena());
834 inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::mutable_hold() {
836 return _internal_mutable_hold();
838 inline void GobyDaemonConfig::set_allocated_hold(::goby::zeromq::protobuf::InterProcessManagerHold* hold) {
839 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
840 if (message_arena ==
nullptr) {
841 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(hold_);
844 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
845 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(hold)->GetArena();
846 if (message_arena != submessage_arena) {
847 hold = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
848 message_arena, hold, submessage_arena);
850 _has_bits_[0] |= 0x00000008u;
852 _has_bits_[0] &= ~0x00000008u;
863 inline bool GobyIntervehiclePortalConfig::_internal_has_app()
const {
864 bool value = (_has_bits_[0] & 0x00000001u) != 0;
865 PROTOBUF_ASSUME(!value || app_ !=
nullptr);
868 inline bool GobyIntervehiclePortalConfig::has_app()
const {
869 return _internal_has_app();
871 inline const ::goby::middleware::protobuf::AppConfig& GobyIntervehiclePortalConfig::_internal_app()
const {
872 const ::goby::middleware::protobuf::AppConfig* p = app_;
873 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
876 inline const ::goby::middleware::protobuf::AppConfig& GobyIntervehiclePortalConfig::app()
const {
878 return _internal_app();
880 inline void GobyIntervehiclePortalConfig::unsafe_arena_set_allocated_app(
881 ::goby::middleware::protobuf::AppConfig* app) {
882 if (GetArena() ==
nullptr) {
883 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
887 _has_bits_[0] |= 0x00000001u;
889 _has_bits_[0] &= ~0x00000001u;
893 inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::release_app() {
894 auto temp = unsafe_arena_release_app();
895 if (GetArena() !=
nullptr) {
896 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
900 inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::unsafe_arena_release_app() {
902 _has_bits_[0] &= ~0x00000001u;
903 ::goby::middleware::protobuf::AppConfig* temp = app_;
907 inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::_internal_mutable_app() {
908 _has_bits_[0] |= 0x00000001u;
909 if (app_ ==
nullptr) {
910 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
915 inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::mutable_app() {
917 return _internal_mutable_app();
919 inline void GobyIntervehiclePortalConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
920 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
921 if (message_arena ==
nullptr) {
922 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
925 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
926 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app)->GetArena();
927 if (message_arena != submessage_arena) {
928 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
929 message_arena, app, submessage_arena);
931 _has_bits_[0] |= 0x00000001u;
933 _has_bits_[0] &= ~0x00000001u;
940 inline bool GobyIntervehiclePortalConfig::_internal_has_interprocess()
const {
941 bool value = (_has_bits_[0] & 0x00000002u) != 0;
942 PROTOBUF_ASSUME(!value || interprocess_ !=
nullptr);
945 inline bool GobyIntervehiclePortalConfig::has_interprocess()
const {
946 return _internal_has_interprocess();
948 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyIntervehiclePortalConfig::_internal_interprocess()
const {
949 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
950 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
953 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyIntervehiclePortalConfig::interprocess()
const {
955 return _internal_interprocess();
957 inline void GobyIntervehiclePortalConfig::unsafe_arena_set_allocated_interprocess(
958 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
959 if (GetArena() ==
nullptr) {
960 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
962 interprocess_ = interprocess;
964 _has_bits_[0] |= 0x00000002u;
966 _has_bits_[0] &= ~0x00000002u;
970 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::release_interprocess() {
971 auto temp = unsafe_arena_release_interprocess();
972 if (GetArena() !=
nullptr) {
973 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
977 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::unsafe_arena_release_interprocess() {
979 _has_bits_[0] &= ~0x00000002u;
980 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
981 interprocess_ =
nullptr;
984 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::_internal_mutable_interprocess() {
985 _has_bits_[0] |= 0x00000002u;
986 if (interprocess_ ==
nullptr) {
987 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
990 return interprocess_;
992 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::mutable_interprocess() {
994 return _internal_mutable_interprocess();
996 inline void GobyIntervehiclePortalConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
997 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
998 if (message_arena ==
nullptr) {
999 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
1002 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1003 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess)->GetArena();
1004 if (message_arena != submessage_arena) {
1005 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1006 message_arena, interprocess, submessage_arena);
1008 _has_bits_[0] |= 0x00000002u;
1010 _has_bits_[0] &= ~0x00000002u;
1012 interprocess_ = interprocess;
1017 inline bool GobyIntervehiclePortalConfig::_internal_has_intervehicle()
const {
1018 bool value = (_has_bits_[0] & 0x00000004u) != 0;
1019 PROTOBUF_ASSUME(!value || intervehicle_ !=
nullptr);
1022 inline bool GobyIntervehiclePortalConfig::has_intervehicle()
const {
1023 return _internal_has_intervehicle();
1025 inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyIntervehiclePortalConfig::_internal_intervehicle()
const {
1026 const ::goby::middleware::intervehicle::protobuf::PortalConfig* p = intervehicle_;
1027 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::intervehicle::protobuf::PortalConfig*
>(
1030 inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyIntervehiclePortalConfig::intervehicle()
const {
1032 return _internal_intervehicle();
1034 inline void GobyIntervehiclePortalConfig::unsafe_arena_set_allocated_intervehicle(
1035 ::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle) {
1036 if (GetArena() ==
nullptr) {
1037 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(intervehicle_);
1039 intervehicle_ = intervehicle;
1041 _has_bits_[0] |= 0x00000004u;
1043 _has_bits_[0] &= ~0x00000004u;
1047 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::release_intervehicle() {
1048 auto temp = unsafe_arena_release_intervehicle();
1049 if (GetArena() !=
nullptr) {
1050 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1054 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::unsafe_arena_release_intervehicle() {
1056 _has_bits_[0] &= ~0x00000004u;
1057 ::goby::middleware::intervehicle::protobuf::PortalConfig* temp = intervehicle_;
1058 intervehicle_ =
nullptr;
1061 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::_internal_mutable_intervehicle() {
1062 _has_bits_[0] |= 0x00000004u;
1063 if (intervehicle_ ==
nullptr) {
1064 auto* p = CreateMaybeMessage<::goby::middleware::intervehicle::protobuf::PortalConfig>(GetArena());
1067 return intervehicle_;
1069 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::mutable_intervehicle() {
1071 return _internal_mutable_intervehicle();
1073 inline void GobyIntervehiclePortalConfig::set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle) {
1074 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1075 if (message_arena ==
nullptr) {
1076 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(intervehicle_);
1079 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1080 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(intervehicle)->GetArena();
1081 if (message_arena != submessage_arena) {
1082 intervehicle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1083 message_arena, intervehicle, submessage_arena);
1085 _has_bits_[0] |= 0x00000004u;
1087 _has_bits_[0] &= ~0x00000004u;
1089 intervehicle_ = intervehicle;
1094 #pragma GCC diagnostic pop
1108 #include <google/protobuf/port_undef.inc>
bool has_router_threads() const
void UnsafeArenaSwap(GobyIntervehiclePortalConfig *other)
void set_router_threads(::PROTOBUF_NAMESPACE_ID::int32 value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void MergeFrom(const GobyDaemonConfig &from)
friend void swap(GobyIntervehiclePortalConfig &a, GobyIntervehiclePortalConfig &b)
::goby::middleware::intervehicle::protobuf::PortalConfig * mutable_intervehicle()
void Swap(GobyDaemonConfig *other)
GobyIntervehiclePortalConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::goby::middleware::protobuf::AppConfig * mutable_app()
void set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig *intervehicle)
::goby::zeromq::protobuf::InterProcessManagerHold * release_hold()
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
GobyDaemonConfig & operator=(const GobyDaemonConfig &from)
bool has_interprocess() const
::goby::middleware::intervehicle::protobuf::PortalConfig * release_intervehicle()
GobyDaemonConfig * New() const final
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
void UnsafeArenaSwap(GobyDaemonConfig *other)
GobyDaemonConfig(const GobyDaemonConfig &from)
virtual ~GobyIntervehiclePortalConfig()
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
GobyDaemonConfig & operator=(GobyDaemonConfig &&from) noexcept
GobyIntervehiclePortalConfig & operator=(const GobyIntervehiclePortalConfig &from)
static void InitAsDefaultInstance()
bool has_intervehicle() const
::goby::zeromq::protobuf::InterProcessManagerHold * unsafe_arena_release_hold()
static const GobyIntervehiclePortalConfig * internal_default_instance()
void Swap(GobyIntervehiclePortalConfig *other)
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
static const GobyIntervehiclePortalConfig & default_instance()
GobyDaemonConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void clear_router_threads()
::PROTOBUF_NAMESPACE_ID::int32 router_threads() const
::goby::zeromq::protobuf::InterProcessManagerHold * mutable_hold()
static const GobyDaemonConfig & default_instance()
void MergeFrom(const GobyIntervehiclePortalConfig &from)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
::goby::middleware::intervehicle::protobuf::PortalConfig * unsafe_arena_release_intervehicle()
GobyIntervehiclePortalConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void CopyFrom(const GobyIntervehiclePortalConfig &from)
const ::goby::middleware::intervehicle::protobuf::PortalConfig & intervehicle() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
virtual ~GobyDaemonConfig()
GobyIntervehiclePortalConfig * New() const final
GobyDaemonConfig(GobyDaemonConfig &&from) noexcept
GobyIntervehiclePortalConfig & operator=(GobyIntervehiclePortalConfig &&from) noexcept
const ::goby::zeromq::protobuf::InterProcessManagerHold & hold() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_allocated_hold(::goby::zeromq::protobuf::InterProcessManagerHold *hold)
void unsafe_arena_set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig *intervehicle)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void clear_intervehicle()
friend void swap(GobyDaemonConfig &a, GobyDaemonConfig &b)
GobyIntervehiclePortalConfig(GobyIntervehiclePortalConfig &&from) noexcept
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
const ::goby::middleware::protobuf::AppConfig & app() const
static const GobyDaemonConfig * internal_default_instance()
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void CopyFrom(const GobyDaemonConfig &from)
void unsafe_arena_set_allocated_hold(::goby::zeromq::protobuf::InterProcessManagerHold *hold)
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
GobyIntervehiclePortalConfig(const GobyIntervehiclePortalConfig &from)
GobyDaemonConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
::goby::middleware::protobuf::AppConfig * release_app()
GobyIntervehiclePortalConfig()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
void clear_interprocess()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
@ value
the parser finished reading a JSON value
GobyIntervehiclePortalConfigDefaultTypeInternal _GobyIntervehiclePortalConfig_default_instance_
GobyDaemonConfigDefaultTypeInternal _GobyDaemonConfig_default_instance_
PortalConfigDefaultTypeInternal _PortalConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
InterProcessManagerHoldDefaultTypeInternal _InterProcessManagerHold_default_instance_
The global namespace for the Goby project.
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]