4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ftool_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_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/unknown_field_set.h>
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2ftool_5fconfig_2eproto
43PROTOBUF_NAMESPACE_OPEN
47PROTOBUF_NAMESPACE_CLOSE
57class PublishToolConfig;
58struct PublishToolConfigDefaultTypeInternal;
60class SubscribeToolConfig;
61struct SubscribeToolConfigDefaultTypeInternal;
66PROTOBUF_NAMESPACE_OPEN
69PROTOBUF_NAMESPACE_CLOSE
77 public ::PROTOBUF_NAMESPACE_ID::Message {
81 explicit PROTOBUF_CONSTEXPR
PublishToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
86 *
this = ::std::move(from);
94 if (
this == &from)
return *
this;
95 if (GetOwningArena() == from.GetOwningArena()
96 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
97 && GetOwningArena() !=
nullptr
108 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
111 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
137 if (other ==
this)
return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() !=
nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
142 if (GetOwningArena() == other->GetOwningArena()) {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
150 if (other ==
this)
return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
158 return CreateMaybeMessage<PublishToolConfig>(arena);
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
164 PublishToolConfig::MergeImpl(*
this, from);
167 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
169 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
175 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::
io::EpsCopyOutputStream* stream) const final;
179 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
181 void SetCachedSize(
int size)
const final;
185 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187 return "goby.middleware.protobuf.PublishToolConfig";
191 bool is_message_owned =
false);
195 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
214 int _internal_load_shared_library_size()
const;
231 const std::string& _internal_load_shared_library(
int index)
const;
232 std::string* _internal_add_load_shared_library();
238 bool _internal_has_group()
const;
241 const std::string&
group()
const;
242 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
248 const std::string& _internal_group()
const;
249 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_group(
const std::string&
value);
250 std::string* _internal_mutable_group();
256 bool _internal_has_type()
const;
259 const std::string&
type()
const;
260 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
266 const std::string& _internal_type()
const;
267 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_type(
const std::string&
value);
268 std::string* _internal_mutable_type();
274 bool _internal_has_value()
const;
277 const std::string&
value()
const;
278 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
284 const std::string& _internal_value()
const;
285 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_value(
const std::string&
value);
286 std::string* _internal_mutable_value();
292 bool _internal_has_app()
const;
295 const ::goby::middleware::protobuf::AppConfig&
app()
const;
296 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
300 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
310 bool _internal_has_interprocess()
const;
313 const ::goby::udpm::protobuf::InterProcessPortalConfig&
interprocess()
const;
318 const ::goby::udpm::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
330 size_t RequiredFieldsByteSizeFallback()
const;
332 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
333 typedef void InternalArenaConstructable_;
334 typedef void DestructorSkippable_;
336 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
337 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
338 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
339 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_;
340 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
341 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
346 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ftool_5fconfig_2eproto;
351 public ::PROTOBUF_NAMESPACE_ID::Message {
360 *
this = ::std::move(from);
368 if (
this == &from)
return *
this;
369 if (GetOwningArena() == from.GetOwningArena()
370 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
371 && GetOwningArena() !=
nullptr
382 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
385 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
388 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
411 if (other ==
this)
return;
412 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
413 if (GetOwningArena() !=
nullptr &&
414 GetOwningArena() == other->GetOwningArena()) {
416 if (GetOwningArena() == other->GetOwningArena()) {
420 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
424 if (other ==
this)
return;
425 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
432 return CreateMaybeMessage<SubscribeToolConfig>(arena);
434 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
436 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
438 SubscribeToolConfig::MergeImpl(*
this, from);
441 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
443 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
449 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::
io::EpsCopyOutputStream* stream) const final;
453 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
455 void SetCachedSize(
int size)
const final;
459 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
460 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
461 return "goby.middleware.protobuf.SubscribeToolConfig";
465 bool is_message_owned =
false);
469 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
487 int load_shared_library_size()
const;
489 int _internal_load_shared_library_size()
const;
491 void clear_load_shared_library();
492 const std::string& load_shared_library(
int index)
const;
493 std::string* mutable_load_shared_library(
int index);
494 void set_load_shared_library(
int index,
const std::string& value);
495 void set_load_shared_library(
int index, std::string&& value);
496 void set_load_shared_library(
int index,
const char* value);
497 void set_load_shared_library(
int index,
const char* value,
size_t size);
498 std::string* add_load_shared_library();
499 void add_load_shared_library(
const std::string& value);
500 void add_load_shared_library(std::string&& value);
501 void add_load_shared_library(
const char* value);
502 void add_load_shared_library(
const char* value,
size_t size);
503 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_shared_library()
const;
504 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_shared_library();
506 const std::string& _internal_load_shared_library(
int index)
const;
507 std::string* _internal_add_load_shared_library();
511 bool has_group_regex()
const;
513 bool _internal_has_group_regex()
const;
515 void clear_group_regex();
516 const std::string& group_regex()
const;
517 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
523 const std::string& _internal_group_regex()
const;
524 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_group_regex(
const std::string& value);
525 std::string* _internal_mutable_group_regex();
531 bool _internal_has_type_regex()
const;
535 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
541 const std::string& _internal_type_regex()
const;
542 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_type_regex(
const std::string& value);
543 std::string* _internal_mutable_type_regex();
549 bool _internal_has_scheme()
const;
552 const std::string&
scheme()
const;
553 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
559 const std::string& _internal_scheme()
const;
560 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_scheme(
const std::string& value);
561 std::string* _internal_mutable_scheme();
567 bool _internal_has_app()
const;
570 const ::goby::middleware::protobuf::AppConfig&
app()
const;
571 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
575 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
585 bool _internal_has_interprocess()
const;
588 const ::goby::udpm::protobuf::InterProcessPortalConfig&
interprocess()
const;
593 const ::goby::udpm::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
603 bool _internal_has_include_internal_groups()
const;
609 bool _internal_include_internal_groups()
const;
610 void _internal_set_include_internal_groups(
bool value);
617 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
618 typedef void InternalArenaConstructable_;
619 typedef void DestructorSkippable_;
621 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
622 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
623 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
624 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_group_regex_;
625 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_regex_;
626 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_type_regex_;
627 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_regex_;
628 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scheme_;
631 bool include_internal_groups_;
634 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ftool_5fconfig_2eproto;
642 #pragma GCC diagnostic push
643 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
648inline bool PublishToolConfig::_internal_has_app()
const {
649 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
650 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
654 return _internal_has_app();
656inline const ::goby::middleware::protobuf::AppConfig& PublishToolConfig::_internal_app()
const {
657 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
663 return _internal_app();
667 if (GetArenaForAllocation() ==
nullptr) {
668 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
672 _impl_._has_bits_[0] |= 0x00000008u;
674 _impl_._has_bits_[0] &= ~0x00000008u;
679 _impl_._has_bits_[0] &= ~0x00000008u;
682#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
683 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
684 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
685 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
687 if (GetArenaForAllocation() !=
nullptr) {
688 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
695 _impl_._has_bits_[0] &= ~0x00000008u;
700inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::_internal_mutable_app() {
701 _impl_._has_bits_[0] |= 0x00000008u;
702 if (_impl_.app_ ==
nullptr) {
714 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
715 if (message_arena ==
nullptr) {
716 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
719 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
720 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
721 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
app));
722 if (message_arena != submessage_arena) {
723 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
724 message_arena,
app, submessage_arena);
726 _impl_._has_bits_[0] |= 0x00000008u;
728 _impl_._has_bits_[0] &= ~0x00000008u;
735inline bool PublishToolConfig::_internal_has_interprocess()
const {
736 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
737 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
741 return _internal_has_interprocess();
743inline const ::goby::udpm::protobuf::InterProcessPortalConfig& PublishToolConfig::_internal_interprocess()
const {
744 const ::goby::udpm::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
750 return _internal_interprocess();
754 if (GetArenaForAllocation() ==
nullptr) {
755 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.interprocess_);
759 _impl_._has_bits_[0] |= 0x00000010u;
761 _impl_._has_bits_[0] &= ~0x00000010u;
766 _impl_._has_bits_[0] &= ~0x00000010u;
768 _impl_.interprocess_ =
nullptr;
769#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
770 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
771 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
772 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
774 if (GetArenaForAllocation() !=
nullptr) {
775 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
782 _impl_._has_bits_[0] &= ~0x00000010u;
784 _impl_.interprocess_ =
nullptr;
787inline ::goby::udpm::protobuf::InterProcessPortalConfig* PublishToolConfig::_internal_mutable_interprocess() {
788 _impl_._has_bits_[0] |= 0x00000010u;
789 if (_impl_.interprocess_ ==
nullptr) {
791 _impl_.interprocess_ = p;
793 return _impl_.interprocess_;
801 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
802 if (message_arena ==
nullptr) {
803 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.interprocess_);
806 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
807 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
808 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
interprocess));
809 if (message_arena != submessage_arena) {
810 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
813 _impl_._has_bits_[0] |= 0x00000010u;
815 _impl_._has_bits_[0] &= ~0x00000010u;
822inline bool PublishToolConfig::_internal_has_group()
const {
823 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
827 return _internal_has_group();
830 _impl_.group_.ClearToEmpty();
831 _impl_._has_bits_[0] &= ~0x00000001u;
835 return _internal_group();
837template <
typename ArgT0,
typename... ArgT>
838inline PROTOBUF_ALWAYS_INLINE
840 _impl_._has_bits_[0] |= 0x00000001u;
841 _impl_.group_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
845 std::string* _s = _internal_mutable_group();
849inline const std::string& PublishToolConfig::_internal_group()
const {
850 return _impl_.group_.Get();
852inline void PublishToolConfig::_internal_set_group(
const std::string& value) {
853 _impl_._has_bits_[0] |= 0x00000001u;
854 _impl_.group_.Set(value, GetArenaForAllocation());
856inline std::string* PublishToolConfig::_internal_mutable_group() {
857 _impl_._has_bits_[0] |= 0x00000001u;
858 return _impl_.group_.Mutable(GetArenaForAllocation());
862 if (!_internal_has_group()) {
865 _impl_._has_bits_[0] &= ~0x00000001u;
866 auto* p =
_impl_.group_.Release();
867#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
868 if (
_impl_.group_.IsDefault()) {
869 _impl_.group_.Set(
"", GetArenaForAllocation());
875 if (
group !=
nullptr) {
876 _impl_._has_bits_[0] |= 0x00000001u;
878 _impl_._has_bits_[0] &= ~0x00000001u;
880 _impl_.group_.SetAllocated(
group, GetArenaForAllocation());
881#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
882 if (
_impl_.group_.IsDefault()) {
883 _impl_.group_.Set(
"", GetArenaForAllocation());
890inline bool PublishToolConfig::_internal_has_type()
const {
891 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
895 return _internal_has_type();
898 _impl_.type_.ClearToEmpty();
899 _impl_._has_bits_[0] &= ~0x00000002u;
903 return _internal_type();
905template <
typename ArgT0,
typename... ArgT>
906inline PROTOBUF_ALWAYS_INLINE
908 _impl_._has_bits_[0] |= 0x00000002u;
909 _impl_.type_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
913 std::string* _s = _internal_mutable_type();
917inline const std::string& PublishToolConfig::_internal_type()
const {
918 return _impl_.type_.Get();
920inline void PublishToolConfig::_internal_set_type(
const std::string& value) {
921 _impl_._has_bits_[0] |= 0x00000002u;
922 _impl_.type_.Set(value, GetArenaForAllocation());
924inline std::string* PublishToolConfig::_internal_mutable_type() {
925 _impl_._has_bits_[0] |= 0x00000002u;
926 return _impl_.type_.Mutable(GetArenaForAllocation());
930 if (!_internal_has_type()) {
933 _impl_._has_bits_[0] &= ~0x00000002u;
934 auto* p =
_impl_.type_.Release();
935#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
936 if (
_impl_.type_.IsDefault()) {
937 _impl_.type_.Set(
"", GetArenaForAllocation());
943 if (
type !=
nullptr) {
944 _impl_._has_bits_[0] |= 0x00000002u;
946 _impl_._has_bits_[0] &= ~0x00000002u;
948 _impl_.type_.SetAllocated(
type, GetArenaForAllocation());
949#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
950 if (
_impl_.type_.IsDefault()) {
951 _impl_.type_.Set(
"", GetArenaForAllocation());
958inline bool PublishToolConfig::_internal_has_value()
const {
959 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
963 return _internal_has_value();
966 _impl_.value_.ClearToEmpty();
967 _impl_._has_bits_[0] &= ~0x00000004u;
971 return _internal_value();
973template <
typename ArgT0,
typename... ArgT>
974inline PROTOBUF_ALWAYS_INLINE
976 _impl_._has_bits_[0] |= 0x00000004u;
977 _impl_.value_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
981 std::string* _s = _internal_mutable_value();
985inline const std::string& PublishToolConfig::_internal_value()
const {
986 return _impl_.value_.Get();
988inline void PublishToolConfig::_internal_set_value(
const std::string& value) {
989 _impl_._has_bits_[0] |= 0x00000004u;
990 _impl_.value_.Set(value, GetArenaForAllocation());
992inline std::string* PublishToolConfig::_internal_mutable_value() {
993 _impl_._has_bits_[0] |= 0x00000004u;
994 return _impl_.value_.Mutable(GetArenaForAllocation());
998 if (!_internal_has_value()) {
1001 _impl_._has_bits_[0] &= ~0x00000004u;
1002 auto* p =
_impl_.value_.Release();
1003#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1004 if (
_impl_.value_.IsDefault()) {
1005 _impl_.value_.Set(
"", GetArenaForAllocation());
1011 if (
value !=
nullptr) {
1012 _impl_._has_bits_[0] |= 0x00000004u;
1014 _impl_._has_bits_[0] &= ~0x00000004u;
1016 _impl_.value_.SetAllocated(
value, GetArenaForAllocation());
1017#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1018 if (
_impl_.value_.IsDefault()) {
1019 _impl_.value_.Set(
"", GetArenaForAllocation());
1026inline int PublishToolConfig::_internal_load_shared_library_size()
const {
1027 return _impl_.load_shared_library_.size();
1030 return _internal_load_shared_library_size();
1033 _impl_.load_shared_library_.Clear();
1036 std::string* _s = _internal_add_load_shared_library();
1040inline const std::string& PublishToolConfig::_internal_load_shared_library(
int index)
const {
1041 return _impl_.load_shared_library_.Get(index);
1045 return _internal_load_shared_library(index);
1049 return _impl_.load_shared_library_.Mutable(index);
1052 _impl_.load_shared_library_.Mutable(index)->assign(
value);
1056 _impl_.load_shared_library_.Mutable(index)->assign(std::move(
value));
1060 GOOGLE_DCHECK(
value !=
nullptr);
1061 _impl_.load_shared_library_.Mutable(index)->assign(
value);
1065 _impl_.load_shared_library_.Mutable(index)->assign(
1066 reinterpret_cast<const char*
>(
value), size);
1069inline std::string* PublishToolConfig::_internal_add_load_shared_library() {
1070 return _impl_.load_shared_library_.Add();
1077 _impl_.load_shared_library_.Add(std::move(
value));
1081 GOOGLE_DCHECK(
value !=
nullptr);
1086 _impl_.load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(
value), size);
1089inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1092 return _impl_.load_shared_library_;
1094inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1097 return &
_impl_.load_shared_library_;
1105inline bool SubscribeToolConfig::_internal_has_app()
const {
1106 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1107 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
1111 return _internal_has_app();
1113inline const ::goby::middleware::protobuf::AppConfig& SubscribeToolConfig::_internal_app()
const {
1114 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
1120 return _internal_app();
1124 if (GetArenaForAllocation() ==
nullptr) {
1125 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
1129 _impl_._has_bits_[0] |= 0x00000008u;
1131 _impl_._has_bits_[0] &= ~0x00000008u;
1136 _impl_._has_bits_[0] &= ~0x00000008u;
1139#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1140 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1141 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1142 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1144 if (GetArenaForAllocation() !=
nullptr) {
1145 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1152 _impl_._has_bits_[0] &= ~0x00000008u;
1157inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::_internal_mutable_app() {
1158 _impl_._has_bits_[0] |= 0x00000008u;
1159 if (_impl_.app_ ==
nullptr) {
1171 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1172 if (message_arena ==
nullptr) {
1173 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
1176 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1177 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1178 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
app));
1179 if (message_arena != submessage_arena) {
1180 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1181 message_arena,
app, submessage_arena);
1183 _impl_._has_bits_[0] |= 0x00000008u;
1185 _impl_._has_bits_[0] &= ~0x00000008u;
1192inline bool SubscribeToolConfig::_internal_has_interprocess()
const {
1193 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1194 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
1198 return _internal_has_interprocess();
1200inline const ::goby::udpm::protobuf::InterProcessPortalConfig& SubscribeToolConfig::_internal_interprocess()
const {
1201 const ::goby::udpm::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1207 return _internal_interprocess();
1211 if (GetArenaForAllocation() ==
nullptr) {
1212 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.interprocess_);
1216 _impl_._has_bits_[0] |= 0x00000010u;
1218 _impl_._has_bits_[0] &= ~0x00000010u;
1223 _impl_._has_bits_[0] &= ~0x00000010u;
1225 _impl_.interprocess_ =
nullptr;
1226#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1227 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1228 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1229 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1231 if (GetArenaForAllocation() !=
nullptr) {
1232 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1239 _impl_._has_bits_[0] &= ~0x00000010u;
1241 _impl_.interprocess_ =
nullptr;
1244inline ::goby::udpm::protobuf::InterProcessPortalConfig* SubscribeToolConfig::_internal_mutable_interprocess() {
1245 _impl_._has_bits_[0] |= 0x00000010u;
1246 if (_impl_.interprocess_ ==
nullptr) {
1248 _impl_.interprocess_ = p;
1250 return _impl_.interprocess_;
1258 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1259 if (message_arena ==
nullptr) {
1260 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.interprocess_);
1263 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1264 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1265 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
interprocess));
1266 if (message_arena != submessage_arena) {
1267 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1270 _impl_._has_bits_[0] |= 0x00000010u;
1272 _impl_._has_bits_[0] &= ~0x00000010u;
1279inline bool SubscribeToolConfig::_internal_has_group_regex()
const {
1280 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1284 return _internal_has_group_regex();
1287 _impl_.group_regex_.ClearToDefault(::goby::middleware::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_group_regex_, GetArenaForAllocation());
1288 _impl_._has_bits_[0] &= ~0x00000001u;
1292 if (
_impl_.group_regex_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_group_regex_.get();
1293 return _internal_group_regex();
1295template <
typename ArgT0,
typename... ArgT>
1296inline PROTOBUF_ALWAYS_INLINE
1298 _impl_._has_bits_[0] |= 0x00000001u;
1299 _impl_.group_regex_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1303 std::string* _s = _internal_mutable_group_regex();
1307inline const std::string& SubscribeToolConfig::_internal_group_regex()
const {
1308 return _impl_.group_regex_.Get();
1310inline void SubscribeToolConfig::_internal_set_group_regex(
const std::string& value) {
1311 _impl_._has_bits_[0] |= 0x00000001u;
1312 _impl_.group_regex_.Set(value, GetArenaForAllocation());
1314inline std::string* SubscribeToolConfig::_internal_mutable_group_regex() {
1315 _impl_._has_bits_[0] |= 0x00000001u;
1316 return _impl_.group_regex_.Mutable(::goby::middleware::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_group_regex_, GetArenaForAllocation());
1320 if (!_internal_has_group_regex()) {
1323 _impl_._has_bits_[0] &= ~0x00000001u;
1324 auto* p =
_impl_.group_regex_.Release();
1329 _impl_._has_bits_[0] |= 0x00000001u;
1331 _impl_._has_bits_[0] &= ~0x00000001u;
1338inline bool SubscribeToolConfig::_internal_has_type_regex()
const {
1339 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1343 return _internal_has_type_regex();
1346 _impl_.type_regex_.ClearToDefault(::goby::middleware::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_type_regex_, GetArenaForAllocation());
1347 _impl_._has_bits_[0] &= ~0x00000002u;
1351 if (
_impl_.type_regex_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_type_regex_.get();
1352 return _internal_type_regex();
1354template <
typename ArgT0,
typename... ArgT>
1355inline PROTOBUF_ALWAYS_INLINE
1357 _impl_._has_bits_[0] |= 0x00000002u;
1358 _impl_.type_regex_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1362 std::string* _s = _internal_mutable_type_regex();
1366inline const std::string& SubscribeToolConfig::_internal_type_regex()
const {
1367 return _impl_.type_regex_.Get();
1369inline void SubscribeToolConfig::_internal_set_type_regex(
const std::string& value) {
1370 _impl_._has_bits_[0] |= 0x00000002u;
1371 _impl_.type_regex_.Set(value, GetArenaForAllocation());
1373inline std::string* SubscribeToolConfig::_internal_mutable_type_regex() {
1374 _impl_._has_bits_[0] |= 0x00000002u;
1375 return _impl_.type_regex_.Mutable(::goby::middleware::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_type_regex_, GetArenaForAllocation());
1379 if (!_internal_has_type_regex()) {
1382 _impl_._has_bits_[0] &= ~0x00000002u;
1383 auto* p =
_impl_.type_regex_.Release();
1388 _impl_._has_bits_[0] |= 0x00000002u;
1390 _impl_._has_bits_[0] &= ~0x00000002u;
1397inline bool SubscribeToolConfig::_internal_has_scheme()
const {
1398 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1402 return _internal_has_scheme();
1405 _impl_.scheme_.ClearToEmpty();
1406 _impl_._has_bits_[0] &= ~0x00000004u;
1410 return _internal_scheme();
1412template <
typename ArgT0,
typename... ArgT>
1413inline PROTOBUF_ALWAYS_INLINE
1415 _impl_._has_bits_[0] |= 0x00000004u;
1416 _impl_.scheme_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1420 std::string* _s = _internal_mutable_scheme();
1424inline const std::string& SubscribeToolConfig::_internal_scheme()
const {
1425 return _impl_.scheme_.Get();
1427inline void SubscribeToolConfig::_internal_set_scheme(
const std::string& value) {
1428 _impl_._has_bits_[0] |= 0x00000004u;
1429 _impl_.scheme_.Set(value, GetArenaForAllocation());
1431inline std::string* SubscribeToolConfig::_internal_mutable_scheme() {
1432 _impl_._has_bits_[0] |= 0x00000004u;
1433 return _impl_.scheme_.Mutable(GetArenaForAllocation());
1437 if (!_internal_has_scheme()) {
1440 _impl_._has_bits_[0] &= ~0x00000004u;
1441 auto* p =
_impl_.scheme_.Release();
1442#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1443 if (
_impl_.scheme_.IsDefault()) {
1444 _impl_.scheme_.Set(
"", GetArenaForAllocation());
1451 _impl_._has_bits_[0] |= 0x00000004u;
1453 _impl_._has_bits_[0] &= ~0x00000004u;
1455 _impl_.scheme_.SetAllocated(
scheme, GetArenaForAllocation());
1456#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1457 if (
_impl_.scheme_.IsDefault()) {
1458 _impl_.scheme_.Set(
"", GetArenaForAllocation());
1465inline int SubscribeToolConfig::_internal_load_shared_library_size()
const {
1466 return _impl_.load_shared_library_.size();
1469 return _internal_load_shared_library_size();
1472 _impl_.load_shared_library_.Clear();
1475 std::string* _s = _internal_add_load_shared_library();
1479inline const std::string& SubscribeToolConfig::_internal_load_shared_library(
int index)
const {
1480 return _impl_.load_shared_library_.Get(index);
1484 return _internal_load_shared_library(index);
1488 return _impl_.load_shared_library_.Mutable(index);
1491 _impl_.load_shared_library_.Mutable(index)->assign(value);
1495 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
1499 GOOGLE_DCHECK(value !=
nullptr);
1500 _impl_.load_shared_library_.Mutable(index)->assign(value);
1504 _impl_.load_shared_library_.Mutable(index)->assign(
1505 reinterpret_cast<const char*
>(value), size);
1508inline std::string* SubscribeToolConfig::_internal_add_load_shared_library() {
1509 return _impl_.load_shared_library_.Add();
1512 _impl_.load_shared_library_.Add()->assign(value);
1516 _impl_.load_shared_library_.Add(std::move(value));
1520 GOOGLE_DCHECK(value !=
nullptr);
1521 _impl_.load_shared_library_.Add()->assign(value);
1525 _impl_.load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1528inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1531 return _impl_.load_shared_library_;
1533inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1536 return &
_impl_.load_shared_library_;
1540inline bool SubscribeToolConfig::_internal_has_include_internal_groups()
const {
1541 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1545 return _internal_has_include_internal_groups();
1548 _impl_.include_internal_groups_ =
false;
1549 _impl_._has_bits_[0] &= ~0x00000020u;
1551inline bool SubscribeToolConfig::_internal_include_internal_groups()
const {
1552 return _impl_.include_internal_groups_;
1556 return _internal_include_internal_groups();
1558inline void SubscribeToolConfig::_internal_set_include_internal_groups(
bool value) {
1559 _impl_._has_bits_[0] |= 0x00000020u;
1560 _impl_.include_internal_groups_ = value;
1563 _internal_set_include_internal_groups(value);
1568 #pragma GCC diagnostic pop
1581#include <google/protobuf/port_undef.inc>
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
*brief create JSON pointer *sa reference_tokens const string_t const string_t & b
*brief create JSON pointer *sa reference_tokens const string_t & a
*brief remove last reference token *sa JSON pointer has no nullptr
*brief write string representation of the JSON pointer to stream *sa const json_pointer & ptr
AppConfigDefaultTypeInternal _AppConfig_default_instance_
PublishToolConfigDefaultTypeInternal _PublishToolConfig_default_instance_
SubscribeToolConfigDefaultTypeInternal _SubscribeToolConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
PROTOBUF_NAMESPACE_OPEN ::goby::udpm::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::udpm::protobuf::InterProcessPortalConfig >(Arena *)