4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_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_5fzeromq_2eproto
42PROTOBUF_NAMESPACE_OPEN
46PROTOBUF_NAMESPACE_CLOSE
57struct InprocControlDefaultTypeInternal;
60struct ManagerRequestDefaultTypeInternal;
63struct ManagerResponseDefaultTypeInternal;
66struct SocketDefaultTypeInternal;
71PROTOBUF_NAMESPACE_OPEN
76PROTOBUF_NAMESPACE_CLOSE
95 static_assert(::std::is_same<T, Socket_SocketType>::value ||
96 ::std::is_integral<T>::value,
97 "Incorrect type passed to function Socket_SocketType_Name.");
98 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
103 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Socket_SocketType>(
121 static_assert(::std::is_same<T, Socket_Transport>::value ||
122 ::std::is_integral<T>::value,
123 "Incorrect type passed to function Socket_Transport_Name.");
124 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
129 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Socket_Transport>(
144 static_assert(::std::is_same<T, Socket_ConnectOrBind>::value ||
145 ::std::is_integral<T>::value,
146 "Incorrect type passed to function Socket_ConnectOrBind_Name.");
147 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
152 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Socket_ConnectOrBind>(
174 static_assert(::std::is_same<T, InprocControl_InprocControlType>::value ||
175 ::std::is_integral<T>::value,
176 "Incorrect type passed to function InprocControl_InprocControlType_Name.");
177 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
182 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<InprocControl_InprocControlType>(
197 static_assert(::std::is_same<T, Request>::value ||
198 ::std::is_integral<T>::value,
199 "Incorrect type passed to function Request_Name.");
200 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
204 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
Request* value) {
205 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Request>(
211 public ::PROTOBUF_NAMESPACE_ID::Message {
215 explicit PROTOBUF_CONSTEXPR
ManagerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
220 *
this = ::std::move(from);
228 if (
this == &from)
return *
this;
229 if (GetOwningArena() == from.GetOwningArena()
230 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
231 && GetOwningArena() !=
nullptr
242 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
245 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
248 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
271 if (other ==
this)
return;
272 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
273 if (GetOwningArena() !=
nullptr &&
274 GetOwningArena() == other->GetOwningArena()) {
276 if (GetOwningArena() == other->GetOwningArena()) {
280 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
284 if (other ==
this)
return;
285 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
292 return CreateMaybeMessage<ManagerRequest>(arena);
294 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
296 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
298 ManagerRequest::MergeImpl(*
this, from);
301 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
303 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
309 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
313 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
315 void SetCachedSize(
int size)
const final;
319 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
320 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
321 return "goby.zeromq.protobuf.ManagerRequest";
325 bool is_message_owned =
false);
329 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
346 bool _internal_has_client_name()
const;
350 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
356 const std::string& _internal_client_name()
const;
357 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_client_name(
const std::string& value);
358 std::string* _internal_mutable_client_name();
364 bool _internal_has_client_pid()
const;
370 int32_t _internal_client_pid()
const;
371 void _internal_set_client_pid(int32_t value);
377 bool _internal_has_ready()
const;
383 bool _internal_ready()
const;
384 void _internal_set_ready(
bool value);
390 bool _internal_has_request()
const;
405 size_t RequiredFieldsByteSizeFallback()
const;
407 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
408 typedef void InternalArenaConstructable_;
409 typedef void DestructorSkippable_;
411 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
412 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
413 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_name_;
419 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto;
424 public ::PROTOBUF_NAMESPACE_ID::Message {
428 explicit PROTOBUF_CONSTEXPR
Socket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
433 *
this = ::std::move(from);
441 if (
this == &from)
return *
this;
442 if (GetOwningArena() == from.GetOwningArena()
443 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
444 && GetOwningArena() !=
nullptr
455 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
458 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
461 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
462 return GetDescriptor();
465 return default_instance().GetMetadata().descriptor;
468 return default_instance().GetMetadata().reflection;
471 return *internal_default_instance();
474 return reinterpret_cast<const Socket*
>(
477 static constexpr int kIndexInFileMessages =
484 if (other ==
this)
return;
485 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
486 if (GetOwningArena() !=
nullptr &&
487 GetOwningArena() == other->GetOwningArena()) {
489 if (GetOwningArena() == other->GetOwningArena()) {
493 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
497 if (other ==
this)
return;
498 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
504 Socket*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
505 return CreateMaybeMessage<Socket>(arena);
507 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
509 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
511 Socket::MergeImpl(*
this, from);
514 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
516 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
517 bool IsInitialized() const final;
520 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
521 uint8_t* _InternalSerialize(
522 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
523 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
526 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
528 void SetCachedSize(
int size)
const final;
529 void InternalSwap(
Socket* other);
532 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
533 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
534 return "goby.zeromq.protobuf.Socket";
537 explicit Socket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
538 bool is_message_owned =
false);
542 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
544 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
550 Socket_SocketType_PUBLISH;
552 Socket_SocketType_SUBSCRIBE;
554 Socket_SocketType_REPLY;
556 Socket_SocketType_REQUEST;
557 static inline
bool SocketType_IsValid(
int value) {
564 static constexpr int SocketType_ARRAYSIZE =
566 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
572 static_assert(::std::is_same<T, SocketType>::value ||
573 ::std::is_integral<T>::value,
574 "Incorrect type passed to function SocketType_Name.");
600 static constexpr int Transport_ARRAYSIZE =
602 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
608 static_assert(::std::is_same<T, Transport>::value ||
609 ::std::is_integral<T>::value,
610 "Incorrect type passed to function Transport_Name.");
630 static constexpr int ConnectOrBind_ARRAYSIZE =
632 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
638 static_assert(::std::is_same<T, ConnectOrBind>::value ||
639 ::std::is_integral<T>::value,
640 "Incorrect type passed to function ConnectOrBind_Name.");
651 kEthernetAddressFieldNumber = 5,
652 kMulticastAddressFieldNumber = 6,
653 kSocketNameFieldNumber = 8,
654 kSocketIdFieldNumber = 2,
655 kSocketTypeFieldNumber = 1,
656 kTransportFieldNumber = 3,
657 kConnectOrBindFieldNumber = 4,
658 kEthernetPortFieldNumber = 7,
659 kSendQueueSizeFieldNumber = 10,
660 kReceiveQueueSizeFieldNumber = 11,
663 bool has_ethernet_address()
const;
665 bool _internal_has_ethernet_address()
const;
667 void clear_ethernet_address();
668 const std::string& ethernet_address()
const;
669 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
671 std::string* mutable_ethernet_address();
672 PROTOBUF_NODISCARD std::string* release_ethernet_address();
673 void set_allocated_ethernet_address(std::string* ethernet_address);
675 const std::string& _internal_ethernet_address()
const;
676 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_ethernet_address(
const std::string& value);
677 std::string* _internal_mutable_ethernet_address();
681 bool has_multicast_address()
const;
683 bool _internal_has_multicast_address()
const;
685 void clear_multicast_address();
686 const std::string& multicast_address()
const;
687 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
689 std::string* mutable_multicast_address();
690 PROTOBUF_NODISCARD std::string* release_multicast_address();
691 void set_allocated_multicast_address(std::string* multicast_address);
693 const std::string& _internal_multicast_address()
const;
694 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_multicast_address(
const std::string& value);
695 std::string* _internal_mutable_multicast_address();
699 bool has_socket_name()
const;
701 bool _internal_has_socket_name()
const;
703 void clear_socket_name();
704 const std::string& socket_name()
const;
705 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
707 std::string* mutable_socket_name();
708 PROTOBUF_NODISCARD std::string* release_socket_name();
709 void set_allocated_socket_name(std::string* socket_name);
711 const std::string& _internal_socket_name()
const;
712 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_socket_name(
const std::string& value);
713 std::string* _internal_mutable_socket_name();
717 bool has_socket_id()
const;
719 bool _internal_has_socket_id()
const;
721 void clear_socket_id();
722 uint32_t socket_id()
const;
723 void set_socket_id(uint32_t value);
725 uint32_t _internal_socket_id()
const;
726 void _internal_set_socket_id(uint32_t value);
730 bool has_socket_type()
const;
732 bool _internal_has_socket_type()
const;
734 void clear_socket_type();
743 bool has_transport()
const;
745 bool _internal_has_transport()
const;
747 void clear_transport();
756 bool has_connect_or_bind()
const;
758 bool _internal_has_connect_or_bind()
const;
760 void clear_connect_or_bind();
769 bool has_ethernet_port()
const;
771 bool _internal_has_ethernet_port()
const;
773 void clear_ethernet_port();
774 uint32_t ethernet_port()
const;
775 void set_ethernet_port(uint32_t value);
777 uint32_t _internal_ethernet_port()
const;
778 void _internal_set_ethernet_port(uint32_t value);
782 bool has_send_queue_size()
const;
784 bool _internal_has_send_queue_size()
const;
786 void clear_send_queue_size();
787 uint32_t send_queue_size()
const;
788 void set_send_queue_size(uint32_t value);
790 uint32_t _internal_send_queue_size()
const;
791 void _internal_set_send_queue_size(uint32_t value);
795 bool has_receive_queue_size()
const;
797 bool _internal_has_receive_queue_size()
const;
799 void clear_receive_queue_size();
800 uint32_t receive_queue_size()
const;
801 void set_receive_queue_size(uint32_t value);
803 uint32_t _internal_receive_queue_size()
const;
804 void _internal_set_receive_queue_size(uint32_t value);
811 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
812 typedef void InternalArenaConstructable_;
813 typedef void DestructorSkippable_;
815 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
816 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
817 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_ethernet_address_;
818 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ethernet_address_;
819 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_multicast_address_;
820 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr multicast_address_;
821 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr socket_name_;
825 int connect_or_bind_;
826 uint32_t ethernet_port_;
827 uint32_t send_queue_size_;
828 uint32_t receive_queue_size_;
831 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto;
836 public ::PROTOBUF_NAMESPACE_ID::Message {
840 explicit PROTOBUF_CONSTEXPR
ManagerResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
845 *
this = ::std::move(from);
853 if (
this == &from)
return *
this;
854 if (GetOwningArena() == from.GetOwningArena()
855 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
856 && GetOwningArena() !=
nullptr
867 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
870 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
873 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
874 return GetDescriptor();
877 return default_instance().GetMetadata().descriptor;
880 return default_instance().GetMetadata().reflection;
883 return *internal_default_instance();
889 static constexpr int kIndexInFileMessages =
896 if (other ==
this)
return;
897 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
898 if (GetOwningArena() !=
nullptr &&
899 GetOwningArena() == other->GetOwningArena()) {
901 if (GetOwningArena() == other->GetOwningArena()) {
905 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
909 if (other ==
this)
return;
910 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
917 return CreateMaybeMessage<ManagerResponse>(arena);
919 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
921 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
923 ManagerResponse::MergeImpl(*
this, from);
926 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
928 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
929 bool IsInitialized() const final;
932 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
933 uint8_t* _InternalSerialize(
934 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
935 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
938 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
940 void SetCachedSize(
int size)
const final;
944 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
945 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
946 return "goby.zeromq.protobuf.ManagerResponse";
950 bool is_message_owned =
false);
954 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
956 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
963 kRequiredClientFieldNumber = 7,
964 kClientNameFieldNumber = 2,
965 kPublishSocketFieldNumber = 4,
966 kSubscribeSocketFieldNumber = 5,
967 kClientPidFieldNumber = 3,
968 kRequestFieldNumber = 1,
969 kHoldFieldNumber = 6,
972 int required_client_size()
const;
974 int _internal_required_client_size()
const;
976 void clear_required_client();
977 const std::string& required_client(
int index)
const;
978 std::string* mutable_required_client(
int index);
979 void set_required_client(
int index,
const std::string& value);
980 void set_required_client(
int index, std::string&& value);
981 void set_required_client(
int index,
const char* value);
982 void set_required_client(
int index,
const char* value,
size_t size);
983 std::string* add_required_client();
984 void add_required_client(
const std::string& value);
985 void add_required_client(std::string&& value);
986 void add_required_client(
const char* value);
987 void add_required_client(
const char* value,
size_t size);
988 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& required_client()
const;
989 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_required_client();
991 const std::string& _internal_required_client(
int index)
const;
992 std::string* _internal_add_required_client();
996 bool has_client_name()
const;
998 bool _internal_has_client_name()
const;
1000 void clear_client_name();
1001 const std::string& client_name()
const;
1002 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1004 std::string* mutable_client_name();
1005 PROTOBUF_NODISCARD std::string* release_client_name();
1006 void set_allocated_client_name(std::string* client_name);
1008 const std::string& _internal_client_name()
const;
1009 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_client_name(
const std::string& value);
1010 std::string* _internal_mutable_client_name();
1014 bool has_publish_socket()
const;
1016 bool _internal_has_publish_socket()
const;
1018 void clear_publish_socket();
1019 const ::goby::zeromq::protobuf::Socket& publish_socket()
const;
1020 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::Socket* release_publish_socket();
1024 const ::goby::zeromq::protobuf::Socket& _internal_publish_socket()
const;
1027 void unsafe_arena_set_allocated_publish_socket(
1032 bool has_subscribe_socket()
const;
1034 bool _internal_has_subscribe_socket()
const;
1036 void clear_subscribe_socket();
1037 const ::goby::zeromq::protobuf::Socket& subscribe_socket()
const;
1038 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::Socket* release_subscribe_socket();
1042 const ::goby::zeromq::protobuf::Socket& _internal_subscribe_socket()
const;
1045 void unsafe_arena_set_allocated_subscribe_socket(
1050 bool has_client_pid()
const;
1052 bool _internal_has_client_pid()
const;
1054 void clear_client_pid();
1055 int32_t client_pid()
const;
1056 void set_client_pid(int32_t value);
1058 int32_t _internal_client_pid()
const;
1059 void _internal_set_client_pid(int32_t value);
1063 bool has_request()
const;
1065 bool _internal_has_request()
const;
1067 void clear_request();
1076 bool has_hold()
const;
1078 bool _internal_has_hold()
const;
1082 void set_hold(
bool value);
1084 bool _internal_hold()
const;
1085 void _internal_set_hold(
bool value);
1093 size_t RequiredFieldsByteSizeFallback()
const;
1095 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1096 typedef void InternalArenaConstructable_;
1097 typedef void DestructorSkippable_;
1099 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1100 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1101 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> required_client_;
1102 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_name_;
1105 int32_t client_pid_;
1110 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto;
1115 public ::PROTOBUF_NAMESPACE_ID::Message {
1119 explicit PROTOBUF_CONSTEXPR
InprocControl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1124 *
this = ::std::move(from);
1132 if (
this == &from)
return *
this;
1133 if (GetOwningArena() == from.GetOwningArena()
1134 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1135 && GetOwningArena() !=
nullptr
1138 InternalSwap(&from);
1146 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1149 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1153 return GetDescriptor();
1156 return default_instance().GetMetadata().descriptor;
1159 return default_instance().GetMetadata().reflection;
1162 return *internal_default_instance();
1168 static constexpr int kIndexInFileMessages =
1175 if (other ==
this)
return;
1176 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1177 if (GetOwningArena() !=
nullptr &&
1178 GetOwningArena() == other->GetOwningArena()) {
1180 if (GetOwningArena() == other->GetOwningArena()) {
1182 InternalSwap(other);
1184 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1188 if (other ==
this)
return;
1189 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1190 InternalSwap(other);
1196 return CreateMaybeMessage<InprocControl>(arena);
1198 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1200 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1202 InprocControl::MergeImpl(*
this, from);
1205 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1207 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1208 bool IsInitialized() const final;
1211 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1212 uint8_t* _InternalSerialize(
1213 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1214 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
1217 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
1219 void SetCachedSize(
int size)
const final;
1223 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1224 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1225 return "goby.zeromq.protobuf.InprocControl";
1229 bool is_message_owned =
false);
1233 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
1235 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1241 InprocControl_InprocControlType_PUB_CONFIGURATION;
1243 InprocControl_InprocControlType_SUBSCRIBE;
1245 InprocControl_InprocControlType_SUBSCRIBE_ACK;
1247 InprocControl_InprocControlType_UNSUBSCRIBE;
1249 InprocControl_InprocControlType_UNSUBSCRIBE_ACK;
1251 InprocControl_InprocControlType_RECEIVE;
1253 InprocControl_InprocControlType_SHUTDOWN;
1255 InprocControl_InprocControlType_REQUEST_HOLD_STATE;
1257 InprocControl_InprocControlType_NOTIFY_HOLD_STATE;
1258 static inline
bool InprocControlType_IsValid(
int value) {
1265 static constexpr int InprocControlType_ARRAYSIZE =
1267 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1271 template<
typename T>
1273 static_assert(::std::is_same<T, InprocControlType>::value ||
1274 ::std::is_integral<T>::value,
1275 "Incorrect type passed to function InprocControlType_Name.");
1286 kSubscriptionIdentifierFieldNumber = 3,
1287 kReceivedDataFieldNumber = 4,
1288 kPublishSocketFieldNumber = 2,
1289 kHoldFieldNumber = 10,
1290 kTypeFieldNumber = 1,
1293 bool has_subscription_identifier()
const;
1295 bool _internal_has_subscription_identifier()
const;
1297 void clear_subscription_identifier();
1298 const std::string& subscription_identifier()
const;
1299 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1301 std::string* mutable_subscription_identifier();
1302 PROTOBUF_NODISCARD std::string* release_subscription_identifier();
1303 void set_allocated_subscription_identifier(std::string* subscription_identifier);
1305 const std::string& _internal_subscription_identifier()
const;
1306 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_subscription_identifier(
const std::string& value);
1307 std::string* _internal_mutable_subscription_identifier();
1311 bool has_received_data()
const;
1313 bool _internal_has_received_data()
const;
1315 void clear_received_data();
1316 const std::string& received_data()
const;
1317 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1319 std::string* mutable_received_data();
1320 PROTOBUF_NODISCARD std::string* release_received_data();
1321 void set_allocated_received_data(std::string* received_data);
1323 const std::string& _internal_received_data()
const;
1324 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_received_data(
const std::string& value);
1325 std::string* _internal_mutable_received_data();
1329 bool has_publish_socket()
const;
1331 bool _internal_has_publish_socket()
const;
1333 void clear_publish_socket();
1334 const ::goby::zeromq::protobuf::Socket& publish_socket()
const;
1335 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::Socket* release_publish_socket();
1339 const ::goby::zeromq::protobuf::Socket& _internal_publish_socket()
const;
1342 void unsafe_arena_set_allocated_publish_socket(
1347 bool has_hold()
const;
1349 bool _internal_has_hold()
const;
1353 void set_hold(
bool value);
1355 bool _internal_hold()
const;
1356 void _internal_set_hold(
bool value);
1360 bool has_type()
const;
1362 bool _internal_has_type()
const;
1376 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1377 typedef void InternalArenaConstructable_;
1378 typedef void DestructorSkippable_;
1380 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1381 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1382 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr subscription_identifier_;
1383 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr received_data_;
1389 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto;
1397 #pragma GCC diagnostic push
1398 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1403inline bool ManagerRequest::_internal_has_request()
const {
1404 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1407inline bool ManagerRequest::has_request()
const {
1408 return _internal_has_request();
1410inline void ManagerRequest::clear_request() {
1411 _impl_.request_ = 1;
1412 _impl_._has_bits_[0] &= ~0x00000008u;
1414inline ::goby::zeromq::protobuf::Request ManagerRequest::_internal_request()
const {
1417inline ::goby::zeromq::protobuf::Request ManagerRequest::request()
const {
1419 return _internal_request();
1423 _impl_._has_bits_[0] |= 0x00000008u;
1424 _impl_.request_ = value;
1427 _internal_set_request(value);
1432inline bool ManagerRequest::_internal_has_client_name()
const {
1433 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1436inline bool ManagerRequest::has_client_name()
const {
1437 return _internal_has_client_name();
1439inline void ManagerRequest::clear_client_name() {
1440 _impl_.client_name_.ClearToEmpty();
1441 _impl_._has_bits_[0] &= ~0x00000001u;
1443inline const std::string& ManagerRequest::client_name()
const {
1445 return _internal_client_name();
1447template <
typename ArgT0,
typename... ArgT>
1448inline PROTOBUF_ALWAYS_INLINE
1449void ManagerRequest::set_client_name(ArgT0&& arg0, ArgT... args) {
1450 _impl_._has_bits_[0] |= 0x00000001u;
1451 _impl_.client_name_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1454inline std::string* ManagerRequest::mutable_client_name() {
1455 std::string* _s = _internal_mutable_client_name();
1459inline const std::string& ManagerRequest::_internal_client_name()
const {
1460 return _impl_.client_name_.Get();
1462inline void ManagerRequest::_internal_set_client_name(
const std::string& value) {
1463 _impl_._has_bits_[0] |= 0x00000001u;
1464 _impl_.client_name_.Set(value, GetArenaForAllocation());
1466inline std::string* ManagerRequest::_internal_mutable_client_name() {
1467 _impl_._has_bits_[0] |= 0x00000001u;
1468 return _impl_.client_name_.Mutable(GetArenaForAllocation());
1470inline std::string* ManagerRequest::release_client_name() {
1472 if (!_internal_has_client_name()) {
1475 _impl_._has_bits_[0] &= ~0x00000001u;
1476 auto* p = _impl_.client_name_.Release();
1477#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1478 if (_impl_.client_name_.IsDefault()) {
1479 _impl_.client_name_.Set(
"", GetArenaForAllocation());
1484inline void ManagerRequest::set_allocated_client_name(std::string* client_name) {
1485 if (client_name !=
nullptr) {
1486 _impl_._has_bits_[0] |= 0x00000001u;
1488 _impl_._has_bits_[0] &= ~0x00000001u;
1490 _impl_.client_name_.SetAllocated(client_name, GetArenaForAllocation());
1491#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1492 if (_impl_.client_name_.IsDefault()) {
1493 _impl_.client_name_.Set(
"", GetArenaForAllocation());
1500inline bool ManagerRequest::_internal_has_client_pid()
const {
1501 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1504inline bool ManagerRequest::has_client_pid()
const {
1505 return _internal_has_client_pid();
1507inline void ManagerRequest::clear_client_pid() {
1508 _impl_.client_pid_ = 0;
1509 _impl_._has_bits_[0] &= ~0x00000002u;
1511inline int32_t ManagerRequest::_internal_client_pid()
const {
1512 return _impl_.client_pid_;
1514inline int32_t ManagerRequest::client_pid()
const {
1516 return _internal_client_pid();
1518inline void ManagerRequest::_internal_set_client_pid(int32_t value) {
1519 _impl_._has_bits_[0] |= 0x00000002u;
1520 _impl_.client_pid_ = value;
1522inline void ManagerRequest::set_client_pid(int32_t value) {
1523 _internal_set_client_pid(value);
1528inline bool ManagerRequest::_internal_has_ready()
const {
1529 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1532inline bool ManagerRequest::has_ready()
const {
1533 return _internal_has_ready();
1535inline void ManagerRequest::clear_ready() {
1536 _impl_.ready_ =
false;
1537 _impl_._has_bits_[0] &= ~0x00000004u;
1539inline bool ManagerRequest::_internal_ready()
const {
1540 return _impl_.ready_;
1542inline bool ManagerRequest::ready()
const {
1544 return _internal_ready();
1546inline void ManagerRequest::_internal_set_ready(
bool value) {
1547 _impl_._has_bits_[0] |= 0x00000004u;
1548 _impl_.ready_ = value;
1550inline void ManagerRequest::set_ready(
bool value) {
1551 _internal_set_ready(value);
1560inline bool Socket::_internal_has_socket_type()
const {
1561 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1564inline bool Socket::has_socket_type()
const {
1565 return _internal_has_socket_type();
1567inline void Socket::clear_socket_type() {
1568 _impl_.socket_type_ = 1;
1569 _impl_._has_bits_[0] &= ~0x00000010u;
1571inline ::goby::zeromq::protobuf::Socket_SocketType Socket::_internal_socket_type()
const {
1574inline ::goby::zeromq::protobuf::Socket_SocketType Socket::socket_type()
const {
1576 return _internal_socket_type();
1580 _impl_._has_bits_[0] |= 0x00000010u;
1581 _impl_.socket_type_ = value;
1584 _internal_set_socket_type(value);
1589inline bool Socket::_internal_has_socket_id()
const {
1590 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1593inline bool Socket::has_socket_id()
const {
1594 return _internal_has_socket_id();
1596inline void Socket::clear_socket_id() {
1597 _impl_.socket_id_ = 0u;
1598 _impl_._has_bits_[0] &= ~0x00000008u;
1600inline uint32_t Socket::_internal_socket_id()
const {
1601 return _impl_.socket_id_;
1603inline uint32_t Socket::socket_id()
const {
1605 return _internal_socket_id();
1607inline void Socket::_internal_set_socket_id(uint32_t value) {
1608 _impl_._has_bits_[0] |= 0x00000008u;
1609 _impl_.socket_id_ = value;
1611inline void Socket::set_socket_id(uint32_t value) {
1612 _internal_set_socket_id(value);
1617inline bool Socket::_internal_has_transport()
const {
1618 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1621inline bool Socket::has_transport()
const {
1622 return _internal_has_transport();
1624inline void Socket::clear_transport() {
1625 _impl_.transport_ = 5;
1626 _impl_._has_bits_[0] &= ~0x00000020u;
1628inline ::goby::zeromq::protobuf::Socket_Transport Socket::_internal_transport()
const {
1631inline ::goby::zeromq::protobuf::Socket_Transport Socket::transport()
const {
1633 return _internal_transport();
1637 _impl_._has_bits_[0] |= 0x00000020u;
1638 _impl_.transport_ = value;
1641 _internal_set_transport(value);
1646inline bool Socket::_internal_has_connect_or_bind()
const {
1647 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1650inline bool Socket::has_connect_or_bind()
const {
1651 return _internal_has_connect_or_bind();
1653inline void Socket::clear_connect_or_bind() {
1654 _impl_.connect_or_bind_ = 1;
1655 _impl_._has_bits_[0] &= ~0x00000040u;
1657inline ::goby::zeromq::protobuf::Socket_ConnectOrBind Socket::_internal_connect_or_bind()
const {
1660inline ::goby::zeromq::protobuf::Socket_ConnectOrBind Socket::connect_or_bind()
const {
1662 return _internal_connect_or_bind();
1666 _impl_._has_bits_[0] |= 0x00000040u;
1667 _impl_.connect_or_bind_ = value;
1670 _internal_set_connect_or_bind(value);
1675inline bool Socket::_internal_has_ethernet_address()
const {
1676 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1679inline bool Socket::has_ethernet_address()
const {
1680 return _internal_has_ethernet_address();
1682inline void Socket::clear_ethernet_address() {
1683 _impl_.ethernet_address_.ClearToDefault(::goby::zeromq::protobuf::Socket::Impl_::_i_give_permission_to_break_this_code_default_ethernet_address_, GetArenaForAllocation());
1684 _impl_._has_bits_[0] &= ~0x00000001u;
1686inline const std::string& Socket::ethernet_address()
const {
1688 if (_impl_.ethernet_address_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_ethernet_address_.get();
1689 return _internal_ethernet_address();
1691template <
typename ArgT0,
typename... ArgT>
1692inline PROTOBUF_ALWAYS_INLINE
1693void Socket::set_ethernet_address(ArgT0&& arg0, ArgT... args) {
1694 _impl_._has_bits_[0] |= 0x00000001u;
1695 _impl_.ethernet_address_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1698inline std::string* Socket::mutable_ethernet_address() {
1699 std::string* _s = _internal_mutable_ethernet_address();
1703inline const std::string& Socket::_internal_ethernet_address()
const {
1704 return _impl_.ethernet_address_.Get();
1706inline void Socket::_internal_set_ethernet_address(
const std::string& value) {
1707 _impl_._has_bits_[0] |= 0x00000001u;
1708 _impl_.ethernet_address_.Set(value, GetArenaForAllocation());
1710inline std::string* Socket::_internal_mutable_ethernet_address() {
1711 _impl_._has_bits_[0] |= 0x00000001u;
1712 return _impl_.ethernet_address_.Mutable(::goby::zeromq::protobuf::Socket::Impl_::_i_give_permission_to_break_this_code_default_ethernet_address_, GetArenaForAllocation());
1714inline std::string* Socket::release_ethernet_address() {
1716 if (!_internal_has_ethernet_address()) {
1719 _impl_._has_bits_[0] &= ~0x00000001u;
1720 auto* p = _impl_.ethernet_address_.Release();
1723inline void Socket::set_allocated_ethernet_address(std::string* ethernet_address) {
1724 if (ethernet_address !=
nullptr) {
1725 _impl_._has_bits_[0] |= 0x00000001u;
1727 _impl_._has_bits_[0] &= ~0x00000001u;
1729 _impl_.ethernet_address_.SetAllocated(ethernet_address, GetArenaForAllocation());
1734inline bool Socket::_internal_has_multicast_address()
const {
1735 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1738inline bool Socket::has_multicast_address()
const {
1739 return _internal_has_multicast_address();
1741inline void Socket::clear_multicast_address() {
1742 _impl_.multicast_address_.ClearToDefault(::goby::zeromq::protobuf::Socket::Impl_::_i_give_permission_to_break_this_code_default_multicast_address_, GetArenaForAllocation());
1743 _impl_._has_bits_[0] &= ~0x00000002u;
1745inline const std::string& Socket::multicast_address()
const {
1747 if (_impl_.multicast_address_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_multicast_address_.get();
1748 return _internal_multicast_address();
1750template <
typename ArgT0,
typename... ArgT>
1751inline PROTOBUF_ALWAYS_INLINE
1752void Socket::set_multicast_address(ArgT0&& arg0, ArgT... args) {
1753 _impl_._has_bits_[0] |= 0x00000002u;
1754 _impl_.multicast_address_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1757inline std::string* Socket::mutable_multicast_address() {
1758 std::string* _s = _internal_mutable_multicast_address();
1762inline const std::string& Socket::_internal_multicast_address()
const {
1763 return _impl_.multicast_address_.Get();
1765inline void Socket::_internal_set_multicast_address(
const std::string& value) {
1766 _impl_._has_bits_[0] |= 0x00000002u;
1767 _impl_.multicast_address_.Set(value, GetArenaForAllocation());
1769inline std::string* Socket::_internal_mutable_multicast_address() {
1770 _impl_._has_bits_[0] |= 0x00000002u;
1771 return _impl_.multicast_address_.Mutable(::goby::zeromq::protobuf::Socket::Impl_::_i_give_permission_to_break_this_code_default_multicast_address_, GetArenaForAllocation());
1773inline std::string* Socket::release_multicast_address() {
1775 if (!_internal_has_multicast_address()) {
1778 _impl_._has_bits_[0] &= ~0x00000002u;
1779 auto* p = _impl_.multicast_address_.Release();
1782inline void Socket::set_allocated_multicast_address(std::string* multicast_address) {
1783 if (multicast_address !=
nullptr) {
1784 _impl_._has_bits_[0] |= 0x00000002u;
1786 _impl_._has_bits_[0] &= ~0x00000002u;
1788 _impl_.multicast_address_.SetAllocated(multicast_address, GetArenaForAllocation());
1793inline bool Socket::_internal_has_ethernet_port()
const {
1794 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1797inline bool Socket::has_ethernet_port()
const {
1798 return _internal_has_ethernet_port();
1800inline void Socket::clear_ethernet_port() {
1801 _impl_.ethernet_port_ = 11142u;
1802 _impl_._has_bits_[0] &= ~0x00000080u;
1804inline uint32_t Socket::_internal_ethernet_port()
const {
1805 return _impl_.ethernet_port_;
1807inline uint32_t Socket::ethernet_port()
const {
1809 return _internal_ethernet_port();
1811inline void Socket::_internal_set_ethernet_port(uint32_t value) {
1812 _impl_._has_bits_[0] |= 0x00000080u;
1813 _impl_.ethernet_port_ = value;
1815inline void Socket::set_ethernet_port(uint32_t value) {
1816 _internal_set_ethernet_port(value);
1821inline bool Socket::_internal_has_socket_name()
const {
1822 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1825inline bool Socket::has_socket_name()
const {
1826 return _internal_has_socket_name();
1828inline void Socket::clear_socket_name() {
1829 _impl_.socket_name_.ClearToEmpty();
1830 _impl_._has_bits_[0] &= ~0x00000004u;
1832inline const std::string& Socket::socket_name()
const {
1834 return _internal_socket_name();
1836template <
typename ArgT0,
typename... ArgT>
1837inline PROTOBUF_ALWAYS_INLINE
1838void Socket::set_socket_name(ArgT0&& arg0, ArgT... args) {
1839 _impl_._has_bits_[0] |= 0x00000004u;
1840 _impl_.socket_name_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1843inline std::string* Socket::mutable_socket_name() {
1844 std::string* _s = _internal_mutable_socket_name();
1848inline const std::string& Socket::_internal_socket_name()
const {
1849 return _impl_.socket_name_.Get();
1851inline void Socket::_internal_set_socket_name(
const std::string& value) {
1852 _impl_._has_bits_[0] |= 0x00000004u;
1853 _impl_.socket_name_.Set(value, GetArenaForAllocation());
1855inline std::string* Socket::_internal_mutable_socket_name() {
1856 _impl_._has_bits_[0] |= 0x00000004u;
1857 return _impl_.socket_name_.Mutable(GetArenaForAllocation());
1859inline std::string* Socket::release_socket_name() {
1861 if (!_internal_has_socket_name()) {
1864 _impl_._has_bits_[0] &= ~0x00000004u;
1865 auto* p = _impl_.socket_name_.Release();
1866#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1867 if (_impl_.socket_name_.IsDefault()) {
1868 _impl_.socket_name_.Set(
"", GetArenaForAllocation());
1873inline void Socket::set_allocated_socket_name(std::string* socket_name) {
1874 if (socket_name !=
nullptr) {
1875 _impl_._has_bits_[0] |= 0x00000004u;
1877 _impl_._has_bits_[0] &= ~0x00000004u;
1879 _impl_.socket_name_.SetAllocated(socket_name, GetArenaForAllocation());
1880#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1881 if (_impl_.socket_name_.IsDefault()) {
1882 _impl_.socket_name_.Set(
"", GetArenaForAllocation());
1889inline bool Socket::_internal_has_send_queue_size()
const {
1890 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1893inline bool Socket::has_send_queue_size()
const {
1894 return _internal_has_send_queue_size();
1896inline void Socket::clear_send_queue_size() {
1897 _impl_.send_queue_size_ = 1000u;
1898 _impl_._has_bits_[0] &= ~0x00000100u;
1900inline uint32_t Socket::_internal_send_queue_size()
const {
1901 return _impl_.send_queue_size_;
1903inline uint32_t Socket::send_queue_size()
const {
1905 return _internal_send_queue_size();
1907inline void Socket::_internal_set_send_queue_size(uint32_t value) {
1908 _impl_._has_bits_[0] |= 0x00000100u;
1909 _impl_.send_queue_size_ = value;
1911inline void Socket::set_send_queue_size(uint32_t value) {
1912 _internal_set_send_queue_size(value);
1917inline bool Socket::_internal_has_receive_queue_size()
const {
1918 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1921inline bool Socket::has_receive_queue_size()
const {
1922 return _internal_has_receive_queue_size();
1924inline void Socket::clear_receive_queue_size() {
1925 _impl_.receive_queue_size_ = 1000u;
1926 _impl_._has_bits_[0] &= ~0x00000200u;
1928inline uint32_t Socket::_internal_receive_queue_size()
const {
1929 return _impl_.receive_queue_size_;
1931inline uint32_t Socket::receive_queue_size()
const {
1933 return _internal_receive_queue_size();
1935inline void Socket::_internal_set_receive_queue_size(uint32_t value) {
1936 _impl_._has_bits_[0] |= 0x00000200u;
1937 _impl_.receive_queue_size_ = value;
1939inline void Socket::set_receive_queue_size(uint32_t value) {
1940 _internal_set_receive_queue_size(value);
1949inline bool ManagerResponse::_internal_has_request()
const {
1950 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1953inline bool ManagerResponse::has_request()
const {
1954 return _internal_has_request();
1956inline void ManagerResponse::clear_request() {
1957 _impl_.request_ = 1;
1958 _impl_._has_bits_[0] &= ~0x00000010u;
1960inline ::goby::zeromq::protobuf::Request ManagerResponse::_internal_request()
const {
1963inline ::goby::zeromq::protobuf::Request ManagerResponse::request()
const {
1965 return _internal_request();
1969 _impl_._has_bits_[0] |= 0x00000010u;
1970 _impl_.request_ = value;
1973 _internal_set_request(value);
1978inline bool ManagerResponse::_internal_has_client_name()
const {
1979 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1982inline bool ManagerResponse::has_client_name()
const {
1983 return _internal_has_client_name();
1985inline void ManagerResponse::clear_client_name() {
1986 _impl_.client_name_.ClearToEmpty();
1987 _impl_._has_bits_[0] &= ~0x00000001u;
1989inline const std::string& ManagerResponse::client_name()
const {
1991 return _internal_client_name();
1993template <
typename ArgT0,
typename... ArgT>
1994inline PROTOBUF_ALWAYS_INLINE
1995void ManagerResponse::set_client_name(ArgT0&& arg0, ArgT... args) {
1996 _impl_._has_bits_[0] |= 0x00000001u;
1997 _impl_.client_name_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2000inline std::string* ManagerResponse::mutable_client_name() {
2001 std::string* _s = _internal_mutable_client_name();
2005inline const std::string& ManagerResponse::_internal_client_name()
const {
2006 return _impl_.client_name_.Get();
2008inline void ManagerResponse::_internal_set_client_name(
const std::string& value) {
2009 _impl_._has_bits_[0] |= 0x00000001u;
2010 _impl_.client_name_.Set(value, GetArenaForAllocation());
2012inline std::string* ManagerResponse::_internal_mutable_client_name() {
2013 _impl_._has_bits_[0] |= 0x00000001u;
2014 return _impl_.client_name_.Mutable(GetArenaForAllocation());
2016inline std::string* ManagerResponse::release_client_name() {
2018 if (!_internal_has_client_name()) {
2021 _impl_._has_bits_[0] &= ~0x00000001u;
2022 auto* p = _impl_.client_name_.Release();
2023#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2024 if (_impl_.client_name_.IsDefault()) {
2025 _impl_.client_name_.Set(
"", GetArenaForAllocation());
2030inline void ManagerResponse::set_allocated_client_name(std::string* client_name) {
2031 if (client_name !=
nullptr) {
2032 _impl_._has_bits_[0] |= 0x00000001u;
2034 _impl_._has_bits_[0] &= ~0x00000001u;
2036 _impl_.client_name_.SetAllocated(client_name, GetArenaForAllocation());
2037#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2038 if (_impl_.client_name_.IsDefault()) {
2039 _impl_.client_name_.Set(
"", GetArenaForAllocation());
2046inline bool ManagerResponse::_internal_has_client_pid()
const {
2047 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2050inline bool ManagerResponse::has_client_pid()
const {
2051 return _internal_has_client_pid();
2053inline void ManagerResponse::clear_client_pid() {
2054 _impl_.client_pid_ = 0;
2055 _impl_._has_bits_[0] &= ~0x00000008u;
2057inline int32_t ManagerResponse::_internal_client_pid()
const {
2058 return _impl_.client_pid_;
2060inline int32_t ManagerResponse::client_pid()
const {
2062 return _internal_client_pid();
2064inline void ManagerResponse::_internal_set_client_pid(int32_t value) {
2065 _impl_._has_bits_[0] |= 0x00000008u;
2066 _impl_.client_pid_ = value;
2068inline void ManagerResponse::set_client_pid(int32_t value) {
2069 _internal_set_client_pid(value);
2074inline bool ManagerResponse::_internal_has_publish_socket()
const {
2075 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2076 PROTOBUF_ASSUME(!value || _impl_.publish_socket_ !=
nullptr);
2079inline bool ManagerResponse::has_publish_socket()
const {
2080 return _internal_has_publish_socket();
2082inline void ManagerResponse::clear_publish_socket() {
2083 if (_impl_.publish_socket_ !=
nullptr) _impl_.publish_socket_->Clear();
2084 _impl_._has_bits_[0] &= ~0x00000002u;
2086inline const ::goby::zeromq::protobuf::Socket& ManagerResponse::_internal_publish_socket()
const {
2087 const ::goby::zeromq::protobuf::Socket* p = _impl_.publish_socket_;
2091inline const ::goby::zeromq::protobuf::Socket& ManagerResponse::publish_socket()
const {
2093 return _internal_publish_socket();
2095inline void ManagerResponse::unsafe_arena_set_allocated_publish_socket(
2097 if (GetArenaForAllocation() ==
nullptr) {
2098 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.publish_socket_);
2100 _impl_.publish_socket_ = publish_socket;
2101 if (publish_socket) {
2102 _impl_._has_bits_[0] |= 0x00000002u;
2104 _impl_._has_bits_[0] &= ~0x00000002u;
2108inline ::goby::zeromq::protobuf::Socket* ManagerResponse::release_publish_socket() {
2109 _impl_._has_bits_[0] &= ~0x00000002u;
2111 _impl_.publish_socket_ =
nullptr;
2112#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2113 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2114 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2115 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2117 if (GetArenaForAllocation() !=
nullptr) {
2118 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2123inline ::goby::zeromq::protobuf::Socket* ManagerResponse::unsafe_arena_release_publish_socket() {
2125 _impl_._has_bits_[0] &= ~0x00000002u;
2127 _impl_.publish_socket_ =
nullptr;
2130inline ::goby::zeromq::protobuf::Socket* ManagerResponse::_internal_mutable_publish_socket() {
2131 _impl_._has_bits_[0] |= 0x00000002u;
2132 if (_impl_.publish_socket_ ==
nullptr) {
2134 _impl_.publish_socket_ = p;
2136 return _impl_.publish_socket_;
2138inline ::goby::zeromq::protobuf::Socket* ManagerResponse::mutable_publish_socket() {
2144 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2145 if (message_arena ==
nullptr) {
2146 delete _impl_.publish_socket_;
2148 if (publish_socket) {
2149 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2150 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(publish_socket);
2151 if (message_arena != submessage_arena) {
2152 publish_socket = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2153 message_arena, publish_socket, submessage_arena);
2155 _impl_._has_bits_[0] |= 0x00000002u;
2157 _impl_._has_bits_[0] &= ~0x00000002u;
2159 _impl_.publish_socket_ = publish_socket;
2164inline bool ManagerResponse::_internal_has_subscribe_socket()
const {
2165 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2166 PROTOBUF_ASSUME(!value || _impl_.subscribe_socket_ !=
nullptr);
2169inline bool ManagerResponse::has_subscribe_socket()
const {
2170 return _internal_has_subscribe_socket();
2172inline void ManagerResponse::clear_subscribe_socket() {
2173 if (_impl_.subscribe_socket_ !=
nullptr) _impl_.subscribe_socket_->Clear();
2174 _impl_._has_bits_[0] &= ~0x00000004u;
2176inline const ::goby::zeromq::protobuf::Socket& ManagerResponse::_internal_subscribe_socket()
const {
2177 const ::goby::zeromq::protobuf::Socket* p = _impl_.subscribe_socket_;
2181inline const ::goby::zeromq::protobuf::Socket& ManagerResponse::subscribe_socket()
const {
2183 return _internal_subscribe_socket();
2185inline void ManagerResponse::unsafe_arena_set_allocated_subscribe_socket(
2187 if (GetArenaForAllocation() ==
nullptr) {
2188 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.subscribe_socket_);
2190 _impl_.subscribe_socket_ = subscribe_socket;
2191 if (subscribe_socket) {
2192 _impl_._has_bits_[0] |= 0x00000004u;
2194 _impl_._has_bits_[0] &= ~0x00000004u;
2198inline ::goby::zeromq::protobuf::Socket* ManagerResponse::release_subscribe_socket() {
2199 _impl_._has_bits_[0] &= ~0x00000004u;
2201 _impl_.subscribe_socket_ =
nullptr;
2202#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2203 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2204 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2205 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2207 if (GetArenaForAllocation() !=
nullptr) {
2208 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2213inline ::goby::zeromq::protobuf::Socket* ManagerResponse::unsafe_arena_release_subscribe_socket() {
2215 _impl_._has_bits_[0] &= ~0x00000004u;
2217 _impl_.subscribe_socket_ =
nullptr;
2220inline ::goby::zeromq::protobuf::Socket* ManagerResponse::_internal_mutable_subscribe_socket() {
2221 _impl_._has_bits_[0] |= 0x00000004u;
2222 if (_impl_.subscribe_socket_ ==
nullptr) {
2224 _impl_.subscribe_socket_ = p;
2226 return _impl_.subscribe_socket_;
2228inline ::goby::zeromq::protobuf::Socket* ManagerResponse::mutable_subscribe_socket() {
2234 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2235 if (message_arena ==
nullptr) {
2236 delete _impl_.subscribe_socket_;
2238 if (subscribe_socket) {
2239 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2240 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(subscribe_socket);
2241 if (message_arena != submessage_arena) {
2242 subscribe_socket = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2243 message_arena, subscribe_socket, submessage_arena);
2245 _impl_._has_bits_[0] |= 0x00000004u;
2247 _impl_._has_bits_[0] &= ~0x00000004u;
2249 _impl_.subscribe_socket_ = subscribe_socket;
2254inline bool ManagerResponse::_internal_has_hold()
const {
2255 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2258inline bool ManagerResponse::has_hold()
const {
2259 return _internal_has_hold();
2261inline void ManagerResponse::clear_hold() {
2262 _impl_.hold_ =
true;
2263 _impl_._has_bits_[0] &= ~0x00000020u;
2265inline bool ManagerResponse::_internal_hold()
const {
2266 return _impl_.hold_;
2268inline bool ManagerResponse::hold()
const {
2270 return _internal_hold();
2272inline void ManagerResponse::_internal_set_hold(
bool value) {
2273 _impl_._has_bits_[0] |= 0x00000020u;
2274 _impl_.hold_ = value;
2276inline void ManagerResponse::set_hold(
bool value) {
2277 _internal_set_hold(value);
2282inline int ManagerResponse::_internal_required_client_size()
const {
2283 return _impl_.required_client_.size();
2285inline int ManagerResponse::required_client_size()
const {
2286 return _internal_required_client_size();
2288inline void ManagerResponse::clear_required_client() {
2289 _impl_.required_client_.Clear();
2291inline std::string* ManagerResponse::add_required_client() {
2292 std::string* _s = _internal_add_required_client();
2296inline const std::string& ManagerResponse::_internal_required_client(
int index)
const {
2297 return _impl_.required_client_.Get(index);
2299inline const std::string& ManagerResponse::required_client(
int index)
const {
2301 return _internal_required_client(index);
2303inline std::string* ManagerResponse::mutable_required_client(
int index) {
2305 return _impl_.required_client_.Mutable(index);
2307inline void ManagerResponse::set_required_client(
int index,
const std::string& value) {
2308 _impl_.required_client_.Mutable(index)->assign(value);
2311inline void ManagerResponse::set_required_client(
int index, std::string&& value) {
2312 _impl_.required_client_.Mutable(index)->assign(std::move(value));
2315inline void ManagerResponse::set_required_client(
int index,
const char* value) {
2316 GOOGLE_DCHECK(value !=
nullptr);
2317 _impl_.required_client_.Mutable(index)->assign(value);
2320inline void ManagerResponse::set_required_client(
int index,
const char* value,
size_t size) {
2321 _impl_.required_client_.Mutable(index)->assign(
2322 reinterpret_cast<const char*
>(value), size);
2325inline std::string* ManagerResponse::_internal_add_required_client() {
2326 return _impl_.required_client_.Add();
2328inline void ManagerResponse::add_required_client(
const std::string& value) {
2329 _impl_.required_client_.Add()->assign(value);
2332inline void ManagerResponse::add_required_client(std::string&& value) {
2333 _impl_.required_client_.Add(std::move(value));
2336inline void ManagerResponse::add_required_client(
const char* value) {
2337 GOOGLE_DCHECK(value !=
nullptr);
2338 _impl_.required_client_.Add()->assign(value);
2341inline void ManagerResponse::add_required_client(
const char* value,
size_t size) {
2342 _impl_.required_client_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
2345inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
2346ManagerResponse::required_client()
const {
2348 return _impl_.required_client_;
2350inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
2351ManagerResponse::mutable_required_client() {
2353 return &_impl_.required_client_;
2361inline bool InprocControl::_internal_has_type()
const {
2362 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2365inline bool InprocControl::has_type()
const {
2366 return _internal_has_type();
2368inline void InprocControl::clear_type() {
2370 _impl_._has_bits_[0] &= ~0x00000010u;
2372inline ::goby::zeromq::protobuf::InprocControl_InprocControlType InprocControl::_internal_type()
const {
2375inline ::goby::zeromq::protobuf::InprocControl_InprocControlType InprocControl::type()
const {
2377 return _internal_type();
2381 _impl_._has_bits_[0] |= 0x00000010u;
2382 _impl_.type_ = value;
2385 _internal_set_type(value);
2390inline bool InprocControl::_internal_has_publish_socket()
const {
2391 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2392 PROTOBUF_ASSUME(!value || _impl_.publish_socket_ !=
nullptr);
2395inline bool InprocControl::has_publish_socket()
const {
2396 return _internal_has_publish_socket();
2398inline void InprocControl::clear_publish_socket() {
2399 if (_impl_.publish_socket_ !=
nullptr) _impl_.publish_socket_->Clear();
2400 _impl_._has_bits_[0] &= ~0x00000004u;
2402inline const ::goby::zeromq::protobuf::Socket& InprocControl::_internal_publish_socket()
const {
2403 const ::goby::zeromq::protobuf::Socket* p = _impl_.publish_socket_;
2407inline const ::goby::zeromq::protobuf::Socket& InprocControl::publish_socket()
const {
2409 return _internal_publish_socket();
2411inline void InprocControl::unsafe_arena_set_allocated_publish_socket(
2413 if (GetArenaForAllocation() ==
nullptr) {
2414 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.publish_socket_);
2416 _impl_.publish_socket_ = publish_socket;
2417 if (publish_socket) {
2418 _impl_._has_bits_[0] |= 0x00000004u;
2420 _impl_._has_bits_[0] &= ~0x00000004u;
2424inline ::goby::zeromq::protobuf::Socket* InprocControl::release_publish_socket() {
2425 _impl_._has_bits_[0] &= ~0x00000004u;
2427 _impl_.publish_socket_ =
nullptr;
2428#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2429 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2430 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2431 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2433 if (GetArenaForAllocation() !=
nullptr) {
2434 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2439inline ::goby::zeromq::protobuf::Socket* InprocControl::unsafe_arena_release_publish_socket() {
2441 _impl_._has_bits_[0] &= ~0x00000004u;
2443 _impl_.publish_socket_ =
nullptr;
2446inline ::goby::zeromq::protobuf::Socket* InprocControl::_internal_mutable_publish_socket() {
2447 _impl_._has_bits_[0] |= 0x00000004u;
2448 if (_impl_.publish_socket_ ==
nullptr) {
2450 _impl_.publish_socket_ = p;
2452 return _impl_.publish_socket_;
2454inline ::goby::zeromq::protobuf::Socket* InprocControl::mutable_publish_socket() {
2460 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2461 if (message_arena ==
nullptr) {
2462 delete _impl_.publish_socket_;
2464 if (publish_socket) {
2465 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2466 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(publish_socket);
2467 if (message_arena != submessage_arena) {
2468 publish_socket = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2469 message_arena, publish_socket, submessage_arena);
2471 _impl_._has_bits_[0] |= 0x00000004u;
2473 _impl_._has_bits_[0] &= ~0x00000004u;
2475 _impl_.publish_socket_ = publish_socket;
2480inline bool InprocControl::_internal_has_subscription_identifier()
const {
2481 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2484inline bool InprocControl::has_subscription_identifier()
const {
2485 return _internal_has_subscription_identifier();
2487inline void InprocControl::clear_subscription_identifier() {
2488 _impl_.subscription_identifier_.ClearToEmpty();
2489 _impl_._has_bits_[0] &= ~0x00000001u;
2491inline const std::string& InprocControl::subscription_identifier()
const {
2493 return _internal_subscription_identifier();
2495template <
typename ArgT0,
typename... ArgT>
2496inline PROTOBUF_ALWAYS_INLINE
2497void InprocControl::set_subscription_identifier(ArgT0&& arg0, ArgT... args) {
2498 _impl_._has_bits_[0] |= 0x00000001u;
2499 _impl_.subscription_identifier_.SetBytes(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2502inline std::string* InprocControl::mutable_subscription_identifier() {
2503 std::string* _s = _internal_mutable_subscription_identifier();
2507inline const std::string& InprocControl::_internal_subscription_identifier()
const {
2508 return _impl_.subscription_identifier_.Get();
2510inline void InprocControl::_internal_set_subscription_identifier(
const std::string& value) {
2511 _impl_._has_bits_[0] |= 0x00000001u;
2512 _impl_.subscription_identifier_.Set(value, GetArenaForAllocation());
2514inline std::string* InprocControl::_internal_mutable_subscription_identifier() {
2515 _impl_._has_bits_[0] |= 0x00000001u;
2516 return _impl_.subscription_identifier_.Mutable(GetArenaForAllocation());
2518inline std::string* InprocControl::release_subscription_identifier() {
2520 if (!_internal_has_subscription_identifier()) {
2523 _impl_._has_bits_[0] &= ~0x00000001u;
2524 auto* p = _impl_.subscription_identifier_.Release();
2525#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2526 if (_impl_.subscription_identifier_.IsDefault()) {
2527 _impl_.subscription_identifier_.Set(
"", GetArenaForAllocation());
2532inline void InprocControl::set_allocated_subscription_identifier(std::string* subscription_identifier) {
2533 if (subscription_identifier !=
nullptr) {
2534 _impl_._has_bits_[0] |= 0x00000001u;
2536 _impl_._has_bits_[0] &= ~0x00000001u;
2538 _impl_.subscription_identifier_.SetAllocated(subscription_identifier, GetArenaForAllocation());
2539#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2540 if (_impl_.subscription_identifier_.IsDefault()) {
2541 _impl_.subscription_identifier_.Set(
"", GetArenaForAllocation());
2548inline bool InprocControl::_internal_has_received_data()
const {
2549 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2552inline bool InprocControl::has_received_data()
const {
2553 return _internal_has_received_data();
2555inline void InprocControl::clear_received_data() {
2556 _impl_.received_data_.ClearToEmpty();
2557 _impl_._has_bits_[0] &= ~0x00000002u;
2559inline const std::string& InprocControl::received_data()
const {
2561 return _internal_received_data();
2563template <
typename ArgT0,
typename... ArgT>
2564inline PROTOBUF_ALWAYS_INLINE
2565void InprocControl::set_received_data(ArgT0&& arg0, ArgT... args) {
2566 _impl_._has_bits_[0] |= 0x00000002u;
2567 _impl_.received_data_.SetBytes(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2570inline std::string* InprocControl::mutable_received_data() {
2571 std::string* _s = _internal_mutable_received_data();
2575inline const std::string& InprocControl::_internal_received_data()
const {
2576 return _impl_.received_data_.Get();
2578inline void InprocControl::_internal_set_received_data(
const std::string& value) {
2579 _impl_._has_bits_[0] |= 0x00000002u;
2580 _impl_.received_data_.Set(value, GetArenaForAllocation());
2582inline std::string* InprocControl::_internal_mutable_received_data() {
2583 _impl_._has_bits_[0] |= 0x00000002u;
2584 return _impl_.received_data_.Mutable(GetArenaForAllocation());
2586inline std::string* InprocControl::release_received_data() {
2588 if (!_internal_has_received_data()) {
2591 _impl_._has_bits_[0] &= ~0x00000002u;
2592 auto* p = _impl_.received_data_.Release();
2593#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2594 if (_impl_.received_data_.IsDefault()) {
2595 _impl_.received_data_.Set(
"", GetArenaForAllocation());
2600inline void InprocControl::set_allocated_received_data(std::string* received_data) {
2601 if (received_data !=
nullptr) {
2602 _impl_._has_bits_[0] |= 0x00000002u;
2604 _impl_._has_bits_[0] &= ~0x00000002u;
2606 _impl_.received_data_.SetAllocated(received_data, GetArenaForAllocation());
2607#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2608 if (_impl_.received_data_.IsDefault()) {
2609 _impl_.received_data_.Set(
"", GetArenaForAllocation());
2616inline bool InprocControl::_internal_has_hold()
const {
2617 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2620inline bool InprocControl::has_hold()
const {
2621 return _internal_has_hold();
2623inline void InprocControl::clear_hold() {
2624 _impl_.hold_ =
false;
2625 _impl_._has_bits_[0] &= ~0x00000008u;
2627inline bool InprocControl::_internal_hold()
const {
2628 return _impl_.hold_;
2630inline bool InprocControl::hold()
const {
2632 return _internal_hold();
2634inline void InprocControl::_internal_set_hold(
bool value) {
2635 _impl_._has_bits_[0] |= 0x00000008u;
2636 _impl_.hold_ = value;
2638inline void InprocControl::set_hold(
bool value) {
2639 _internal_set_hold(value);
2644 #pragma GCC diagnostic pop
2659PROTOBUF_NAMESPACE_OPEN
2664 return ::goby::zeromq::protobuf::Socket_SocketType_descriptor();
2669 return ::goby::zeromq::protobuf::Socket_Transport_descriptor();
2674 return ::goby::zeromq::protobuf::Socket_ConnectOrBind_descriptor();
2679 return ::goby::zeromq::protobuf::InprocControl_InprocControlType_descriptor();
2684 return ::goby::zeromq::protobuf::Request_descriptor();
2687PROTOBUF_NAMESPACE_CLOSE
2691#include <google/protobuf/port_undef.inc>
void CopyFrom(const InprocControl &from)
void Swap(InprocControl *other)
PROTOBUF_CONSTEXPR InprocControl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
friend void swap(InprocControl &a, InprocControl &b)
InprocControl & operator=(InprocControl &&from) noexcept
static bool InprocControlType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, InprocControlType *value)
void MergeFrom(const InprocControl &from)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * InprocControlType_descriptor()
void UnsafeArenaSwap(InprocControl *other)
void set_subscription_identifier(ArgT0 &&arg0, ArgT... args)
InprocControl(const InprocControl &from)
void set_received_data(ArgT0 &&arg0, ArgT... args)
static const InprocControl * internal_default_instance()
~InprocControl() override
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const InprocControl & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
InprocControl & operator=(const InprocControl &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
InprocControl * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
InprocControl(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ClassData _class_data_
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
InprocControl(InprocControl &&from) noexcept
static const std::string & InprocControlType_Name(T enum_t_value)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
friend void swap(ManagerRequest &a, ManagerRequest &b)
void set_client_name(ArgT0 &&arg0, ArgT... args)
void CopyFrom(const ManagerRequest &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_allocated_client_name(std::string *client_name)
ManagerRequest & operator=(ManagerRequest &&from) noexcept
void UnsafeArenaSwap(ManagerRequest *other)
bool has_client_pid() const
PROTOBUF_NODISCARD std::string * release_client_name()
::goby::zeromq::protobuf::Request request() const
void set_client_pid(int32_t value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_request(::goby::zeromq::protobuf::Request value)
int32_t client_pid() const
ManagerRequest(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
ManagerRequest & operator=(const ManagerRequest &from)
bool IsInitialized() const final
void MergeFrom(const ManagerRequest &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_ready(bool value)
~ManagerRequest() override
size_t ByteSizeLong() const final
static const ManagerRequest & default_instance()
const std::string & client_name() const
int GetCachedSize() const final
static const ManagerRequest * internal_default_instance()
ManagerRequest(ManagerRequest &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PROTOBUF_CONSTEXPR ManagerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void Swap(ManagerRequest *other)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
ManagerRequest * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
bool has_client_name() const
ManagerRequest(const ManagerRequest &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ClassData _class_data_
static constexpr int kIndexInFileMessages
std::string * mutable_client_name()
ManagerResponse * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
friend void swap(ManagerResponse &a, ManagerResponse &b)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
ManagerResponse & operator=(ManagerResponse &&from) noexcept
ManagerResponse(ManagerResponse &&from) noexcept
static const ManagerResponse * internal_default_instance()
~ManagerResponse() override
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
ManagerResponse(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void CopyFrom(const ManagerResponse &from)
PROTOBUF_CONSTEXPR ManagerResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_client_name(ArgT0 &&arg0, ArgT... args)
void Swap(ManagerResponse *other)
void UnsafeArenaSwap(ManagerResponse *other)
static const ManagerResponse & default_instance()
ManagerResponse & operator=(const ManagerResponse &from)
void MergeFrom(const ManagerResponse &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
ManagerResponse(const ManagerResponse &from)
static const ClassData _class_data_
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Socket(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Socket(Socket &&from) noexcept
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Socket(const Socket &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_ethernet_address(ArgT0 &&arg0, ArgT... args)
Socket * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ConnectOrBind_descriptor()
static bool ConnectOrBind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConnectOrBind *value)
Socket & operator=(const Socket &from)
static const Socket & default_instance()
static const Socket * internal_default_instance()
static const std::string & Transport_Name(T enum_t_value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * SocketType_descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void UnsafeArenaSwap(Socket *other)
void set_multicast_address(ArgT0 &&arg0, ArgT... args)
Socket & operator=(Socket &&from) noexcept
Socket_Transport Transport
static bool Transport_IsValid(int value)
static const std::string & ConnectOrBind_Name(T enum_t_value)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ClassData _class_data_
static bool ConnectOrBind_IsValid(int value)
Socket_ConnectOrBind ConnectOrBind
static const std::string & SocketType_Name(T enum_t_value)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Transport_descriptor()
void MergeFrom(const Socket &from)
void CopyFrom(const Socket &from)
static bool SocketType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SocketType *value)
friend void swap(Socket &a, Socket &b)
static bool Transport_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Transport *value)
void set_socket_name(ArgT0 &&arg0, ArgT... args)
PROTOBUF_CONSTEXPR Socket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const EnumDescriptor * GetEnumDescriptor< ::goby::zeromq::protobuf::Socket_SocketType >()
const EnumDescriptor * GetEnumDescriptor< ::goby::zeromq::protobuf::Request >()
const EnumDescriptor * GetEnumDescriptor< ::goby::zeromq::protobuf::Socket_Transport >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto
const EnumDescriptor * GetEnumDescriptor< ::goby::zeromq::protobuf::InprocControl_InprocControlType >()
::goby::zeromq::protobuf::Socket * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::Socket >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::goby::zeromq::protobuf::Socket_ConnectOrBind >()
constexpr Socket_SocketType Socket_SocketType_SocketType_MIN
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Request_descriptor()
constexpr Request Request_MAX
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Socket_SocketType_descriptor()
ManagerRequestDefaultTypeInternal _ManagerRequest_default_instance_
bool Socket_SocketType_IsValid(int value)
bool Socket_Transport_IsValid(int value)
const std::string & Socket_ConnectOrBind_Name(T enum_t_value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Socket_ConnectOrBind_descriptor()
constexpr int Socket_Transport_Transport_ARRAYSIZE
constexpr Socket_ConnectOrBind Socket_ConnectOrBind_ConnectOrBind_MIN
const std::string & Socket_SocketType_Name(T enum_t_value)
InprocControlDefaultTypeInternal _InprocControl_default_instance_
bool InprocControl_InprocControlType_IsValid(int value)
@ PROVIDE_PUB_SUB_SOCKETS
@ Socket_SocketType_SUBSCRIBE
@ Socket_SocketType_PUBLISH
@ Socket_SocketType_REPLY
@ Socket_SocketType_REQUEST
constexpr Request Request_MIN
constexpr Socket_Transport Socket_Transport_Transport_MAX
const std::string & InprocControl_InprocControlType_Name(T enum_t_value)
constexpr int Socket_SocketType_SocketType_ARRAYSIZE
constexpr InprocControl_InprocControlType InprocControl_InprocControlType_InprocControlType_MIN
bool Request_IsValid(int value)
@ Socket_Transport_INPROC
bool Socket_ConnectOrBind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Socket_ConnectOrBind *value)
constexpr Socket_ConnectOrBind Socket_ConnectOrBind_ConnectOrBind_MAX
ManagerResponseDefaultTypeInternal _ManagerResponse_default_instance_
InprocControl_InprocControlType
@ InprocControl_InprocControlType_NOTIFY_HOLD_STATE
@ InprocControl_InprocControlType_RECEIVE
@ InprocControl_InprocControlType_SUBSCRIBE
@ InprocControl_InprocControlType_PUB_CONFIGURATION
@ InprocControl_InprocControlType_UNSUBSCRIBE
@ InprocControl_InprocControlType_SUBSCRIBE_ACK
@ InprocControl_InprocControlType_REQUEST_HOLD_STATE
@ InprocControl_InprocControlType_UNSUBSCRIBE_ACK
@ InprocControl_InprocControlType_SHUTDOWN
constexpr int Request_ARRAYSIZE
constexpr int Socket_ConnectOrBind_ConnectOrBind_ARRAYSIZE
bool Socket_SocketType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Socket_SocketType *value)
@ Socket_ConnectOrBind_CONNECT
@ Socket_ConnectOrBind_BIND
constexpr Socket_SocketType Socket_SocketType_SocketType_MAX
bool InprocControl_InprocControlType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, InprocControl_InprocControlType *value)
SocketDefaultTypeInternal _Socket_default_instance_
constexpr InprocControl_InprocControlType InprocControl_InprocControlType_InprocControlType_MAX
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Socket_Transport_descriptor()
constexpr Socket_Transport Socket_Transport_Transport_MIN
const std::string & Socket_Transport_Name(T enum_t_value)
constexpr int InprocControl_InprocControlType_InprocControlType_ARRAYSIZE
bool Request_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Request *value)
const std::string & Request_Name(T enum_t_value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * InprocControl_InprocControlType_descriptor()
bool Socket_Transport_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Socket_Transport *value)
bool Socket_ConnectOrBind_IsValid(int value)
The global namespace for the Goby project.
static const uint32_t offsets[]