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 < 3021000
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 3021012 < 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_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.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#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
44PROTOBUF_NAMESPACE_OPEN
48PROTOBUF_NAMESPACE_CLOSE
59class GobyDaemonConfig;
60struct GobyDaemonConfigDefaultTypeInternal;
62class GobyIntervehiclePortalConfig;
63struct GobyIntervehiclePortalConfigDefaultTypeInternal;
69PROTOBUF_NAMESPACE_OPEN
72PROTOBUF_NAMESPACE_CLOSE
81 public ::PROTOBUF_NAMESPACE_ID::Message {
85 explicit PROTOBUF_CONSTEXPR
GobyDaemonConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
90 *
this = ::std::move(from);
98 if (
this == &from)
return *
this;
99 if (GetOwningArena() == from.GetOwningArena()
100 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
101 && GetOwningArena() !=
nullptr
112 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
115 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
118 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
141 if (other ==
this)
return;
142 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
143 if (GetOwningArena() !=
nullptr &&
144 GetOwningArena() == other->GetOwningArena()) {
146 if (GetOwningArena() == other->GetOwningArena()) {
150 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
154 if (other ==
this)
return;
155 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
162 return CreateMaybeMessage<GobyDaemonConfig>(arena);
164 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
166 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
168 GobyDaemonConfig::MergeImpl(*
this, from);
171 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
173 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
179 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
183 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
185 void SetCachedSize(
int size)
const final;
189 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
190 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
191 return "goby.apps.zeromq.protobuf.GobyDaemonConfig";
195 bool is_message_owned =
false);
199 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
217 bool _internal_has_app()
const;
220 const ::goby::middleware::protobuf::AppConfig&
app()
const;
221 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
225 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
235 bool _internal_has_interprocess()
const;
238 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
243 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
253 bool _internal_has_intervehicle()
const;
256 const ::goby::middleware::intervehicle::protobuf::PortalConfig&
intervehicle()
const;
257 PROTOBUF_NODISCARD ::goby::middleware::intervehicle::protobuf::PortalConfig*
release_intervehicle();
261 const ::goby::middleware::intervehicle::protobuf::PortalConfig& _internal_intervehicle()
const;
271 bool _internal_has_hold()
const;
274 const ::goby::zeromq::protobuf::InterProcessManagerHold&
hold()
const;
275 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessManagerHold*
release_hold();
279 const ::goby::zeromq::protobuf::InterProcessManagerHold& _internal_hold()
const;
289 bool _internal_has_router_threads()
const;
295 int32_t _internal_router_threads()
const;
296 void _internal_set_router_threads(int32_t value);
303 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
304 typedef void InternalArenaConstructable_;
305 typedef void DestructorSkippable_;
307 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
308 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
313 int32_t router_threads_;
316 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto;
321 public ::PROTOBUF_NAMESPACE_ID::Message {
330 *
this = ::std::move(from);
338 if (
this == &from)
return *
this;
339 if (GetOwningArena() == from.GetOwningArena()
340 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
341 && GetOwningArena() !=
nullptr
352 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
355 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
358 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
359 return GetDescriptor();
362 return default_instance().GetMetadata().descriptor;
365 return default_instance().GetMetadata().reflection;
368 return *internal_default_instance();
374 static constexpr int kIndexInFileMessages =
381 if (other ==
this)
return;
382 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
383 if (GetOwningArena() !=
nullptr &&
384 GetOwningArena() == other->GetOwningArena()) {
386 if (GetOwningArena() == other->GetOwningArena()) {
390 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
394 if (other ==
this)
return;
395 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
402 return CreateMaybeMessage<GobyIntervehiclePortalConfig>(arena);
404 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
406 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
408 GobyIntervehiclePortalConfig::MergeImpl(*
this, from);
411 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
413 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
414 bool IsInitialized() const final;
417 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
418 uint8_t* _InternalSerialize(
419 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
420 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
423 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
425 void SetCachedSize(
int size)
const final;
429 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
430 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
431 return "goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig";
435 bool is_message_owned =
false);
439 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
441 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
449 kInterprocessFieldNumber = 2,
450 kIntervehicleFieldNumber = 3,
453 bool has_app()
const;
455 bool _internal_has_app()
const;
458 const ::goby::middleware::protobuf::AppConfig& app()
const;
459 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
463 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
466 void unsafe_arena_set_allocated_app(
471 bool has_interprocess()
const;
473 bool _internal_has_interprocess()
const;
476 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
477 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
481 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
484 void unsafe_arena_set_allocated_interprocess(
489 bool has_intervehicle()
const;
491 bool _internal_has_intervehicle()
const;
494 const ::goby::middleware::intervehicle::protobuf::PortalConfig& intervehicle()
const;
495 PROTOBUF_NODISCARD ::goby::middleware::intervehicle::protobuf::PortalConfig* release_intervehicle();
499 const ::goby::middleware::intervehicle::protobuf::PortalConfig& _internal_intervehicle()
const;
502 void unsafe_arena_set_allocated_intervehicle(
510 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
511 typedef void InternalArenaConstructable_;
512 typedef void DestructorSkippable_;
514 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
515 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
521 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto;
529 #pragma GCC diagnostic push
530 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
535inline bool GobyDaemonConfig::_internal_has_app()
const {
536 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
537 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
540inline bool GobyDaemonConfig::has_app()
const {
541 return _internal_has_app();
543inline const ::goby::middleware::protobuf::AppConfig& GobyDaemonConfig::_internal_app()
const {
544 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
548inline const ::goby::middleware::protobuf::AppConfig& GobyDaemonConfig::app()
const {
550 return _internal_app();
552inline void GobyDaemonConfig::unsafe_arena_set_allocated_app(
554 if (GetArenaForAllocation() ==
nullptr) {
555 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
559 _impl_._has_bits_[0] |= 0x00000001u;
561 _impl_._has_bits_[0] &= ~0x00000001u;
565inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::release_app() {
566 _impl_._has_bits_[0] &= ~0x00000001u;
568 _impl_.app_ =
nullptr;
569#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
570 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
571 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
572 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
574 if (GetArenaForAllocation() !=
nullptr) {
575 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
580inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::unsafe_arena_release_app() {
582 _impl_._has_bits_[0] &= ~0x00000001u;
584 _impl_.app_ =
nullptr;
587inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::_internal_mutable_app() {
588 _impl_._has_bits_[0] |= 0x00000001u;
589 if (_impl_.app_ ==
nullptr) {
595inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::mutable_app() {
601 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
602 if (message_arena ==
nullptr) {
603 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
606 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
607 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
608 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
609 if (message_arena != submessage_arena) {
610 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
611 message_arena, app, submessage_arena);
613 _impl_._has_bits_[0] |= 0x00000001u;
615 _impl_._has_bits_[0] &= ~0x00000001u;
622inline bool GobyDaemonConfig::_internal_has_router_threads()
const {
623 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
626inline bool GobyDaemonConfig::has_router_threads()
const {
627 return _internal_has_router_threads();
629inline void GobyDaemonConfig::clear_router_threads() {
630 _impl_.router_threads_ = 10;
631 _impl_._has_bits_[0] &= ~0x00000010u;
633inline int32_t GobyDaemonConfig::_internal_router_threads()
const {
634 return _impl_.router_threads_;
636inline int32_t GobyDaemonConfig::router_threads()
const {
638 return _internal_router_threads();
640inline void GobyDaemonConfig::_internal_set_router_threads(int32_t value) {
641 _impl_._has_bits_[0] |= 0x00000010u;
642 _impl_.router_threads_ = value;
644inline void GobyDaemonConfig::set_router_threads(int32_t value) {
645 _internal_set_router_threads(value);
650inline bool GobyDaemonConfig::_internal_has_interprocess()
const {
651 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
652 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
655inline bool GobyDaemonConfig::has_interprocess()
const {
656 return _internal_has_interprocess();
658inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyDaemonConfig::_internal_interprocess()
const {
659 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
663inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyDaemonConfig::interprocess()
const {
665 return _internal_interprocess();
667inline void GobyDaemonConfig::unsafe_arena_set_allocated_interprocess(
669 if (GetArenaForAllocation() ==
nullptr) {
670 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
672 _impl_.interprocess_ = interprocess;
674 _impl_._has_bits_[0] |= 0x00000002u;
676 _impl_._has_bits_[0] &= ~0x00000002u;
680inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::release_interprocess() {
681 _impl_._has_bits_[0] &= ~0x00000002u;
683 _impl_.interprocess_ =
nullptr;
684#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
685 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
686 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
687 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
689 if (GetArenaForAllocation() !=
nullptr) {
690 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
695inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::unsafe_arena_release_interprocess() {
697 _impl_._has_bits_[0] &= ~0x00000002u;
699 _impl_.interprocess_ =
nullptr;
702inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::_internal_mutable_interprocess() {
703 _impl_._has_bits_[0] |= 0x00000002u;
704 if (_impl_.interprocess_ ==
nullptr) {
706 _impl_.interprocess_ = p;
708 return _impl_.interprocess_;
710inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::mutable_interprocess() {
716 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
717 if (message_arena ==
nullptr) {
718 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
721 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
722 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
723 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
724 if (message_arena != submessage_arena) {
725 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
726 message_arena, interprocess, submessage_arena);
728 _impl_._has_bits_[0] |= 0x00000002u;
730 _impl_._has_bits_[0] &= ~0x00000002u;
732 _impl_.interprocess_ = interprocess;
737inline bool GobyDaemonConfig::_internal_has_intervehicle()
const {
738 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
739 PROTOBUF_ASSUME(!value || _impl_.intervehicle_ !=
nullptr);
742inline bool GobyDaemonConfig::has_intervehicle()
const {
743 return _internal_has_intervehicle();
745inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyDaemonConfig::_internal_intervehicle()
const {
746 const ::goby::middleware::intervehicle::protobuf::PortalConfig* p = _impl_.intervehicle_;
750inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyDaemonConfig::intervehicle()
const {
752 return _internal_intervehicle();
754inline void GobyDaemonConfig::unsafe_arena_set_allocated_intervehicle(
756 if (GetArenaForAllocation() ==
nullptr) {
757 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.intervehicle_);
759 _impl_.intervehicle_ = intervehicle;
761 _impl_._has_bits_[0] |= 0x00000004u;
763 _impl_._has_bits_[0] &= ~0x00000004u;
767inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::release_intervehicle() {
768 _impl_._has_bits_[0] &= ~0x00000004u;
770 _impl_.intervehicle_ =
nullptr;
771#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
772 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
773 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
774 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
776 if (GetArenaForAllocation() !=
nullptr) {
777 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
782inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::unsafe_arena_release_intervehicle() {
784 _impl_._has_bits_[0] &= ~0x00000004u;
786 _impl_.intervehicle_ =
nullptr;
789inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::_internal_mutable_intervehicle() {
790 _impl_._has_bits_[0] |= 0x00000004u;
791 if (_impl_.intervehicle_ ==
nullptr) {
793 _impl_.intervehicle_ = p;
795 return _impl_.intervehicle_;
797inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::mutable_intervehicle() {
803 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
804 if (message_arena ==
nullptr) {
805 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.intervehicle_);
808 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
809 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
810 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(intervehicle));
811 if (message_arena != submessage_arena) {
812 intervehicle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
813 message_arena, intervehicle, submessage_arena);
815 _impl_._has_bits_[0] |= 0x00000004u;
817 _impl_._has_bits_[0] &= ~0x00000004u;
819 _impl_.intervehicle_ = intervehicle;
824inline bool GobyDaemonConfig::_internal_has_hold()
const {
825 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
826 PROTOBUF_ASSUME(!value || _impl_.hold_ !=
nullptr);
829inline bool GobyDaemonConfig::has_hold()
const {
830 return _internal_has_hold();
832inline const ::goby::zeromq::protobuf::InterProcessManagerHold& GobyDaemonConfig::_internal_hold()
const {
833 const ::goby::zeromq::protobuf::InterProcessManagerHold* p = _impl_.hold_;
837inline const ::goby::zeromq::protobuf::InterProcessManagerHold& GobyDaemonConfig::hold()
const {
839 return _internal_hold();
841inline void GobyDaemonConfig::unsafe_arena_set_allocated_hold(
843 if (GetArenaForAllocation() ==
nullptr) {
844 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.hold_);
848 _impl_._has_bits_[0] |= 0x00000008u;
850 _impl_._has_bits_[0] &= ~0x00000008u;
854inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::release_hold() {
855 _impl_._has_bits_[0] &= ~0x00000008u;
857 _impl_.hold_ =
nullptr;
858#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
859 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
860 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
861 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
863 if (GetArenaForAllocation() !=
nullptr) {
864 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
869inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::unsafe_arena_release_hold() {
871 _impl_._has_bits_[0] &= ~0x00000008u;
873 _impl_.hold_ =
nullptr;
876inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::_internal_mutable_hold() {
877 _impl_._has_bits_[0] |= 0x00000008u;
878 if (_impl_.hold_ ==
nullptr) {
884inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::mutable_hold() {
890 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
891 if (message_arena ==
nullptr) {
892 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.hold_);
895 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
896 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
897 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(hold));
898 if (message_arena != submessage_arena) {
899 hold = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
900 message_arena, hold, submessage_arena);
902 _impl_._has_bits_[0] |= 0x00000008u;
904 _impl_._has_bits_[0] &= ~0x00000008u;
915inline bool GobyIntervehiclePortalConfig::_internal_has_app()
const {
916 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
917 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
920inline bool GobyIntervehiclePortalConfig::has_app()
const {
921 return _internal_has_app();
923inline const ::goby::middleware::protobuf::AppConfig& GobyIntervehiclePortalConfig::_internal_app()
const {
924 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
928inline const ::goby::middleware::protobuf::AppConfig& GobyIntervehiclePortalConfig::app()
const {
930 return _internal_app();
932inline void GobyIntervehiclePortalConfig::unsafe_arena_set_allocated_app(
934 if (GetArenaForAllocation() ==
nullptr) {
935 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
939 _impl_._has_bits_[0] |= 0x00000001u;
941 _impl_._has_bits_[0] &= ~0x00000001u;
945inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::release_app() {
946 _impl_._has_bits_[0] &= ~0x00000001u;
948 _impl_.app_ =
nullptr;
949#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
950 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
951 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
952 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
954 if (GetArenaForAllocation() !=
nullptr) {
955 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
960inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::unsafe_arena_release_app() {
962 _impl_._has_bits_[0] &= ~0x00000001u;
964 _impl_.app_ =
nullptr;
967inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::_internal_mutable_app() {
968 _impl_._has_bits_[0] |= 0x00000001u;
969 if (_impl_.app_ ==
nullptr) {
975inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::mutable_app() {
981 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
982 if (message_arena ==
nullptr) {
983 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
986 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
987 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
988 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
989 if (message_arena != submessage_arena) {
990 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
991 message_arena, app, submessage_arena);
993 _impl_._has_bits_[0] |= 0x00000001u;
995 _impl_._has_bits_[0] &= ~0x00000001u;
1002inline bool GobyIntervehiclePortalConfig::_internal_has_interprocess()
const {
1003 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1004 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
1007inline bool GobyIntervehiclePortalConfig::has_interprocess()
const {
1008 return _internal_has_interprocess();
1010inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyIntervehiclePortalConfig::_internal_interprocess()
const {
1011 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1015inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyIntervehiclePortalConfig::interprocess()
const {
1017 return _internal_interprocess();
1019inline void GobyIntervehiclePortalConfig::unsafe_arena_set_allocated_interprocess(
1021 if (GetArenaForAllocation() ==
nullptr) {
1022 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1024 _impl_.interprocess_ = interprocess;
1026 _impl_._has_bits_[0] |= 0x00000002u;
1028 _impl_._has_bits_[0] &= ~0x00000002u;
1032inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::release_interprocess() {
1033 _impl_._has_bits_[0] &= ~0x00000002u;
1035 _impl_.interprocess_ =
nullptr;
1036#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1037 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1038 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1039 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1041 if (GetArenaForAllocation() !=
nullptr) {
1042 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1047inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::unsafe_arena_release_interprocess() {
1049 _impl_._has_bits_[0] &= ~0x00000002u;
1051 _impl_.interprocess_ =
nullptr;
1054inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::_internal_mutable_interprocess() {
1055 _impl_._has_bits_[0] |= 0x00000002u;
1056 if (_impl_.interprocess_ ==
nullptr) {
1058 _impl_.interprocess_ = p;
1060 return _impl_.interprocess_;
1062inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::mutable_interprocess() {
1068 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1069 if (message_arena ==
nullptr) {
1070 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1073 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1074 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1075 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
1076 if (message_arena != submessage_arena) {
1077 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1078 message_arena, interprocess, submessage_arena);
1080 _impl_._has_bits_[0] |= 0x00000002u;
1082 _impl_._has_bits_[0] &= ~0x00000002u;
1084 _impl_.interprocess_ = interprocess;
1089inline bool GobyIntervehiclePortalConfig::_internal_has_intervehicle()
const {
1090 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1091 PROTOBUF_ASSUME(!value || _impl_.intervehicle_ !=
nullptr);
1094inline bool GobyIntervehiclePortalConfig::has_intervehicle()
const {
1095 return _internal_has_intervehicle();
1097inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyIntervehiclePortalConfig::_internal_intervehicle()
const {
1098 const ::goby::middleware::intervehicle::protobuf::PortalConfig* p = _impl_.intervehicle_;
1102inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyIntervehiclePortalConfig::intervehicle()
const {
1104 return _internal_intervehicle();
1106inline void GobyIntervehiclePortalConfig::unsafe_arena_set_allocated_intervehicle(
1108 if (GetArenaForAllocation() ==
nullptr) {
1109 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.intervehicle_);
1111 _impl_.intervehicle_ = intervehicle;
1113 _impl_._has_bits_[0] |= 0x00000004u;
1115 _impl_._has_bits_[0] &= ~0x00000004u;
1119inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::release_intervehicle() {
1120 _impl_._has_bits_[0] &= ~0x00000004u;
1122 _impl_.intervehicle_ =
nullptr;
1123#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1124 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1125 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1126 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1128 if (GetArenaForAllocation() !=
nullptr) {
1129 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1134inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::unsafe_arena_release_intervehicle() {
1136 _impl_._has_bits_[0] &= ~0x00000004u;
1138 _impl_.intervehicle_ =
nullptr;
1141inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::_internal_mutable_intervehicle() {
1142 _impl_._has_bits_[0] |= 0x00000004u;
1143 if (_impl_.intervehicle_ ==
nullptr) {
1145 _impl_.intervehicle_ = p;
1147 return _impl_.intervehicle_;
1149inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::mutable_intervehicle() {
1155 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1156 if (message_arena ==
nullptr) {
1157 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.intervehicle_);
1160 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1161 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1162 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(intervehicle));
1163 if (message_arena != submessage_arena) {
1164 intervehicle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1165 message_arena, intervehicle, submessage_arena);
1167 _impl_._has_bits_[0] |= 0x00000004u;
1169 _impl_._has_bits_[0] &= ~0x00000004u;
1171 _impl_.intervehicle_ = intervehicle;
1176 #pragma GCC diagnostic pop
1190#include <google/protobuf/port_undef.inc>
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
GobyDaemonConfig(GobyDaemonConfig &&from) noexcept
PROTOBUF_NODISCARD::goby::middleware::intervehicle::protobuf::PortalConfig * release_intervehicle()
int GetCachedSize() const final
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void UnsafeArenaSwap(GobyDaemonConfig *other)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
bool has_intervehicle() const
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
GobyDaemonConfig(const GobyDaemonConfig &from)
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
static const GobyDaemonConfig & default_instance()
PROTOBUF_CONSTEXPR GobyDaemonConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const ::goby::middleware::intervehicle::protobuf::PortalConfig & intervehicle() const
::goby::zeromq::protobuf::InterProcessManagerHold * mutable_hold()
void unsafe_arena_set_allocated_hold(::goby::zeromq::protobuf::InterProcessManagerHold *hold)
GobyDaemonConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
~GobyDaemonConfig() override
void clear_intervehicle()
::goby::middleware::intervehicle::protobuf::PortalConfig * mutable_intervehicle()
static const GobyDaemonConfig * internal_default_instance()
const ::goby::middleware::protobuf::AppConfig & app() const
GobyDaemonConfig & operator=(GobyDaemonConfig &&from) noexcept
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::goby::middleware::protobuf::AppConfig * mutable_app()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::goby::zeromq::protobuf::InterProcessManagerHold * unsafe_arena_release_hold()
@ kRouterThreadsFieldNumber
@ kIntervehicleFieldNumber
@ kInterprocessFieldNumber
void set_allocated_hold(::goby::zeromq::protobuf::InterProcessManagerHold *hold)
GobyDaemonConfig & operator=(const GobyDaemonConfig &from)
static constexpr int kIndexInFileMessages
friend void swap(GobyDaemonConfig &a, GobyDaemonConfig &b)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
GobyDaemonConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig *intervehicle)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void MergeFrom(const GobyDaemonConfig &from)
void Swap(GobyDaemonConfig *other)
::goby::middleware::intervehicle::protobuf::PortalConfig * unsafe_arena_release_intervehicle()
static const ClassData _class_data_
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
bool has_interprocess() const
void set_router_threads(int32_t value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
bool IsInitialized() const final
const ::goby::zeromq::protobuf::InterProcessManagerHold & hold() const
bool has_router_threads() const
int32_t router_threads() const
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
void clear_router_threads()
void clear_interprocess()
size_t ByteSizeLong() const final
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessManagerHold * release_hold()
void unsafe_arena_set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig *intervehicle)
void CopyFrom(const GobyDaemonConfig &from)
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void MergeFrom(const GobyIntervehiclePortalConfig &from)
friend void swap(GobyIntervehiclePortalConfig &a, GobyIntervehiclePortalConfig &b)
GobyIntervehiclePortalConfig(GobyIntervehiclePortalConfig &&from) noexcept
GobyIntervehiclePortalConfig()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
GobyIntervehiclePortalConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
~GobyIntervehiclePortalConfig() override
static const GobyIntervehiclePortalConfig & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void clear_intervehicle()
void clear_interprocess()
GobyIntervehiclePortalConfig & operator=(GobyIntervehiclePortalConfig &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_CONSTEXPR GobyIntervehiclePortalConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ClassData _class_data_
void Swap(GobyIntervehiclePortalConfig *other)
GobyIntervehiclePortalConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void CopyFrom(const GobyIntervehiclePortalConfig &from)
void UnsafeArenaSwap(GobyIntervehiclePortalConfig *other)
static const GobyIntervehiclePortalConfig * internal_default_instance()
GobyIntervehiclePortalConfig(const GobyIntervehiclePortalConfig &from)
GobyIntervehiclePortalConfig & operator=(const GobyIntervehiclePortalConfig &from)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::zeromq::protobuf::InterProcessManagerHold * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessManagerHold >(Arena *)
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)
::goby::middleware::intervehicle::protobuf::PortalConfig * Arena::CreateMaybeMessage<::goby::middleware::intervehicle::protobuf::PortalConfig >(Arena *)
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 uint32_t offsets[]