4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2ftool_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/generated_enum_reflection.h>
33#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_2ftool_5fconfig_2eproto
44PROTOBUF_NAMESPACE_OPEN
48PROTOBUF_NAMESPACE_CLOSE
59class PublishToolConfig;
60struct PublishToolConfigDefaultTypeInternal;
62class SubscribeToolConfig;
63struct SubscribeToolConfigDefaultTypeInternal;
65class ZeroMQToolConfig;
66struct ZeroMQToolConfigDefaultTypeInternal;
72PROTOBUF_NAMESPACE_OPEN
76PROTOBUF_NAMESPACE_CLOSE
107 static_assert(::std::is_same<T, ZeroMQToolConfig_Action>::value ||
108 ::std::is_integral<T>::value,
109 "Incorrect type passed to function ZeroMQToolConfig_Action_Name.");
110 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
115 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ZeroMQToolConfig_Action>(
121 public ::PROTOBUF_NAMESPACE_ID::Message {
125 explicit PROTOBUF_CONSTEXPR
ZeroMQToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
130 *
this = ::std::move(from);
138 if (
this == &from)
return *
this;
139 if (GetOwningArena() == from.GetOwningArena()
140 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
141 && GetOwningArena() !=
nullptr
152 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
155 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
158 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
181 if (other ==
this)
return;
182 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
183 if (GetOwningArena() !=
nullptr &&
184 GetOwningArena() == other->GetOwningArena()) {
186 if (GetOwningArena() == other->GetOwningArena()) {
190 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
194 if (other ==
this)
return;
195 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
202 return CreateMaybeMessage<ZeroMQToolConfig>(arena);
204 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
206 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
208 ZeroMQToolConfig::MergeImpl(*
this, from);
211 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
213 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
219 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
223 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
225 void SetCachedSize(
int size)
const final;
229 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
230 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
231 return "goby.apps.zeromq.protobuf.ZeroMQToolConfig";
235 bool is_message_owned =
false);
239 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
285 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
291 static_assert(::std::is_same<T, Action>::value ||
292 ::std::is_integral<T>::value,
293 "Incorrect type passed to function Action_Name.");
296 static inline bool Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
310 bool _internal_has_app()
const;
313 const ::goby::middleware::protobuf::AppConfig&
app()
const;
314 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
318 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
328 bool _internal_has_action()
const;
342 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
343 typedef void InternalArenaConstructable_;
344 typedef void DestructorSkippable_;
346 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
347 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
352 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto;
357 public ::PROTOBUF_NAMESPACE_ID::Message {
361 explicit PROTOBUF_CONSTEXPR
PublishToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
366 *
this = ::std::move(from);
374 if (
this == &from)
return *
this;
375 if (GetOwningArena() == from.GetOwningArena()
376 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
377 && GetOwningArena() !=
nullptr
388 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
391 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
394 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
395 return GetDescriptor();
398 return default_instance().GetMetadata().descriptor;
401 return default_instance().GetMetadata().reflection;
404 return *internal_default_instance();
408 &_PublishToolConfig_default_instance_);
410 static constexpr int kIndexInFileMessages =
417 if (other ==
this)
return;
418 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
419 if (GetOwningArena() !=
nullptr &&
420 GetOwningArena() == other->GetOwningArena()) {
422 if (GetOwningArena() == other->GetOwningArena()) {
426 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
430 if (other ==
this)
return;
431 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
438 return CreateMaybeMessage<PublishToolConfig>(arena);
440 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
442 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
444 PublishToolConfig::MergeImpl(*
this, from);
447 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
449 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
450 bool IsInitialized() const final;
453 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
454 uint8_t* _InternalSerialize(
455 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
456 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
459 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
461 void SetCachedSize(
int size)
const final;
465 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
466 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
467 return "goby.apps.zeromq.protobuf.PublishToolConfig";
471 bool is_message_owned =
false);
475 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
477 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
484 kLoadSharedLibraryFieldNumber = 20,
485 kGroupFieldNumber = 10,
486 kTypeFieldNumber = 11,
487 kValueFieldNumber = 12,
489 kInterprocessFieldNumber = 2,
490 kSettleSecondsFieldNumber = 30,
493 int load_shared_library_size()
const;
495 int _internal_load_shared_library_size()
const;
497 void clear_load_shared_library();
498 const std::string& load_shared_library(
int index)
const;
499 std::string* mutable_load_shared_library(
int index);
500 void set_load_shared_library(
int index,
const std::string& value);
501 void set_load_shared_library(
int index, std::string&& value);
502 void set_load_shared_library(
int index,
const char* value);
503 void set_load_shared_library(
int index,
const char* value,
size_t size);
504 std::string* add_load_shared_library();
505 void add_load_shared_library(
const std::string& value);
506 void add_load_shared_library(std::string&& value);
507 void add_load_shared_library(
const char* value);
508 void add_load_shared_library(
const char* value,
size_t size);
509 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_shared_library()
const;
510 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_shared_library();
512 const std::string& _internal_load_shared_library(
int index)
const;
513 std::string* _internal_add_load_shared_library();
517 bool has_group()
const;
519 bool _internal_has_group()
const;
522 const std::string&
group()
const;
523 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
525 std::string* mutable_group();
526 PROTOBUF_NODISCARD std::string* release_group();
527 void set_allocated_group(std::string*
group);
529 const std::string& _internal_group()
const;
530 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_group(
const std::string& value);
531 std::string* _internal_mutable_group();
535 bool has_type()
const;
537 bool _internal_has_type()
const;
540 const std::string& type()
const;
541 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
543 std::string* mutable_type();
544 PROTOBUF_NODISCARD std::string* release_type();
545 void set_allocated_type(std::string* type);
547 const std::string& _internal_type()
const;
548 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_type(
const std::string& value);
549 std::string* _internal_mutable_type();
553 bool has_value()
const;
555 bool _internal_has_value()
const;
558 const std::string& value()
const;
559 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
561 std::string* mutable_value();
562 PROTOBUF_NODISCARD std::string* release_value();
563 void set_allocated_value(std::string* value);
565 const std::string& _internal_value()
const;
566 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_value(
const std::string& value);
567 std::string* _internal_mutable_value();
571 bool has_app()
const;
573 bool _internal_has_app()
const;
576 const ::goby::middleware::protobuf::AppConfig& app()
const;
577 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
581 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
584 void unsafe_arena_set_allocated_app(
589 bool has_interprocess()
const;
591 bool _internal_has_interprocess()
const;
594 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
595 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
599 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
602 void unsafe_arena_set_allocated_interprocess(
607 bool has_settle_seconds()
const;
609 bool _internal_has_settle_seconds()
const;
611 void clear_settle_seconds();
612 double settle_seconds()
const;
613 void set_settle_seconds(
double value);
615 double _internal_settle_seconds()
const;
616 void _internal_set_settle_seconds(
double value);
624 size_t RequiredFieldsByteSizeFallback()
const;
626 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
627 typedef void InternalArenaConstructable_;
628 typedef void DestructorSkippable_;
630 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
631 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
632 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
633 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_;
634 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
635 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
638 double settle_seconds_;
641 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto;
646 public ::PROTOBUF_NAMESPACE_ID::Message {
655 *
this = ::std::move(from);
663 if (
this == &from)
return *
this;
664 if (GetOwningArena() == from.GetOwningArena()
665 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
666 && GetOwningArena() !=
nullptr
677 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
680 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
683 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
684 return GetDescriptor();
687 return default_instance().GetMetadata().descriptor;
690 return default_instance().GetMetadata().reflection;
693 return *internal_default_instance();
697 &_SubscribeToolConfig_default_instance_);
699 static constexpr int kIndexInFileMessages =
706 if (other ==
this)
return;
707 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
708 if (GetOwningArena() !=
nullptr &&
709 GetOwningArena() == other->GetOwningArena()) {
711 if (GetOwningArena() == other->GetOwningArena()) {
715 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
719 if (other ==
this)
return;
720 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
727 return CreateMaybeMessage<SubscribeToolConfig>(arena);
729 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
731 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
733 SubscribeToolConfig::MergeImpl(*
this, from);
736 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
738 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
739 bool IsInitialized() const final;
742 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
743 uint8_t* _InternalSerialize(
744 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
745 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
748 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
750 void SetCachedSize(
int size)
const final;
754 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
755 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
756 return "goby.apps.zeromq.protobuf.SubscribeToolConfig";
760 bool is_message_owned =
false);
764 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
766 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
773 kLoadSharedLibraryFieldNumber = 20,
774 kGroupRegexFieldNumber = 10,
775 kTypeRegexFieldNumber = 11,
776 kSchemeFieldNumber = 12,
778 kInterprocessFieldNumber = 2,
779 kIncludeInternalGroupsFieldNumber = 30,
782 int load_shared_library_size()
const;
784 int _internal_load_shared_library_size()
const;
786 void clear_load_shared_library();
787 const std::string& load_shared_library(
int index)
const;
788 std::string* mutable_load_shared_library(
int index);
789 void set_load_shared_library(
int index,
const std::string& value);
790 void set_load_shared_library(
int index, std::string&& value);
791 void set_load_shared_library(
int index,
const char* value);
792 void set_load_shared_library(
int index,
const char* value,
size_t size);
793 std::string* add_load_shared_library();
794 void add_load_shared_library(
const std::string& value);
795 void add_load_shared_library(std::string&& value);
796 void add_load_shared_library(
const char* value);
797 void add_load_shared_library(
const char* value,
size_t size);
798 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_shared_library()
const;
799 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_shared_library();
801 const std::string& _internal_load_shared_library(
int index)
const;
802 std::string* _internal_add_load_shared_library();
806 bool has_group_regex()
const;
808 bool _internal_has_group_regex()
const;
810 void clear_group_regex();
811 const std::string& group_regex()
const;
812 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
814 std::string* mutable_group_regex();
815 PROTOBUF_NODISCARD std::string* release_group_regex();
816 void set_allocated_group_regex(std::string* group_regex);
818 const std::string& _internal_group_regex()
const;
819 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_group_regex(
const std::string& value);
820 std::string* _internal_mutable_group_regex();
824 bool has_type_regex()
const;
826 bool _internal_has_type_regex()
const;
828 void clear_type_regex();
829 const std::string& type_regex()
const;
830 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
832 std::string* mutable_type_regex();
833 PROTOBUF_NODISCARD std::string* release_type_regex();
834 void set_allocated_type_regex(std::string* type_regex);
836 const std::string& _internal_type_regex()
const;
837 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_type_regex(
const std::string& value);
838 std::string* _internal_mutable_type_regex();
842 bool has_scheme()
const;
844 bool _internal_has_scheme()
const;
847 const std::string& scheme()
const;
848 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
850 std::string* mutable_scheme();
851 PROTOBUF_NODISCARD std::string* release_scheme();
852 void set_allocated_scheme(std::string* scheme);
854 const std::string& _internal_scheme()
const;
855 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_scheme(
const std::string& value);
856 std::string* _internal_mutable_scheme();
860 bool has_app()
const;
862 bool _internal_has_app()
const;
865 const ::goby::middleware::protobuf::AppConfig& app()
const;
866 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
870 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
873 void unsafe_arena_set_allocated_app(
878 bool has_interprocess()
const;
880 bool _internal_has_interprocess()
const;
883 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
884 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
888 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
891 void unsafe_arena_set_allocated_interprocess(
896 bool has_include_internal_groups()
const;
898 bool _internal_has_include_internal_groups()
const;
900 void clear_include_internal_groups();
901 bool include_internal_groups()
const;
902 void set_include_internal_groups(
bool value);
904 bool _internal_include_internal_groups()
const;
905 void _internal_set_include_internal_groups(
bool value);
912 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
913 typedef void InternalArenaConstructable_;
914 typedef void DestructorSkippable_;
916 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
917 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
918 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
919 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_group_regex_;
920 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_regex_;
921 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_type_regex_;
922 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_regex_;
923 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scheme_;
926 bool include_internal_groups_;
929 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto;
937 #pragma GCC diagnostic push
938 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
943inline bool ZeroMQToolConfig::_internal_has_app()
const {
944 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
945 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
948inline bool ZeroMQToolConfig::has_app()
const {
949 return _internal_has_app();
951inline const ::goby::middleware::protobuf::AppConfig& ZeroMQToolConfig::_internal_app()
const {
952 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
956inline const ::goby::middleware::protobuf::AppConfig& ZeroMQToolConfig::app()
const {
958 return _internal_app();
960inline void ZeroMQToolConfig::unsafe_arena_set_allocated_app(
962 if (GetArenaForAllocation() ==
nullptr) {
963 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
967 _impl_._has_bits_[0] |= 0x00000001u;
969 _impl_._has_bits_[0] &= ~0x00000001u;
973inline ::goby::middleware::protobuf::AppConfig* ZeroMQToolConfig::release_app() {
974 _impl_._has_bits_[0] &= ~0x00000001u;
976 _impl_.app_ =
nullptr;
977#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
978 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
979 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
980 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
982 if (GetArenaForAllocation() !=
nullptr) {
983 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
988inline ::goby::middleware::protobuf::AppConfig* ZeroMQToolConfig::unsafe_arena_release_app() {
990 _impl_._has_bits_[0] &= ~0x00000001u;
992 _impl_.app_ =
nullptr;
995inline ::goby::middleware::protobuf::AppConfig* ZeroMQToolConfig::_internal_mutable_app() {
996 _impl_._has_bits_[0] |= 0x00000001u;
997 if (_impl_.app_ ==
nullptr) {
1003inline ::goby::middleware::protobuf::AppConfig* ZeroMQToolConfig::mutable_app() {
1009 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1010 if (message_arena ==
nullptr) {
1011 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1014 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1015 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1016 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
1017 if (message_arena != submessage_arena) {
1018 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1019 message_arena, app, submessage_arena);
1021 _impl_._has_bits_[0] |= 0x00000001u;
1023 _impl_._has_bits_[0] &= ~0x00000001u;
1030inline bool ZeroMQToolConfig::_internal_has_action()
const {
1031 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1034inline bool ZeroMQToolConfig::has_action()
const {
1035 return _internal_has_action();
1037inline void ZeroMQToolConfig::clear_action() {
1039 _impl_._has_bits_[0] &= ~0x00000002u;
1041inline ::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action ZeroMQToolConfig::_internal_action()
const {
1044inline ::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action ZeroMQToolConfig::action()
const {
1046 return _internal_action();
1050 _impl_._has_bits_[0] |= 0x00000002u;
1051 _impl_.action_ = value;
1054 _internal_set_action(value);
1063inline bool PublishToolConfig::_internal_has_app()
const {
1064 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1065 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
1068inline bool PublishToolConfig::has_app()
const {
1069 return _internal_has_app();
1071inline const ::goby::middleware::protobuf::AppConfig& PublishToolConfig::_internal_app()
const {
1072 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
1076inline const ::goby::middleware::protobuf::AppConfig& PublishToolConfig::app()
const {
1078 return _internal_app();
1080inline void PublishToolConfig::unsafe_arena_set_allocated_app(
1082 if (GetArenaForAllocation() ==
nullptr) {
1083 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1087 _impl_._has_bits_[0] |= 0x00000008u;
1089 _impl_._has_bits_[0] &= ~0x00000008u;
1093inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::release_app() {
1094 _impl_._has_bits_[0] &= ~0x00000008u;
1096 _impl_.app_ =
nullptr;
1097#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1098 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1099 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1100 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1102 if (GetArenaForAllocation() !=
nullptr) {
1103 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1108inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::unsafe_arena_release_app() {
1110 _impl_._has_bits_[0] &= ~0x00000008u;
1112 _impl_.app_ =
nullptr;
1115inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::_internal_mutable_app() {
1116 _impl_._has_bits_[0] |= 0x00000008u;
1117 if (_impl_.app_ ==
nullptr) {
1123inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::mutable_app() {
1129 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1130 if (message_arena ==
nullptr) {
1131 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1134 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1135 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1136 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
1137 if (message_arena != submessage_arena) {
1138 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1139 message_arena, app, submessage_arena);
1141 _impl_._has_bits_[0] |= 0x00000008u;
1143 _impl_._has_bits_[0] &= ~0x00000008u;
1150inline bool PublishToolConfig::_internal_has_interprocess()
const {
1151 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1152 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
1155inline bool PublishToolConfig::has_interprocess()
const {
1156 return _internal_has_interprocess();
1158inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& PublishToolConfig::_internal_interprocess()
const {
1159 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1163inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& PublishToolConfig::interprocess()
const {
1165 return _internal_interprocess();
1167inline void PublishToolConfig::unsafe_arena_set_allocated_interprocess(
1169 if (GetArenaForAllocation() ==
nullptr) {
1170 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1172 _impl_.interprocess_ = interprocess;
1174 _impl_._has_bits_[0] |= 0x00000010u;
1176 _impl_._has_bits_[0] &= ~0x00000010u;
1180inline ::goby::zeromq::protobuf::InterProcessPortalConfig* PublishToolConfig::release_interprocess() {
1181 _impl_._has_bits_[0] &= ~0x00000010u;
1183 _impl_.interprocess_ =
nullptr;
1184#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1185 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1186 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1187 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1189 if (GetArenaForAllocation() !=
nullptr) {
1190 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1195inline ::goby::zeromq::protobuf::InterProcessPortalConfig* PublishToolConfig::unsafe_arena_release_interprocess() {
1197 _impl_._has_bits_[0] &= ~0x00000010u;
1199 _impl_.interprocess_ =
nullptr;
1202inline ::goby::zeromq::protobuf::InterProcessPortalConfig* PublishToolConfig::_internal_mutable_interprocess() {
1203 _impl_._has_bits_[0] |= 0x00000010u;
1204 if (_impl_.interprocess_ ==
nullptr) {
1206 _impl_.interprocess_ = p;
1208 return _impl_.interprocess_;
1210inline ::goby::zeromq::protobuf::InterProcessPortalConfig* PublishToolConfig::mutable_interprocess() {
1216 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1217 if (message_arena ==
nullptr) {
1218 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1221 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1222 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1223 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
1224 if (message_arena != submessage_arena) {
1225 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1226 message_arena, interprocess, submessage_arena);
1228 _impl_._has_bits_[0] |= 0x00000010u;
1230 _impl_._has_bits_[0] &= ~0x00000010u;
1232 _impl_.interprocess_ = interprocess;
1237inline bool PublishToolConfig::_internal_has_group()
const {
1238 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1241inline bool PublishToolConfig::has_group()
const {
1242 return _internal_has_group();
1244inline void PublishToolConfig::clear_group() {
1245 _impl_.group_.ClearToEmpty();
1246 _impl_._has_bits_[0] &= ~0x00000001u;
1248inline const std::string& PublishToolConfig::group()
const {
1250 return _internal_group();
1252template <
typename ArgT0,
typename... ArgT>
1253inline PROTOBUF_ALWAYS_INLINE
1254void PublishToolConfig::set_group(ArgT0&& arg0, ArgT... args) {
1255 _impl_._has_bits_[0] |= 0x00000001u;
1256 _impl_.group_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1259inline std::string* PublishToolConfig::mutable_group() {
1260 std::string* _s = _internal_mutable_group();
1264inline const std::string& PublishToolConfig::_internal_group()
const {
1265 return _impl_.group_.Get();
1267inline void PublishToolConfig::_internal_set_group(
const std::string& value) {
1268 _impl_._has_bits_[0] |= 0x00000001u;
1269 _impl_.group_.Set(value, GetArenaForAllocation());
1271inline std::string* PublishToolConfig::_internal_mutable_group() {
1272 _impl_._has_bits_[0] |= 0x00000001u;
1273 return _impl_.group_.Mutable(GetArenaForAllocation());
1275inline std::string* PublishToolConfig::release_group() {
1277 if (!_internal_has_group()) {
1280 _impl_._has_bits_[0] &= ~0x00000001u;
1281 auto* p = _impl_.group_.Release();
1282#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1283 if (_impl_.group_.IsDefault()) {
1284 _impl_.group_.Set(
"", GetArenaForAllocation());
1289inline void PublishToolConfig::set_allocated_group(std::string*
group) {
1290 if (
group !=
nullptr) {
1291 _impl_._has_bits_[0] |= 0x00000001u;
1293 _impl_._has_bits_[0] &= ~0x00000001u;
1295 _impl_.group_.SetAllocated(
group, GetArenaForAllocation());
1296#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1297 if (_impl_.group_.IsDefault()) {
1298 _impl_.group_.Set(
"", GetArenaForAllocation());
1305inline bool PublishToolConfig::_internal_has_type()
const {
1306 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1309inline bool PublishToolConfig::has_type()
const {
1310 return _internal_has_type();
1312inline void PublishToolConfig::clear_type() {
1313 _impl_.type_.ClearToEmpty();
1314 _impl_._has_bits_[0] &= ~0x00000002u;
1316inline const std::string& PublishToolConfig::type()
const {
1318 return _internal_type();
1320template <
typename ArgT0,
typename... ArgT>
1321inline PROTOBUF_ALWAYS_INLINE
1322void PublishToolConfig::set_type(ArgT0&& arg0, ArgT... args) {
1323 _impl_._has_bits_[0] |= 0x00000002u;
1324 _impl_.type_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1327inline std::string* PublishToolConfig::mutable_type() {
1328 std::string* _s = _internal_mutable_type();
1332inline const std::string& PublishToolConfig::_internal_type()
const {
1333 return _impl_.type_.Get();
1335inline void PublishToolConfig::_internal_set_type(
const std::string& value) {
1336 _impl_._has_bits_[0] |= 0x00000002u;
1337 _impl_.type_.Set(value, GetArenaForAllocation());
1339inline std::string* PublishToolConfig::_internal_mutable_type() {
1340 _impl_._has_bits_[0] |= 0x00000002u;
1341 return _impl_.type_.Mutable(GetArenaForAllocation());
1343inline std::string* PublishToolConfig::release_type() {
1345 if (!_internal_has_type()) {
1348 _impl_._has_bits_[0] &= ~0x00000002u;
1349 auto* p = _impl_.type_.Release();
1350#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1351 if (_impl_.type_.IsDefault()) {
1352 _impl_.type_.Set(
"", GetArenaForAllocation());
1357inline void PublishToolConfig::set_allocated_type(std::string* type) {
1358 if (type !=
nullptr) {
1359 _impl_._has_bits_[0] |= 0x00000002u;
1361 _impl_._has_bits_[0] &= ~0x00000002u;
1363 _impl_.type_.SetAllocated(type, GetArenaForAllocation());
1364#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1365 if (_impl_.type_.IsDefault()) {
1366 _impl_.type_.Set(
"", GetArenaForAllocation());
1373inline bool PublishToolConfig::_internal_has_value()
const {
1374 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1377inline bool PublishToolConfig::has_value()
const {
1378 return _internal_has_value();
1380inline void PublishToolConfig::clear_value() {
1381 _impl_.value_.ClearToEmpty();
1382 _impl_._has_bits_[0] &= ~0x00000004u;
1384inline const std::string& PublishToolConfig::value()
const {
1386 return _internal_value();
1388template <
typename ArgT0,
typename... ArgT>
1389inline PROTOBUF_ALWAYS_INLINE
1390void PublishToolConfig::set_value(ArgT0&& arg0, ArgT... args) {
1391 _impl_._has_bits_[0] |= 0x00000004u;
1392 _impl_.value_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1395inline std::string* PublishToolConfig::mutable_value() {
1396 std::string* _s = _internal_mutable_value();
1400inline const std::string& PublishToolConfig::_internal_value()
const {
1401 return _impl_.value_.Get();
1403inline void PublishToolConfig::_internal_set_value(
const std::string& value) {
1404 _impl_._has_bits_[0] |= 0x00000004u;
1405 _impl_.value_.Set(value, GetArenaForAllocation());
1407inline std::string* PublishToolConfig::_internal_mutable_value() {
1408 _impl_._has_bits_[0] |= 0x00000004u;
1409 return _impl_.value_.Mutable(GetArenaForAllocation());
1411inline std::string* PublishToolConfig::release_value() {
1413 if (!_internal_has_value()) {
1416 _impl_._has_bits_[0] &= ~0x00000004u;
1417 auto* p = _impl_.value_.Release();
1418#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1419 if (_impl_.value_.IsDefault()) {
1420 _impl_.value_.Set(
"", GetArenaForAllocation());
1425inline void PublishToolConfig::set_allocated_value(std::string* value) {
1426 if (value !=
nullptr) {
1427 _impl_._has_bits_[0] |= 0x00000004u;
1429 _impl_._has_bits_[0] &= ~0x00000004u;
1431 _impl_.value_.SetAllocated(value, GetArenaForAllocation());
1432#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1433 if (_impl_.value_.IsDefault()) {
1434 _impl_.value_.Set(
"", GetArenaForAllocation());
1441inline int PublishToolConfig::_internal_load_shared_library_size()
const {
1442 return _impl_.load_shared_library_.size();
1444inline int PublishToolConfig::load_shared_library_size()
const {
1445 return _internal_load_shared_library_size();
1447inline void PublishToolConfig::clear_load_shared_library() {
1448 _impl_.load_shared_library_.Clear();
1450inline std::string* PublishToolConfig::add_load_shared_library() {
1451 std::string* _s = _internal_add_load_shared_library();
1455inline const std::string& PublishToolConfig::_internal_load_shared_library(
int index)
const {
1456 return _impl_.load_shared_library_.Get(index);
1458inline const std::string& PublishToolConfig::load_shared_library(
int index)
const {
1460 return _internal_load_shared_library(index);
1462inline std::string* PublishToolConfig::mutable_load_shared_library(
int index) {
1464 return _impl_.load_shared_library_.Mutable(index);
1466inline void PublishToolConfig::set_load_shared_library(
int index,
const std::string& value) {
1467 _impl_.load_shared_library_.Mutable(index)->assign(value);
1470inline void PublishToolConfig::set_load_shared_library(
int index, std::string&& value) {
1471 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
1474inline void PublishToolConfig::set_load_shared_library(
int index,
const char* value) {
1475 GOOGLE_DCHECK(value !=
nullptr);
1476 _impl_.load_shared_library_.Mutable(index)->assign(value);
1479inline void PublishToolConfig::set_load_shared_library(
int index,
const char* value,
size_t size) {
1480 _impl_.load_shared_library_.Mutable(index)->assign(
1481 reinterpret_cast<const char*
>(value), size);
1484inline std::string* PublishToolConfig::_internal_add_load_shared_library() {
1485 return _impl_.load_shared_library_.Add();
1487inline void PublishToolConfig::add_load_shared_library(
const std::string& value) {
1488 _impl_.load_shared_library_.Add()->assign(value);
1491inline void PublishToolConfig::add_load_shared_library(std::string&& value) {
1492 _impl_.load_shared_library_.Add(std::move(value));
1495inline void PublishToolConfig::add_load_shared_library(
const char* value) {
1496 GOOGLE_DCHECK(value !=
nullptr);
1497 _impl_.load_shared_library_.Add()->assign(value);
1500inline void PublishToolConfig::add_load_shared_library(
const char* value,
size_t size) {
1501 _impl_.load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1504inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1505PublishToolConfig::load_shared_library()
const {
1507 return _impl_.load_shared_library_;
1509inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1510PublishToolConfig::mutable_load_shared_library() {
1512 return &_impl_.load_shared_library_;
1516inline bool PublishToolConfig::_internal_has_settle_seconds()
const {
1517 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1520inline bool PublishToolConfig::has_settle_seconds()
const {
1521 return _internal_has_settle_seconds();
1523inline void PublishToolConfig::clear_settle_seconds() {
1524 _impl_.settle_seconds_ = 0;
1525 _impl_._has_bits_[0] &= ~0x00000020u;
1527inline double PublishToolConfig::_internal_settle_seconds()
const {
1528 return _impl_.settle_seconds_;
1530inline double PublishToolConfig::settle_seconds()
const {
1532 return _internal_settle_seconds();
1534inline void PublishToolConfig::_internal_set_settle_seconds(
double value) {
1535 _impl_._has_bits_[0] |= 0x00000020u;
1536 _impl_.settle_seconds_ = value;
1538inline void PublishToolConfig::set_settle_seconds(
double value) {
1539 _internal_set_settle_seconds(value);
1548inline bool SubscribeToolConfig::_internal_has_app()
const {
1549 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1550 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
1553inline bool SubscribeToolConfig::has_app()
const {
1554 return _internal_has_app();
1556inline const ::goby::middleware::protobuf::AppConfig& SubscribeToolConfig::_internal_app()
const {
1557 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
1561inline const ::goby::middleware::protobuf::AppConfig& SubscribeToolConfig::app()
const {
1563 return _internal_app();
1565inline void SubscribeToolConfig::unsafe_arena_set_allocated_app(
1567 if (GetArenaForAllocation() ==
nullptr) {
1568 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1572 _impl_._has_bits_[0] |= 0x00000008u;
1574 _impl_._has_bits_[0] &= ~0x00000008u;
1578inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::release_app() {
1579 _impl_._has_bits_[0] &= ~0x00000008u;
1581 _impl_.app_ =
nullptr;
1582#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1583 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1584 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1585 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1587 if (GetArenaForAllocation() !=
nullptr) {
1588 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1593inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::unsafe_arena_release_app() {
1595 _impl_._has_bits_[0] &= ~0x00000008u;
1597 _impl_.app_ =
nullptr;
1600inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::_internal_mutable_app() {
1601 _impl_._has_bits_[0] |= 0x00000008u;
1602 if (_impl_.app_ ==
nullptr) {
1608inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::mutable_app() {
1614 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1615 if (message_arena ==
nullptr) {
1616 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1619 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1620 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1621 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
1622 if (message_arena != submessage_arena) {
1623 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1624 message_arena, app, submessage_arena);
1626 _impl_._has_bits_[0] |= 0x00000008u;
1628 _impl_._has_bits_[0] &= ~0x00000008u;
1635inline bool SubscribeToolConfig::_internal_has_interprocess()
const {
1636 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1637 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
1640inline bool SubscribeToolConfig::has_interprocess()
const {
1641 return _internal_has_interprocess();
1643inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& SubscribeToolConfig::_internal_interprocess()
const {
1644 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1648inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& SubscribeToolConfig::interprocess()
const {
1650 return _internal_interprocess();
1652inline void SubscribeToolConfig::unsafe_arena_set_allocated_interprocess(
1654 if (GetArenaForAllocation() ==
nullptr) {
1655 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1657 _impl_.interprocess_ = interprocess;
1659 _impl_._has_bits_[0] |= 0x00000010u;
1661 _impl_._has_bits_[0] &= ~0x00000010u;
1665inline ::goby::zeromq::protobuf::InterProcessPortalConfig* SubscribeToolConfig::release_interprocess() {
1666 _impl_._has_bits_[0] &= ~0x00000010u;
1668 _impl_.interprocess_ =
nullptr;
1669#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1670 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1671 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1672 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1674 if (GetArenaForAllocation() !=
nullptr) {
1675 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1680inline ::goby::zeromq::protobuf::InterProcessPortalConfig* SubscribeToolConfig::unsafe_arena_release_interprocess() {
1682 _impl_._has_bits_[0] &= ~0x00000010u;
1684 _impl_.interprocess_ =
nullptr;
1687inline ::goby::zeromq::protobuf::InterProcessPortalConfig* SubscribeToolConfig::_internal_mutable_interprocess() {
1688 _impl_._has_bits_[0] |= 0x00000010u;
1689 if (_impl_.interprocess_ ==
nullptr) {
1691 _impl_.interprocess_ = p;
1693 return _impl_.interprocess_;
1695inline ::goby::zeromq::protobuf::InterProcessPortalConfig* SubscribeToolConfig::mutable_interprocess() {
1701 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1702 if (message_arena ==
nullptr) {
1703 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1706 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1707 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1708 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
1709 if (message_arena != submessage_arena) {
1710 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1711 message_arena, interprocess, submessage_arena);
1713 _impl_._has_bits_[0] |= 0x00000010u;
1715 _impl_._has_bits_[0] &= ~0x00000010u;
1717 _impl_.interprocess_ = interprocess;
1722inline bool SubscribeToolConfig::_internal_has_group_regex()
const {
1723 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1726inline bool SubscribeToolConfig::has_group_regex()
const {
1727 return _internal_has_group_regex();
1729inline void SubscribeToolConfig::clear_group_regex() {
1730 _impl_.group_regex_.ClearToDefault(::goby::apps::zeromq::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_group_regex_, GetArenaForAllocation());
1731 _impl_._has_bits_[0] &= ~0x00000001u;
1733inline const std::string& SubscribeToolConfig::group_regex()
const {
1735 if (_impl_.group_regex_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_group_regex_.get();
1736 return _internal_group_regex();
1738template <
typename ArgT0,
typename... ArgT>
1739inline PROTOBUF_ALWAYS_INLINE
1740void SubscribeToolConfig::set_group_regex(ArgT0&& arg0, ArgT... args) {
1741 _impl_._has_bits_[0] |= 0x00000001u;
1742 _impl_.group_regex_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1745inline std::string* SubscribeToolConfig::mutable_group_regex() {
1746 std::string* _s = _internal_mutable_group_regex();
1750inline const std::string& SubscribeToolConfig::_internal_group_regex()
const {
1751 return _impl_.group_regex_.Get();
1753inline void SubscribeToolConfig::_internal_set_group_regex(
const std::string& value) {
1754 _impl_._has_bits_[0] |= 0x00000001u;
1755 _impl_.group_regex_.Set(value, GetArenaForAllocation());
1757inline std::string* SubscribeToolConfig::_internal_mutable_group_regex() {
1758 _impl_._has_bits_[0] |= 0x00000001u;
1759 return _impl_.group_regex_.Mutable(::goby::apps::zeromq::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_group_regex_, GetArenaForAllocation());
1761inline std::string* SubscribeToolConfig::release_group_regex() {
1763 if (!_internal_has_group_regex()) {
1766 _impl_._has_bits_[0] &= ~0x00000001u;
1767 auto* p = _impl_.group_regex_.Release();
1770inline void SubscribeToolConfig::set_allocated_group_regex(std::string* group_regex) {
1771 if (group_regex !=
nullptr) {
1772 _impl_._has_bits_[0] |= 0x00000001u;
1774 _impl_._has_bits_[0] &= ~0x00000001u;
1776 _impl_.group_regex_.SetAllocated(group_regex, GetArenaForAllocation());
1781inline bool SubscribeToolConfig::_internal_has_type_regex()
const {
1782 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1785inline bool SubscribeToolConfig::has_type_regex()
const {
1786 return _internal_has_type_regex();
1788inline void SubscribeToolConfig::clear_type_regex() {
1789 _impl_.type_regex_.ClearToDefault(::goby::apps::zeromq::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_type_regex_, GetArenaForAllocation());
1790 _impl_._has_bits_[0] &= ~0x00000002u;
1792inline const std::string& SubscribeToolConfig::type_regex()
const {
1794 if (_impl_.type_regex_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_type_regex_.get();
1795 return _internal_type_regex();
1797template <
typename ArgT0,
typename... ArgT>
1798inline PROTOBUF_ALWAYS_INLINE
1799void SubscribeToolConfig::set_type_regex(ArgT0&& arg0, ArgT... args) {
1800 _impl_._has_bits_[0] |= 0x00000002u;
1801 _impl_.type_regex_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1804inline std::string* SubscribeToolConfig::mutable_type_regex() {
1805 std::string* _s = _internal_mutable_type_regex();
1809inline const std::string& SubscribeToolConfig::_internal_type_regex()
const {
1810 return _impl_.type_regex_.Get();
1812inline void SubscribeToolConfig::_internal_set_type_regex(
const std::string& value) {
1813 _impl_._has_bits_[0] |= 0x00000002u;
1814 _impl_.type_regex_.Set(value, GetArenaForAllocation());
1816inline std::string* SubscribeToolConfig::_internal_mutable_type_regex() {
1817 _impl_._has_bits_[0] |= 0x00000002u;
1818 return _impl_.type_regex_.Mutable(::goby::apps::zeromq::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_type_regex_, GetArenaForAllocation());
1820inline std::string* SubscribeToolConfig::release_type_regex() {
1822 if (!_internal_has_type_regex()) {
1825 _impl_._has_bits_[0] &= ~0x00000002u;
1826 auto* p = _impl_.type_regex_.Release();
1829inline void SubscribeToolConfig::set_allocated_type_regex(std::string* type_regex) {
1830 if (type_regex !=
nullptr) {
1831 _impl_._has_bits_[0] |= 0x00000002u;
1833 _impl_._has_bits_[0] &= ~0x00000002u;
1835 _impl_.type_regex_.SetAllocated(type_regex, GetArenaForAllocation());
1840inline bool SubscribeToolConfig::_internal_has_scheme()
const {
1841 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1844inline bool SubscribeToolConfig::has_scheme()
const {
1845 return _internal_has_scheme();
1847inline void SubscribeToolConfig::clear_scheme() {
1848 _impl_.scheme_.ClearToEmpty();
1849 _impl_._has_bits_[0] &= ~0x00000004u;
1851inline const std::string& SubscribeToolConfig::scheme()
const {
1853 return _internal_scheme();
1855template <
typename ArgT0,
typename... ArgT>
1856inline PROTOBUF_ALWAYS_INLINE
1857void SubscribeToolConfig::set_scheme(ArgT0&& arg0, ArgT... args) {
1858 _impl_._has_bits_[0] |= 0x00000004u;
1859 _impl_.scheme_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1862inline std::string* SubscribeToolConfig::mutable_scheme() {
1863 std::string* _s = _internal_mutable_scheme();
1867inline const std::string& SubscribeToolConfig::_internal_scheme()
const {
1868 return _impl_.scheme_.Get();
1870inline void SubscribeToolConfig::_internal_set_scheme(
const std::string& value) {
1871 _impl_._has_bits_[0] |= 0x00000004u;
1872 _impl_.scheme_.Set(value, GetArenaForAllocation());
1874inline std::string* SubscribeToolConfig::_internal_mutable_scheme() {
1875 _impl_._has_bits_[0] |= 0x00000004u;
1876 return _impl_.scheme_.Mutable(GetArenaForAllocation());
1878inline std::string* SubscribeToolConfig::release_scheme() {
1880 if (!_internal_has_scheme()) {
1883 _impl_._has_bits_[0] &= ~0x00000004u;
1884 auto* p = _impl_.scheme_.Release();
1885#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1886 if (_impl_.scheme_.IsDefault()) {
1887 _impl_.scheme_.Set(
"", GetArenaForAllocation());
1892inline void SubscribeToolConfig::set_allocated_scheme(std::string* scheme) {
1893 if (scheme !=
nullptr) {
1894 _impl_._has_bits_[0] |= 0x00000004u;
1896 _impl_._has_bits_[0] &= ~0x00000004u;
1898 _impl_.scheme_.SetAllocated(scheme, GetArenaForAllocation());
1899#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1900 if (_impl_.scheme_.IsDefault()) {
1901 _impl_.scheme_.Set(
"", GetArenaForAllocation());
1908inline int SubscribeToolConfig::_internal_load_shared_library_size()
const {
1909 return _impl_.load_shared_library_.size();
1911inline int SubscribeToolConfig::load_shared_library_size()
const {
1912 return _internal_load_shared_library_size();
1914inline void SubscribeToolConfig::clear_load_shared_library() {
1915 _impl_.load_shared_library_.Clear();
1917inline std::string* SubscribeToolConfig::add_load_shared_library() {
1918 std::string* _s = _internal_add_load_shared_library();
1922inline const std::string& SubscribeToolConfig::_internal_load_shared_library(
int index)
const {
1923 return _impl_.load_shared_library_.Get(index);
1925inline const std::string& SubscribeToolConfig::load_shared_library(
int index)
const {
1927 return _internal_load_shared_library(index);
1929inline std::string* SubscribeToolConfig::mutable_load_shared_library(
int index) {
1931 return _impl_.load_shared_library_.Mutable(index);
1933inline void SubscribeToolConfig::set_load_shared_library(
int index,
const std::string& value) {
1934 _impl_.load_shared_library_.Mutable(index)->assign(value);
1937inline void SubscribeToolConfig::set_load_shared_library(
int index, std::string&& value) {
1938 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
1941inline void SubscribeToolConfig::set_load_shared_library(
int index,
const char* value) {
1942 GOOGLE_DCHECK(value !=
nullptr);
1943 _impl_.load_shared_library_.Mutable(index)->assign(value);
1946inline void SubscribeToolConfig::set_load_shared_library(
int index,
const char* value,
size_t size) {
1947 _impl_.load_shared_library_.Mutable(index)->assign(
1948 reinterpret_cast<const char*
>(value), size);
1951inline std::string* SubscribeToolConfig::_internal_add_load_shared_library() {
1952 return _impl_.load_shared_library_.Add();
1954inline void SubscribeToolConfig::add_load_shared_library(
const std::string& value) {
1955 _impl_.load_shared_library_.Add()->assign(value);
1958inline void SubscribeToolConfig::add_load_shared_library(std::string&& value) {
1959 _impl_.load_shared_library_.Add(std::move(value));
1962inline void SubscribeToolConfig::add_load_shared_library(
const char* value) {
1963 GOOGLE_DCHECK(value !=
nullptr);
1964 _impl_.load_shared_library_.Add()->assign(value);
1967inline void SubscribeToolConfig::add_load_shared_library(
const char* value,
size_t size) {
1968 _impl_.load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1971inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1972SubscribeToolConfig::load_shared_library()
const {
1974 return _impl_.load_shared_library_;
1976inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1977SubscribeToolConfig::mutable_load_shared_library() {
1979 return &_impl_.load_shared_library_;
1983inline bool SubscribeToolConfig::_internal_has_include_internal_groups()
const {
1984 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1987inline bool SubscribeToolConfig::has_include_internal_groups()
const {
1988 return _internal_has_include_internal_groups();
1990inline void SubscribeToolConfig::clear_include_internal_groups() {
1991 _impl_.include_internal_groups_ =
false;
1992 _impl_._has_bits_[0] &= ~0x00000020u;
1994inline bool SubscribeToolConfig::_internal_include_internal_groups()
const {
1995 return _impl_.include_internal_groups_;
1997inline bool SubscribeToolConfig::include_internal_groups()
const {
1999 return _internal_include_internal_groups();
2001inline void SubscribeToolConfig::_internal_set_include_internal_groups(
bool value) {
2002 _impl_._has_bits_[0] |= 0x00000020u;
2003 _impl_.include_internal_groups_ = value;
2005inline void SubscribeToolConfig::set_include_internal_groups(
bool value) {
2006 _internal_set_include_internal_groups(value);
2011 #pragma GCC diagnostic pop
2025PROTOBUF_NAMESPACE_OPEN
2030 return ::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action_descriptor();
2033PROTOBUF_NAMESPACE_CLOSE
2037#include <google/protobuf/port_undef.inc>
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
goby::util::logger::GroupSetter group(std::string n)
bool ZeroMQToolConfig_Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ZeroMQToolConfig_Action *value)
constexpr ZeroMQToolConfig_Action ZeroMQToolConfig_Action_Action_MIN
bool ZeroMQToolConfig_Action_IsValid(int value)
@ ZeroMQToolConfig_Action_liaison
@ ZeroMQToolConfig_Action_frontseat_interface
@ ZeroMQToolConfig_Action_geov
@ ZeroMQToolConfig_Action_moos_gateway
@ ZeroMQToolConfig_Action_subscribe
@ ZeroMQToolConfig_Action_terminate
@ ZeroMQToolConfig_Action_gps
@ ZeroMQToolConfig_Action_intervehicle_portal
@ ZeroMQToolConfig_Action_coroner
@ ZeroMQToolConfig_Action_logger
@ ZeroMQToolConfig_Action_publish
@ ZeroMQToolConfig_Action_help
@ ZeroMQToolConfig_Action_opencpn
@ ZeroMQToolConfig_Action_daemon
@ ZeroMQToolConfig_Action_playback
constexpr ZeroMQToolConfig_Action ZeroMQToolConfig_Action_Action_MAX
constexpr int ZeroMQToolConfig_Action_Action_ARRAYSIZE
ZeroMQToolConfigDefaultTypeInternal _ZeroMQToolConfig_default_instance_
const std::string & ZeroMQToolConfig_Action_Name(T enum_t_value)
SubscribeToolConfigDefaultTypeInternal _SubscribeToolConfig_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ZeroMQToolConfig_Action_descriptor()
PublishToolConfigDefaultTypeInternal _PublishToolConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)