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();
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,
492 int load_shared_library_size()
const;
494 int _internal_load_shared_library_size()
const;
496 void clear_load_shared_library();
497 const std::string& load_shared_library(
int index)
const;
498 std::string* mutable_load_shared_library(
int index);
499 void set_load_shared_library(
int index,
const std::string& value);
500 void set_load_shared_library(
int index, std::string&& value);
501 void set_load_shared_library(
int index,
const char* value);
502 void set_load_shared_library(
int index,
const char* value,
size_t size);
503 std::string* add_load_shared_library();
504 void add_load_shared_library(
const std::string& value);
505 void add_load_shared_library(std::string&& value);
506 void add_load_shared_library(
const char* value);
507 void add_load_shared_library(
const char* value,
size_t size);
508 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_shared_library()
const;
509 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_shared_library();
511 const std::string& _internal_load_shared_library(
int index)
const;
512 std::string* _internal_add_load_shared_library();
516 bool has_group()
const;
518 bool _internal_has_group()
const;
521 const std::string&
group()
const;
522 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
524 std::string* mutable_group();
525 PROTOBUF_NODISCARD std::string* release_group();
526 void set_allocated_group(std::string*
group);
528 const std::string& _internal_group()
const;
529 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_group(
const std::string& value);
530 std::string* _internal_mutable_group();
534 bool has_type()
const;
536 bool _internal_has_type()
const;
539 const std::string& type()
const;
540 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
542 std::string* mutable_type();
543 PROTOBUF_NODISCARD std::string* release_type();
544 void set_allocated_type(std::string* type);
546 const std::string& _internal_type()
const;
547 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_type(
const std::string& value);
548 std::string* _internal_mutable_type();
552 bool has_value()
const;
554 bool _internal_has_value()
const;
557 const std::string& value()
const;
558 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
560 std::string* mutable_value();
561 PROTOBUF_NODISCARD std::string* release_value();
562 void set_allocated_value(std::string* value);
564 const std::string& _internal_value()
const;
565 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_value(
const std::string& value);
566 std::string* _internal_mutable_value();
570 bool has_app()
const;
572 bool _internal_has_app()
const;
575 const ::goby::middleware::protobuf::AppConfig& app()
const;
576 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
580 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
583 void unsafe_arena_set_allocated_app(
588 bool has_interprocess()
const;
590 bool _internal_has_interprocess()
const;
593 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
594 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
598 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
601 void unsafe_arena_set_allocated_interprocess(
610 size_t RequiredFieldsByteSizeFallback()
const;
612 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
613 typedef void InternalArenaConstructable_;
614 typedef void DestructorSkippable_;
616 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
617 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
618 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
619 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_;
620 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
621 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
626 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto;
631 public ::PROTOBUF_NAMESPACE_ID::Message {
640 *
this = ::std::move(from);
648 if (
this == &from)
return *
this;
649 if (GetOwningArena() == from.GetOwningArena()
650 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
651 && GetOwningArena() !=
nullptr
662 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
665 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
668 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
669 return GetDescriptor();
672 return default_instance().GetMetadata().descriptor;
675 return default_instance().GetMetadata().reflection;
678 return *internal_default_instance();
684 static constexpr int kIndexInFileMessages =
691 if (other ==
this)
return;
692 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
693 if (GetOwningArena() !=
nullptr &&
694 GetOwningArena() == other->GetOwningArena()) {
696 if (GetOwningArena() == other->GetOwningArena()) {
700 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
704 if (other ==
this)
return;
705 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
712 return CreateMaybeMessage<SubscribeToolConfig>(arena);
714 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
716 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
718 SubscribeToolConfig::MergeImpl(*
this, from);
721 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
723 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
724 bool IsInitialized() const final;
727 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
728 uint8_t* _InternalSerialize(
729 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
730 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
733 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
735 void SetCachedSize(
int size)
const final;
739 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
740 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
741 return "goby.apps.zeromq.protobuf.SubscribeToolConfig";
745 bool is_message_owned =
false);
749 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
751 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
758 kLoadSharedLibraryFieldNumber = 20,
759 kGroupRegexFieldNumber = 10,
760 kTypeRegexFieldNumber = 11,
761 kSchemeFieldNumber = 12,
763 kInterprocessFieldNumber = 2,
764 kIncludeInternalGroupsFieldNumber = 30,
767 int load_shared_library_size()
const;
769 int _internal_load_shared_library_size()
const;
771 void clear_load_shared_library();
772 const std::string& load_shared_library(
int index)
const;
773 std::string* mutable_load_shared_library(
int index);
774 void set_load_shared_library(
int index,
const std::string& value);
775 void set_load_shared_library(
int index, std::string&& value);
776 void set_load_shared_library(
int index,
const char* value);
777 void set_load_shared_library(
int index,
const char* value,
size_t size);
778 std::string* add_load_shared_library();
779 void add_load_shared_library(
const std::string& value);
780 void add_load_shared_library(std::string&& value);
781 void add_load_shared_library(
const char* value);
782 void add_load_shared_library(
const char* value,
size_t size);
783 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_shared_library()
const;
784 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_shared_library();
786 const std::string& _internal_load_shared_library(
int index)
const;
787 std::string* _internal_add_load_shared_library();
791 bool has_group_regex()
const;
793 bool _internal_has_group_regex()
const;
795 void clear_group_regex();
796 const std::string& group_regex()
const;
797 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
799 std::string* mutable_group_regex();
800 PROTOBUF_NODISCARD std::string* release_group_regex();
801 void set_allocated_group_regex(std::string* group_regex);
803 const std::string& _internal_group_regex()
const;
804 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_group_regex(
const std::string& value);
805 std::string* _internal_mutable_group_regex();
809 bool has_type_regex()
const;
811 bool _internal_has_type_regex()
const;
813 void clear_type_regex();
814 const std::string& type_regex()
const;
815 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
817 std::string* mutable_type_regex();
818 PROTOBUF_NODISCARD std::string* release_type_regex();
819 void set_allocated_type_regex(std::string* type_regex);
821 const std::string& _internal_type_regex()
const;
822 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_type_regex(
const std::string& value);
823 std::string* _internal_mutable_type_regex();
827 bool has_scheme()
const;
829 bool _internal_has_scheme()
const;
832 const std::string& scheme()
const;
833 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
835 std::string* mutable_scheme();
836 PROTOBUF_NODISCARD std::string* release_scheme();
837 void set_allocated_scheme(std::string* scheme);
839 const std::string& _internal_scheme()
const;
840 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_scheme(
const std::string& value);
841 std::string* _internal_mutable_scheme();
845 bool has_app()
const;
847 bool _internal_has_app()
const;
850 const ::goby::middleware::protobuf::AppConfig& app()
const;
851 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
855 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
858 void unsafe_arena_set_allocated_app(
863 bool has_interprocess()
const;
865 bool _internal_has_interprocess()
const;
868 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
869 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
873 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
876 void unsafe_arena_set_allocated_interprocess(
881 bool has_include_internal_groups()
const;
883 bool _internal_has_include_internal_groups()
const;
885 void clear_include_internal_groups();
886 bool include_internal_groups()
const;
887 void set_include_internal_groups(
bool value);
889 bool _internal_include_internal_groups()
const;
890 void _internal_set_include_internal_groups(
bool value);
897 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
898 typedef void InternalArenaConstructable_;
899 typedef void DestructorSkippable_;
901 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
902 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
903 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
904 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_group_regex_;
905 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_regex_;
906 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_type_regex_;
907 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_regex_;
908 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scheme_;
911 bool include_internal_groups_;
914 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2ftool_5fconfig_2eproto;
922 #pragma GCC diagnostic push
923 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
928inline bool ZeroMQToolConfig::_internal_has_app()
const {
929 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
930 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
933inline bool ZeroMQToolConfig::has_app()
const {
934 return _internal_has_app();
936inline const ::goby::middleware::protobuf::AppConfig& ZeroMQToolConfig::_internal_app()
const {
937 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
941inline const ::goby::middleware::protobuf::AppConfig& ZeroMQToolConfig::app()
const {
943 return _internal_app();
945inline void ZeroMQToolConfig::unsafe_arena_set_allocated_app(
947 if (GetArenaForAllocation() ==
nullptr) {
948 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
952 _impl_._has_bits_[0] |= 0x00000001u;
954 _impl_._has_bits_[0] &= ~0x00000001u;
958inline ::goby::middleware::protobuf::AppConfig* ZeroMQToolConfig::release_app() {
959 _impl_._has_bits_[0] &= ~0x00000001u;
961 _impl_.app_ =
nullptr;
962#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
963 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
964 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
965 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
967 if (GetArenaForAllocation() !=
nullptr) {
968 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
973inline ::goby::middleware::protobuf::AppConfig* ZeroMQToolConfig::unsafe_arena_release_app() {
975 _impl_._has_bits_[0] &= ~0x00000001u;
977 _impl_.app_ =
nullptr;
980inline ::goby::middleware::protobuf::AppConfig* ZeroMQToolConfig::_internal_mutable_app() {
981 _impl_._has_bits_[0] |= 0x00000001u;
982 if (_impl_.app_ ==
nullptr) {
988inline ::goby::middleware::protobuf::AppConfig* ZeroMQToolConfig::mutable_app() {
994 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
995 if (message_arena ==
nullptr) {
996 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
999 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1000 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1001 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
1002 if (message_arena != submessage_arena) {
1003 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1004 message_arena, app, submessage_arena);
1006 _impl_._has_bits_[0] |= 0x00000001u;
1008 _impl_._has_bits_[0] &= ~0x00000001u;
1015inline bool ZeroMQToolConfig::_internal_has_action()
const {
1016 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1019inline bool ZeroMQToolConfig::has_action()
const {
1020 return _internal_has_action();
1022inline void ZeroMQToolConfig::clear_action() {
1024 _impl_._has_bits_[0] &= ~0x00000002u;
1026inline ::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action ZeroMQToolConfig::_internal_action()
const {
1029inline ::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action ZeroMQToolConfig::action()
const {
1031 return _internal_action();
1035 _impl_._has_bits_[0] |= 0x00000002u;
1036 _impl_.action_ = value;
1039 _internal_set_action(value);
1048inline bool PublishToolConfig::_internal_has_app()
const {
1049 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1050 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
1053inline bool PublishToolConfig::has_app()
const {
1054 return _internal_has_app();
1056inline const ::goby::middleware::protobuf::AppConfig& PublishToolConfig::_internal_app()
const {
1057 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
1061inline const ::goby::middleware::protobuf::AppConfig& PublishToolConfig::app()
const {
1063 return _internal_app();
1065inline void PublishToolConfig::unsafe_arena_set_allocated_app(
1067 if (GetArenaForAllocation() ==
nullptr) {
1068 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1072 _impl_._has_bits_[0] |= 0x00000008u;
1074 _impl_._has_bits_[0] &= ~0x00000008u;
1078inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::release_app() {
1079 _impl_._has_bits_[0] &= ~0x00000008u;
1081 _impl_.app_ =
nullptr;
1082#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1083 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1084 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1085 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1087 if (GetArenaForAllocation() !=
nullptr) {
1088 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1093inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::unsafe_arena_release_app() {
1095 _impl_._has_bits_[0] &= ~0x00000008u;
1097 _impl_.app_ =
nullptr;
1100inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::_internal_mutable_app() {
1101 _impl_._has_bits_[0] |= 0x00000008u;
1102 if (_impl_.app_ ==
nullptr) {
1108inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::mutable_app() {
1114 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1115 if (message_arena ==
nullptr) {
1116 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1119 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1120 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1121 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
1122 if (message_arena != submessage_arena) {
1123 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1124 message_arena, app, submessage_arena);
1126 _impl_._has_bits_[0] |= 0x00000008u;
1128 _impl_._has_bits_[0] &= ~0x00000008u;
1135inline bool PublishToolConfig::_internal_has_interprocess()
const {
1136 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1137 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
1140inline bool PublishToolConfig::has_interprocess()
const {
1141 return _internal_has_interprocess();
1143inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& PublishToolConfig::_internal_interprocess()
const {
1144 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1148inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& PublishToolConfig::interprocess()
const {
1150 return _internal_interprocess();
1152inline void PublishToolConfig::unsafe_arena_set_allocated_interprocess(
1154 if (GetArenaForAllocation() ==
nullptr) {
1155 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1157 _impl_.interprocess_ = interprocess;
1159 _impl_._has_bits_[0] |= 0x00000010u;
1161 _impl_._has_bits_[0] &= ~0x00000010u;
1165inline ::goby::zeromq::protobuf::InterProcessPortalConfig* PublishToolConfig::release_interprocess() {
1166 _impl_._has_bits_[0] &= ~0x00000010u;
1168 _impl_.interprocess_ =
nullptr;
1169#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1170 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1171 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1172 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1174 if (GetArenaForAllocation() !=
nullptr) {
1175 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1180inline ::goby::zeromq::protobuf::InterProcessPortalConfig* PublishToolConfig::unsafe_arena_release_interprocess() {
1182 _impl_._has_bits_[0] &= ~0x00000010u;
1184 _impl_.interprocess_ =
nullptr;
1187inline ::goby::zeromq::protobuf::InterProcessPortalConfig* PublishToolConfig::_internal_mutable_interprocess() {
1188 _impl_._has_bits_[0] |= 0x00000010u;
1189 if (_impl_.interprocess_ ==
nullptr) {
1191 _impl_.interprocess_ = p;
1193 return _impl_.interprocess_;
1195inline ::goby::zeromq::protobuf::InterProcessPortalConfig* PublishToolConfig::mutable_interprocess() {
1201 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1202 if (message_arena ==
nullptr) {
1203 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1206 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1207 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1208 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
1209 if (message_arena != submessage_arena) {
1210 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1211 message_arena, interprocess, submessage_arena);
1213 _impl_._has_bits_[0] |= 0x00000010u;
1215 _impl_._has_bits_[0] &= ~0x00000010u;
1217 _impl_.interprocess_ = interprocess;
1222inline bool PublishToolConfig::_internal_has_group()
const {
1223 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1226inline bool PublishToolConfig::has_group()
const {
1227 return _internal_has_group();
1229inline void PublishToolConfig::clear_group() {
1230 _impl_.group_.ClearToEmpty();
1231 _impl_._has_bits_[0] &= ~0x00000001u;
1233inline const std::string& PublishToolConfig::group()
const {
1235 return _internal_group();
1237template <
typename ArgT0,
typename... ArgT>
1238inline PROTOBUF_ALWAYS_INLINE
1239void PublishToolConfig::set_group(ArgT0&& arg0, ArgT... args) {
1240 _impl_._has_bits_[0] |= 0x00000001u;
1241 _impl_.group_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1244inline std::string* PublishToolConfig::mutable_group() {
1245 std::string* _s = _internal_mutable_group();
1249inline const std::string& PublishToolConfig::_internal_group()
const {
1250 return _impl_.group_.Get();
1252inline void PublishToolConfig::_internal_set_group(
const std::string& value) {
1253 _impl_._has_bits_[0] |= 0x00000001u;
1254 _impl_.group_.Set(value, GetArenaForAllocation());
1256inline std::string* PublishToolConfig::_internal_mutable_group() {
1257 _impl_._has_bits_[0] |= 0x00000001u;
1258 return _impl_.group_.Mutable(GetArenaForAllocation());
1260inline std::string* PublishToolConfig::release_group() {
1262 if (!_internal_has_group()) {
1265 _impl_._has_bits_[0] &= ~0x00000001u;
1266 auto* p = _impl_.group_.Release();
1267#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1268 if (_impl_.group_.IsDefault()) {
1269 _impl_.group_.Set(
"", GetArenaForAllocation());
1274inline void PublishToolConfig::set_allocated_group(std::string*
group) {
1275 if (
group !=
nullptr) {
1276 _impl_._has_bits_[0] |= 0x00000001u;
1278 _impl_._has_bits_[0] &= ~0x00000001u;
1280 _impl_.group_.SetAllocated(
group, GetArenaForAllocation());
1281#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1282 if (_impl_.group_.IsDefault()) {
1283 _impl_.group_.Set(
"", GetArenaForAllocation());
1290inline bool PublishToolConfig::_internal_has_type()
const {
1291 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1294inline bool PublishToolConfig::has_type()
const {
1295 return _internal_has_type();
1297inline void PublishToolConfig::clear_type() {
1298 _impl_.type_.ClearToEmpty();
1299 _impl_._has_bits_[0] &= ~0x00000002u;
1301inline const std::string& PublishToolConfig::type()
const {
1303 return _internal_type();
1305template <
typename ArgT0,
typename... ArgT>
1306inline PROTOBUF_ALWAYS_INLINE
1307void PublishToolConfig::set_type(ArgT0&& arg0, ArgT... args) {
1308 _impl_._has_bits_[0] |= 0x00000002u;
1309 _impl_.type_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1312inline std::string* PublishToolConfig::mutable_type() {
1313 std::string* _s = _internal_mutable_type();
1317inline const std::string& PublishToolConfig::_internal_type()
const {
1318 return _impl_.type_.Get();
1320inline void PublishToolConfig::_internal_set_type(
const std::string& value) {
1321 _impl_._has_bits_[0] |= 0x00000002u;
1322 _impl_.type_.Set(value, GetArenaForAllocation());
1324inline std::string* PublishToolConfig::_internal_mutable_type() {
1325 _impl_._has_bits_[0] |= 0x00000002u;
1326 return _impl_.type_.Mutable(GetArenaForAllocation());
1328inline std::string* PublishToolConfig::release_type() {
1330 if (!_internal_has_type()) {
1333 _impl_._has_bits_[0] &= ~0x00000002u;
1334 auto* p = _impl_.type_.Release();
1335#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1336 if (_impl_.type_.IsDefault()) {
1337 _impl_.type_.Set(
"", GetArenaForAllocation());
1342inline void PublishToolConfig::set_allocated_type(std::string* type) {
1343 if (type !=
nullptr) {
1344 _impl_._has_bits_[0] |= 0x00000002u;
1346 _impl_._has_bits_[0] &= ~0x00000002u;
1348 _impl_.type_.SetAllocated(type, GetArenaForAllocation());
1349#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1350 if (_impl_.type_.IsDefault()) {
1351 _impl_.type_.Set(
"", GetArenaForAllocation());
1358inline bool PublishToolConfig::_internal_has_value()
const {
1359 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1362inline bool PublishToolConfig::has_value()
const {
1363 return _internal_has_value();
1365inline void PublishToolConfig::clear_value() {
1366 _impl_.value_.ClearToEmpty();
1367 _impl_._has_bits_[0] &= ~0x00000004u;
1369inline const std::string& PublishToolConfig::value()
const {
1371 return _internal_value();
1373template <
typename ArgT0,
typename... ArgT>
1374inline PROTOBUF_ALWAYS_INLINE
1375void PublishToolConfig::set_value(ArgT0&& arg0, ArgT... args) {
1376 _impl_._has_bits_[0] |= 0x00000004u;
1377 _impl_.value_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1380inline std::string* PublishToolConfig::mutable_value() {
1381 std::string* _s = _internal_mutable_value();
1385inline const std::string& PublishToolConfig::_internal_value()
const {
1386 return _impl_.value_.Get();
1388inline void PublishToolConfig::_internal_set_value(
const std::string& value) {
1389 _impl_._has_bits_[0] |= 0x00000004u;
1390 _impl_.value_.Set(value, GetArenaForAllocation());
1392inline std::string* PublishToolConfig::_internal_mutable_value() {
1393 _impl_._has_bits_[0] |= 0x00000004u;
1394 return _impl_.value_.Mutable(GetArenaForAllocation());
1396inline std::string* PublishToolConfig::release_value() {
1398 if (!_internal_has_value()) {
1401 _impl_._has_bits_[0] &= ~0x00000004u;
1402 auto* p = _impl_.value_.Release();
1403#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1404 if (_impl_.value_.IsDefault()) {
1405 _impl_.value_.Set(
"", GetArenaForAllocation());
1410inline void PublishToolConfig::set_allocated_value(std::string* value) {
1411 if (value !=
nullptr) {
1412 _impl_._has_bits_[0] |= 0x00000004u;
1414 _impl_._has_bits_[0] &= ~0x00000004u;
1416 _impl_.value_.SetAllocated(value, GetArenaForAllocation());
1417#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1418 if (_impl_.value_.IsDefault()) {
1419 _impl_.value_.Set(
"", GetArenaForAllocation());
1426inline int PublishToolConfig::_internal_load_shared_library_size()
const {
1427 return _impl_.load_shared_library_.size();
1429inline int PublishToolConfig::load_shared_library_size()
const {
1430 return _internal_load_shared_library_size();
1432inline void PublishToolConfig::clear_load_shared_library() {
1433 _impl_.load_shared_library_.Clear();
1435inline std::string* PublishToolConfig::add_load_shared_library() {
1436 std::string* _s = _internal_add_load_shared_library();
1440inline const std::string& PublishToolConfig::_internal_load_shared_library(
int index)
const {
1441 return _impl_.load_shared_library_.Get(index);
1443inline const std::string& PublishToolConfig::load_shared_library(
int index)
const {
1445 return _internal_load_shared_library(index);
1447inline std::string* PublishToolConfig::mutable_load_shared_library(
int index) {
1449 return _impl_.load_shared_library_.Mutable(index);
1451inline void PublishToolConfig::set_load_shared_library(
int index,
const std::string& value) {
1452 _impl_.load_shared_library_.Mutable(index)->assign(value);
1455inline void PublishToolConfig::set_load_shared_library(
int index, std::string&& value) {
1456 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
1459inline void PublishToolConfig::set_load_shared_library(
int index,
const char* value) {
1460 GOOGLE_DCHECK(value !=
nullptr);
1461 _impl_.load_shared_library_.Mutable(index)->assign(value);
1464inline void PublishToolConfig::set_load_shared_library(
int index,
const char* value,
size_t size) {
1465 _impl_.load_shared_library_.Mutable(index)->assign(
1466 reinterpret_cast<const char*
>(value), size);
1469inline std::string* PublishToolConfig::_internal_add_load_shared_library() {
1470 return _impl_.load_shared_library_.Add();
1472inline void PublishToolConfig::add_load_shared_library(
const std::string& value) {
1473 _impl_.load_shared_library_.Add()->assign(value);
1476inline void PublishToolConfig::add_load_shared_library(std::string&& value) {
1477 _impl_.load_shared_library_.Add(std::move(value));
1480inline void PublishToolConfig::add_load_shared_library(
const char* value) {
1481 GOOGLE_DCHECK(value !=
nullptr);
1482 _impl_.load_shared_library_.Add()->assign(value);
1485inline void PublishToolConfig::add_load_shared_library(
const char* value,
size_t size) {
1486 _impl_.load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1489inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1490PublishToolConfig::load_shared_library()
const {
1492 return _impl_.load_shared_library_;
1494inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1495PublishToolConfig::mutable_load_shared_library() {
1497 return &_impl_.load_shared_library_;
1505inline bool SubscribeToolConfig::_internal_has_app()
const {
1506 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1507 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
1510inline bool SubscribeToolConfig::has_app()
const {
1511 return _internal_has_app();
1513inline const ::goby::middleware::protobuf::AppConfig& SubscribeToolConfig::_internal_app()
const {
1514 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
1518inline const ::goby::middleware::protobuf::AppConfig& SubscribeToolConfig::app()
const {
1520 return _internal_app();
1522inline void SubscribeToolConfig::unsafe_arena_set_allocated_app(
1524 if (GetArenaForAllocation() ==
nullptr) {
1525 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1529 _impl_._has_bits_[0] |= 0x00000008u;
1531 _impl_._has_bits_[0] &= ~0x00000008u;
1535inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::release_app() {
1536 _impl_._has_bits_[0] &= ~0x00000008u;
1538 _impl_.app_ =
nullptr;
1539#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1540 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1541 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1542 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1544 if (GetArenaForAllocation() !=
nullptr) {
1545 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1550inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::unsafe_arena_release_app() {
1552 _impl_._has_bits_[0] &= ~0x00000008u;
1554 _impl_.app_ =
nullptr;
1557inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::_internal_mutable_app() {
1558 _impl_._has_bits_[0] |= 0x00000008u;
1559 if (_impl_.app_ ==
nullptr) {
1565inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::mutable_app() {
1571 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1572 if (message_arena ==
nullptr) {
1573 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1576 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1577 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1578 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
1579 if (message_arena != submessage_arena) {
1580 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1581 message_arena, app, submessage_arena);
1583 _impl_._has_bits_[0] |= 0x00000008u;
1585 _impl_._has_bits_[0] &= ~0x00000008u;
1592inline bool SubscribeToolConfig::_internal_has_interprocess()
const {
1593 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1594 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
1597inline bool SubscribeToolConfig::has_interprocess()
const {
1598 return _internal_has_interprocess();
1600inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& SubscribeToolConfig::_internal_interprocess()
const {
1601 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1605inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& SubscribeToolConfig::interprocess()
const {
1607 return _internal_interprocess();
1609inline void SubscribeToolConfig::unsafe_arena_set_allocated_interprocess(
1611 if (GetArenaForAllocation() ==
nullptr) {
1612 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1614 _impl_.interprocess_ = interprocess;
1616 _impl_._has_bits_[0] |= 0x00000010u;
1618 _impl_._has_bits_[0] &= ~0x00000010u;
1622inline ::goby::zeromq::protobuf::InterProcessPortalConfig* SubscribeToolConfig::release_interprocess() {
1623 _impl_._has_bits_[0] &= ~0x00000010u;
1625 _impl_.interprocess_ =
nullptr;
1626#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1627 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1628 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1629 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1631 if (GetArenaForAllocation() !=
nullptr) {
1632 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1637inline ::goby::zeromq::protobuf::InterProcessPortalConfig* SubscribeToolConfig::unsafe_arena_release_interprocess() {
1639 _impl_._has_bits_[0] &= ~0x00000010u;
1641 _impl_.interprocess_ =
nullptr;
1644inline ::goby::zeromq::protobuf::InterProcessPortalConfig* SubscribeToolConfig::_internal_mutable_interprocess() {
1645 _impl_._has_bits_[0] |= 0x00000010u;
1646 if (_impl_.interprocess_ ==
nullptr) {
1648 _impl_.interprocess_ = p;
1650 return _impl_.interprocess_;
1652inline ::goby::zeromq::protobuf::InterProcessPortalConfig* SubscribeToolConfig::mutable_interprocess() {
1658 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1659 if (message_arena ==
nullptr) {
1660 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1663 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1664 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1665 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
1666 if (message_arena != submessage_arena) {
1667 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1668 message_arena, interprocess, submessage_arena);
1670 _impl_._has_bits_[0] |= 0x00000010u;
1672 _impl_._has_bits_[0] &= ~0x00000010u;
1674 _impl_.interprocess_ = interprocess;
1679inline bool SubscribeToolConfig::_internal_has_group_regex()
const {
1680 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1683inline bool SubscribeToolConfig::has_group_regex()
const {
1684 return _internal_has_group_regex();
1686inline void SubscribeToolConfig::clear_group_regex() {
1687 _impl_.group_regex_.ClearToDefault(::goby::apps::zeromq::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_group_regex_, GetArenaForAllocation());
1688 _impl_._has_bits_[0] &= ~0x00000001u;
1690inline const std::string& SubscribeToolConfig::group_regex()
const {
1692 if (_impl_.group_regex_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_group_regex_.get();
1693 return _internal_group_regex();
1695template <
typename ArgT0,
typename... ArgT>
1696inline PROTOBUF_ALWAYS_INLINE
1697void SubscribeToolConfig::set_group_regex(ArgT0&& arg0, ArgT... args) {
1698 _impl_._has_bits_[0] |= 0x00000001u;
1699 _impl_.group_regex_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1702inline std::string* SubscribeToolConfig::mutable_group_regex() {
1703 std::string* _s = _internal_mutable_group_regex();
1707inline const std::string& SubscribeToolConfig::_internal_group_regex()
const {
1708 return _impl_.group_regex_.Get();
1710inline void SubscribeToolConfig::_internal_set_group_regex(
const std::string& value) {
1711 _impl_._has_bits_[0] |= 0x00000001u;
1712 _impl_.group_regex_.Set(value, GetArenaForAllocation());
1714inline std::string* SubscribeToolConfig::_internal_mutable_group_regex() {
1715 _impl_._has_bits_[0] |= 0x00000001u;
1716 return _impl_.group_regex_.Mutable(::goby::apps::zeromq::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_group_regex_, GetArenaForAllocation());
1718inline std::string* SubscribeToolConfig::release_group_regex() {
1720 if (!_internal_has_group_regex()) {
1723 _impl_._has_bits_[0] &= ~0x00000001u;
1724 auto* p = _impl_.group_regex_.Release();
1727inline void SubscribeToolConfig::set_allocated_group_regex(std::string* group_regex) {
1728 if (group_regex !=
nullptr) {
1729 _impl_._has_bits_[0] |= 0x00000001u;
1731 _impl_._has_bits_[0] &= ~0x00000001u;
1733 _impl_.group_regex_.SetAllocated(group_regex, GetArenaForAllocation());
1738inline bool SubscribeToolConfig::_internal_has_type_regex()
const {
1739 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1742inline bool SubscribeToolConfig::has_type_regex()
const {
1743 return _internal_has_type_regex();
1745inline void SubscribeToolConfig::clear_type_regex() {
1746 _impl_.type_regex_.ClearToDefault(::goby::apps::zeromq::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_type_regex_, GetArenaForAllocation());
1747 _impl_._has_bits_[0] &= ~0x00000002u;
1749inline const std::string& SubscribeToolConfig::type_regex()
const {
1751 if (_impl_.type_regex_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_type_regex_.get();
1752 return _internal_type_regex();
1754template <
typename ArgT0,
typename... ArgT>
1755inline PROTOBUF_ALWAYS_INLINE
1756void SubscribeToolConfig::set_type_regex(ArgT0&& arg0, ArgT... args) {
1757 _impl_._has_bits_[0] |= 0x00000002u;
1758 _impl_.type_regex_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1761inline std::string* SubscribeToolConfig::mutable_type_regex() {
1762 std::string* _s = _internal_mutable_type_regex();
1766inline const std::string& SubscribeToolConfig::_internal_type_regex()
const {
1767 return _impl_.type_regex_.Get();
1769inline void SubscribeToolConfig::_internal_set_type_regex(
const std::string& value) {
1770 _impl_._has_bits_[0] |= 0x00000002u;
1771 _impl_.type_regex_.Set(value, GetArenaForAllocation());
1773inline std::string* SubscribeToolConfig::_internal_mutable_type_regex() {
1774 _impl_._has_bits_[0] |= 0x00000002u;
1775 return _impl_.type_regex_.Mutable(::goby::apps::zeromq::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_type_regex_, GetArenaForAllocation());
1777inline std::string* SubscribeToolConfig::release_type_regex() {
1779 if (!_internal_has_type_regex()) {
1782 _impl_._has_bits_[0] &= ~0x00000002u;
1783 auto* p = _impl_.type_regex_.Release();
1786inline void SubscribeToolConfig::set_allocated_type_regex(std::string* type_regex) {
1787 if (type_regex !=
nullptr) {
1788 _impl_._has_bits_[0] |= 0x00000002u;
1790 _impl_._has_bits_[0] &= ~0x00000002u;
1792 _impl_.type_regex_.SetAllocated(type_regex, GetArenaForAllocation());
1797inline bool SubscribeToolConfig::_internal_has_scheme()
const {
1798 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1801inline bool SubscribeToolConfig::has_scheme()
const {
1802 return _internal_has_scheme();
1804inline void SubscribeToolConfig::clear_scheme() {
1805 _impl_.scheme_.ClearToEmpty();
1806 _impl_._has_bits_[0] &= ~0x00000004u;
1808inline const std::string& SubscribeToolConfig::scheme()
const {
1810 return _internal_scheme();
1812template <
typename ArgT0,
typename... ArgT>
1813inline PROTOBUF_ALWAYS_INLINE
1814void SubscribeToolConfig::set_scheme(ArgT0&& arg0, ArgT... args) {
1815 _impl_._has_bits_[0] |= 0x00000004u;
1816 _impl_.scheme_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1819inline std::string* SubscribeToolConfig::mutable_scheme() {
1820 std::string* _s = _internal_mutable_scheme();
1824inline const std::string& SubscribeToolConfig::_internal_scheme()
const {
1825 return _impl_.scheme_.Get();
1827inline void SubscribeToolConfig::_internal_set_scheme(
const std::string& value) {
1828 _impl_._has_bits_[0] |= 0x00000004u;
1829 _impl_.scheme_.Set(value, GetArenaForAllocation());
1831inline std::string* SubscribeToolConfig::_internal_mutable_scheme() {
1832 _impl_._has_bits_[0] |= 0x00000004u;
1833 return _impl_.scheme_.Mutable(GetArenaForAllocation());
1835inline std::string* SubscribeToolConfig::release_scheme() {
1837 if (!_internal_has_scheme()) {
1840 _impl_._has_bits_[0] &= ~0x00000004u;
1841 auto* p = _impl_.scheme_.Release();
1842#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1843 if (_impl_.scheme_.IsDefault()) {
1844 _impl_.scheme_.Set(
"", GetArenaForAllocation());
1849inline void SubscribeToolConfig::set_allocated_scheme(std::string* scheme) {
1850 if (scheme !=
nullptr) {
1851 _impl_._has_bits_[0] |= 0x00000004u;
1853 _impl_._has_bits_[0] &= ~0x00000004u;
1855 _impl_.scheme_.SetAllocated(scheme, GetArenaForAllocation());
1856#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1857 if (_impl_.scheme_.IsDefault()) {
1858 _impl_.scheme_.Set(
"", GetArenaForAllocation());
1865inline int SubscribeToolConfig::_internal_load_shared_library_size()
const {
1866 return _impl_.load_shared_library_.size();
1868inline int SubscribeToolConfig::load_shared_library_size()
const {
1869 return _internal_load_shared_library_size();
1871inline void SubscribeToolConfig::clear_load_shared_library() {
1872 _impl_.load_shared_library_.Clear();
1874inline std::string* SubscribeToolConfig::add_load_shared_library() {
1875 std::string* _s = _internal_add_load_shared_library();
1879inline const std::string& SubscribeToolConfig::_internal_load_shared_library(
int index)
const {
1880 return _impl_.load_shared_library_.Get(index);
1882inline const std::string& SubscribeToolConfig::load_shared_library(
int index)
const {
1884 return _internal_load_shared_library(index);
1886inline std::string* SubscribeToolConfig::mutable_load_shared_library(
int index) {
1888 return _impl_.load_shared_library_.Mutable(index);
1890inline void SubscribeToolConfig::set_load_shared_library(
int index,
const std::string& value) {
1891 _impl_.load_shared_library_.Mutable(index)->assign(value);
1894inline void SubscribeToolConfig::set_load_shared_library(
int index, std::string&& value) {
1895 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
1898inline void SubscribeToolConfig::set_load_shared_library(
int index,
const char* value) {
1899 GOOGLE_DCHECK(value !=
nullptr);
1900 _impl_.load_shared_library_.Mutable(index)->assign(value);
1903inline void SubscribeToolConfig::set_load_shared_library(
int index,
const char* value,
size_t size) {
1904 _impl_.load_shared_library_.Mutable(index)->assign(
1905 reinterpret_cast<const char*
>(value), size);
1908inline std::string* SubscribeToolConfig::_internal_add_load_shared_library() {
1909 return _impl_.load_shared_library_.Add();
1911inline void SubscribeToolConfig::add_load_shared_library(
const std::string& value) {
1912 _impl_.load_shared_library_.Add()->assign(value);
1915inline void SubscribeToolConfig::add_load_shared_library(std::string&& value) {
1916 _impl_.load_shared_library_.Add(std::move(value));
1919inline void SubscribeToolConfig::add_load_shared_library(
const char* value) {
1920 GOOGLE_DCHECK(value !=
nullptr);
1921 _impl_.load_shared_library_.Add()->assign(value);
1924inline void SubscribeToolConfig::add_load_shared_library(
const char* value,
size_t size) {
1925 _impl_.load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1928inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1929SubscribeToolConfig::load_shared_library()
const {
1931 return _impl_.load_shared_library_;
1933inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1934SubscribeToolConfig::mutable_load_shared_library() {
1936 return &_impl_.load_shared_library_;
1940inline bool SubscribeToolConfig::_internal_has_include_internal_groups()
const {
1941 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1944inline bool SubscribeToolConfig::has_include_internal_groups()
const {
1945 return _internal_has_include_internal_groups();
1947inline void SubscribeToolConfig::clear_include_internal_groups() {
1948 _impl_.include_internal_groups_ =
false;
1949 _impl_._has_bits_[0] &= ~0x00000020u;
1951inline bool SubscribeToolConfig::_internal_include_internal_groups()
const {
1952 return _impl_.include_internal_groups_;
1954inline bool SubscribeToolConfig::include_internal_groups()
const {
1956 return _internal_include_internal_groups();
1958inline void SubscribeToolConfig::_internal_set_include_internal_groups(
bool value) {
1959 _impl_._has_bits_[0] |= 0x00000020u;
1960 _impl_.include_internal_groups_ = value;
1962inline void SubscribeToolConfig::set_include_internal_groups(
bool value) {
1963 _internal_set_include_internal_groups(value);
1968 #pragma GCC diagnostic pop
1982PROTOBUF_NAMESPACE_OPEN
1987 return ::goby::apps::zeromq::protobuf::ZeroMQToolConfig_Action_descriptor();
1990PROTOBUF_NAMESPACE_CLOSE
1994#include <google/protobuf/port_undef.inc>
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(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.