4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzenoh_2fprotobuf_2finterprocess_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fzenoh_2fprotobuf_2finterprocess_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>
35#include <boost/units/quantity.hpp>
36#include <boost/units/absolute.hpp>
37#include <boost/units/dimensionless_type.hpp>
38#include <boost/units/make_scaled_unit.hpp>
40#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_goby_2fzenoh_2fprotobuf_2finterprocess_5fconfig_2eproto
42PROTOBUF_NAMESPACE_OPEN
46PROTOBUF_NAMESPACE_CLOSE
57struct InterProcessPortalConfigDefaultTypeInternal;
60struct InterProcessPortalConfig_ConfigOverrideDefaultTypeInternal;
63struct InterProcessPortalConfig_HoldDefaultTypeInternal;
68PROTOBUF_NAMESPACE_OPEN
72PROTOBUF_NAMESPACE_CLOSE
90 static_assert(::std::is_same<T, InterProcessPortalConfig_Mode>::value ||
91 ::std::is_integral<T>::value,
92 "Incorrect type passed to function InterProcessPortalConfig_Mode_Name.");
93 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
98 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<InterProcessPortalConfig_Mode>(
113 static_assert(::std::is_same<T, InterProcessPortalConfig_CongestionControl>::value ||
114 ::std::is_integral<T>::value,
115 "Incorrect type passed to function InterProcessPortalConfig_CongestionControl_Name.");
116 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
121 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<InterProcessPortalConfig_CongestionControl>(
127 public ::PROTOBUF_NAMESPACE_ID::Message {
136 *
this = ::std::move(from);
144 if (
this == &from)
return *
this;
145 if (GetOwningArena() == from.GetOwningArena()
146 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
147 && GetOwningArena() !=
nullptr
158 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
161 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
164 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
187 if (other ==
this)
return;
188 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
189 if (GetOwningArena() !=
nullptr &&
190 GetOwningArena() == other->GetOwningArena()) {
192 if (GetOwningArena() == other->GetOwningArena()) {
196 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
200 if (other ==
this)
return;
201 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
208 return CreateMaybeMessage<InterProcessPortalConfig_ConfigOverride>(arena);
210 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
212 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
214 InterProcessPortalConfig_ConfigOverride::MergeImpl(*
this, from);
217 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
219 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
225 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
229 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
231 void SetCachedSize(
int size)
const final;
235 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
236 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
237 return "goby.zenoh.protobuf.InterProcessPortalConfig.ConfigOverride";
241 bool is_message_owned =
false);
245 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
260 bool _internal_has_key()
const;
263 const std::string&
key()
const;
264 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
270 const std::string& _internal_key()
const;
271 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_key(
const std::string&
value);
272 std::string* _internal_mutable_key();
278 bool _internal_has_value()
const;
281 const std::string&
value()
const;
282 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
288 const std::string& _internal_value()
const;
289 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_value(
const std::string&
value);
290 std::string* _internal_mutable_value();
298 size_t RequiredFieldsByteSizeFallback()
const;
300 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
301 typedef void InternalArenaConstructable_;
302 typedef void DestructorSkippable_;
304 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
305 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
306 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
307 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_;
310 friend struct ::TableStruct_goby_2fzenoh_2fprotobuf_2finterprocess_5fconfig_2eproto;
315 public ::PROTOBUF_NAMESPACE_ID::Message {
324 *
this = ::std::move(from);
332 if (
this == &from)
return *
this;
333 if (GetOwningArena() == from.GetOwningArena()
334 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
335 && GetOwningArena() !=
nullptr
346 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
349 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
352 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
353 return GetDescriptor();
356 return default_instance().GetMetadata().descriptor;
359 return default_instance().GetMetadata().reflection;
362 return *internal_default_instance();
368 static constexpr int kIndexInFileMessages =
375 if (other ==
this)
return;
376 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
377 if (GetOwningArena() !=
nullptr &&
378 GetOwningArena() == other->GetOwningArena()) {
380 if (GetOwningArena() == other->GetOwningArena()) {
384 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
388 if (other ==
this)
return;
389 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
396 return CreateMaybeMessage<InterProcessPortalConfig_Hold>(arena);
398 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
400 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
402 InterProcessPortalConfig_Hold::MergeImpl(*
this, from);
405 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
407 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
408 bool IsInitialized() const final;
411 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
412 uint8_t* _InternalSerialize(
413 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
414 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
417 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
419 void SetCachedSize(
int size)
const final;
423 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
424 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
425 return "goby.zenoh.protobuf.InterProcessPortalConfig.Hold";
429 bool is_message_owned =
false);
433 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
435 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
442 kRequiredClientFieldNumber = 1,
443 kSettleSecondsFieldNumber = 2,
446 int required_client_size()
const;
448 int _internal_required_client_size()
const;
450 void clear_required_client();
451 const std::string& required_client(
int index)
const;
452 std::string* mutable_required_client(
int index);
453 void set_required_client(
int index,
const std::string& value);
454 void set_required_client(
int index, std::string&& value);
455 void set_required_client(
int index,
const char* value);
456 void set_required_client(
int index,
const char* value,
size_t size);
457 std::string* add_required_client();
458 void add_required_client(
const std::string& value);
459 void add_required_client(std::string&& value);
460 void add_required_client(
const char* value);
461 void add_required_client(
const char* value,
size_t size);
462 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& required_client()
const;
463 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_required_client();
465 const std::string& _internal_required_client(
int index)
const;
466 std::string* _internal_add_required_client();
470 bool has_settle_seconds()
const;
472 bool _internal_has_settle_seconds()
const;
474 void clear_settle_seconds();
475 double settle_seconds()
const;
476 void set_settle_seconds(
double value);
478 double _internal_settle_seconds()
const;
479 void _internal_set_settle_seconds(
double value);
486 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
487 typedef void InternalArenaConstructable_;
488 typedef void DestructorSkippable_;
490 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
491 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
492 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> required_client_;
493 double settle_seconds_;
496 friend struct ::TableStruct_goby_2fzenoh_2fprotobuf_2finterprocess_5fconfig_2eproto;
501 public ::PROTOBUF_NAMESPACE_ID::Message {
510 *
this = ::std::move(from);
518 if (
this == &from)
return *
this;
519 if (GetOwningArena() == from.GetOwningArena()
520 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
521 && GetOwningArena() !=
nullptr
532 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
535 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
538 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
539 return GetDescriptor();
542 return default_instance().GetMetadata().descriptor;
545 return default_instance().GetMetadata().reflection;
548 return *internal_default_instance();
552 &_InterProcessPortalConfig_default_instance_);
554 static constexpr int kIndexInFileMessages =
561 if (other ==
this)
return;
562 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
563 if (GetOwningArena() !=
nullptr &&
564 GetOwningArena() == other->GetOwningArena()) {
566 if (GetOwningArena() == other->GetOwningArena()) {
570 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
574 if (other ==
this)
return;
575 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
582 return CreateMaybeMessage<InterProcessPortalConfig>(arena);
584 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
586 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
588 InterProcessPortalConfig::MergeImpl(*
this, from);
591 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
593 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
594 bool IsInitialized() const final;
597 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
598 uint8_t* _InternalSerialize(
599 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
600 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
603 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
605 void SetCachedSize(
int size)
const final;
609 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
610 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
611 return "goby.zenoh.protobuf.InterProcessPortalConfig";
615 bool is_message_owned =
false);
619 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
621 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
630 InterProcessPortalConfig_Mode_PEER;
632 InterProcessPortalConfig_Mode_CLIENT;
634 InterProcessPortalConfig_Mode_ROUTER;
635 static inline
bool Mode_IsValid(
int value) {
638 static constexpr Mode Mode_MIN =
640 static constexpr Mode Mode_MAX =
642 static constexpr int Mode_ARRAYSIZE =
644 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
649 static inline const std::string&
Mode_Name(T enum_t_value) {
650 static_assert(::std::is_same<T, Mode>::value ||
651 ::std::is_integral<T>::value,
652 "Incorrect type passed to function Mode_Name.");
655 static inline bool Mode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
672 static constexpr int CongestionControl_ARRAYSIZE =
674 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
680 static_assert(::std::is_same<T, CongestionControl>::value ||
681 ::std::is_integral<T>::value,
682 "Incorrect type passed to function CongestionControl_Name.");
693 kConnectEndpointFieldNumber = 4,
694 kListenEndpointFieldNumber = 5,
695 kJson5OverrideFieldNumber = 30,
696 kPlatformFieldNumber = 1,
697 kKeyPrefixFieldNumber = 2,
698 kScoutingInterfaceFieldNumber = 7,
699 kClientNameFieldNumber = 20,
700 kHoldFieldNumber = 40,
701 kExpressFieldNumber = 11,
702 kCongestionControlFieldNumber = 10,
703 kModeFieldNumber = 3,
704 kMulticastScoutingFieldNumber = 6,
707 int connect_endpoint_size()
const;
709 int _internal_connect_endpoint_size()
const;
711 void clear_connect_endpoint();
712 const std::string& connect_endpoint(
int index)
const;
713 std::string* mutable_connect_endpoint(
int index);
714 void set_connect_endpoint(
int index,
const std::string& value);
715 void set_connect_endpoint(
int index, std::string&& value);
716 void set_connect_endpoint(
int index,
const char* value);
717 void set_connect_endpoint(
int index,
const char* value,
size_t size);
718 std::string* add_connect_endpoint();
719 void add_connect_endpoint(
const std::string& value);
720 void add_connect_endpoint(std::string&& value);
721 void add_connect_endpoint(
const char* value);
722 void add_connect_endpoint(
const char* value,
size_t size);
723 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& connect_endpoint()
const;
724 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_connect_endpoint();
726 const std::string& _internal_connect_endpoint(
int index)
const;
727 std::string* _internal_add_connect_endpoint();
731 int listen_endpoint_size()
const;
733 int _internal_listen_endpoint_size()
const;
735 void clear_listen_endpoint();
736 const std::string& listen_endpoint(
int index)
const;
737 std::string* mutable_listen_endpoint(
int index);
738 void set_listen_endpoint(
int index,
const std::string& value);
739 void set_listen_endpoint(
int index, std::string&& value);
740 void set_listen_endpoint(
int index,
const char* value);
741 void set_listen_endpoint(
int index,
const char* value,
size_t size);
742 std::string* add_listen_endpoint();
743 void add_listen_endpoint(
const std::string& value);
744 void add_listen_endpoint(std::string&& value);
745 void add_listen_endpoint(
const char* value);
746 void add_listen_endpoint(
const char* value,
size_t size);
747 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& listen_endpoint()
const;
748 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_listen_endpoint();
750 const std::string& _internal_listen_endpoint(
int index)
const;
751 std::string* _internal_add_listen_endpoint();
755 int json5_override_size()
const;
757 int _internal_json5_override_size()
const;
759 void clear_json5_override();
761 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::zenoh::protobuf::InterProcessPortalConfig_ConfigOverride >*
762 mutable_json5_override();
764 const ::goby::zenoh::protobuf::InterProcessPortalConfig_ConfigOverride& _internal_json5_override(
int index)
const;
767 const ::goby::zenoh::protobuf::InterProcessPortalConfig_ConfigOverride& json5_override(
int index)
const;
769 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::zenoh::protobuf::InterProcessPortalConfig_ConfigOverride >&
770 json5_override()
const;
773 bool has_platform()
const;
775 bool _internal_has_platform()
const;
777 void clear_platform();
778 const std::string& platform()
const;
779 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
781 std::string* mutable_platform();
782 PROTOBUF_NODISCARD std::string* release_platform();
783 void set_allocated_platform(std::string* platform);
785 const std::string& _internal_platform()
const;
786 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_platform(
const std::string& value);
787 std::string* _internal_mutable_platform();
791 bool has_key_prefix()
const;
793 bool _internal_has_key_prefix()
const;
795 void clear_key_prefix();
796 const std::string& key_prefix()
const;
797 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
799 std::string* mutable_key_prefix();
800 PROTOBUF_NODISCARD std::string* release_key_prefix();
801 void set_allocated_key_prefix(std::string* key_prefix);
803 const std::string& _internal_key_prefix()
const;
804 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_key_prefix(
const std::string& value);
805 std::string* _internal_mutable_key_prefix();
809 bool has_scouting_interface()
const;
811 bool _internal_has_scouting_interface()
const;
813 void clear_scouting_interface();
814 const std::string& scouting_interface()
const;
815 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
817 std::string* mutable_scouting_interface();
818 PROTOBUF_NODISCARD std::string* release_scouting_interface();
819 void set_allocated_scouting_interface(std::string* scouting_interface);
821 const std::string& _internal_scouting_interface()
const;
822 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_scouting_interface(
const std::string& value);
823 std::string* _internal_mutable_scouting_interface();
827 bool has_client_name()
const;
829 bool _internal_has_client_name()
const;
831 void clear_client_name();
832 const std::string& client_name()
const;
833 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
835 std::string* mutable_client_name();
836 PROTOBUF_NODISCARD std::string* release_client_name();
837 void set_allocated_client_name(std::string* client_name);
839 const std::string& _internal_client_name()
const;
840 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_client_name(
const std::string& value);
841 std::string* _internal_mutable_client_name();
845 bool has_hold()
const;
847 bool _internal_has_hold()
const;
850 const ::goby::zenoh::protobuf::InterProcessPortalConfig_Hold& hold()
const;
851 PROTOBUF_NODISCARD ::goby::zenoh::protobuf::InterProcessPortalConfig_Hold* release_hold();
855 const ::goby::zenoh::protobuf::InterProcessPortalConfig_Hold& _internal_hold()
const;
858 void unsafe_arena_set_allocated_hold(
863 bool has_express()
const;
865 bool _internal_has_express()
const;
867 void clear_express();
868 bool express()
const;
869 void set_express(
bool value);
871 bool _internal_express()
const;
872 void _internal_set_express(
bool value);
876 bool has_congestion_control()
const;
878 bool _internal_has_congestion_control()
const;
880 void clear_congestion_control();
889 bool has_mode()
const;
891 bool _internal_has_mode()
const;
902 bool has_multicast_scouting()
const;
904 bool _internal_has_multicast_scouting()
const;
906 void clear_multicast_scouting();
907 bool multicast_scouting()
const;
908 void set_multicast_scouting(
bool value);
910 bool _internal_multicast_scouting()
const;
911 void _internal_set_multicast_scouting(
bool value);
918 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
919 typedef void InternalArenaConstructable_;
920 typedef void DestructorSkippable_;
922 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
923 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
924 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> connect_endpoint_;
925 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> listen_endpoint_;
926 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::zenoh::protobuf::InterProcessPortalConfig_ConfigOverride > json5_override_;
927 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_platform_;
928 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr platform_;
929 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_key_prefix_;
930 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_prefix_;
931 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr scouting_interface_;
932 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_name_;
935 int congestion_control_;
937 bool multicast_scouting_;
940 friend struct ::TableStruct_goby_2fzenoh_2fprotobuf_2finterprocess_5fconfig_2eproto;
948 #pragma GCC diagnostic push
949 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
954inline bool InterProcessPortalConfig_ConfigOverride::_internal_has_key()
const {
955 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
958inline bool InterProcessPortalConfig_ConfigOverride::has_key()
const {
959 return _internal_has_key();
961inline void InterProcessPortalConfig_ConfigOverride::clear_key() {
962 _impl_.key_.ClearToEmpty();
963 _impl_._has_bits_[0] &= ~0x00000001u;
965inline const std::string& InterProcessPortalConfig_ConfigOverride::key()
const {
967 return _internal_key();
969template <
typename ArgT0,
typename... ArgT>
970inline PROTOBUF_ALWAYS_INLINE
971void InterProcessPortalConfig_ConfigOverride::set_key(ArgT0&& arg0, ArgT... args) {
972 _impl_._has_bits_[0] |= 0x00000001u;
973 _impl_.key_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
976inline std::string* InterProcessPortalConfig_ConfigOverride::mutable_key() {
977 std::string* _s = _internal_mutable_key();
981inline const std::string& InterProcessPortalConfig_ConfigOverride::_internal_key()
const {
982 return _impl_.key_.Get();
984inline void InterProcessPortalConfig_ConfigOverride::_internal_set_key(
const std::string& value) {
985 _impl_._has_bits_[0] |= 0x00000001u;
986 _impl_.key_.Set(value, GetArenaForAllocation());
988inline std::string* InterProcessPortalConfig_ConfigOverride::_internal_mutable_key() {
989 _impl_._has_bits_[0] |= 0x00000001u;
990 return _impl_.key_.Mutable(GetArenaForAllocation());
992inline std::string* InterProcessPortalConfig_ConfigOverride::release_key() {
994 if (!_internal_has_key()) {
997 _impl_._has_bits_[0] &= ~0x00000001u;
998 auto* p = _impl_.key_.Release();
999#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1000 if (_impl_.key_.IsDefault()) {
1001 _impl_.key_.Set(
"", GetArenaForAllocation());
1006inline void InterProcessPortalConfig_ConfigOverride::set_allocated_key(std::string* key) {
1007 if (key !=
nullptr) {
1008 _impl_._has_bits_[0] |= 0x00000001u;
1010 _impl_._has_bits_[0] &= ~0x00000001u;
1012 _impl_.key_.SetAllocated(key, GetArenaForAllocation());
1013#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1014 if (_impl_.key_.IsDefault()) {
1015 _impl_.key_.Set(
"", GetArenaForAllocation());
1022inline bool InterProcessPortalConfig_ConfigOverride::_internal_has_value()
const {
1023 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1026inline bool InterProcessPortalConfig_ConfigOverride::has_value()
const {
1027 return _internal_has_value();
1029inline void InterProcessPortalConfig_ConfigOverride::clear_value() {
1030 _impl_.value_.ClearToEmpty();
1031 _impl_._has_bits_[0] &= ~0x00000002u;
1033inline const std::string& InterProcessPortalConfig_ConfigOverride::value()
const {
1035 return _internal_value();
1037template <
typename ArgT0,
typename... ArgT>
1038inline PROTOBUF_ALWAYS_INLINE
1039void InterProcessPortalConfig_ConfigOverride::set_value(ArgT0&& arg0, ArgT... args) {
1040 _impl_._has_bits_[0] |= 0x00000002u;
1041 _impl_.value_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1044inline std::string* InterProcessPortalConfig_ConfigOverride::mutable_value() {
1045 std::string* _s = _internal_mutable_value();
1049inline const std::string& InterProcessPortalConfig_ConfigOverride::_internal_value()
const {
1050 return _impl_.value_.Get();
1052inline void InterProcessPortalConfig_ConfigOverride::_internal_set_value(
const std::string& value) {
1053 _impl_._has_bits_[0] |= 0x00000002u;
1054 _impl_.value_.Set(value, GetArenaForAllocation());
1056inline std::string* InterProcessPortalConfig_ConfigOverride::_internal_mutable_value() {
1057 _impl_._has_bits_[0] |= 0x00000002u;
1058 return _impl_.value_.Mutable(GetArenaForAllocation());
1060inline std::string* InterProcessPortalConfig_ConfigOverride::release_value() {
1062 if (!_internal_has_value()) {
1065 _impl_._has_bits_[0] &= ~0x00000002u;
1066 auto* p = _impl_.value_.Release();
1067#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1068 if (_impl_.value_.IsDefault()) {
1069 _impl_.value_.Set(
"", GetArenaForAllocation());
1074inline void InterProcessPortalConfig_ConfigOverride::set_allocated_value(std::string* value) {
1075 if (value !=
nullptr) {
1076 _impl_._has_bits_[0] |= 0x00000002u;
1078 _impl_._has_bits_[0] &= ~0x00000002u;
1080 _impl_.value_.SetAllocated(value, GetArenaForAllocation());
1081#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1082 if (_impl_.value_.IsDefault()) {
1083 _impl_.value_.Set(
"", GetArenaForAllocation());
1094inline int InterProcessPortalConfig_Hold::_internal_required_client_size()
const {
1095 return _impl_.required_client_.size();
1097inline int InterProcessPortalConfig_Hold::required_client_size()
const {
1098 return _internal_required_client_size();
1100inline void InterProcessPortalConfig_Hold::clear_required_client() {
1101 _impl_.required_client_.Clear();
1103inline std::string* InterProcessPortalConfig_Hold::add_required_client() {
1104 std::string* _s = _internal_add_required_client();
1108inline const std::string& InterProcessPortalConfig_Hold::_internal_required_client(
int index)
const {
1109 return _impl_.required_client_.Get(index);
1111inline const std::string& InterProcessPortalConfig_Hold::required_client(
int index)
const {
1113 return _internal_required_client(index);
1115inline std::string* InterProcessPortalConfig_Hold::mutable_required_client(
int index) {
1117 return _impl_.required_client_.Mutable(index);
1119inline void InterProcessPortalConfig_Hold::set_required_client(
int index,
const std::string& value) {
1120 _impl_.required_client_.Mutable(index)->assign(value);
1123inline void InterProcessPortalConfig_Hold::set_required_client(
int index, std::string&& value) {
1124 _impl_.required_client_.Mutable(index)->assign(std::move(value));
1127inline void InterProcessPortalConfig_Hold::set_required_client(
int index,
const char* value) {
1128 GOOGLE_DCHECK(value !=
nullptr);
1129 _impl_.required_client_.Mutable(index)->assign(value);
1132inline void InterProcessPortalConfig_Hold::set_required_client(
int index,
const char* value,
size_t size) {
1133 _impl_.required_client_.Mutable(index)->assign(
1134 reinterpret_cast<const char*
>(value), size);
1137inline std::string* InterProcessPortalConfig_Hold::_internal_add_required_client() {
1138 return _impl_.required_client_.Add();
1140inline void InterProcessPortalConfig_Hold::add_required_client(
const std::string& value) {
1141 _impl_.required_client_.Add()->assign(value);
1144inline void InterProcessPortalConfig_Hold::add_required_client(std::string&& value) {
1145 _impl_.required_client_.Add(std::move(value));
1148inline void InterProcessPortalConfig_Hold::add_required_client(
const char* value) {
1149 GOOGLE_DCHECK(value !=
nullptr);
1150 _impl_.required_client_.Add()->assign(value);
1153inline void InterProcessPortalConfig_Hold::add_required_client(
const char* value,
size_t size) {
1154 _impl_.required_client_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1157inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1158InterProcessPortalConfig_Hold::required_client()
const {
1160 return _impl_.required_client_;
1162inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1163InterProcessPortalConfig_Hold::mutable_required_client() {
1165 return &_impl_.required_client_;
1169inline bool InterProcessPortalConfig_Hold::_internal_has_settle_seconds()
const {
1170 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1173inline bool InterProcessPortalConfig_Hold::has_settle_seconds()
const {
1174 return _internal_has_settle_seconds();
1176inline void InterProcessPortalConfig_Hold::clear_settle_seconds() {
1177 _impl_.settle_seconds_ = 1;
1178 _impl_._has_bits_[0] &= ~0x00000001u;
1180inline double InterProcessPortalConfig_Hold::_internal_settle_seconds()
const {
1181 return _impl_.settle_seconds_;
1183inline double InterProcessPortalConfig_Hold::settle_seconds()
const {
1185 return _internal_settle_seconds();
1187inline void InterProcessPortalConfig_Hold::_internal_set_settle_seconds(
double value) {
1188 _impl_._has_bits_[0] |= 0x00000001u;
1189 _impl_.settle_seconds_ = value;
1191inline void InterProcessPortalConfig_Hold::set_settle_seconds(
double value) {
1192 _internal_set_settle_seconds(value);
1201inline bool InterProcessPortalConfig::_internal_has_platform()
const {
1202 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1205inline bool InterProcessPortalConfig::has_platform()
const {
1206 return _internal_has_platform();
1208inline void InterProcessPortalConfig::clear_platform() {
1209 _impl_.platform_.ClearToDefault(::goby::zenoh::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_platform_, GetArenaForAllocation());
1210 _impl_._has_bits_[0] &= ~0x00000001u;
1212inline const std::string& InterProcessPortalConfig::platform()
const {
1214 if (_impl_.platform_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_platform_.get();
1215 return _internal_platform();
1217template <
typename ArgT0,
typename... ArgT>
1218inline PROTOBUF_ALWAYS_INLINE
1219void InterProcessPortalConfig::set_platform(ArgT0&& arg0, ArgT... args) {
1220 _impl_._has_bits_[0] |= 0x00000001u;
1221 _impl_.platform_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1224inline std::string* InterProcessPortalConfig::mutable_platform() {
1225 std::string* _s = _internal_mutable_platform();
1229inline const std::string& InterProcessPortalConfig::_internal_platform()
const {
1230 return _impl_.platform_.Get();
1232inline void InterProcessPortalConfig::_internal_set_platform(
const std::string& value) {
1233 _impl_._has_bits_[0] |= 0x00000001u;
1234 _impl_.platform_.Set(value, GetArenaForAllocation());
1236inline std::string* InterProcessPortalConfig::_internal_mutable_platform() {
1237 _impl_._has_bits_[0] |= 0x00000001u;
1238 return _impl_.platform_.Mutable(::goby::zenoh::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_platform_, GetArenaForAllocation());
1240inline std::string* InterProcessPortalConfig::release_platform() {
1242 if (!_internal_has_platform()) {
1245 _impl_._has_bits_[0] &= ~0x00000001u;
1246 auto* p = _impl_.platform_.Release();
1249inline void InterProcessPortalConfig::set_allocated_platform(std::string* platform) {
1250 if (platform !=
nullptr) {
1251 _impl_._has_bits_[0] |= 0x00000001u;
1253 _impl_._has_bits_[0] &= ~0x00000001u;
1255 _impl_.platform_.SetAllocated(platform, GetArenaForAllocation());
1260inline bool InterProcessPortalConfig::_internal_has_key_prefix()
const {
1261 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1264inline bool InterProcessPortalConfig::has_key_prefix()
const {
1265 return _internal_has_key_prefix();
1267inline void InterProcessPortalConfig::clear_key_prefix() {
1268 _impl_.key_prefix_.ClearToDefault(::goby::zenoh::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_key_prefix_, GetArenaForAllocation());
1269 _impl_._has_bits_[0] &= ~0x00000002u;
1271inline const std::string& InterProcessPortalConfig::key_prefix()
const {
1273 if (_impl_.key_prefix_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_key_prefix_.get();
1274 return _internal_key_prefix();
1276template <
typename ArgT0,
typename... ArgT>
1277inline PROTOBUF_ALWAYS_INLINE
1278void InterProcessPortalConfig::set_key_prefix(ArgT0&& arg0, ArgT... args) {
1279 _impl_._has_bits_[0] |= 0x00000002u;
1280 _impl_.key_prefix_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1283inline std::string* InterProcessPortalConfig::mutable_key_prefix() {
1284 std::string* _s = _internal_mutable_key_prefix();
1288inline const std::string& InterProcessPortalConfig::_internal_key_prefix()
const {
1289 return _impl_.key_prefix_.Get();
1291inline void InterProcessPortalConfig::_internal_set_key_prefix(
const std::string& value) {
1292 _impl_._has_bits_[0] |= 0x00000002u;
1293 _impl_.key_prefix_.Set(value, GetArenaForAllocation());
1295inline std::string* InterProcessPortalConfig::_internal_mutable_key_prefix() {
1296 _impl_._has_bits_[0] |= 0x00000002u;
1297 return _impl_.key_prefix_.Mutable(::goby::zenoh::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_key_prefix_, GetArenaForAllocation());
1299inline std::string* InterProcessPortalConfig::release_key_prefix() {
1301 if (!_internal_has_key_prefix()) {
1304 _impl_._has_bits_[0] &= ~0x00000002u;
1305 auto* p = _impl_.key_prefix_.Release();
1308inline void InterProcessPortalConfig::set_allocated_key_prefix(std::string* key_prefix) {
1309 if (key_prefix !=
nullptr) {
1310 _impl_._has_bits_[0] |= 0x00000002u;
1312 _impl_._has_bits_[0] &= ~0x00000002u;
1314 _impl_.key_prefix_.SetAllocated(key_prefix, GetArenaForAllocation());
1319inline bool InterProcessPortalConfig::_internal_has_mode()
const {
1320 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1323inline bool InterProcessPortalConfig::has_mode()
const {
1324 return _internal_has_mode();
1326inline void InterProcessPortalConfig::clear_mode() {
1328 _impl_._has_bits_[0] &= ~0x00000080u;
1330inline ::goby::zenoh::protobuf::InterProcessPortalConfig_Mode InterProcessPortalConfig::_internal_mode()
const {
1333inline ::goby::zenoh::protobuf::InterProcessPortalConfig_Mode InterProcessPortalConfig::mode()
const {
1335 return _internal_mode();
1339 _impl_._has_bits_[0] |= 0x00000080u;
1340 _impl_.mode_ = value;
1343 _internal_set_mode(value);
1348inline int InterProcessPortalConfig::_internal_connect_endpoint_size()
const {
1349 return _impl_.connect_endpoint_.size();
1351inline int InterProcessPortalConfig::connect_endpoint_size()
const {
1352 return _internal_connect_endpoint_size();
1354inline void InterProcessPortalConfig::clear_connect_endpoint() {
1355 _impl_.connect_endpoint_.Clear();
1357inline std::string* InterProcessPortalConfig::add_connect_endpoint() {
1358 std::string* _s = _internal_add_connect_endpoint();
1362inline const std::string& InterProcessPortalConfig::_internal_connect_endpoint(
int index)
const {
1363 return _impl_.connect_endpoint_.Get(index);
1365inline const std::string& InterProcessPortalConfig::connect_endpoint(
int index)
const {
1367 return _internal_connect_endpoint(index);
1369inline std::string* InterProcessPortalConfig::mutable_connect_endpoint(
int index) {
1371 return _impl_.connect_endpoint_.Mutable(index);
1373inline void InterProcessPortalConfig::set_connect_endpoint(
int index,
const std::string& value) {
1374 _impl_.connect_endpoint_.Mutable(index)->assign(value);
1377inline void InterProcessPortalConfig::set_connect_endpoint(
int index, std::string&& value) {
1378 _impl_.connect_endpoint_.Mutable(index)->assign(std::move(value));
1381inline void InterProcessPortalConfig::set_connect_endpoint(
int index,
const char* value) {
1382 GOOGLE_DCHECK(value !=
nullptr);
1383 _impl_.connect_endpoint_.Mutable(index)->assign(value);
1386inline void InterProcessPortalConfig::set_connect_endpoint(
int index,
const char* value,
size_t size) {
1387 _impl_.connect_endpoint_.Mutable(index)->assign(
1388 reinterpret_cast<const char*
>(value), size);
1391inline std::string* InterProcessPortalConfig::_internal_add_connect_endpoint() {
1392 return _impl_.connect_endpoint_.Add();
1394inline void InterProcessPortalConfig::add_connect_endpoint(
const std::string& value) {
1395 _impl_.connect_endpoint_.Add()->assign(value);
1398inline void InterProcessPortalConfig::add_connect_endpoint(std::string&& value) {
1399 _impl_.connect_endpoint_.Add(std::move(value));
1402inline void InterProcessPortalConfig::add_connect_endpoint(
const char* value) {
1403 GOOGLE_DCHECK(value !=
nullptr);
1404 _impl_.connect_endpoint_.Add()->assign(value);
1407inline void InterProcessPortalConfig::add_connect_endpoint(
const char* value,
size_t size) {
1408 _impl_.connect_endpoint_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1411inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1412InterProcessPortalConfig::connect_endpoint()
const {
1414 return _impl_.connect_endpoint_;
1416inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1417InterProcessPortalConfig::mutable_connect_endpoint() {
1419 return &_impl_.connect_endpoint_;
1423inline int InterProcessPortalConfig::_internal_listen_endpoint_size()
const {
1424 return _impl_.listen_endpoint_.size();
1426inline int InterProcessPortalConfig::listen_endpoint_size()
const {
1427 return _internal_listen_endpoint_size();
1429inline void InterProcessPortalConfig::clear_listen_endpoint() {
1430 _impl_.listen_endpoint_.Clear();
1432inline std::string* InterProcessPortalConfig::add_listen_endpoint() {
1433 std::string* _s = _internal_add_listen_endpoint();
1437inline const std::string& InterProcessPortalConfig::_internal_listen_endpoint(
int index)
const {
1438 return _impl_.listen_endpoint_.Get(index);
1440inline const std::string& InterProcessPortalConfig::listen_endpoint(
int index)
const {
1442 return _internal_listen_endpoint(index);
1444inline std::string* InterProcessPortalConfig::mutable_listen_endpoint(
int index) {
1446 return _impl_.listen_endpoint_.Mutable(index);
1448inline void InterProcessPortalConfig::set_listen_endpoint(
int index,
const std::string& value) {
1449 _impl_.listen_endpoint_.Mutable(index)->assign(value);
1452inline void InterProcessPortalConfig::set_listen_endpoint(
int index, std::string&& value) {
1453 _impl_.listen_endpoint_.Mutable(index)->assign(std::move(value));
1456inline void InterProcessPortalConfig::set_listen_endpoint(
int index,
const char* value) {
1457 GOOGLE_DCHECK(value !=
nullptr);
1458 _impl_.listen_endpoint_.Mutable(index)->assign(value);
1461inline void InterProcessPortalConfig::set_listen_endpoint(
int index,
const char* value,
size_t size) {
1462 _impl_.listen_endpoint_.Mutable(index)->assign(
1463 reinterpret_cast<const char*
>(value), size);
1466inline std::string* InterProcessPortalConfig::_internal_add_listen_endpoint() {
1467 return _impl_.listen_endpoint_.Add();
1469inline void InterProcessPortalConfig::add_listen_endpoint(
const std::string& value) {
1470 _impl_.listen_endpoint_.Add()->assign(value);
1473inline void InterProcessPortalConfig::add_listen_endpoint(std::string&& value) {
1474 _impl_.listen_endpoint_.Add(std::move(value));
1477inline void InterProcessPortalConfig::add_listen_endpoint(
const char* value) {
1478 GOOGLE_DCHECK(value !=
nullptr);
1479 _impl_.listen_endpoint_.Add()->assign(value);
1482inline void InterProcessPortalConfig::add_listen_endpoint(
const char* value,
size_t size) {
1483 _impl_.listen_endpoint_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1486inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1487InterProcessPortalConfig::listen_endpoint()
const {
1489 return _impl_.listen_endpoint_;
1491inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1492InterProcessPortalConfig::mutable_listen_endpoint() {
1494 return &_impl_.listen_endpoint_;
1498inline bool InterProcessPortalConfig::_internal_has_multicast_scouting()
const {
1499 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1502inline bool InterProcessPortalConfig::has_multicast_scouting()
const {
1503 return _internal_has_multicast_scouting();
1505inline void InterProcessPortalConfig::clear_multicast_scouting() {
1506 _impl_.multicast_scouting_ =
true;
1507 _impl_._has_bits_[0] &= ~0x00000100u;
1509inline bool InterProcessPortalConfig::_internal_multicast_scouting()
const {
1510 return _impl_.multicast_scouting_;
1512inline bool InterProcessPortalConfig::multicast_scouting()
const {
1514 return _internal_multicast_scouting();
1516inline void InterProcessPortalConfig::_internal_set_multicast_scouting(
bool value) {
1517 _impl_._has_bits_[0] |= 0x00000100u;
1518 _impl_.multicast_scouting_ = value;
1520inline void InterProcessPortalConfig::set_multicast_scouting(
bool value) {
1521 _internal_set_multicast_scouting(value);
1526inline bool InterProcessPortalConfig::_internal_has_scouting_interface()
const {
1527 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1530inline bool InterProcessPortalConfig::has_scouting_interface()
const {
1531 return _internal_has_scouting_interface();
1533inline void InterProcessPortalConfig::clear_scouting_interface() {
1534 _impl_.scouting_interface_.ClearToEmpty();
1535 _impl_._has_bits_[0] &= ~0x00000004u;
1537inline const std::string& InterProcessPortalConfig::scouting_interface()
const {
1539 return _internal_scouting_interface();
1541template <
typename ArgT0,
typename... ArgT>
1542inline PROTOBUF_ALWAYS_INLINE
1543void InterProcessPortalConfig::set_scouting_interface(ArgT0&& arg0, ArgT... args) {
1544 _impl_._has_bits_[0] |= 0x00000004u;
1545 _impl_.scouting_interface_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1548inline std::string* InterProcessPortalConfig::mutable_scouting_interface() {
1549 std::string* _s = _internal_mutable_scouting_interface();
1553inline const std::string& InterProcessPortalConfig::_internal_scouting_interface()
const {
1554 return _impl_.scouting_interface_.Get();
1556inline void InterProcessPortalConfig::_internal_set_scouting_interface(
const std::string& value) {
1557 _impl_._has_bits_[0] |= 0x00000004u;
1558 _impl_.scouting_interface_.Set(value, GetArenaForAllocation());
1560inline std::string* InterProcessPortalConfig::_internal_mutable_scouting_interface() {
1561 _impl_._has_bits_[0] |= 0x00000004u;
1562 return _impl_.scouting_interface_.Mutable(GetArenaForAllocation());
1564inline std::string* InterProcessPortalConfig::release_scouting_interface() {
1566 if (!_internal_has_scouting_interface()) {
1569 _impl_._has_bits_[0] &= ~0x00000004u;
1570 auto* p = _impl_.scouting_interface_.Release();
1571#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1572 if (_impl_.scouting_interface_.IsDefault()) {
1573 _impl_.scouting_interface_.Set(
"", GetArenaForAllocation());
1578inline void InterProcessPortalConfig::set_allocated_scouting_interface(std::string* scouting_interface) {
1579 if (scouting_interface !=
nullptr) {
1580 _impl_._has_bits_[0] |= 0x00000004u;
1582 _impl_._has_bits_[0] &= ~0x00000004u;
1584 _impl_.scouting_interface_.SetAllocated(scouting_interface, GetArenaForAllocation());
1585#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1586 if (_impl_.scouting_interface_.IsDefault()) {
1587 _impl_.scouting_interface_.Set(
"", GetArenaForAllocation());
1594inline bool InterProcessPortalConfig::_internal_has_congestion_control()
const {
1595 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1598inline bool InterProcessPortalConfig::has_congestion_control()
const {
1599 return _internal_has_congestion_control();
1601inline void InterProcessPortalConfig::clear_congestion_control() {
1602 _impl_.congestion_control_ = 1;
1603 _impl_._has_bits_[0] &= ~0x00000040u;
1605inline ::goby::zenoh::protobuf::InterProcessPortalConfig_CongestionControl InterProcessPortalConfig::_internal_congestion_control()
const {
1608inline ::goby::zenoh::protobuf::InterProcessPortalConfig_CongestionControl InterProcessPortalConfig::congestion_control()
const {
1610 return _internal_congestion_control();
1614 _impl_._has_bits_[0] |= 0x00000040u;
1615 _impl_.congestion_control_ = value;
1618 _internal_set_congestion_control(value);
1623inline bool InterProcessPortalConfig::_internal_has_express()
const {
1624 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1627inline bool InterProcessPortalConfig::has_express()
const {
1628 return _internal_has_express();
1630inline void InterProcessPortalConfig::clear_express() {
1631 _impl_.express_ =
false;
1632 _impl_._has_bits_[0] &= ~0x00000020u;
1634inline bool InterProcessPortalConfig::_internal_express()
const {
1635 return _impl_.express_;
1637inline bool InterProcessPortalConfig::express()
const {
1639 return _internal_express();
1641inline void InterProcessPortalConfig::_internal_set_express(
bool value) {
1642 _impl_._has_bits_[0] |= 0x00000020u;
1643 _impl_.express_ = value;
1645inline void InterProcessPortalConfig::set_express(
bool value) {
1646 _internal_set_express(value);
1651inline int InterProcessPortalConfig::_internal_json5_override_size()
const {
1652 return _impl_.json5_override_.size();
1654inline int InterProcessPortalConfig::json5_override_size()
const {
1655 return _internal_json5_override_size();
1657inline void InterProcessPortalConfig::clear_json5_override() {
1658 _impl_.json5_override_.Clear();
1660inline ::goby::zenoh::protobuf::InterProcessPortalConfig_ConfigOverride* InterProcessPortalConfig::mutable_json5_override(
int index) {
1662 return _impl_.json5_override_.Mutable(index);
1664inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::zenoh::protobuf::InterProcessPortalConfig_ConfigOverride >*
1665InterProcessPortalConfig::mutable_json5_override() {
1667 return &_impl_.json5_override_;
1669inline const ::goby::zenoh::protobuf::InterProcessPortalConfig_ConfigOverride& InterProcessPortalConfig::_internal_json5_override(
int index)
const {
1670 return _impl_.json5_override_.Get(index);
1672inline const ::goby::zenoh::protobuf::InterProcessPortalConfig_ConfigOverride& InterProcessPortalConfig::json5_override(
int index)
const {
1674 return _internal_json5_override(index);
1676inline ::goby::zenoh::protobuf::InterProcessPortalConfig_ConfigOverride* InterProcessPortalConfig::_internal_add_json5_override() {
1677 return _impl_.json5_override_.Add();
1679inline ::goby::zenoh::protobuf::InterProcessPortalConfig_ConfigOverride* InterProcessPortalConfig::add_json5_override() {
1684inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::zenoh::protobuf::InterProcessPortalConfig_ConfigOverride >&
1685InterProcessPortalConfig::json5_override()
const {
1687 return _impl_.json5_override_;
1691inline bool InterProcessPortalConfig::_internal_has_hold()
const {
1692 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1693 PROTOBUF_ASSUME(!value || _impl_.hold_ !=
nullptr);
1696inline bool InterProcessPortalConfig::has_hold()
const {
1697 return _internal_has_hold();
1699inline void InterProcessPortalConfig::clear_hold() {
1700 if (_impl_.hold_ !=
nullptr) _impl_.hold_->Clear();
1701 _impl_._has_bits_[0] &= ~0x00000010u;
1703inline const ::goby::zenoh::protobuf::InterProcessPortalConfig_Hold& InterProcessPortalConfig::_internal_hold()
const {
1704 const ::goby::zenoh::protobuf::InterProcessPortalConfig_Hold* p = _impl_.hold_;
1708inline const ::goby::zenoh::protobuf::InterProcessPortalConfig_Hold& InterProcessPortalConfig::hold()
const {
1710 return _internal_hold();
1712inline void InterProcessPortalConfig::unsafe_arena_set_allocated_hold(
1714 if (GetArenaForAllocation() ==
nullptr) {
1715 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.hold_);
1717 _impl_.hold_ = hold;
1719 _impl_._has_bits_[0] |= 0x00000010u;
1721 _impl_._has_bits_[0] &= ~0x00000010u;
1725inline ::goby::zenoh::protobuf::InterProcessPortalConfig_Hold* InterProcessPortalConfig::release_hold() {
1726 _impl_._has_bits_[0] &= ~0x00000010u;
1728 _impl_.hold_ =
nullptr;
1729#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1730 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1731 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1732 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1734 if (GetArenaForAllocation() !=
nullptr) {
1735 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1740inline ::goby::zenoh::protobuf::InterProcessPortalConfig_Hold* InterProcessPortalConfig::unsafe_arena_release_hold() {
1742 _impl_._has_bits_[0] &= ~0x00000010u;
1744 _impl_.hold_ =
nullptr;
1747inline ::goby::zenoh::protobuf::InterProcessPortalConfig_Hold* InterProcessPortalConfig::_internal_mutable_hold() {
1748 _impl_._has_bits_[0] |= 0x00000010u;
1749 if (_impl_.hold_ ==
nullptr) {
1753 return _impl_.hold_;
1755inline ::goby::zenoh::protobuf::InterProcessPortalConfig_Hold* InterProcessPortalConfig::mutable_hold() {
1761 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1762 if (message_arena ==
nullptr) {
1763 delete _impl_.hold_;
1766 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1767 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(hold);
1768 if (message_arena != submessage_arena) {
1769 hold = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1770 message_arena, hold, submessage_arena);
1772 _impl_._has_bits_[0] |= 0x00000010u;
1774 _impl_._has_bits_[0] &= ~0x00000010u;
1776 _impl_.hold_ = hold;
1781inline bool InterProcessPortalConfig::_internal_has_client_name()
const {
1782 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1785inline bool InterProcessPortalConfig::has_client_name()
const {
1786 return _internal_has_client_name();
1788inline void InterProcessPortalConfig::clear_client_name() {
1789 _impl_.client_name_.ClearToEmpty();
1790 _impl_._has_bits_[0] &= ~0x00000008u;
1792inline const std::string& InterProcessPortalConfig::client_name()
const {
1794 return _internal_client_name();
1796template <
typename ArgT0,
typename... ArgT>
1797inline PROTOBUF_ALWAYS_INLINE
1798void InterProcessPortalConfig::set_client_name(ArgT0&& arg0, ArgT... args) {
1799 _impl_._has_bits_[0] |= 0x00000008u;
1800 _impl_.client_name_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1803inline std::string* InterProcessPortalConfig::mutable_client_name() {
1804 std::string* _s = _internal_mutable_client_name();
1808inline const std::string& InterProcessPortalConfig::_internal_client_name()
const {
1809 return _impl_.client_name_.Get();
1811inline void InterProcessPortalConfig::_internal_set_client_name(
const std::string& value) {
1812 _impl_._has_bits_[0] |= 0x00000008u;
1813 _impl_.client_name_.Set(value, GetArenaForAllocation());
1815inline std::string* InterProcessPortalConfig::_internal_mutable_client_name() {
1816 _impl_._has_bits_[0] |= 0x00000008u;
1817 return _impl_.client_name_.Mutable(GetArenaForAllocation());
1819inline std::string* InterProcessPortalConfig::release_client_name() {
1821 if (!_internal_has_client_name()) {
1824 _impl_._has_bits_[0] &= ~0x00000008u;
1825 auto* p = _impl_.client_name_.Release();
1826#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1827 if (_impl_.client_name_.IsDefault()) {
1828 _impl_.client_name_.Set(
"", GetArenaForAllocation());
1833inline void InterProcessPortalConfig::set_allocated_client_name(std::string* client_name) {
1834 if (client_name !=
nullptr) {
1835 _impl_._has_bits_[0] |= 0x00000008u;
1837 _impl_._has_bits_[0] &= ~0x00000008u;
1839 _impl_.client_name_.SetAllocated(client_name, GetArenaForAllocation());
1840#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1841 if (_impl_.client_name_.IsDefault()) {
1842 _impl_.client_name_.Set(
"", GetArenaForAllocation());
1849 #pragma GCC diagnostic pop
1862PROTOBUF_NAMESPACE_OPEN
1867 return ::goby::zenoh::protobuf::InterProcessPortalConfig_Mode_descriptor();
1872 return ::goby::zenoh::protobuf::InterProcessPortalConfig_CongestionControl_descriptor();
1875PROTOBUF_NAMESPACE_CLOSE
1879#include <google/protobuf/port_undef.inc>
PROTOBUF_NODISCARD std::string * release_value()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
InterProcessPortalConfig_ConfigOverride & operator=(InterProcessPortalConfig_ConfigOverride &&from) noexcept
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void CopyFrom(const InterProcessPortalConfig_ConfigOverride &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
size_t ByteSizeLong() const final
void set_key(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_allocated_value(std::string *value)
friend void swap(InterProcessPortalConfig_ConfigOverride &a, InterProcessPortalConfig_ConfigOverride &b)
std::string * mutable_value()
static constexpr int kIndexInFileMessages
PROTOBUF_NODISCARD std::string * release_key()
bool IsInitialized() const final
const std::string & value() const
PROTOBUF_CONSTEXPR InterProcessPortalConfig_ConfigOverride(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void UnsafeArenaSwap(InterProcessPortalConfig_ConfigOverride *other)
InterProcessPortalConfig_ConfigOverride * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_value(ArgT0 &&arg0, ArgT... args)
void Swap(InterProcessPortalConfig_ConfigOverride *other)
InterProcessPortalConfig_ConfigOverride & operator=(const InterProcessPortalConfig_ConfigOverride &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ClassData _class_data_
const std::string & key() const
void set_allocated_key(std::string *key)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
InterProcessPortalConfig_ConfigOverride(const InterProcessPortalConfig_ConfigOverride &from)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const InterProcessPortalConfig_ConfigOverride * internal_default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
int GetCachedSize() const final
InterProcessPortalConfig_ConfigOverride(InterProcessPortalConfig_ConfigOverride &&from) noexcept
static const InterProcessPortalConfig_ConfigOverride & default_instance()
InterProcessPortalConfig_ConfigOverride(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
InterProcessPortalConfig_ConfigOverride()
~InterProcessPortalConfig_ConfigOverride() override
void MergeFrom(const InterProcessPortalConfig_ConfigOverride &from)
std::string * mutable_key()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
InterProcessPortalConfig_Hold(InterProcessPortalConfig_Hold &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
InterProcessPortalConfig_Hold()
InterProcessPortalConfig_Hold & operator=(const InterProcessPortalConfig_Hold &from)
InterProcessPortalConfig_Hold(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void MergeFrom(const InterProcessPortalConfig_Hold &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ClassData _class_data_
friend void swap(InterProcessPortalConfig_Hold &a, InterProcessPortalConfig_Hold &b)
static const InterProcessPortalConfig_Hold & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void Swap(InterProcessPortalConfig_Hold *other)
void CopyFrom(const InterProcessPortalConfig_Hold &from)
~InterProcessPortalConfig_Hold() override
InterProcessPortalConfig_Hold(const InterProcessPortalConfig_Hold &from)
PROTOBUF_CONSTEXPR InterProcessPortalConfig_Hold(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const InterProcessPortalConfig_Hold * internal_default_instance()
void UnsafeArenaSwap(InterProcessPortalConfig_Hold *other)
InterProcessPortalConfig_Hold & operator=(InterProcessPortalConfig_Hold &&from) noexcept
InterProcessPortalConfig_Hold * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static bool Mode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Mode *value)
static const std::string & Mode_Name(T enum_t_value)
InterProcessPortalConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
InterProcessPortalConfig & operator=(const InterProcessPortalConfig &from)
PROTOBUF_CONSTEXPR InterProcessPortalConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
InterProcessPortalConfig_CongestionControl CongestionControl
static const ClassData _class_data_
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const InterProcessPortalConfig & default_instance()
friend void swap(InterProcessPortalConfig &a, InterProcessPortalConfig &b)
InterProcessPortalConfig & operator=(InterProcessPortalConfig &&from) noexcept
void set_scouting_interface(ArgT0 &&arg0, ArgT... args)
void set_platform(ArgT0 &&arg0, ArgT... args)
~InterProcessPortalConfig() override
static bool CongestionControl_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CongestionControl *value)
static const InterProcessPortalConfig * internal_default_instance()
InterProcessPortalConfig()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Mode_descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
InterProcessPortalConfig(const InterProcessPortalConfig &from)
void set_client_name(ArgT0 &&arg0, ArgT... args)
void Swap(InterProcessPortalConfig *other)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CongestionControl_descriptor()
void UnsafeArenaSwap(InterProcessPortalConfig *other)
InterProcessPortalConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void MergeFrom(const InterProcessPortalConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void CopyFrom(const InterProcessPortalConfig &from)
static bool CongestionControl_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const std::string & CongestionControl_Name(T enum_t_value)
InterProcessPortalConfig(InterProcessPortalConfig &&from) noexcept
void set_key_prefix(ArgT0 &&arg0, ArgT... args)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
bool InterProcessPortalConfig_Mode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, InterProcessPortalConfig_Mode *value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * InterProcessPortalConfig_CongestionControl_descriptor()
InterProcessPortalConfig_CongestionControl
@ InterProcessPortalConfig_CongestionControl_DROP
@ InterProcessPortalConfig_CongestionControl_BLOCK
const std::string & InterProcessPortalConfig_Mode_Name(T enum_t_value)
bool InterProcessPortalConfig_CongestionControl_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, InterProcessPortalConfig_CongestionControl *value)
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
constexpr InterProcessPortalConfig_Mode InterProcessPortalConfig_Mode_Mode_MIN
bool InterProcessPortalConfig_CongestionControl_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * InterProcessPortalConfig_Mode_descriptor()
constexpr int InterProcessPortalConfig_Mode_Mode_ARRAYSIZE
constexpr InterProcessPortalConfig_CongestionControl InterProcessPortalConfig_CongestionControl_CongestionControl_MAX
constexpr InterProcessPortalConfig_CongestionControl InterProcessPortalConfig_CongestionControl_CongestionControl_MIN
constexpr InterProcessPortalConfig_Mode InterProcessPortalConfig_Mode_Mode_MAX
InterProcessPortalConfig_HoldDefaultTypeInternal _InterProcessPortalConfig_Hold_default_instance_
InterProcessPortalConfig_Mode
@ InterProcessPortalConfig_Mode_PEER
@ InterProcessPortalConfig_Mode_CLIENT
@ InterProcessPortalConfig_Mode_ROUTER
const std::string & InterProcessPortalConfig_CongestionControl_Name(T enum_t_value)
InterProcessPortalConfig_ConfigOverrideDefaultTypeInternal _InterProcessPortalConfig_ConfigOverride_default_instance_
constexpr int InterProcessPortalConfig_CongestionControl_CongestionControl_ARRAYSIZE
bool InterProcessPortalConfig_Mode_IsValid(int value)
The global namespace for the Goby project.
static const uint32_t offsets[]
const EnumDescriptor * GetEnumDescriptor< ::goby::zenoh::protobuf::InterProcessPortalConfig_Mode >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzenoh_2fprotobuf_2finterprocess_5fconfig_2eproto
::goby::zenoh::protobuf::InterProcessPortalConfig_Hold * Arena::CreateMaybeMessage<::goby::zenoh::protobuf::InterProcessPortalConfig_Hold >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::goby::zenoh::protobuf::InterProcessPortalConfig_CongestionControl >()