4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2finterprocess_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_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_2fzeromq_2fprotobuf_2finterprocess_5fconfig_2eproto
42PROTOBUF_NAMESPACE_OPEN
46PROTOBUF_NAMESPACE_CLOSE
57struct InterProcessManagerHoldDefaultTypeInternal;
60struct InterProcessPortalConfigDefaultTypeInternal;
65PROTOBUF_NAMESPACE_OPEN
68PROTOBUF_NAMESPACE_CLOSE
85 static_assert(::std::is_same<T, InterProcessPortalConfig_Transport>::value ||
86 ::std::is_integral<T>::value,
87 "Incorrect type passed to function InterProcessPortalConfig_Transport_Name.");
88 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
93 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<InterProcessPortalConfig_Transport>(
99 public ::PROTOBUF_NAMESPACE_ID::Message {
108 *
this = ::std::move(from);
116 if (
this == &from)
return *
this;
117 if (GetOwningArena() == from.GetOwningArena()
118 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
119 && GetOwningArena() !=
nullptr
130 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
133 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
136 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
165 if (other ==
this)
return;
166 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
167 if (GetOwningArena() !=
nullptr &&
168 GetOwningArena() == other->GetOwningArena()) {
170 if (GetOwningArena() == other->GetOwningArena()) {
174 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
178 if (other ==
this)
return;
179 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
186 return CreateMaybeMessage<InterProcessPortalConfig>(arena);
188 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
190 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
192 InterProcessPortalConfig::MergeImpl(*
this, from);
195 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
197 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
203 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
207 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
209 void SetCachedSize(
int size)
const final;
213 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
214 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
215 return "goby.zeromq.protobuf.InterProcessPortalConfig";
219 bool is_message_owned =
false);
223 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
243 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
249 static_assert(::std::is_same<T, Transport>::value ||
250 ::std::is_integral<T>::value,
251 "Incorrect type passed to function Transport_Name.");
278 bool _internal_has_platform()
const;
281 const std::string&
platform()
const;
282 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
288 const std::string& _internal_platform()
const;
289 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_platform(
const std::string& value);
290 std::string* _internal_mutable_platform();
296 bool _internal_has_socket_name()
const;
300 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
306 const std::string& _internal_socket_name()
const;
307 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_socket_name(
const std::string& value);
308 std::string* _internal_mutable_socket_name();
314 bool _internal_has_client_name()
const;
318 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
324 const std::string& _internal_client_name()
const;
325 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_client_name(
const std::string& value);
326 std::string* _internal_mutable_client_name();
332 bool _internal_has_hold_release_timeout_seconds()
const;
338 uint32_t _internal_hold_release_timeout_seconds()
const;
339 void _internal_set_hold_release_timeout_seconds(uint32_t value);
345 bool _internal_has_transport()
const;
358 bool _internal_has_tcp_port()
const;
364 uint32_t _internal_tcp_port()
const;
365 void _internal_set_tcp_port(uint32_t value);
371 bool _internal_has_send_queue_size()
const;
377 uint32_t _internal_send_queue_size()
const;
378 void _internal_set_send_queue_size(uint32_t value);
384 bool _internal_has_receive_queue_size()
const;
390 uint32_t _internal_receive_queue_size()
const;
391 void _internal_set_receive_queue_size(uint32_t value);
397 bool _internal_has_zeromq_number_io_threads()
const;
403 uint32_t _internal_zeromq_number_io_threads()
const;
404 void _internal_set_zeromq_number_io_threads(uint32_t value);
410 bool _internal_has_manager_timeout_seconds()
const;
416 uint32_t _internal_manager_timeout_seconds()
const;
417 void _internal_set_manager_timeout_seconds(uint32_t value);
423 bool _internal_has_ipv4_address()
const;
427 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
433 const std::string& _internal_ipv4_address()
const;
434 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_ipv4_address(
const std::string& value);
435 std::string* _internal_mutable_ipv4_address();
441 bool _internal_has_ip_address()
const;
445 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
451 const std::string& _internal_ip_address()
const;
452 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_ip_address(
const std::string& value);
453 std::string* _internal_mutable_ip_address();
461 void set_has_ipv4_address();
462 void set_has_ip_address();
464 inline bool has_ip()
const;
465 inline void clear_has_ip();
467 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
468 typedef void InternalArenaConstructable_;
469 typedef void DestructorSkippable_;
471 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
472 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
473 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_platform_;
474 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr platform_;
475 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr socket_name_;
476 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_name_;
477 uint32_t hold_release_timeout_seconds_;
480 uint32_t send_queue_size_;
481 uint32_t receive_queue_size_;
482 uint32_t zeromq_number_io_threads_;
483 uint32_t manager_timeout_seconds_;
486 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized
_constinit_;
490 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_ipv4_address_;
491 uint32_t _oneof_case_[1];
495 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2finterprocess_5fconfig_2eproto;
500 public ::PROTOBUF_NAMESPACE_ID::Message {
509 *
this = ::std::move(from);
517 if (
this == &from)
return *
this;
518 if (GetOwningArena() == from.GetOwningArena()
519 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
520 && GetOwningArena() !=
nullptr
531 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
534 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
537 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
538 return GetDescriptor();
541 return default_instance().GetMetadata().descriptor;
544 return default_instance().GetMetadata().reflection;
547 return *internal_default_instance();
553 static constexpr int kIndexInFileMessages =
560 if (other ==
this)
return;
561 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
562 if (GetOwningArena() !=
nullptr &&
563 GetOwningArena() == other->GetOwningArena()) {
565 if (GetOwningArena() == other->GetOwningArena()) {
569 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
573 if (other ==
this)
return;
574 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
581 return CreateMaybeMessage<InterProcessManagerHold>(arena);
583 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
585 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
587 InterProcessManagerHold::MergeImpl(*
this, from);
590 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
592 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
593 bool IsInitialized() const final;
596 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
597 uint8_t* _InternalSerialize(
598 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
599 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
602 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
604 void SetCachedSize(
int size)
const final;
608 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
609 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
610 return "goby.zeromq.protobuf.InterProcessManagerHold";
614 bool is_message_owned =
false);
618 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
620 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
627 kRequiredClientFieldNumber = 1,
630 int required_client_size()
const;
632 int _internal_required_client_size()
const;
634 void clear_required_client();
635 const std::string& required_client(
int index)
const;
636 std::string* mutable_required_client(
int index);
637 void set_required_client(
int index,
const std::string& value);
638 void set_required_client(
int index, std::string&& value);
639 void set_required_client(
int index,
const char* value);
640 void set_required_client(
int index,
const char* value,
size_t size);
641 std::string* add_required_client();
642 void add_required_client(
const std::string& value);
643 void add_required_client(std::string&& value);
644 void add_required_client(
const char* value);
645 void add_required_client(
const char* value,
size_t size);
646 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& required_client()
const;
647 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_required_client();
649 const std::string& _internal_required_client(
int index)
const;
650 std::string* _internal_add_required_client();
657 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
658 typedef void InternalArenaConstructable_;
659 typedef void DestructorSkippable_;
661 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> required_client_;
662 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
665 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2finterprocess_5fconfig_2eproto;
673 #pragma GCC diagnostic push
674 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
679inline bool InterProcessPortalConfig::_internal_has_platform()
const {
680 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
683inline bool InterProcessPortalConfig::has_platform()
const {
684 return _internal_has_platform();
686inline void InterProcessPortalConfig::clear_platform() {
687 _impl_.platform_.ClearToDefault(::goby::zeromq::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_platform_, GetArenaForAllocation());
688 _impl_._has_bits_[0] &= ~0x00000001u;
690inline const std::string& InterProcessPortalConfig::platform()
const {
692 if (_impl_.platform_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_platform_.get();
693 return _internal_platform();
695template <
typename ArgT0,
typename... ArgT>
696inline PROTOBUF_ALWAYS_INLINE
697void InterProcessPortalConfig::set_platform(ArgT0&& arg0, ArgT... args) {
698 _impl_._has_bits_[0] |= 0x00000001u;
699 _impl_.platform_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
702inline std::string* InterProcessPortalConfig::mutable_platform() {
703 std::string* _s = _internal_mutable_platform();
707inline const std::string& InterProcessPortalConfig::_internal_platform()
const {
708 return _impl_.platform_.Get();
710inline void InterProcessPortalConfig::_internal_set_platform(
const std::string& value) {
711 _impl_._has_bits_[0] |= 0x00000001u;
712 _impl_.platform_.Set(value, GetArenaForAllocation());
714inline std::string* InterProcessPortalConfig::_internal_mutable_platform() {
715 _impl_._has_bits_[0] |= 0x00000001u;
716 return _impl_.platform_.Mutable(::goby::zeromq::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_platform_, GetArenaForAllocation());
718inline std::string* InterProcessPortalConfig::release_platform() {
720 if (!_internal_has_platform()) {
723 _impl_._has_bits_[0] &= ~0x00000001u;
724 auto* p = _impl_.platform_.Release();
727inline void InterProcessPortalConfig::set_allocated_platform(std::string* platform) {
728 if (platform !=
nullptr) {
729 _impl_._has_bits_[0] |= 0x00000001u;
731 _impl_._has_bits_[0] &= ~0x00000001u;
733 _impl_.platform_.SetAllocated(platform, GetArenaForAllocation());
738inline bool InterProcessPortalConfig::_internal_has_transport()
const {
739 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
742inline bool InterProcessPortalConfig::has_transport()
const {
743 return _internal_has_transport();
745inline void InterProcessPortalConfig::clear_transport() {
746 _impl_.transport_ = 2;
747 _impl_._has_bits_[0] &= ~0x00000010u;
749inline ::goby::zeromq::protobuf::InterProcessPortalConfig_Transport InterProcessPortalConfig::_internal_transport()
const {
752inline ::goby::zeromq::protobuf::InterProcessPortalConfig_Transport InterProcessPortalConfig::transport()
const {
754 return _internal_transport();
758 _impl_._has_bits_[0] |= 0x00000010u;
759 _impl_.transport_ = value;
762 _internal_set_transport(value);
767inline bool InterProcessPortalConfig::_internal_has_socket_name()
const {
768 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
771inline bool InterProcessPortalConfig::has_socket_name()
const {
772 return _internal_has_socket_name();
774inline void InterProcessPortalConfig::clear_socket_name() {
775 _impl_.socket_name_.ClearToEmpty();
776 _impl_._has_bits_[0] &= ~0x00000002u;
778inline const std::string& InterProcessPortalConfig::socket_name()
const {
780 return _internal_socket_name();
782template <
typename ArgT0,
typename... ArgT>
783inline PROTOBUF_ALWAYS_INLINE
784void InterProcessPortalConfig::set_socket_name(ArgT0&& arg0, ArgT... args) {
785 _impl_._has_bits_[0] |= 0x00000002u;
786 _impl_.socket_name_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
789inline std::string* InterProcessPortalConfig::mutable_socket_name() {
790 std::string* _s = _internal_mutable_socket_name();
794inline const std::string& InterProcessPortalConfig::_internal_socket_name()
const {
795 return _impl_.socket_name_.Get();
797inline void InterProcessPortalConfig::_internal_set_socket_name(
const std::string& value) {
798 _impl_._has_bits_[0] |= 0x00000002u;
799 _impl_.socket_name_.Set(value, GetArenaForAllocation());
801inline std::string* InterProcessPortalConfig::_internal_mutable_socket_name() {
802 _impl_._has_bits_[0] |= 0x00000002u;
803 return _impl_.socket_name_.Mutable(GetArenaForAllocation());
805inline std::string* InterProcessPortalConfig::release_socket_name() {
807 if (!_internal_has_socket_name()) {
810 _impl_._has_bits_[0] &= ~0x00000002u;
811 auto* p = _impl_.socket_name_.Release();
812#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
813 if (_impl_.socket_name_.IsDefault()) {
814 _impl_.socket_name_.Set(
"", GetArenaForAllocation());
819inline void InterProcessPortalConfig::set_allocated_socket_name(std::string* socket_name) {
820 if (socket_name !=
nullptr) {
821 _impl_._has_bits_[0] |= 0x00000002u;
823 _impl_._has_bits_[0] &= ~0x00000002u;
825 _impl_.socket_name_.SetAllocated(socket_name, GetArenaForAllocation());
826#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
827 if (_impl_.socket_name_.IsDefault()) {
828 _impl_.socket_name_.Set(
"", GetArenaForAllocation());
835inline bool InterProcessPortalConfig::_internal_has_ipv4_address()
const {
836 return ip_case() == kIpv4Address;
838inline bool InterProcessPortalConfig::has_ipv4_address()
const {
839 return _internal_has_ipv4_address();
841inline void InterProcessPortalConfig::set_has_ipv4_address() {
842 _impl_._oneof_case_[0] = kIpv4Address;
844inline void InterProcessPortalConfig::clear_ipv4_address() {
845 if (_internal_has_ipv4_address()) {
846 _impl_.ip_.ipv4_address_.Destroy();
850inline const std::string& InterProcessPortalConfig::ipv4_address()
const {
852 return _internal_ipv4_address();
854template <
typename ArgT0,
typename... ArgT>
855inline void InterProcessPortalConfig::set_ipv4_address(ArgT0&& arg0, ArgT... args) {
856 if (!_internal_has_ipv4_address()) {
858 set_has_ipv4_address();
859 _impl_.ip_.ipv4_address_.InitDefault();
861 _impl_.ip_.ipv4_address_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
864inline std::string* InterProcessPortalConfig::mutable_ipv4_address() {
865 std::string* _s = _internal_mutable_ipv4_address();
869inline const std::string& InterProcessPortalConfig::_internal_ipv4_address()
const {
870 if (_internal_has_ipv4_address()) {
871 return _impl_.ip_.ipv4_address_.Get();
873 return ::goby::zeromq::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_ipv4_address_.get();
875inline void InterProcessPortalConfig::_internal_set_ipv4_address(
const std::string& value) {
876 if (!_internal_has_ipv4_address()) {
878 set_has_ipv4_address();
879 _impl_.ip_.ipv4_address_.InitDefault();
881 _impl_.ip_.ipv4_address_.Set(value, GetArenaForAllocation());
883inline std::string* InterProcessPortalConfig::_internal_mutable_ipv4_address() {
884 if (!_internal_has_ipv4_address()) {
886 set_has_ipv4_address();
887 _impl_.ip_.ipv4_address_.InitDefault();
889 return _impl_.ip_.ipv4_address_.Mutable(::goby::zeromq::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_ipv4_address_, GetArenaForAllocation());
891inline std::string* InterProcessPortalConfig::release_ipv4_address() {
893 if (_internal_has_ipv4_address()) {
895 return _impl_.ip_.ipv4_address_.Release();
900inline void InterProcessPortalConfig::set_allocated_ipv4_address(std::string* ipv4_address) {
904 if (ipv4_address !=
nullptr) {
905 set_has_ipv4_address();
906 _impl_.ip_.ipv4_address_.InitAllocated(ipv4_address, GetArenaForAllocation());
912inline bool InterProcessPortalConfig::_internal_has_ip_address()
const {
913 return ip_case() == kIpAddress;
915inline bool InterProcessPortalConfig::has_ip_address()
const {
916 return _internal_has_ip_address();
918inline void InterProcessPortalConfig::set_has_ip_address() {
919 _impl_._oneof_case_[0] = kIpAddress;
921inline void InterProcessPortalConfig::clear_ip_address() {
922 if (_internal_has_ip_address()) {
923 _impl_.ip_.ip_address_.Destroy();
927inline const std::string& InterProcessPortalConfig::ip_address()
const {
929 return _internal_ip_address();
931template <
typename ArgT0,
typename... ArgT>
932inline void InterProcessPortalConfig::set_ip_address(ArgT0&& arg0, ArgT... args) {
933 if (!_internal_has_ip_address()) {
935 set_has_ip_address();
936 _impl_.ip_.ip_address_.InitDefault();
938 _impl_.ip_.ip_address_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
941inline std::string* InterProcessPortalConfig::mutable_ip_address() {
942 std::string* _s = _internal_mutable_ip_address();
946inline const std::string& InterProcessPortalConfig::_internal_ip_address()
const {
947 if (_internal_has_ip_address()) {
948 return _impl_.ip_.ip_address_.Get();
950 return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
952inline void InterProcessPortalConfig::_internal_set_ip_address(
const std::string& value) {
953 if (!_internal_has_ip_address()) {
955 set_has_ip_address();
956 _impl_.ip_.ip_address_.InitDefault();
958 _impl_.ip_.ip_address_.Set(value, GetArenaForAllocation());
960inline std::string* InterProcessPortalConfig::_internal_mutable_ip_address() {
961 if (!_internal_has_ip_address()) {
963 set_has_ip_address();
964 _impl_.ip_.ip_address_.InitDefault();
966 return _impl_.ip_.ip_address_.Mutable( GetArenaForAllocation());
968inline std::string* InterProcessPortalConfig::release_ip_address() {
970 if (_internal_has_ip_address()) {
972 return _impl_.ip_.ip_address_.Release();
977inline void InterProcessPortalConfig::set_allocated_ip_address(std::string* ip_address) {
981 if (ip_address !=
nullptr) {
982 set_has_ip_address();
983 _impl_.ip_.ip_address_.InitAllocated(ip_address, GetArenaForAllocation());
989inline bool InterProcessPortalConfig::_internal_has_tcp_port()
const {
990 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
993inline bool InterProcessPortalConfig::has_tcp_port()
const {
994 return _internal_has_tcp_port();
996inline void InterProcessPortalConfig::clear_tcp_port() {
997 _impl_.tcp_port_ = 11144u;
998 _impl_._has_bits_[0] &= ~0x00000020u;
1000inline uint32_t InterProcessPortalConfig::_internal_tcp_port()
const {
1001 return _impl_.tcp_port_;
1003inline uint32_t InterProcessPortalConfig::tcp_port()
const {
1005 return _internal_tcp_port();
1007inline void InterProcessPortalConfig::_internal_set_tcp_port(uint32_t value) {
1008 _impl_._has_bits_[0] |= 0x00000020u;
1009 _impl_.tcp_port_ = value;
1011inline void InterProcessPortalConfig::set_tcp_port(uint32_t value) {
1012 _internal_set_tcp_port(value);
1017inline bool InterProcessPortalConfig::_internal_has_send_queue_size()
const {
1018 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1021inline bool InterProcessPortalConfig::has_send_queue_size()
const {
1022 return _internal_has_send_queue_size();
1024inline void InterProcessPortalConfig::clear_send_queue_size() {
1025 _impl_.send_queue_size_ = 1000u;
1026 _impl_._has_bits_[0] &= ~0x00000040u;
1028inline uint32_t InterProcessPortalConfig::_internal_send_queue_size()
const {
1029 return _impl_.send_queue_size_;
1031inline uint32_t InterProcessPortalConfig::send_queue_size()
const {
1033 return _internal_send_queue_size();
1035inline void InterProcessPortalConfig::_internal_set_send_queue_size(uint32_t value) {
1036 _impl_._has_bits_[0] |= 0x00000040u;
1037 _impl_.send_queue_size_ = value;
1039inline void InterProcessPortalConfig::set_send_queue_size(uint32_t value) {
1040 _internal_set_send_queue_size(value);
1045inline bool InterProcessPortalConfig::_internal_has_receive_queue_size()
const {
1046 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1049inline bool InterProcessPortalConfig::has_receive_queue_size()
const {
1050 return _internal_has_receive_queue_size();
1052inline void InterProcessPortalConfig::clear_receive_queue_size() {
1053 _impl_.receive_queue_size_ = 1000u;
1054 _impl_._has_bits_[0] &= ~0x00000080u;
1056inline uint32_t InterProcessPortalConfig::_internal_receive_queue_size()
const {
1057 return _impl_.receive_queue_size_;
1059inline uint32_t InterProcessPortalConfig::receive_queue_size()
const {
1061 return _internal_receive_queue_size();
1063inline void InterProcessPortalConfig::_internal_set_receive_queue_size(uint32_t value) {
1064 _impl_._has_bits_[0] |= 0x00000080u;
1065 _impl_.receive_queue_size_ = value;
1067inline void InterProcessPortalConfig::set_receive_queue_size(uint32_t value) {
1068 _internal_set_receive_queue_size(value);
1073inline bool InterProcessPortalConfig::_internal_has_zeromq_number_io_threads()
const {
1074 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1077inline bool InterProcessPortalConfig::has_zeromq_number_io_threads()
const {
1078 return _internal_has_zeromq_number_io_threads();
1080inline void InterProcessPortalConfig::clear_zeromq_number_io_threads() {
1081 _impl_.zeromq_number_io_threads_ = 4u;
1082 _impl_._has_bits_[0] &= ~0x00000100u;
1084inline uint32_t InterProcessPortalConfig::_internal_zeromq_number_io_threads()
const {
1085 return _impl_.zeromq_number_io_threads_;
1087inline uint32_t InterProcessPortalConfig::zeromq_number_io_threads()
const {
1089 return _internal_zeromq_number_io_threads();
1091inline void InterProcessPortalConfig::_internal_set_zeromq_number_io_threads(uint32_t value) {
1092 _impl_._has_bits_[0] |= 0x00000100u;
1093 _impl_.zeromq_number_io_threads_ = value;
1095inline void InterProcessPortalConfig::set_zeromq_number_io_threads(uint32_t value) {
1096 _internal_set_zeromq_number_io_threads(value);
1101inline bool InterProcessPortalConfig::_internal_has_manager_timeout_seconds()
const {
1102 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1105inline bool InterProcessPortalConfig::has_manager_timeout_seconds()
const {
1106 return _internal_has_manager_timeout_seconds();
1108inline void InterProcessPortalConfig::clear_manager_timeout_seconds() {
1109 _impl_.manager_timeout_seconds_ = 5u;
1110 _impl_._has_bits_[0] &= ~0x00000200u;
1112inline uint32_t InterProcessPortalConfig::_internal_manager_timeout_seconds()
const {
1113 return _impl_.manager_timeout_seconds_;
1115inline uint32_t InterProcessPortalConfig::manager_timeout_seconds()
const {
1117 return _internal_manager_timeout_seconds();
1119inline void InterProcessPortalConfig::_internal_set_manager_timeout_seconds(uint32_t value) {
1120 _impl_._has_bits_[0] |= 0x00000200u;
1121 _impl_.manager_timeout_seconds_ = value;
1123inline void InterProcessPortalConfig::set_manager_timeout_seconds(uint32_t value) {
1124 _internal_set_manager_timeout_seconds(value);
1129inline bool InterProcessPortalConfig::_internal_has_hold_release_timeout_seconds()
const {
1130 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1133inline bool InterProcessPortalConfig::has_hold_release_timeout_seconds()
const {
1134 return _internal_has_hold_release_timeout_seconds();
1136inline void InterProcessPortalConfig::clear_hold_release_timeout_seconds() {
1137 _impl_.hold_release_timeout_seconds_ = 10u;
1138 _impl_._has_bits_[0] &= ~0x00000008u;
1140inline uint32_t InterProcessPortalConfig::_internal_hold_release_timeout_seconds()
const {
1141 return _impl_.hold_release_timeout_seconds_;
1143inline uint32_t InterProcessPortalConfig::hold_release_timeout_seconds()
const {
1145 return _internal_hold_release_timeout_seconds();
1147inline void InterProcessPortalConfig::_internal_set_hold_release_timeout_seconds(uint32_t value) {
1148 _impl_._has_bits_[0] |= 0x00000008u;
1149 _impl_.hold_release_timeout_seconds_ = value;
1151inline void InterProcessPortalConfig::set_hold_release_timeout_seconds(uint32_t value) {
1152 _internal_set_hold_release_timeout_seconds(value);
1157inline bool InterProcessPortalConfig::_internal_has_client_name()
const {
1158 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1161inline bool InterProcessPortalConfig::has_client_name()
const {
1162 return _internal_has_client_name();
1164inline void InterProcessPortalConfig::clear_client_name() {
1165 _impl_.client_name_.ClearToEmpty();
1166 _impl_._has_bits_[0] &= ~0x00000004u;
1168inline const std::string& InterProcessPortalConfig::client_name()
const {
1170 return _internal_client_name();
1172template <
typename ArgT0,
typename... ArgT>
1173inline PROTOBUF_ALWAYS_INLINE
1174void InterProcessPortalConfig::set_client_name(ArgT0&& arg0, ArgT... args) {
1175 _impl_._has_bits_[0] |= 0x00000004u;
1176 _impl_.client_name_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1179inline std::string* InterProcessPortalConfig::mutable_client_name() {
1180 std::string* _s = _internal_mutable_client_name();
1184inline const std::string& InterProcessPortalConfig::_internal_client_name()
const {
1185 return _impl_.client_name_.Get();
1187inline void InterProcessPortalConfig::_internal_set_client_name(
const std::string& value) {
1188 _impl_._has_bits_[0] |= 0x00000004u;
1189 _impl_.client_name_.Set(value, GetArenaForAllocation());
1191inline std::string* InterProcessPortalConfig::_internal_mutable_client_name() {
1192 _impl_._has_bits_[0] |= 0x00000004u;
1193 return _impl_.client_name_.Mutable(GetArenaForAllocation());
1195inline std::string* InterProcessPortalConfig::release_client_name() {
1197 if (!_internal_has_client_name()) {
1200 _impl_._has_bits_[0] &= ~0x00000004u;
1201 auto* p = _impl_.client_name_.Release();
1202#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1203 if (_impl_.client_name_.IsDefault()) {
1204 _impl_.client_name_.Set(
"", GetArenaForAllocation());
1209inline void InterProcessPortalConfig::set_allocated_client_name(std::string* client_name) {
1210 if (client_name !=
nullptr) {
1211 _impl_._has_bits_[0] |= 0x00000004u;
1213 _impl_._has_bits_[0] &= ~0x00000004u;
1215 _impl_.client_name_.SetAllocated(client_name, GetArenaForAllocation());
1216#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1217 if (_impl_.client_name_.IsDefault()) {
1218 _impl_.client_name_.Set(
"", GetArenaForAllocation());
1224inline bool InterProcessPortalConfig::has_ip()
const {
1225 return ip_case() != IP_NOT_SET;
1227inline void InterProcessPortalConfig::clear_has_ip() {
1228 _impl_._oneof_case_[0] = IP_NOT_SET;
1238inline int InterProcessManagerHold::_internal_required_client_size()
const {
1239 return _impl_.required_client_.size();
1241inline int InterProcessManagerHold::required_client_size()
const {
1242 return _internal_required_client_size();
1244inline void InterProcessManagerHold::clear_required_client() {
1245 _impl_.required_client_.Clear();
1247inline std::string* InterProcessManagerHold::add_required_client() {
1248 std::string* _s = _internal_add_required_client();
1252inline const std::string& InterProcessManagerHold::_internal_required_client(
int index)
const {
1253 return _impl_.required_client_.Get(index);
1255inline const std::string& InterProcessManagerHold::required_client(
int index)
const {
1257 return _internal_required_client(index);
1259inline std::string* InterProcessManagerHold::mutable_required_client(
int index) {
1261 return _impl_.required_client_.Mutable(index);
1263inline void InterProcessManagerHold::set_required_client(
int index,
const std::string& value) {
1264 _impl_.required_client_.Mutable(index)->assign(value);
1267inline void InterProcessManagerHold::set_required_client(
int index, std::string&& value) {
1268 _impl_.required_client_.Mutable(index)->assign(std::move(value));
1271inline void InterProcessManagerHold::set_required_client(
int index,
const char* value) {
1272 GOOGLE_DCHECK(value !=
nullptr);
1273 _impl_.required_client_.Mutable(index)->assign(value);
1276inline void InterProcessManagerHold::set_required_client(
int index,
const char* value,
size_t size) {
1277 _impl_.required_client_.Mutable(index)->assign(
1278 reinterpret_cast<const char*
>(value), size);
1281inline std::string* InterProcessManagerHold::_internal_add_required_client() {
1282 return _impl_.required_client_.Add();
1284inline void InterProcessManagerHold::add_required_client(
const std::string& value) {
1285 _impl_.required_client_.Add()->assign(value);
1288inline void InterProcessManagerHold::add_required_client(std::string&& value) {
1289 _impl_.required_client_.Add(std::move(value));
1292inline void InterProcessManagerHold::add_required_client(
const char* value) {
1293 GOOGLE_DCHECK(value !=
nullptr);
1294 _impl_.required_client_.Add()->assign(value);
1297inline void InterProcessManagerHold::add_required_client(
const char* value,
size_t size) {
1298 _impl_.required_client_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1301inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1302InterProcessManagerHold::required_client()
const {
1304 return _impl_.required_client_;
1306inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1307InterProcessManagerHold::mutable_required_client() {
1309 return &_impl_.required_client_;
1313 #pragma GCC diagnostic pop
1324PROTOBUF_NAMESPACE_OPEN
1329 return ::goby::zeromq::protobuf::InterProcessPortalConfig_Transport_descriptor();
1332PROTOBUF_NAMESPACE_CLOSE
1336#include <google/protobuf/port_undef.inc>
friend void swap(InterProcessManagerHold &a, InterProcessManagerHold &b)
InterProcessManagerHold & operator=(InterProcessManagerHold &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void Swap(InterProcessManagerHold *other)
InterProcessManagerHold()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
InterProcessManagerHold(const InterProcessManagerHold &from)
void UnsafeArenaSwap(InterProcessManagerHold *other)
InterProcessManagerHold * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
InterProcessManagerHold & operator=(const InterProcessManagerHold &from)
static const InterProcessManagerHold & default_instance()
PROTOBUF_CONSTEXPR InterProcessManagerHold(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
~InterProcessManagerHold() override
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void MergeFrom(const InterProcessManagerHold &from)
void CopyFrom(const InterProcessManagerHold &from)
static const InterProcessManagerHold * internal_default_instance()
InterProcessManagerHold(InterProcessManagerHold &&from) noexcept
InterProcessManagerHold(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_client_name(ArgT0 &&arg0, ArgT... args)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void clear_ipv4_address()
static bool Transport_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Transport *value)
void clear_receive_queue_size()
void set_allocated_ipv4_address(std::string *ipv4_address)
void set_allocated_platform(std::string *platform)
InterProcessPortalConfig(const InterProcessPortalConfig &from)
void clear_send_queue_size()
static constexpr Transport Transport_MAX
InterProcessPortalConfig(InterProcessPortalConfig &&from) noexcept
void set_transport(::goby::zeromq::protobuf::InterProcessPortalConfig_Transport value)
void clear_hold_release_timeout_seconds()
bool has_receive_queue_size() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
int GetCachedSize() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_ipv4_address(ArgT0 &&arg0, ArgT... args)
static const ClassData _class_data_
std::string * mutable_ipv4_address()
friend void swap(InterProcessPortalConfig &a, InterProcessPortalConfig &b)
PROTOBUF_NODISCARD std::string * release_ipv4_address()
const std::string & ipv4_address() const
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void clear_manager_timeout_seconds()
void set_platform(ArgT0 &&arg0, ArgT... args)
InterProcessPortalConfig()
void set_send_queue_size(uint32_t value)
bool IsInitialized() const final
InterProcessPortalConfig & operator=(InterProcessPortalConfig &&from) noexcept
static const std::string & Transport_Name(T enum_t_value)
PROTOBUF_NODISCARD std::string * release_socket_name()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
uint32_t send_queue_size() const
InterProcessPortalConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
uint32_t receive_queue_size() const
bool has_zeromq_number_io_threads() const
void UnsafeArenaSwap(InterProcessPortalConfig *other)
static const InterProcessPortalConfig * internal_default_instance()
void set_socket_name(ArgT0 &&arg0, ArgT... args)
bool has_hold_release_timeout_seconds() const
uint32_t manager_timeout_seconds() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
bool has_client_name() const
static bool Transport_IsValid(int value)
static constexpr int kIndexInFileMessages
InterProcessPortalConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static constexpr Transport IPC
static constexpr Transport TCP
const std::string & platform() const
PROTOBUF_CONSTEXPR InterProcessPortalConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void Swap(InterProcessPortalConfig *other)
bool has_tcp_port() const
std::string * mutable_client_name()
bool has_platform() const
std::string * mutable_socket_name()
static const InterProcessPortalConfig & default_instance()
~InterProcessPortalConfig() override
void set_zeromq_number_io_threads(uint32_t value)
bool has_transport() const
uint32_t hold_release_timeout_seconds() const
::goby::zeromq::protobuf::InterProcessPortalConfig_Transport transport() const
@ kManagerTimeoutSecondsFieldNumber
@ kZeromqNumberIoThreadsFieldNumber
@ kIpv4AddressFieldNumber
@ kSendQueueSizeFieldNumber
@ kHoldReleaseTimeoutSecondsFieldNumber
@ kReceiveQueueSizeFieldNumber
const std::string & socket_name() const
void CopyFrom(const InterProcessPortalConfig &from)
std::string * mutable_ip_address()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
bool has_socket_name() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_ip_address(ArgT0 &&arg0, ArgT... args)
void MergeFrom(const InterProcessPortalConfig &from)
static constexpr int Transport_ARRAYSIZE
const std::string & ip_address() const
const std::string & client_name() const
void set_allocated_socket_name(std::string *socket_name)
static constexpr Transport Transport_MIN
bool has_ipv4_address() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
bool has_manager_timeout_seconds() const
void set_hold_release_timeout_seconds(uint32_t value)
bool has_ip_address() const
void set_tcp_port(uint32_t value)
void set_allocated_ip_address(std::string *ip_address)
bool has_send_queue_size() const
InterProcessPortalConfig & operator=(const InterProcessPortalConfig &from)
uint32_t zeromq_number_io_threads() const
std::string * mutable_platform()
PROTOBUF_NODISCARD std::string * release_client_name()
void clear_zeromq_number_io_threads()
PROTOBUF_NODISCARD std::string * release_ip_address()
PROTOBUF_NODISCARD std::string * release_platform()
void set_manager_timeout_seconds(uint32_t value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Transport_descriptor()
void set_allocated_client_name(std::string *client_name)
size_t ByteSizeLong() const final
uint32_t tcp_port() const
void set_receive_queue_size(uint32_t value)
bool InterProcessPortalConfig_Transport_IsValid(int value)
InterProcessPortalConfig_Transport
@ InterProcessPortalConfig_Transport_IPC
@ InterProcessPortalConfig_Transport_TCP
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
constexpr int InterProcessPortalConfig_Transport_Transport_ARRAYSIZE
constexpr InterProcessPortalConfig_Transport InterProcessPortalConfig_Transport_Transport_MIN
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * InterProcessPortalConfig_Transport_descriptor()
InterProcessManagerHoldDefaultTypeInternal _InterProcessManagerHold_default_instance_
const std::string & InterProcessPortalConfig_Transport_Name(T enum_t_value)
constexpr InterProcessPortalConfig_Transport InterProcessPortalConfig_Transport_Transport_MAX
bool InterProcessPortalConfig_Transport_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, InterProcessPortalConfig_Transport *value)
The global namespace for the Goby project.
static const uint32_t offsets[]
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ip_address_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ipv4_address_
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_
const EnumDescriptor * GetEnumDescriptor< ::goby::zeromq::protobuf::InterProcessPortalConfig_Transport >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2finterprocess_5fconfig_2eproto