4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzenoh_2fprotobuf_2ftool_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fzenoh_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_2fzenoh_2fprotobuf_2ftool_5fconfig_2eproto
44PROTOBUF_NAMESPACE_OPEN
48PROTOBUF_NAMESPACE_CLOSE
58class PublishToolConfig;
59struct PublishToolConfigDefaultTypeInternal;
61class SubscribeToolConfig;
62struct SubscribeToolConfigDefaultTypeInternal;
65struct ZenohToolConfigDefaultTypeInternal;
70PROTOBUF_NAMESPACE_OPEN
74PROTOBUF_NAMESPACE_CLOSE
92 static_assert(::std::is_same<T, ZenohToolConfig_Action>::value ||
93 ::std::is_integral<T>::value,
94 "Incorrect type passed to function ZenohToolConfig_Action_Name.");
95 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
100 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ZenohToolConfig_Action>(
106 public ::PROTOBUF_NAMESPACE_ID::Message {
110 explicit PROTOBUF_CONSTEXPR
ZenohToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
115 *
this = ::std::move(from);
123 if (
this == &from)
return *
this;
124 if (GetOwningArena() == from.GetOwningArena()
125 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
126 && GetOwningArena() !=
nullptr
137 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
140 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
143 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
166 if (other ==
this)
return;
167 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
168 if (GetOwningArena() !=
nullptr &&
169 GetOwningArena() == other->GetOwningArena()) {
171 if (GetOwningArena() == other->GetOwningArena()) {
175 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
179 if (other ==
this)
return;
180 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
187 return CreateMaybeMessage<ZenohToolConfig>(arena);
189 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
191 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
193 ZenohToolConfig::MergeImpl(*
this, from);
196 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
198 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
204 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
208 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
210 void SetCachedSize(
int size)
const final;
214 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
215 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
216 return "goby.zenoh.protobuf.ZenohToolConfig";
220 bool is_message_owned =
false);
224 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
246 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
252 static_assert(::std::is_same<T, Action>::value ||
253 ::std::is_integral<T>::value,
254 "Incorrect type passed to function Action_Name.");
257 static inline bool Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
271 bool _internal_has_app()
const;
274 const ::goby::middleware::protobuf::AppConfig&
app()
const;
275 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
279 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
289 bool _internal_has_action()
const;
303 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
304 typedef void InternalArenaConstructable_;
305 typedef void DestructorSkippable_;
307 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
308 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
313 friend struct ::TableStruct_goby_2fzenoh_2fprotobuf_2ftool_5fconfig_2eproto;
318 public ::PROTOBUF_NAMESPACE_ID::Message {
322 explicit PROTOBUF_CONSTEXPR
PublishToolConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
327 *
this = ::std::move(from);
335 if (
this == &from)
return *
this;
336 if (GetOwningArena() == from.GetOwningArena()
337 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
338 && GetOwningArena() !=
nullptr
349 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
352 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
355 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
356 return GetDescriptor();
359 return default_instance().GetMetadata().descriptor;
362 return default_instance().GetMetadata().reflection;
365 return *internal_default_instance();
369 &_PublishToolConfig_default_instance_);
371 static constexpr int kIndexInFileMessages =
378 if (other ==
this)
return;
379 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
380 if (GetOwningArena() !=
nullptr &&
381 GetOwningArena() == other->GetOwningArena()) {
383 if (GetOwningArena() == other->GetOwningArena()) {
387 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
391 if (other ==
this)
return;
392 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
399 return CreateMaybeMessage<PublishToolConfig>(arena);
401 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
403 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
405 PublishToolConfig::MergeImpl(*
this, from);
408 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
410 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
411 bool IsInitialized() const final;
414 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
415 uint8_t* _InternalSerialize(
416 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
417 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
420 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
422 void SetCachedSize(
int size)
const final;
426 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
427 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
428 return "goby.zenoh.protobuf.PublishToolConfig";
432 bool is_message_owned =
false);
436 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
438 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
445 kLoadSharedLibraryFieldNumber = 20,
446 kGroupFieldNumber = 10,
447 kTypeFieldNumber = 11,
448 kValueFieldNumber = 12,
450 kInterprocessFieldNumber = 2,
451 kSettleSecondsFieldNumber = 30,
454 int load_shared_library_size()
const;
456 int _internal_load_shared_library_size()
const;
458 void clear_load_shared_library();
459 const std::string& load_shared_library(
int index)
const;
460 std::string* mutable_load_shared_library(
int index);
461 void set_load_shared_library(
int index,
const std::string& value);
462 void set_load_shared_library(
int index, std::string&& value);
463 void set_load_shared_library(
int index,
const char* value);
464 void set_load_shared_library(
int index,
const char* value,
size_t size);
465 std::string* add_load_shared_library();
466 void add_load_shared_library(
const std::string& value);
467 void add_load_shared_library(std::string&& value);
468 void add_load_shared_library(
const char* value);
469 void add_load_shared_library(
const char* value,
size_t size);
470 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_shared_library()
const;
471 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_shared_library();
473 const std::string& _internal_load_shared_library(
int index)
const;
474 std::string* _internal_add_load_shared_library();
478 bool has_group()
const;
480 bool _internal_has_group()
const;
483 const std::string&
group()
const;
484 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
486 std::string* mutable_group();
487 PROTOBUF_NODISCARD std::string* release_group();
488 void set_allocated_group(std::string*
group);
490 const std::string& _internal_group()
const;
491 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_group(
const std::string& value);
492 std::string* _internal_mutable_group();
496 bool has_type()
const;
498 bool _internal_has_type()
const;
501 const std::string& type()
const;
502 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
504 std::string* mutable_type();
505 PROTOBUF_NODISCARD std::string* release_type();
506 void set_allocated_type(std::string* type);
508 const std::string& _internal_type()
const;
509 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_type(
const std::string& value);
510 std::string* _internal_mutable_type();
514 bool has_value()
const;
516 bool _internal_has_value()
const;
519 const std::string& value()
const;
520 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
522 std::string* mutable_value();
523 PROTOBUF_NODISCARD std::string* release_value();
524 void set_allocated_value(std::string* value);
526 const std::string& _internal_value()
const;
527 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_value(
const std::string& value);
528 std::string* _internal_mutable_value();
532 bool has_app()
const;
534 bool _internal_has_app()
const;
537 const ::goby::middleware::protobuf::AppConfig& app()
const;
538 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
542 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
545 void unsafe_arena_set_allocated_app(
550 bool has_interprocess()
const;
552 bool _internal_has_interprocess()
const;
555 const ::goby::zenoh::protobuf::InterProcessPortalConfig& interprocess()
const;
556 PROTOBUF_NODISCARD ::goby::zenoh::protobuf::InterProcessPortalConfig* release_interprocess();
560 const ::goby::zenoh::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
563 void unsafe_arena_set_allocated_interprocess(
568 bool has_settle_seconds()
const;
570 bool _internal_has_settle_seconds()
const;
572 void clear_settle_seconds();
573 double settle_seconds()
const;
574 void set_settle_seconds(
double value);
576 double _internal_settle_seconds()
const;
577 void _internal_set_settle_seconds(
double value);
585 size_t RequiredFieldsByteSizeFallback()
const;
587 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
588 typedef void InternalArenaConstructable_;
589 typedef void DestructorSkippable_;
591 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
592 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
593 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
594 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_;
595 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
596 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
599 double settle_seconds_;
602 friend struct ::TableStruct_goby_2fzenoh_2fprotobuf_2ftool_5fconfig_2eproto;
607 public ::PROTOBUF_NAMESPACE_ID::Message {
616 *
this = ::std::move(from);
624 if (
this == &from)
return *
this;
625 if (GetOwningArena() == from.GetOwningArena()
626 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
627 && GetOwningArena() !=
nullptr
638 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
641 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
644 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
645 return GetDescriptor();
648 return default_instance().GetMetadata().descriptor;
651 return default_instance().GetMetadata().reflection;
654 return *internal_default_instance();
658 &_SubscribeToolConfig_default_instance_);
660 static constexpr int kIndexInFileMessages =
667 if (other ==
this)
return;
668 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
669 if (GetOwningArena() !=
nullptr &&
670 GetOwningArena() == other->GetOwningArena()) {
672 if (GetOwningArena() == other->GetOwningArena()) {
676 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
680 if (other ==
this)
return;
681 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
688 return CreateMaybeMessage<SubscribeToolConfig>(arena);
690 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
692 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
694 SubscribeToolConfig::MergeImpl(*
this, from);
697 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
699 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
700 bool IsInitialized() const final;
703 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
704 uint8_t* _InternalSerialize(
705 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
706 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
709 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
711 void SetCachedSize(
int size)
const final;
715 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
716 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
717 return "goby.zenoh.protobuf.SubscribeToolConfig";
721 bool is_message_owned =
false);
725 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
727 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
734 kLoadSharedLibraryFieldNumber = 20,
735 kGroupRegexFieldNumber = 10,
736 kTypeRegexFieldNumber = 11,
737 kSchemeFieldNumber = 12,
739 kInterprocessFieldNumber = 2,
740 kIncludeInternalGroupsFieldNumber = 30,
743 int load_shared_library_size()
const;
745 int _internal_load_shared_library_size()
const;
747 void clear_load_shared_library();
748 const std::string& load_shared_library(
int index)
const;
749 std::string* mutable_load_shared_library(
int index);
750 void set_load_shared_library(
int index,
const std::string& value);
751 void set_load_shared_library(
int index, std::string&& value);
752 void set_load_shared_library(
int index,
const char* value);
753 void set_load_shared_library(
int index,
const char* value,
size_t size);
754 std::string* add_load_shared_library();
755 void add_load_shared_library(
const std::string& value);
756 void add_load_shared_library(std::string&& value);
757 void add_load_shared_library(
const char* value);
758 void add_load_shared_library(
const char* value,
size_t size);
759 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& load_shared_library()
const;
760 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_load_shared_library();
762 const std::string& _internal_load_shared_library(
int index)
const;
763 std::string* _internal_add_load_shared_library();
767 bool has_group_regex()
const;
769 bool _internal_has_group_regex()
const;
771 void clear_group_regex();
772 const std::string& group_regex()
const;
773 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
775 std::string* mutable_group_regex();
776 PROTOBUF_NODISCARD std::string* release_group_regex();
777 void set_allocated_group_regex(std::string* group_regex);
779 const std::string& _internal_group_regex()
const;
780 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_group_regex(
const std::string& value);
781 std::string* _internal_mutable_group_regex();
785 bool has_type_regex()
const;
787 bool _internal_has_type_regex()
const;
789 void clear_type_regex();
790 const std::string& type_regex()
const;
791 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
793 std::string* mutable_type_regex();
794 PROTOBUF_NODISCARD std::string* release_type_regex();
795 void set_allocated_type_regex(std::string* type_regex);
797 const std::string& _internal_type_regex()
const;
798 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_type_regex(
const std::string& value);
799 std::string* _internal_mutable_type_regex();
803 bool has_scheme()
const;
805 bool _internal_has_scheme()
const;
808 const std::string& scheme()
const;
809 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
811 std::string* mutable_scheme();
812 PROTOBUF_NODISCARD std::string* release_scheme();
813 void set_allocated_scheme(std::string* scheme);
815 const std::string& _internal_scheme()
const;
816 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_scheme(
const std::string& value);
817 std::string* _internal_mutable_scheme();
821 bool has_app()
const;
823 bool _internal_has_app()
const;
826 const ::goby::middleware::protobuf::AppConfig& app()
const;
827 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
831 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
834 void unsafe_arena_set_allocated_app(
839 bool has_interprocess()
const;
841 bool _internal_has_interprocess()
const;
844 const ::goby::zenoh::protobuf::InterProcessPortalConfig& interprocess()
const;
845 PROTOBUF_NODISCARD ::goby::zenoh::protobuf::InterProcessPortalConfig* release_interprocess();
849 const ::goby::zenoh::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
852 void unsafe_arena_set_allocated_interprocess(
857 bool has_include_internal_groups()
const;
859 bool _internal_has_include_internal_groups()
const;
861 void clear_include_internal_groups();
862 bool include_internal_groups()
const;
863 void set_include_internal_groups(
bool value);
865 bool _internal_include_internal_groups()
const;
866 void _internal_set_include_internal_groups(
bool value);
873 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
874 typedef void InternalArenaConstructable_;
875 typedef void DestructorSkippable_;
877 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
878 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
879 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> load_shared_library_;
880 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_group_regex_;
881 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr group_regex_;
882 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_type_regex_;
883 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_regex_;
884 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scheme_;
887 bool include_internal_groups_;
890 friend struct ::TableStruct_goby_2fzenoh_2fprotobuf_2ftool_5fconfig_2eproto;
898 #pragma GCC diagnostic push
899 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
904inline bool ZenohToolConfig::_internal_has_app()
const {
905 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
906 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
909inline bool ZenohToolConfig::has_app()
const {
910 return _internal_has_app();
912inline const ::goby::middleware::protobuf::AppConfig& ZenohToolConfig::_internal_app()
const {
913 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
917inline const ::goby::middleware::protobuf::AppConfig& ZenohToolConfig::app()
const {
919 return _internal_app();
921inline void ZenohToolConfig::unsafe_arena_set_allocated_app(
923 if (GetArenaForAllocation() ==
nullptr) {
924 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
928 _impl_._has_bits_[0] |= 0x00000001u;
930 _impl_._has_bits_[0] &= ~0x00000001u;
934inline ::goby::middleware::protobuf::AppConfig* ZenohToolConfig::release_app() {
935 _impl_._has_bits_[0] &= ~0x00000001u;
937 _impl_.app_ =
nullptr;
938#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
939 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
940 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
941 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
943 if (GetArenaForAllocation() !=
nullptr) {
944 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
949inline ::goby::middleware::protobuf::AppConfig* ZenohToolConfig::unsafe_arena_release_app() {
951 _impl_._has_bits_[0] &= ~0x00000001u;
953 _impl_.app_ =
nullptr;
956inline ::goby::middleware::protobuf::AppConfig* ZenohToolConfig::_internal_mutable_app() {
957 _impl_._has_bits_[0] |= 0x00000001u;
958 if (_impl_.app_ ==
nullptr) {
964inline ::goby::middleware::protobuf::AppConfig* ZenohToolConfig::mutable_app() {
970 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
971 if (message_arena ==
nullptr) {
972 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
975 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
976 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
977 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
978 if (message_arena != submessage_arena) {
979 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
980 message_arena, app, submessage_arena);
982 _impl_._has_bits_[0] |= 0x00000001u;
984 _impl_._has_bits_[0] &= ~0x00000001u;
991inline bool ZenohToolConfig::_internal_has_action()
const {
992 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
995inline bool ZenohToolConfig::has_action()
const {
996 return _internal_has_action();
998inline void ZenohToolConfig::clear_action() {
1000 _impl_._has_bits_[0] &= ~0x00000002u;
1002inline ::goby::zenoh::protobuf::ZenohToolConfig_Action ZenohToolConfig::_internal_action()
const {
1005inline ::goby::zenoh::protobuf::ZenohToolConfig_Action ZenohToolConfig::action()
const {
1007 return _internal_action();
1011 _impl_._has_bits_[0] |= 0x00000002u;
1012 _impl_.action_ = value;
1015 _internal_set_action(value);
1024inline bool PublishToolConfig::_internal_has_app()
const {
1025 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1026 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
1029inline bool PublishToolConfig::has_app()
const {
1030 return _internal_has_app();
1032inline const ::goby::middleware::protobuf::AppConfig& PublishToolConfig::_internal_app()
const {
1033 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
1037inline const ::goby::middleware::protobuf::AppConfig& PublishToolConfig::app()
const {
1039 return _internal_app();
1041inline void PublishToolConfig::unsafe_arena_set_allocated_app(
1043 if (GetArenaForAllocation() ==
nullptr) {
1044 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1048 _impl_._has_bits_[0] |= 0x00000008u;
1050 _impl_._has_bits_[0] &= ~0x00000008u;
1054inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::release_app() {
1055 _impl_._has_bits_[0] &= ~0x00000008u;
1057 _impl_.app_ =
nullptr;
1058#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1059 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1060 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1061 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1063 if (GetArenaForAllocation() !=
nullptr) {
1064 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1069inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::unsafe_arena_release_app() {
1071 _impl_._has_bits_[0] &= ~0x00000008u;
1073 _impl_.app_ =
nullptr;
1076inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::_internal_mutable_app() {
1077 _impl_._has_bits_[0] |= 0x00000008u;
1078 if (_impl_.app_ ==
nullptr) {
1084inline ::goby::middleware::protobuf::AppConfig* PublishToolConfig::mutable_app() {
1090 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1091 if (message_arena ==
nullptr) {
1092 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1095 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1096 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1097 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
1098 if (message_arena != submessage_arena) {
1099 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1100 message_arena, app, submessage_arena);
1102 _impl_._has_bits_[0] |= 0x00000008u;
1104 _impl_._has_bits_[0] &= ~0x00000008u;
1111inline bool PublishToolConfig::_internal_has_interprocess()
const {
1112 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1113 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
1116inline bool PublishToolConfig::has_interprocess()
const {
1117 return _internal_has_interprocess();
1119inline const ::goby::zenoh::protobuf::InterProcessPortalConfig& PublishToolConfig::_internal_interprocess()
const {
1120 const ::goby::zenoh::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1124inline const ::goby::zenoh::protobuf::InterProcessPortalConfig& PublishToolConfig::interprocess()
const {
1126 return _internal_interprocess();
1128inline void PublishToolConfig::unsafe_arena_set_allocated_interprocess(
1130 if (GetArenaForAllocation() ==
nullptr) {
1131 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1133 _impl_.interprocess_ = interprocess;
1135 _impl_._has_bits_[0] |= 0x00000010u;
1137 _impl_._has_bits_[0] &= ~0x00000010u;
1141inline ::goby::zenoh::protobuf::InterProcessPortalConfig* PublishToolConfig::release_interprocess() {
1142 _impl_._has_bits_[0] &= ~0x00000010u;
1144 _impl_.interprocess_ =
nullptr;
1145#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1146 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1147 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1148 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1150 if (GetArenaForAllocation() !=
nullptr) {
1151 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1156inline ::goby::zenoh::protobuf::InterProcessPortalConfig* PublishToolConfig::unsafe_arena_release_interprocess() {
1158 _impl_._has_bits_[0] &= ~0x00000010u;
1160 _impl_.interprocess_ =
nullptr;
1163inline ::goby::zenoh::protobuf::InterProcessPortalConfig* PublishToolConfig::_internal_mutable_interprocess() {
1164 _impl_._has_bits_[0] |= 0x00000010u;
1165 if (_impl_.interprocess_ ==
nullptr) {
1167 _impl_.interprocess_ = p;
1169 return _impl_.interprocess_;
1171inline ::goby::zenoh::protobuf::InterProcessPortalConfig* PublishToolConfig::mutable_interprocess() {
1177 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1178 if (message_arena ==
nullptr) {
1179 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1182 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1183 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1184 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
1185 if (message_arena != submessage_arena) {
1186 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1187 message_arena, interprocess, submessage_arena);
1189 _impl_._has_bits_[0] |= 0x00000010u;
1191 _impl_._has_bits_[0] &= ~0x00000010u;
1193 _impl_.interprocess_ = interprocess;
1198inline bool PublishToolConfig::_internal_has_group()
const {
1199 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1202inline bool PublishToolConfig::has_group()
const {
1203 return _internal_has_group();
1205inline void PublishToolConfig::clear_group() {
1206 _impl_.group_.ClearToEmpty();
1207 _impl_._has_bits_[0] &= ~0x00000001u;
1209inline const std::string& PublishToolConfig::group()
const {
1211 return _internal_group();
1213template <
typename ArgT0,
typename... ArgT>
1214inline PROTOBUF_ALWAYS_INLINE
1215void PublishToolConfig::set_group(ArgT0&& arg0, ArgT... args) {
1216 _impl_._has_bits_[0] |= 0x00000001u;
1217 _impl_.group_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1220inline std::string* PublishToolConfig::mutable_group() {
1221 std::string* _s = _internal_mutable_group();
1225inline const std::string& PublishToolConfig::_internal_group()
const {
1226 return _impl_.group_.Get();
1228inline void PublishToolConfig::_internal_set_group(
const std::string& value) {
1229 _impl_._has_bits_[0] |= 0x00000001u;
1230 _impl_.group_.Set(value, GetArenaForAllocation());
1232inline std::string* PublishToolConfig::_internal_mutable_group() {
1233 _impl_._has_bits_[0] |= 0x00000001u;
1234 return _impl_.group_.Mutable(GetArenaForAllocation());
1236inline std::string* PublishToolConfig::release_group() {
1238 if (!_internal_has_group()) {
1241 _impl_._has_bits_[0] &= ~0x00000001u;
1242 auto* p = _impl_.group_.Release();
1243#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1244 if (_impl_.group_.IsDefault()) {
1245 _impl_.group_.Set(
"", GetArenaForAllocation());
1250inline void PublishToolConfig::set_allocated_group(std::string*
group) {
1251 if (
group !=
nullptr) {
1252 _impl_._has_bits_[0] |= 0x00000001u;
1254 _impl_._has_bits_[0] &= ~0x00000001u;
1256 _impl_.group_.SetAllocated(
group, GetArenaForAllocation());
1257#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1258 if (_impl_.group_.IsDefault()) {
1259 _impl_.group_.Set(
"", GetArenaForAllocation());
1266inline bool PublishToolConfig::_internal_has_type()
const {
1267 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1270inline bool PublishToolConfig::has_type()
const {
1271 return _internal_has_type();
1273inline void PublishToolConfig::clear_type() {
1274 _impl_.type_.ClearToEmpty();
1275 _impl_._has_bits_[0] &= ~0x00000002u;
1277inline const std::string& PublishToolConfig::type()
const {
1279 return _internal_type();
1281template <
typename ArgT0,
typename... ArgT>
1282inline PROTOBUF_ALWAYS_INLINE
1283void PublishToolConfig::set_type(ArgT0&& arg0, ArgT... args) {
1284 _impl_._has_bits_[0] |= 0x00000002u;
1285 _impl_.type_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1288inline std::string* PublishToolConfig::mutable_type() {
1289 std::string* _s = _internal_mutable_type();
1293inline const std::string& PublishToolConfig::_internal_type()
const {
1294 return _impl_.type_.Get();
1296inline void PublishToolConfig::_internal_set_type(
const std::string& value) {
1297 _impl_._has_bits_[0] |= 0x00000002u;
1298 _impl_.type_.Set(value, GetArenaForAllocation());
1300inline std::string* PublishToolConfig::_internal_mutable_type() {
1301 _impl_._has_bits_[0] |= 0x00000002u;
1302 return _impl_.type_.Mutable(GetArenaForAllocation());
1304inline std::string* PublishToolConfig::release_type() {
1306 if (!_internal_has_type()) {
1309 _impl_._has_bits_[0] &= ~0x00000002u;
1310 auto* p = _impl_.type_.Release();
1311#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1312 if (_impl_.type_.IsDefault()) {
1313 _impl_.type_.Set(
"", GetArenaForAllocation());
1318inline void PublishToolConfig::set_allocated_type(std::string* type) {
1319 if (type !=
nullptr) {
1320 _impl_._has_bits_[0] |= 0x00000002u;
1322 _impl_._has_bits_[0] &= ~0x00000002u;
1324 _impl_.type_.SetAllocated(type, GetArenaForAllocation());
1325#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1326 if (_impl_.type_.IsDefault()) {
1327 _impl_.type_.Set(
"", GetArenaForAllocation());
1334inline bool PublishToolConfig::_internal_has_value()
const {
1335 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1338inline bool PublishToolConfig::has_value()
const {
1339 return _internal_has_value();
1341inline void PublishToolConfig::clear_value() {
1342 _impl_.value_.ClearToEmpty();
1343 _impl_._has_bits_[0] &= ~0x00000004u;
1345inline const std::string& PublishToolConfig::value()
const {
1347 return _internal_value();
1349template <
typename ArgT0,
typename... ArgT>
1350inline PROTOBUF_ALWAYS_INLINE
1351void PublishToolConfig::set_value(ArgT0&& arg0, ArgT... args) {
1352 _impl_._has_bits_[0] |= 0x00000004u;
1353 _impl_.value_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1356inline std::string* PublishToolConfig::mutable_value() {
1357 std::string* _s = _internal_mutable_value();
1361inline const std::string& PublishToolConfig::_internal_value()
const {
1362 return _impl_.value_.Get();
1364inline void PublishToolConfig::_internal_set_value(
const std::string& value) {
1365 _impl_._has_bits_[0] |= 0x00000004u;
1366 _impl_.value_.Set(value, GetArenaForAllocation());
1368inline std::string* PublishToolConfig::_internal_mutable_value() {
1369 _impl_._has_bits_[0] |= 0x00000004u;
1370 return _impl_.value_.Mutable(GetArenaForAllocation());
1372inline std::string* PublishToolConfig::release_value() {
1374 if (!_internal_has_value()) {
1377 _impl_._has_bits_[0] &= ~0x00000004u;
1378 auto* p = _impl_.value_.Release();
1379#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1380 if (_impl_.value_.IsDefault()) {
1381 _impl_.value_.Set(
"", GetArenaForAllocation());
1386inline void PublishToolConfig::set_allocated_value(std::string* value) {
1387 if (value !=
nullptr) {
1388 _impl_._has_bits_[0] |= 0x00000004u;
1390 _impl_._has_bits_[0] &= ~0x00000004u;
1392 _impl_.value_.SetAllocated(value, GetArenaForAllocation());
1393#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1394 if (_impl_.value_.IsDefault()) {
1395 _impl_.value_.Set(
"", GetArenaForAllocation());
1402inline int PublishToolConfig::_internal_load_shared_library_size()
const {
1403 return _impl_.load_shared_library_.size();
1405inline int PublishToolConfig::load_shared_library_size()
const {
1406 return _internal_load_shared_library_size();
1408inline void PublishToolConfig::clear_load_shared_library() {
1409 _impl_.load_shared_library_.Clear();
1411inline std::string* PublishToolConfig::add_load_shared_library() {
1412 std::string* _s = _internal_add_load_shared_library();
1416inline const std::string& PublishToolConfig::_internal_load_shared_library(
int index)
const {
1417 return _impl_.load_shared_library_.Get(index);
1419inline const std::string& PublishToolConfig::load_shared_library(
int index)
const {
1421 return _internal_load_shared_library(index);
1423inline std::string* PublishToolConfig::mutable_load_shared_library(
int index) {
1425 return _impl_.load_shared_library_.Mutable(index);
1427inline void PublishToolConfig::set_load_shared_library(
int index,
const std::string& value) {
1428 _impl_.load_shared_library_.Mutable(index)->assign(value);
1431inline void PublishToolConfig::set_load_shared_library(
int index, std::string&& value) {
1432 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
1435inline void PublishToolConfig::set_load_shared_library(
int index,
const char* value) {
1436 GOOGLE_DCHECK(value !=
nullptr);
1437 _impl_.load_shared_library_.Mutable(index)->assign(value);
1440inline void PublishToolConfig::set_load_shared_library(
int index,
const char* value,
size_t size) {
1441 _impl_.load_shared_library_.Mutable(index)->assign(
1442 reinterpret_cast<const char*
>(value), size);
1445inline std::string* PublishToolConfig::_internal_add_load_shared_library() {
1446 return _impl_.load_shared_library_.Add();
1448inline void PublishToolConfig::add_load_shared_library(
const std::string& value) {
1449 _impl_.load_shared_library_.Add()->assign(value);
1452inline void PublishToolConfig::add_load_shared_library(std::string&& value) {
1453 _impl_.load_shared_library_.Add(std::move(value));
1456inline void PublishToolConfig::add_load_shared_library(
const char* value) {
1457 GOOGLE_DCHECK(value !=
nullptr);
1458 _impl_.load_shared_library_.Add()->assign(value);
1461inline void PublishToolConfig::add_load_shared_library(
const char* value,
size_t size) {
1462 _impl_.load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1465inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1466PublishToolConfig::load_shared_library()
const {
1468 return _impl_.load_shared_library_;
1470inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1471PublishToolConfig::mutable_load_shared_library() {
1473 return &_impl_.load_shared_library_;
1477inline bool PublishToolConfig::_internal_has_settle_seconds()
const {
1478 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1481inline bool PublishToolConfig::has_settle_seconds()
const {
1482 return _internal_has_settle_seconds();
1484inline void PublishToolConfig::clear_settle_seconds() {
1485 _impl_.settle_seconds_ = 1;
1486 _impl_._has_bits_[0] &= ~0x00000020u;
1488inline double PublishToolConfig::_internal_settle_seconds()
const {
1489 return _impl_.settle_seconds_;
1491inline double PublishToolConfig::settle_seconds()
const {
1493 return _internal_settle_seconds();
1495inline void PublishToolConfig::_internal_set_settle_seconds(
double value) {
1496 _impl_._has_bits_[0] |= 0x00000020u;
1497 _impl_.settle_seconds_ = value;
1499inline void PublishToolConfig::set_settle_seconds(
double value) {
1500 _internal_set_settle_seconds(value);
1509inline bool SubscribeToolConfig::_internal_has_app()
const {
1510 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1511 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
1514inline bool SubscribeToolConfig::has_app()
const {
1515 return _internal_has_app();
1517inline const ::goby::middleware::protobuf::AppConfig& SubscribeToolConfig::_internal_app()
const {
1518 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
1522inline const ::goby::middleware::protobuf::AppConfig& SubscribeToolConfig::app()
const {
1524 return _internal_app();
1526inline void SubscribeToolConfig::unsafe_arena_set_allocated_app(
1528 if (GetArenaForAllocation() ==
nullptr) {
1529 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1533 _impl_._has_bits_[0] |= 0x00000008u;
1535 _impl_._has_bits_[0] &= ~0x00000008u;
1539inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::release_app() {
1540 _impl_._has_bits_[0] &= ~0x00000008u;
1542 _impl_.app_ =
nullptr;
1543#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1544 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1545 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1546 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1548 if (GetArenaForAllocation() !=
nullptr) {
1549 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1554inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::unsafe_arena_release_app() {
1556 _impl_._has_bits_[0] &= ~0x00000008u;
1558 _impl_.app_ =
nullptr;
1561inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::_internal_mutable_app() {
1562 _impl_._has_bits_[0] |= 0x00000008u;
1563 if (_impl_.app_ ==
nullptr) {
1569inline ::goby::middleware::protobuf::AppConfig* SubscribeToolConfig::mutable_app() {
1575 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1576 if (message_arena ==
nullptr) {
1577 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1580 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1581 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1582 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
1583 if (message_arena != submessage_arena) {
1584 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1585 message_arena, app, submessage_arena);
1587 _impl_._has_bits_[0] |= 0x00000008u;
1589 _impl_._has_bits_[0] &= ~0x00000008u;
1596inline bool SubscribeToolConfig::_internal_has_interprocess()
const {
1597 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1598 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
1601inline bool SubscribeToolConfig::has_interprocess()
const {
1602 return _internal_has_interprocess();
1604inline const ::goby::zenoh::protobuf::InterProcessPortalConfig& SubscribeToolConfig::_internal_interprocess()
const {
1605 const ::goby::zenoh::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1609inline const ::goby::zenoh::protobuf::InterProcessPortalConfig& SubscribeToolConfig::interprocess()
const {
1611 return _internal_interprocess();
1613inline void SubscribeToolConfig::unsafe_arena_set_allocated_interprocess(
1615 if (GetArenaForAllocation() ==
nullptr) {
1616 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1618 _impl_.interprocess_ = interprocess;
1620 _impl_._has_bits_[0] |= 0x00000010u;
1622 _impl_._has_bits_[0] &= ~0x00000010u;
1626inline ::goby::zenoh::protobuf::InterProcessPortalConfig* SubscribeToolConfig::release_interprocess() {
1627 _impl_._has_bits_[0] &= ~0x00000010u;
1629 _impl_.interprocess_ =
nullptr;
1630#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1631 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1632 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1633 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1635 if (GetArenaForAllocation() !=
nullptr) {
1636 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1641inline ::goby::zenoh::protobuf::InterProcessPortalConfig* SubscribeToolConfig::unsafe_arena_release_interprocess() {
1643 _impl_._has_bits_[0] &= ~0x00000010u;
1645 _impl_.interprocess_ =
nullptr;
1648inline ::goby::zenoh::protobuf::InterProcessPortalConfig* SubscribeToolConfig::_internal_mutable_interprocess() {
1649 _impl_._has_bits_[0] |= 0x00000010u;
1650 if (_impl_.interprocess_ ==
nullptr) {
1652 _impl_.interprocess_ = p;
1654 return _impl_.interprocess_;
1656inline ::goby::zenoh::protobuf::InterProcessPortalConfig* SubscribeToolConfig::mutable_interprocess() {
1662 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1663 if (message_arena ==
nullptr) {
1664 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1667 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1668 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1669 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
1670 if (message_arena != submessage_arena) {
1671 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1672 message_arena, interprocess, submessage_arena);
1674 _impl_._has_bits_[0] |= 0x00000010u;
1676 _impl_._has_bits_[0] &= ~0x00000010u;
1678 _impl_.interprocess_ = interprocess;
1683inline bool SubscribeToolConfig::_internal_has_group_regex()
const {
1684 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1687inline bool SubscribeToolConfig::has_group_regex()
const {
1688 return _internal_has_group_regex();
1690inline void SubscribeToolConfig::clear_group_regex() {
1691 _impl_.group_regex_.ClearToDefault(::goby::zenoh::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_group_regex_, GetArenaForAllocation());
1692 _impl_._has_bits_[0] &= ~0x00000001u;
1694inline const std::string& SubscribeToolConfig::group_regex()
const {
1696 if (_impl_.group_regex_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_group_regex_.get();
1697 return _internal_group_regex();
1699template <
typename ArgT0,
typename... ArgT>
1700inline PROTOBUF_ALWAYS_INLINE
1701void SubscribeToolConfig::set_group_regex(ArgT0&& arg0, ArgT... args) {
1702 _impl_._has_bits_[0] |= 0x00000001u;
1703 _impl_.group_regex_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1706inline std::string* SubscribeToolConfig::mutable_group_regex() {
1707 std::string* _s = _internal_mutable_group_regex();
1711inline const std::string& SubscribeToolConfig::_internal_group_regex()
const {
1712 return _impl_.group_regex_.Get();
1714inline void SubscribeToolConfig::_internal_set_group_regex(
const std::string& value) {
1715 _impl_._has_bits_[0] |= 0x00000001u;
1716 _impl_.group_regex_.Set(value, GetArenaForAllocation());
1718inline std::string* SubscribeToolConfig::_internal_mutable_group_regex() {
1719 _impl_._has_bits_[0] |= 0x00000001u;
1720 return _impl_.group_regex_.Mutable(::goby::zenoh::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_group_regex_, GetArenaForAllocation());
1722inline std::string* SubscribeToolConfig::release_group_regex() {
1724 if (!_internal_has_group_regex()) {
1727 _impl_._has_bits_[0] &= ~0x00000001u;
1728 auto* p = _impl_.group_regex_.Release();
1731inline void SubscribeToolConfig::set_allocated_group_regex(std::string* group_regex) {
1732 if (group_regex !=
nullptr) {
1733 _impl_._has_bits_[0] |= 0x00000001u;
1735 _impl_._has_bits_[0] &= ~0x00000001u;
1737 _impl_.group_regex_.SetAllocated(group_regex, GetArenaForAllocation());
1742inline bool SubscribeToolConfig::_internal_has_type_regex()
const {
1743 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1746inline bool SubscribeToolConfig::has_type_regex()
const {
1747 return _internal_has_type_regex();
1749inline void SubscribeToolConfig::clear_type_regex() {
1750 _impl_.type_regex_.ClearToDefault(::goby::zenoh::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_type_regex_, GetArenaForAllocation());
1751 _impl_._has_bits_[0] &= ~0x00000002u;
1753inline const std::string& SubscribeToolConfig::type_regex()
const {
1755 if (_impl_.type_regex_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_type_regex_.get();
1756 return _internal_type_regex();
1758template <
typename ArgT0,
typename... ArgT>
1759inline PROTOBUF_ALWAYS_INLINE
1760void SubscribeToolConfig::set_type_regex(ArgT0&& arg0, ArgT... args) {
1761 _impl_._has_bits_[0] |= 0x00000002u;
1762 _impl_.type_regex_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1765inline std::string* SubscribeToolConfig::mutable_type_regex() {
1766 std::string* _s = _internal_mutable_type_regex();
1770inline const std::string& SubscribeToolConfig::_internal_type_regex()
const {
1771 return _impl_.type_regex_.Get();
1773inline void SubscribeToolConfig::_internal_set_type_regex(
const std::string& value) {
1774 _impl_._has_bits_[0] |= 0x00000002u;
1775 _impl_.type_regex_.Set(value, GetArenaForAllocation());
1777inline std::string* SubscribeToolConfig::_internal_mutable_type_regex() {
1778 _impl_._has_bits_[0] |= 0x00000002u;
1779 return _impl_.type_regex_.Mutable(::goby::zenoh::protobuf::SubscribeToolConfig::Impl_::_i_give_permission_to_break_this_code_default_type_regex_, GetArenaForAllocation());
1781inline std::string* SubscribeToolConfig::release_type_regex() {
1783 if (!_internal_has_type_regex()) {
1786 _impl_._has_bits_[0] &= ~0x00000002u;
1787 auto* p = _impl_.type_regex_.Release();
1790inline void SubscribeToolConfig::set_allocated_type_regex(std::string* type_regex) {
1791 if (type_regex !=
nullptr) {
1792 _impl_._has_bits_[0] |= 0x00000002u;
1794 _impl_._has_bits_[0] &= ~0x00000002u;
1796 _impl_.type_regex_.SetAllocated(type_regex, GetArenaForAllocation());
1801inline bool SubscribeToolConfig::_internal_has_scheme()
const {
1802 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1805inline bool SubscribeToolConfig::has_scheme()
const {
1806 return _internal_has_scheme();
1808inline void SubscribeToolConfig::clear_scheme() {
1809 _impl_.scheme_.ClearToEmpty();
1810 _impl_._has_bits_[0] &= ~0x00000004u;
1812inline const std::string& SubscribeToolConfig::scheme()
const {
1814 return _internal_scheme();
1816template <
typename ArgT0,
typename... ArgT>
1817inline PROTOBUF_ALWAYS_INLINE
1818void SubscribeToolConfig::set_scheme(ArgT0&& arg0, ArgT... args) {
1819 _impl_._has_bits_[0] |= 0x00000004u;
1820 _impl_.scheme_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1823inline std::string* SubscribeToolConfig::mutable_scheme() {
1824 std::string* _s = _internal_mutable_scheme();
1828inline const std::string& SubscribeToolConfig::_internal_scheme()
const {
1829 return _impl_.scheme_.Get();
1831inline void SubscribeToolConfig::_internal_set_scheme(
const std::string& value) {
1832 _impl_._has_bits_[0] |= 0x00000004u;
1833 _impl_.scheme_.Set(value, GetArenaForAllocation());
1835inline std::string* SubscribeToolConfig::_internal_mutable_scheme() {
1836 _impl_._has_bits_[0] |= 0x00000004u;
1837 return _impl_.scheme_.Mutable(GetArenaForAllocation());
1839inline std::string* SubscribeToolConfig::release_scheme() {
1841 if (!_internal_has_scheme()) {
1844 _impl_._has_bits_[0] &= ~0x00000004u;
1845 auto* p = _impl_.scheme_.Release();
1846#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1847 if (_impl_.scheme_.IsDefault()) {
1848 _impl_.scheme_.Set(
"", GetArenaForAllocation());
1853inline void SubscribeToolConfig::set_allocated_scheme(std::string* scheme) {
1854 if (scheme !=
nullptr) {
1855 _impl_._has_bits_[0] |= 0x00000004u;
1857 _impl_._has_bits_[0] &= ~0x00000004u;
1859 _impl_.scheme_.SetAllocated(scheme, GetArenaForAllocation());
1860#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1861 if (_impl_.scheme_.IsDefault()) {
1862 _impl_.scheme_.Set(
"", GetArenaForAllocation());
1869inline int SubscribeToolConfig::_internal_load_shared_library_size()
const {
1870 return _impl_.load_shared_library_.size();
1872inline int SubscribeToolConfig::load_shared_library_size()
const {
1873 return _internal_load_shared_library_size();
1875inline void SubscribeToolConfig::clear_load_shared_library() {
1876 _impl_.load_shared_library_.Clear();
1878inline std::string* SubscribeToolConfig::add_load_shared_library() {
1879 std::string* _s = _internal_add_load_shared_library();
1883inline const std::string& SubscribeToolConfig::_internal_load_shared_library(
int index)
const {
1884 return _impl_.load_shared_library_.Get(index);
1886inline const std::string& SubscribeToolConfig::load_shared_library(
int index)
const {
1888 return _internal_load_shared_library(index);
1890inline std::string* SubscribeToolConfig::mutable_load_shared_library(
int index) {
1892 return _impl_.load_shared_library_.Mutable(index);
1894inline void SubscribeToolConfig::set_load_shared_library(
int index,
const std::string& value) {
1895 _impl_.load_shared_library_.Mutable(index)->assign(value);
1898inline void SubscribeToolConfig::set_load_shared_library(
int index, std::string&& value) {
1899 _impl_.load_shared_library_.Mutable(index)->assign(std::move(value));
1902inline void SubscribeToolConfig::set_load_shared_library(
int index,
const char* value) {
1903 GOOGLE_DCHECK(value !=
nullptr);
1904 _impl_.load_shared_library_.Mutable(index)->assign(value);
1907inline void SubscribeToolConfig::set_load_shared_library(
int index,
const char* value,
size_t size) {
1908 _impl_.load_shared_library_.Mutable(index)->assign(
1909 reinterpret_cast<const char*
>(value), size);
1912inline std::string* SubscribeToolConfig::_internal_add_load_shared_library() {
1913 return _impl_.load_shared_library_.Add();
1915inline void SubscribeToolConfig::add_load_shared_library(
const std::string& value) {
1916 _impl_.load_shared_library_.Add()->assign(value);
1919inline void SubscribeToolConfig::add_load_shared_library(std::string&& value) {
1920 _impl_.load_shared_library_.Add(std::move(value));
1923inline void SubscribeToolConfig::add_load_shared_library(
const char* value) {
1924 GOOGLE_DCHECK(value !=
nullptr);
1925 _impl_.load_shared_library_.Add()->assign(value);
1928inline void SubscribeToolConfig::add_load_shared_library(
const char* value,
size_t size) {
1929 _impl_.load_shared_library_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1932inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1933SubscribeToolConfig::load_shared_library()
const {
1935 return _impl_.load_shared_library_;
1937inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1938SubscribeToolConfig::mutable_load_shared_library() {
1940 return &_impl_.load_shared_library_;
1944inline bool SubscribeToolConfig::_internal_has_include_internal_groups()
const {
1945 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1948inline bool SubscribeToolConfig::has_include_internal_groups()
const {
1949 return _internal_has_include_internal_groups();
1951inline void SubscribeToolConfig::clear_include_internal_groups() {
1952 _impl_.include_internal_groups_ =
false;
1953 _impl_._has_bits_[0] &= ~0x00000020u;
1955inline bool SubscribeToolConfig::_internal_include_internal_groups()
const {
1956 return _impl_.include_internal_groups_;
1958inline bool SubscribeToolConfig::include_internal_groups()
const {
1960 return _internal_include_internal_groups();
1962inline void SubscribeToolConfig::_internal_set_include_internal_groups(
bool value) {
1963 _impl_._has_bits_[0] |= 0x00000020u;
1964 _impl_.include_internal_groups_ = value;
1966inline void SubscribeToolConfig::set_include_internal_groups(
bool value) {
1967 _internal_set_include_internal_groups(value);
1972 #pragma GCC diagnostic pop
1985PROTOBUF_NAMESPACE_OPEN
1990 return ::goby::zenoh::protobuf::ZenohToolConfig_Action_descriptor();
1993PROTOBUF_NAMESPACE_CLOSE
1997#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)
AppConfigDefaultTypeInternal _AppConfig_default_instance_
bool ZenohToolConfig_Action_IsValid(int value)
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
SubscribeToolConfigDefaultTypeInternal _SubscribeToolConfig_default_instance_
constexpr ZenohToolConfig_Action ZenohToolConfig_Action_Action_MIN
constexpr ZenohToolConfig_Action ZenohToolConfig_Action_Action_MAX
const std::string & ZenohToolConfig_Action_Name(T enum_t_value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ZenohToolConfig_Action_descriptor()
ZenohToolConfigDefaultTypeInternal _ZenohToolConfig_default_instance_
PublishToolConfigDefaultTypeInternal _PublishToolConfig_default_instance_
constexpr int ZenohToolConfig_Action_Action_ARRAYSIZE
@ ZenohToolConfig_Action_subscribe
@ ZenohToolConfig_Action_publish
@ ZenohToolConfig_Action_help
bool ZenohToolConfig_Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ZenohToolConfig_Action *value)
The global namespace for the Goby project.
PROTOBUF_NAMESPACE_OPEN ::goby::zenoh::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zenoh::protobuf::InterProcessPortalConfig >(Arena *)