Goby3 3.7.0
2026.11.12
Loading...
Searching...
No Matches
interprocess_zeromq.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/zeromq/protobuf/interprocess_zeromq.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto
6
7#include <limits>
8#include <string>
9
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
14#error your headers.
15#endif
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.
20#endif
21
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> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
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>
39// @@protoc_insertion_point(includes)
40#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto
42PROTOBUF_NAMESPACE_OPEN
43namespace internal {
44class AnyMetadata;
45} // namespace internal
46PROTOBUF_NAMESPACE_CLOSE
47
48// Internal implementation detail -- do not use these members.
52extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto;
53namespace goby {
54namespace zeromq {
55namespace protobuf {
56class InprocControl;
57struct InprocControlDefaultTypeInternal;
58extern InprocControlDefaultTypeInternal _InprocControl_default_instance_;
59class ManagerRequest;
60struct ManagerRequestDefaultTypeInternal;
61extern ManagerRequestDefaultTypeInternal _ManagerRequest_default_instance_;
62class ManagerResponse;
63struct ManagerResponseDefaultTypeInternal;
64extern ManagerResponseDefaultTypeInternal _ManagerResponse_default_instance_;
65class Socket;
66struct SocketDefaultTypeInternal;
67extern SocketDefaultTypeInternal _Socket_default_instance_;
68} // namespace protobuf
69} // namespace zeromq
70} // namespace goby
71PROTOBUF_NAMESPACE_OPEN
72template<> ::goby::zeromq::protobuf::InprocControl* Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InprocControl>(Arena*);
73template<> ::goby::zeromq::protobuf::ManagerRequest* Arena::CreateMaybeMessage<::goby::zeromq::protobuf::ManagerRequest>(Arena*);
74template<> ::goby::zeromq::protobuf::ManagerResponse* Arena::CreateMaybeMessage<::goby::zeromq::protobuf::ManagerResponse>(Arena*);
75template<> ::goby::zeromq::protobuf::Socket* Arena::CreateMaybeMessage<::goby::zeromq::protobuf::Socket>(Arena*);
76PROTOBUF_NAMESPACE_CLOSE
77namespace goby {
78namespace zeromq {
79namespace protobuf {
80
91
92const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Socket_SocketType_descriptor();
93template<typename T>
94inline const std::string& Socket_SocketType_Name(T enum_t_value) {
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(
99 Socket_SocketType_descriptor(), enum_t_value);
100}
102 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Socket_SocketType* value) {
103 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Socket_SocketType>(
104 Socket_SocketType_descriptor(), name, value);
105}
117
118const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Socket_Transport_descriptor();
119template<typename T>
120inline const std::string& Socket_Transport_Name(T enum_t_value) {
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(
125 Socket_Transport_descriptor(), enum_t_value);
126}
128 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Socket_Transport* value) {
129 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Socket_Transport>(
130 Socket_Transport_descriptor(), name, value);
131}
140
141const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Socket_ConnectOrBind_descriptor();
142template<typename T>
143inline const std::string& Socket_ConnectOrBind_Name(T enum_t_value) {
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(
148 Socket_ConnectOrBind_descriptor(), enum_t_value);
149}
151 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Socket_ConnectOrBind* value) {
152 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Socket_ConnectOrBind>(
153 Socket_ConnectOrBind_descriptor(), name, value);
154}
170
171const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* InprocControl_InprocControlType_descriptor();
172template<typename T>
173inline const std::string& InprocControl_InprocControlType_Name(T enum_t_value) {
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(
179}
181 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, InprocControl_InprocControlType* value) {
182 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<InprocControl_InprocControlType>(
184}
189bool Request_IsValid(int value);
192constexpr int Request_ARRAYSIZE = Request_MAX + 1;
193
194const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Request_descriptor();
195template<typename T>
196inline const std::string& Request_Name(T enum_t_value) {
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(
201 Request_descriptor(), enum_t_value);
202}
203inline bool Request_Parse(
204 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Request* value) {
205 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Request>(
206 Request_descriptor(), name, value);
207}
208// ===================================================================
209
210class ManagerRequest final :
211 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.zeromq.protobuf.ManagerRequest) */ {
212 public:
213 inline ManagerRequest() : ManagerRequest(nullptr) {}
214 ~ManagerRequest() override;
215 explicit PROTOBUF_CONSTEXPR ManagerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
216
219 : ManagerRequest() {
220 *this = ::std::move(from);
221 }
222
224 CopyFrom(from);
225 return *this;
226 }
227 inline ManagerRequest& operator=(ManagerRequest&& from) noexcept {
228 if (this == &from) return *this;
229 if (GetOwningArena() == from.GetOwningArena()
230 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
231 && GetOwningArena() != nullptr
232 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
233 ) {
234 InternalSwap(&from);
235 } else {
236 CopyFrom(from);
237 }
238 return *this;
239 }
240
241 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
242 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
243 }
244 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
245 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
246 }
247
248 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
249 return GetDescriptor();
250 }
251 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
252 return default_instance().GetMetadata().descriptor;
253 }
254 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
255 return default_instance().GetMetadata().reflection;
256 }
259 }
261 return reinterpret_cast<const ManagerRequest*>(
263 }
264 static constexpr int kIndexInFileMessages =
265 0;
266
267 friend void swap(ManagerRequest& a, ManagerRequest& b) {
268 a.Swap(&b);
269 }
270 inline void Swap(ManagerRequest* other) {
271 if (other == this) return;
272 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
273 if (GetOwningArena() != nullptr &&
274 GetOwningArena() == other->GetOwningArena()) {
275 #else // PROTOBUF_FORCE_COPY_IN_SWAP
276 if (GetOwningArena() == other->GetOwningArena()) {
277 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
278 InternalSwap(other);
279 } else {
280 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
281 }
282 }
284 if (other == this) return;
285 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
286 InternalSwap(other);
287 }
288
289 // implements Message ----------------------------------------------
290
291 ManagerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
292 return CreateMaybeMessage<ManagerRequest>(arena);
293 }
294 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
295 void CopyFrom(const ManagerRequest& from);
296 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
297 void MergeFrom( const ManagerRequest& from) {
298 ManagerRequest::MergeImpl(*this, from);
299 }
300 private:
301 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
302 public:
303 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
304 bool IsInitialized() const final;
305
306 size_t ByteSizeLong() const final;
307 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
309 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
310 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
311
312 private:
313 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
314 void SharedDtor();
315 void SetCachedSize(int size) const final;
316 void InternalSwap(ManagerRequest* other);
317
318 private:
319 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
320 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
321 return "goby.zeromq.protobuf.ManagerRequest";
322 }
323 protected:
324 explicit ManagerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
325 bool is_message_owned = false);
326 public:
327
328 static const ClassData _class_data_;
329 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
330
331 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
332
333 // nested types ----------------------------------------------------
334
335 // accessors -------------------------------------------------------
336
337 enum : int {
342 };
343 // required string client_name = 2 [(.goby.field) = {
344 bool has_client_name() const;
345 private:
346 bool _internal_has_client_name() const;
347 public:
348 void clear_client_name();
349 const std::string& client_name() const;
350 template <typename ArgT0 = const std::string&, typename... ArgT>
351 void set_client_name(ArgT0&& arg0, ArgT... args);
352 std::string* mutable_client_name();
353 PROTOBUF_NODISCARD std::string* release_client_name();
354 void set_allocated_client_name(std::string* client_name);
355 private:
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();
359 public:
360
361 // required int32 client_pid = 3 [(.goby.field) = {
362 bool has_client_pid() const;
363 private:
364 bool _internal_has_client_pid() const;
365 public:
366 void clear_client_pid();
367 int32_t client_pid() const;
368 void set_client_pid(int32_t value);
369 private:
370 int32_t _internal_client_pid() const;
371 void _internal_set_client_pid(int32_t value);
372 public:
373
374 // optional bool ready = 4 [default = false, (.goby.field) = {
375 bool has_ready() const;
376 private:
377 bool _internal_has_ready() const;
378 public:
379 void clear_ready();
380 bool ready() const;
381 void set_ready(bool value);
382 private:
383 bool _internal_ready() const;
384 void _internal_set_ready(bool value);
385 public:
386
387 // required .goby.zeromq.protobuf.Request request = 1 [(.goby.field) = {
388 bool has_request() const;
389 private:
390 bool _internal_has_request() const;
391 public:
392 void clear_request();
395 private:
396 ::goby::zeromq::protobuf::Request _internal_request() const;
397 void _internal_set_request(::goby::zeromq::protobuf::Request value);
398 public:
399
400 // @@protoc_insertion_point(class_scope:goby.zeromq.protobuf.ManagerRequest)
401 private:
402 class _Internal;
403
404 // helper for ByteSizeLong()
405 size_t RequiredFieldsByteSizeFallback() const;
406
407 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
408 typedef void InternalArenaConstructable_;
409 typedef void DestructorSkippable_;
410 struct Impl_ {
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_;
414 int32_t client_pid_;
415 bool ready_;
416 int request_;
417 };
418 union { Impl_ _impl_; };
419 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto;
420};
421// -------------------------------------------------------------------
422
423class Socket final :
424 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.zeromq.protobuf.Socket) */ {
425 public:
426 inline Socket() : Socket(nullptr) {}
427 ~Socket() override;
428 explicit PROTOBUF_CONSTEXPR Socket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
429
430 Socket(const Socket& from);
431 Socket(Socket&& from) noexcept
432 : Socket() {
433 *this = ::std::move(from);
434 }
435
436 inline Socket& operator=(const Socket& from) {
437 CopyFrom(from);
438 return *this;
439 }
440 inline Socket& operator=(Socket&& from) noexcept {
441 if (this == &from) return *this;
442 if (GetOwningArena() == from.GetOwningArena()
443 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
444 && GetOwningArena() != nullptr
445 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
446 ) {
447 InternalSwap(&from);
448 } else {
449 CopyFrom(from);
450 }
451 return *this;
452 }
453
454 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
455 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
456 }
457 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
458 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
459 }
460
461 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
462 return GetDescriptor();
463 }
464 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
465 return default_instance().GetMetadata().descriptor;
466 }
467 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
468 return default_instance().GetMetadata().reflection;
469 }
470 static const Socket& default_instance() {
471 return *internal_default_instance();
472 }
473 static inline const Socket* internal_default_instance() {
474 return reinterpret_cast<const Socket*>(
476 }
477 static constexpr int kIndexInFileMessages =
478 1;
479
480 friend void swap(Socket& a, Socket& b) {
481 a.Swap(&b);
482 }
483 inline void Swap(Socket* other) {
484 if (other == this) return;
485 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
486 if (GetOwningArena() != nullptr &&
487 GetOwningArena() == other->GetOwningArena()) {
488 #else // PROTOBUF_FORCE_COPY_IN_SWAP
489 if (GetOwningArena() == other->GetOwningArena()) {
490 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
491 InternalSwap(other);
492 } else {
493 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
494 }
495 }
496 void UnsafeArenaSwap(Socket* other) {
497 if (other == this) return;
498 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
499 InternalSwap(other);
500 }
501
502 // implements Message ----------------------------------------------
503
504 Socket* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
505 return CreateMaybeMessage<Socket>(arena);
506 }
507 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
508 void CopyFrom(const Socket& from);
509 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
510 void MergeFrom( const Socket& from) {
511 Socket::MergeImpl(*this, from);
512 }
513 private:
514 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
515 public:
516 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
517 bool IsInitialized() const final;
518
519 size_t ByteSizeLong() 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(); }
524
525 private:
526 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
527 void SharedDtor();
528 void SetCachedSize(int size) const final;
529 void InternalSwap(Socket* other);
530
531 private:
532 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
533 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
534 return "goby.zeromq.protobuf.Socket";
535 }
536 protected:
537 explicit Socket(::PROTOBUF_NAMESPACE_ID::Arena* arena,
538 bool is_message_owned = false);
539 public:
540
541 static const ClassData _class_data_;
542 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
543
544 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
545
546 // nested types ----------------------------------------------------
547
549 static constexpr SocketType PUBLISH =
550 Socket_SocketType_PUBLISH;
551 static constexpr SocketType SUBSCRIBE =
552 Socket_SocketType_SUBSCRIBE;
553 static constexpr SocketType REPLY =
554 Socket_SocketType_REPLY;
555 static constexpr SocketType REQUEST =
556 Socket_SocketType_REQUEST;
557 static inline bool SocketType_IsValid(int value) {
558 return Socket_SocketType_IsValid(value);
559 }
560 static constexpr SocketType SocketType_MIN =
562 static constexpr SocketType SocketType_MAX =
564 static constexpr int SocketType_ARRAYSIZE =
566 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
570 template<typename T>
571 static inline const std::string& SocketType_Name(T enum_t_value) {
572 static_assert(::std::is_same<T, SocketType>::value ||
573 ::std::is_integral<T>::value,
574 "Incorrect type passed to function SocketType_Name.");
575 return Socket_SocketType_Name(enum_t_value);
576 }
577 static inline bool SocketType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
578 SocketType* value) {
579 return Socket_SocketType_Parse(name, value);
580 }
581
583 static constexpr Transport INPROC =
585 static constexpr Transport IPC =
587 static constexpr Transport TCP =
589 static constexpr Transport PGM =
591 static constexpr Transport EPGM =
593 static inline bool Transport_IsValid(int value) {
594 return Socket_Transport_IsValid(value);
595 }
596 static constexpr Transport Transport_MIN =
598 static constexpr Transport Transport_MAX =
600 static constexpr int Transport_ARRAYSIZE =
602 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
606 template<typename T>
607 static inline const std::string& Transport_Name(T enum_t_value) {
608 static_assert(::std::is_same<T, Transport>::value ||
609 ::std::is_integral<T>::value,
610 "Incorrect type passed to function Transport_Name.");
611 return Socket_Transport_Name(enum_t_value);
612 }
613 static inline bool Transport_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
614 Transport* value) {
615 return Socket_Transport_Parse(name, value);
616 }
617
619 static constexpr ConnectOrBind CONNECT =
621 static constexpr ConnectOrBind BIND =
623 static inline bool ConnectOrBind_IsValid(int value) {
624 return Socket_ConnectOrBind_IsValid(value);
625 }
626 static constexpr ConnectOrBind ConnectOrBind_MIN =
628 static constexpr ConnectOrBind ConnectOrBind_MAX =
630 static constexpr int ConnectOrBind_ARRAYSIZE =
632 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
636 template<typename T>
637 static inline const std::string& ConnectOrBind_Name(T enum_t_value) {
638 static_assert(::std::is_same<T, ConnectOrBind>::value ||
639 ::std::is_integral<T>::value,
640 "Incorrect type passed to function ConnectOrBind_Name.");
641 return Socket_ConnectOrBind_Name(enum_t_value);
642 }
643 static inline bool ConnectOrBind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
644 ConnectOrBind* value) {
645 return Socket_ConnectOrBind_Parse(name, value);
646 }
647
648 // accessors -------------------------------------------------------
649
650 enum : int {
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,
661 };
662 // optional string ethernet_address = 5 [default = "127.0.0.1", (.goby.field) = {
663 bool has_ethernet_address() const;
664 private:
665 bool _internal_has_ethernet_address() const;
666 public:
667 void clear_ethernet_address();
668 const std::string& ethernet_address() const;
669 template <typename ArgT0 = const std::string&, typename... ArgT>
670 void set_ethernet_address(ArgT0&& arg0, ArgT... args);
671 std::string* mutable_ethernet_address();
672 PROTOBUF_NODISCARD std::string* release_ethernet_address();
673 void set_allocated_ethernet_address(std::string* ethernet_address);
674 private:
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();
678 public:
679
680 // optional string multicast_address = 6 [default = "239.255.7.15", (.goby.field) = {
681 bool has_multicast_address() const;
682 private:
683 bool _internal_has_multicast_address() const;
684 public:
685 void clear_multicast_address();
686 const std::string& multicast_address() const;
687 template <typename ArgT0 = const std::string&, typename... ArgT>
688 void set_multicast_address(ArgT0&& arg0, ArgT... args);
689 std::string* mutable_multicast_address();
690 PROTOBUF_NODISCARD std::string* release_multicast_address();
691 void set_allocated_multicast_address(std::string* multicast_address);
692 private:
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();
696 public:
697
698 // optional string socket_name = 8;
699 bool has_socket_name() const;
700 private:
701 bool _internal_has_socket_name() const;
702 public:
703 void clear_socket_name();
704 const std::string& socket_name() const;
705 template <typename ArgT0 = const std::string&, typename... ArgT>
706 void set_socket_name(ArgT0&& arg0, ArgT... args);
707 std::string* mutable_socket_name();
708 PROTOBUF_NODISCARD std::string* release_socket_name();
709 void set_allocated_socket_name(std::string* socket_name);
710 private:
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();
714 public:
715
716 // optional uint32 socket_id = 2 [default = 0, (.goby.field) = {
717 bool has_socket_id() const;
718 private:
719 bool _internal_has_socket_id() const;
720 public:
721 void clear_socket_id();
722 uint32_t socket_id() const;
723 void set_socket_id(uint32_t value);
724 private:
725 uint32_t _internal_socket_id() const;
726 void _internal_set_socket_id(uint32_t value);
727 public:
728
729 // required .goby.zeromq.protobuf.Socket.SocketType socket_type = 1;
730 bool has_socket_type() const;
731 private:
732 bool _internal_has_socket_type() const;
733 public:
734 void clear_socket_type();
736 void set_socket_type(::goby::zeromq::protobuf::Socket_SocketType value);
737 private:
738 ::goby::zeromq::protobuf::Socket_SocketType _internal_socket_type() const;
739 void _internal_set_socket_type(::goby::zeromq::protobuf::Socket_SocketType value);
740 public:
741
742 // optional .goby.zeromq.protobuf.Socket.Transport transport = 3 [default = EPGM];
743 bool has_transport() const;
744 private:
745 bool _internal_has_transport() const;
746 public:
747 void clear_transport();
749 void set_transport(::goby::zeromq::protobuf::Socket_Transport value);
750 private:
751 ::goby::zeromq::protobuf::Socket_Transport _internal_transport() const;
752 void _internal_set_transport(::goby::zeromq::protobuf::Socket_Transport value);
753 public:
754
755 // optional .goby.zeromq.protobuf.Socket.ConnectOrBind connect_or_bind = 4 [default = CONNECT];
756 bool has_connect_or_bind() const;
757 private:
758 bool _internal_has_connect_or_bind() const;
759 public:
760 void clear_connect_or_bind();
762 void set_connect_or_bind(::goby::zeromq::protobuf::Socket_ConnectOrBind value);
763 private:
764 ::goby::zeromq::protobuf::Socket_ConnectOrBind _internal_connect_or_bind() const;
765 void _internal_set_connect_or_bind(::goby::zeromq::protobuf::Socket_ConnectOrBind value);
766 public:
767
768 // optional uint32 ethernet_port = 7 [default = 11142];
769 bool has_ethernet_port() const;
770 private:
771 bool _internal_has_ethernet_port() const;
772 public:
773 void clear_ethernet_port();
774 uint32_t ethernet_port() const;
775 void set_ethernet_port(uint32_t value);
776 private:
777 uint32_t _internal_ethernet_port() const;
778 void _internal_set_ethernet_port(uint32_t value);
779 public:
780
781 // optional uint32 send_queue_size = 10 [default = 1000];
782 bool has_send_queue_size() const;
783 private:
784 bool _internal_has_send_queue_size() const;
785 public:
786 void clear_send_queue_size();
787 uint32_t send_queue_size() const;
788 void set_send_queue_size(uint32_t value);
789 private:
790 uint32_t _internal_send_queue_size() const;
791 void _internal_set_send_queue_size(uint32_t value);
792 public:
793
794 // optional uint32 receive_queue_size = 11 [default = 1000];
795 bool has_receive_queue_size() const;
796 private:
797 bool _internal_has_receive_queue_size() const;
798 public:
799 void clear_receive_queue_size();
800 uint32_t receive_queue_size() const;
801 void set_receive_queue_size(uint32_t value);
802 private:
803 uint32_t _internal_receive_queue_size() const;
804 void _internal_set_receive_queue_size(uint32_t value);
805 public:
806
807 // @@protoc_insertion_point(class_scope:goby.zeromq.protobuf.Socket)
808 private:
809 class _Internal;
810
811 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
812 typedef void InternalArenaConstructable_;
813 typedef void DestructorSkippable_;
814 struct Impl_ {
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_;
822 uint32_t socket_id_;
823 int socket_type_;
824 int transport_;
825 int connect_or_bind_;
826 uint32_t ethernet_port_;
827 uint32_t send_queue_size_;
828 uint32_t receive_queue_size_;
829 };
830 union { Impl_ _impl_; };
831 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto;
832};
833// -------------------------------------------------------------------
834
835class ManagerResponse final :
836 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.zeromq.protobuf.ManagerResponse) */ {
837 public:
838 inline ManagerResponse() : ManagerResponse(nullptr) {}
840 explicit PROTOBUF_CONSTEXPR ManagerResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
841
844 : ManagerResponse() {
845 *this = ::std::move(from);
846 }
847
849 CopyFrom(from);
850 return *this;
851 }
852 inline ManagerResponse& operator=(ManagerResponse&& from) noexcept {
853 if (this == &from) return *this;
854 if (GetOwningArena() == from.GetOwningArena()
855 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
856 && GetOwningArena() != nullptr
857 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
858 ) {
859 InternalSwap(&from);
860 } else {
861 CopyFrom(from);
862 }
863 return *this;
864 }
865
866 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
867 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
868 }
869 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
870 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
871 }
872
873 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
874 return GetDescriptor();
875 }
876 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
877 return default_instance().GetMetadata().descriptor;
878 }
879 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
880 return default_instance().GetMetadata().reflection;
881 }
883 return *internal_default_instance();
884 }
886 return reinterpret_cast<const ManagerResponse*>(
888 }
889 static constexpr int kIndexInFileMessages =
890 2;
891
893 a.Swap(&b);
894 }
895 inline void Swap(ManagerResponse* other) {
896 if (other == this) return;
897 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
898 if (GetOwningArena() != nullptr &&
899 GetOwningArena() == other->GetOwningArena()) {
900 #else // PROTOBUF_FORCE_COPY_IN_SWAP
901 if (GetOwningArena() == other->GetOwningArena()) {
902 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
903 InternalSwap(other);
904 } else {
905 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
906 }
907 }
909 if (other == this) return;
910 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
911 InternalSwap(other);
912 }
913
914 // implements Message ----------------------------------------------
915
916 ManagerResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
917 return CreateMaybeMessage<ManagerResponse>(arena);
918 }
919 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
920 void CopyFrom(const ManagerResponse& from);
921 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
922 void MergeFrom( const ManagerResponse& from) {
923 ManagerResponse::MergeImpl(*this, from);
924 }
925 private:
926 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
927 public:
928 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
929 bool IsInitialized() const final;
930
931 size_t ByteSizeLong() 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(); }
936
937 private:
938 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
939 void SharedDtor();
940 void SetCachedSize(int size) const final;
941 void InternalSwap(ManagerResponse* other);
942
943 private:
944 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
945 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
946 return "goby.zeromq.protobuf.ManagerResponse";
947 }
948 protected:
949 explicit ManagerResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
950 bool is_message_owned = false);
951 public:
952
953 static const ClassData _class_data_;
954 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
955
956 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
957
958 // nested types ----------------------------------------------------
959
960 // accessors -------------------------------------------------------
961
962 enum : int {
963 kRequiredClientFieldNumber = 7,
964 kClientNameFieldNumber = 2,
965 kPublishSocketFieldNumber = 4,
966 kSubscribeSocketFieldNumber = 5,
967 kClientPidFieldNumber = 3,
968 kRequestFieldNumber = 1,
969 kHoldFieldNumber = 6,
970 };
971 // repeated string required_client = 7 [(.goby.field) = {
972 int required_client_size() const;
973 private:
974 int _internal_required_client_size() const;
975 public:
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();
990 private:
991 const std::string& _internal_required_client(int index) const;
992 std::string* _internal_add_required_client();
993 public:
994
995 // required string client_name = 2;
996 bool has_client_name() const;
997 private:
998 bool _internal_has_client_name() const;
999 public:
1000 void clear_client_name();
1001 const std::string& client_name() const;
1002 template <typename ArgT0 = const std::string&, typename... ArgT>
1003 void set_client_name(ArgT0&& arg0, ArgT... args);
1004 std::string* mutable_client_name();
1005 PROTOBUF_NODISCARD std::string* release_client_name();
1006 void set_allocated_client_name(std::string* client_name);
1007 private:
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();
1011 public:
1012
1013 // optional .goby.zeromq.protobuf.Socket publish_socket = 4;
1014 bool has_publish_socket() const;
1015 private:
1016 bool _internal_has_publish_socket() const;
1017 public:
1018 void clear_publish_socket();
1019 const ::goby::zeromq::protobuf::Socket& publish_socket() const;
1020 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::Socket* release_publish_socket();
1021 ::goby::zeromq::protobuf::Socket* mutable_publish_socket();
1022 void set_allocated_publish_socket(::goby::zeromq::protobuf::Socket* publish_socket);
1023 private:
1024 const ::goby::zeromq::protobuf::Socket& _internal_publish_socket() const;
1025 ::goby::zeromq::protobuf::Socket* _internal_mutable_publish_socket();
1026 public:
1027 void unsafe_arena_set_allocated_publish_socket(
1028 ::goby::zeromq::protobuf::Socket* publish_socket);
1029 ::goby::zeromq::protobuf::Socket* unsafe_arena_release_publish_socket();
1030
1031 // optional .goby.zeromq.protobuf.Socket subscribe_socket = 5;
1032 bool has_subscribe_socket() const;
1033 private:
1034 bool _internal_has_subscribe_socket() const;
1035 public:
1036 void clear_subscribe_socket();
1037 const ::goby::zeromq::protobuf::Socket& subscribe_socket() const;
1038 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::Socket* release_subscribe_socket();
1039 ::goby::zeromq::protobuf::Socket* mutable_subscribe_socket();
1040 void set_allocated_subscribe_socket(::goby::zeromq::protobuf::Socket* subscribe_socket);
1041 private:
1042 const ::goby::zeromq::protobuf::Socket& _internal_subscribe_socket() const;
1043 ::goby::zeromq::protobuf::Socket* _internal_mutable_subscribe_socket();
1044 public:
1045 void unsafe_arena_set_allocated_subscribe_socket(
1046 ::goby::zeromq::protobuf::Socket* subscribe_socket);
1047 ::goby::zeromq::protobuf::Socket* unsafe_arena_release_subscribe_socket();
1048
1049 // required int32 client_pid = 3;
1050 bool has_client_pid() const;
1051 private:
1052 bool _internal_has_client_pid() const;
1053 public:
1054 void clear_client_pid();
1055 int32_t client_pid() const;
1056 void set_client_pid(int32_t value);
1057 private:
1058 int32_t _internal_client_pid() const;
1059 void _internal_set_client_pid(int32_t value);
1060 public:
1061
1062 // required .goby.zeromq.protobuf.Request request = 1;
1063 bool has_request() const;
1064 private:
1065 bool _internal_has_request() const;
1066 public:
1067 void clear_request();
1068 ::goby::zeromq::protobuf::Request request() const;
1069 void set_request(::goby::zeromq::protobuf::Request value);
1070 private:
1071 ::goby::zeromq::protobuf::Request _internal_request() const;
1072 void _internal_set_request(::goby::zeromq::protobuf::Request value);
1073 public:
1074
1075 // optional bool hold = 6 [default = true, (.goby.field) = {
1076 bool has_hold() const;
1077 private:
1078 bool _internal_has_hold() const;
1079 public:
1080 void clear_hold();
1081 bool hold() const;
1082 void set_hold(bool value);
1083 private:
1084 bool _internal_hold() const;
1085 void _internal_set_hold(bool value);
1086 public:
1087
1088 // @@protoc_insertion_point(class_scope:goby.zeromq.protobuf.ManagerResponse)
1089 private:
1090 class _Internal;
1091
1092 // helper for ByteSizeLong()
1093 size_t RequiredFieldsByteSizeFallback() const;
1094
1095 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1096 typedef void InternalArenaConstructable_;
1097 typedef void DestructorSkippable_;
1098 struct Impl_ {
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_;
1103 ::goby::zeromq::protobuf::Socket* publish_socket_;
1104 ::goby::zeromq::protobuf::Socket* subscribe_socket_;
1105 int32_t client_pid_;
1106 int request_;
1107 bool hold_;
1108 };
1109 union { Impl_ _impl_; };
1110 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto;
1111};
1112// -------------------------------------------------------------------
1113
1114class InprocControl final :
1115 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.zeromq.protobuf.InprocControl) */ {
1116 public:
1117 inline InprocControl() : InprocControl(nullptr) {}
1118 ~InprocControl() override;
1119 explicit PROTOBUF_CONSTEXPR InprocControl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1120
1123 : InprocControl() {
1124 *this = ::std::move(from);
1125 }
1126
1128 CopyFrom(from);
1129 return *this;
1130 }
1131 inline InprocControl& operator=(InprocControl&& from) noexcept {
1132 if (this == &from) return *this;
1133 if (GetOwningArena() == from.GetOwningArena()
1134 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1135 && GetOwningArena() != nullptr
1136 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1137 ) {
1138 InternalSwap(&from);
1139 } else {
1140 CopyFrom(from);
1141 }
1142 return *this;
1143 }
1144
1145 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1146 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1147 }
1148 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1149 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1150 }
1151
1152 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1153 return GetDescriptor();
1154 }
1155 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1156 return default_instance().GetMetadata().descriptor;
1157 }
1158 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1159 return default_instance().GetMetadata().reflection;
1160 }
1162 return *internal_default_instance();
1163 }
1165 return reinterpret_cast<const InprocControl*>(
1167 }
1168 static constexpr int kIndexInFileMessages =
1169 3;
1170
1171 friend void swap(InprocControl& a, InprocControl& b) {
1172 a.Swap(&b);
1173 }
1174 inline void Swap(InprocControl* other) {
1175 if (other == this) return;
1176 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1177 if (GetOwningArena() != nullptr &&
1178 GetOwningArena() == other->GetOwningArena()) {
1179 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1180 if (GetOwningArena() == other->GetOwningArena()) {
1181 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1182 InternalSwap(other);
1183 } else {
1184 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1185 }
1186 }
1188 if (other == this) return;
1189 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1190 InternalSwap(other);
1191 }
1192
1193 // implements Message ----------------------------------------------
1194
1195 InprocControl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1196 return CreateMaybeMessage<InprocControl>(arena);
1197 }
1198 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1199 void CopyFrom(const InprocControl& from);
1200 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1201 void MergeFrom( const InprocControl& from) {
1202 InprocControl::MergeImpl(*this, from);
1203 }
1204 private:
1205 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1206 public:
1207 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1208 bool IsInitialized() const final;
1209
1210 size_t ByteSizeLong() 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(); }
1215
1216 private:
1217 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1218 void SharedDtor();
1219 void SetCachedSize(int size) const final;
1220 void InternalSwap(InprocControl* other);
1221
1222 private:
1223 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1224 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1225 return "goby.zeromq.protobuf.InprocControl";
1226 }
1227 protected:
1228 explicit InprocControl(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1229 bool is_message_owned = false);
1230 public:
1231
1232 static const ClassData _class_data_;
1233 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1234
1235 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1236
1237 // nested types ----------------------------------------------------
1238
1240 static constexpr InprocControlType PUB_CONFIGURATION =
1241 InprocControl_InprocControlType_PUB_CONFIGURATION;
1242 static constexpr InprocControlType SUBSCRIBE =
1243 InprocControl_InprocControlType_SUBSCRIBE;
1244 static constexpr InprocControlType SUBSCRIBE_ACK =
1245 InprocControl_InprocControlType_SUBSCRIBE_ACK;
1246 static constexpr InprocControlType UNSUBSCRIBE =
1247 InprocControl_InprocControlType_UNSUBSCRIBE;
1248 static constexpr InprocControlType UNSUBSCRIBE_ACK =
1249 InprocControl_InprocControlType_UNSUBSCRIBE_ACK;
1250 static constexpr InprocControlType RECEIVE =
1251 InprocControl_InprocControlType_RECEIVE;
1252 static constexpr InprocControlType SHUTDOWN =
1253 InprocControl_InprocControlType_SHUTDOWN;
1254 static constexpr InprocControlType REQUEST_HOLD_STATE =
1255 InprocControl_InprocControlType_REQUEST_HOLD_STATE;
1256 static constexpr InprocControlType NOTIFY_HOLD_STATE =
1257 InprocControl_InprocControlType_NOTIFY_HOLD_STATE;
1258 static inline bool InprocControlType_IsValid(int value) {
1260 }
1261 static constexpr InprocControlType InprocControlType_MIN =
1263 static constexpr InprocControlType InprocControlType_MAX =
1265 static constexpr int InprocControlType_ARRAYSIZE =
1267 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1271 template<typename T>
1272 static inline const std::string& InprocControlType_Name(T enum_t_value) {
1273 static_assert(::std::is_same<T, InprocControlType>::value ||
1274 ::std::is_integral<T>::value,
1275 "Incorrect type passed to function InprocControlType_Name.");
1276 return InprocControl_InprocControlType_Name(enum_t_value);
1277 }
1278 static inline bool InprocControlType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1279 InprocControlType* value) {
1280 return InprocControl_InprocControlType_Parse(name, value);
1281 }
1282
1283 // accessors -------------------------------------------------------
1284
1285 enum : int {
1286 kSubscriptionIdentifierFieldNumber = 3,
1287 kReceivedDataFieldNumber = 4,
1288 kPublishSocketFieldNumber = 2,
1289 kHoldFieldNumber = 10,
1290 kTypeFieldNumber = 1,
1291 };
1292 // optional bytes subscription_identifier = 3;
1293 bool has_subscription_identifier() const;
1294 private:
1295 bool _internal_has_subscription_identifier() const;
1296 public:
1297 void clear_subscription_identifier();
1298 const std::string& subscription_identifier() const;
1299 template <typename ArgT0 = const std::string&, typename... ArgT>
1300 void set_subscription_identifier(ArgT0&& arg0, ArgT... args);
1301 std::string* mutable_subscription_identifier();
1302 PROTOBUF_NODISCARD std::string* release_subscription_identifier();
1303 void set_allocated_subscription_identifier(std::string* subscription_identifier);
1304 private:
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();
1308 public:
1309
1310 // optional bytes received_data = 4;
1311 bool has_received_data() const;
1312 private:
1313 bool _internal_has_received_data() const;
1314 public:
1315 void clear_received_data();
1316 const std::string& received_data() const;
1317 template <typename ArgT0 = const std::string&, typename... ArgT>
1318 void set_received_data(ArgT0&& arg0, ArgT... args);
1319 std::string* mutable_received_data();
1320 PROTOBUF_NODISCARD std::string* release_received_data();
1321 void set_allocated_received_data(std::string* received_data);
1322 private:
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();
1326 public:
1327
1328 // optional .goby.zeromq.protobuf.Socket publish_socket = 2;
1329 bool has_publish_socket() const;
1330 private:
1331 bool _internal_has_publish_socket() const;
1332 public:
1333 void clear_publish_socket();
1334 const ::goby::zeromq::protobuf::Socket& publish_socket() const;
1335 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::Socket* release_publish_socket();
1336 ::goby::zeromq::protobuf::Socket* mutable_publish_socket();
1337 void set_allocated_publish_socket(::goby::zeromq::protobuf::Socket* publish_socket);
1338 private:
1339 const ::goby::zeromq::protobuf::Socket& _internal_publish_socket() const;
1340 ::goby::zeromq::protobuf::Socket* _internal_mutable_publish_socket();
1341 public:
1342 void unsafe_arena_set_allocated_publish_socket(
1343 ::goby::zeromq::protobuf::Socket* publish_socket);
1344 ::goby::zeromq::protobuf::Socket* unsafe_arena_release_publish_socket();
1345
1346 // optional bool hold = 10;
1347 bool has_hold() const;
1348 private:
1349 bool _internal_has_hold() const;
1350 public:
1351 void clear_hold();
1352 bool hold() const;
1353 void set_hold(bool value);
1354 private:
1355 bool _internal_hold() const;
1356 void _internal_set_hold(bool value);
1357 public:
1358
1359 // required .goby.zeromq.protobuf.InprocControl.InprocControlType type = 1;
1360 bool has_type() const;
1361 private:
1362 bool _internal_has_type() const;
1363 public:
1364 void clear_type();
1367 private:
1369 void _internal_set_type(::goby::zeromq::protobuf::InprocControl_InprocControlType value);
1370 public:
1371
1372 // @@protoc_insertion_point(class_scope:goby.zeromq.protobuf.InprocControl)
1373 private:
1374 class _Internal;
1375
1376 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1377 typedef void InternalArenaConstructable_;
1378 typedef void DestructorSkippable_;
1379 struct Impl_ {
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_;
1384 ::goby::zeromq::protobuf::Socket* publish_socket_;
1385 bool hold_;
1386 int type_;
1387 };
1388 union { Impl_ _impl_; };
1389 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto;
1390};
1391// ===================================================================
1392
1393
1394// ===================================================================
1395
1396#ifdef __GNUC__
1397 #pragma GCC diagnostic push
1398 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1399#endif // __GNUC__
1400// ManagerRequest
1401
1402// required .goby.zeromq.protobuf.Request request = 1 [(.goby.field) = {
1403inline bool ManagerRequest::_internal_has_request() const {
1404 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1405 return value;
1406}
1407inline bool ManagerRequest::has_request() const {
1408 return _internal_has_request();
1409}
1410inline void ManagerRequest::clear_request() {
1411 _impl_.request_ = 1;
1412 _impl_._has_bits_[0] &= ~0x00000008u;
1413}
1414inline ::goby::zeromq::protobuf::Request ManagerRequest::_internal_request() const {
1415 return static_cast< ::goby::zeromq::protobuf::Request >(_impl_.request_);
1416}
1417inline ::goby::zeromq::protobuf::Request ManagerRequest::request() const {
1418 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.ManagerRequest.request)
1419 return _internal_request();
1420}
1421inline void ManagerRequest::_internal_set_request(::goby::zeromq::protobuf::Request value) {
1423 _impl_._has_bits_[0] |= 0x00000008u;
1424 _impl_.request_ = value;
1425}
1426inline void ManagerRequest::set_request(::goby::zeromq::protobuf::Request value) {
1427 _internal_set_request(value);
1428 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.ManagerRequest.request)
1429}
1430
1431// required string client_name = 2 [(.goby.field) = {
1432inline bool ManagerRequest::_internal_has_client_name() const {
1433 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1434 return value;
1435}
1436inline bool ManagerRequest::has_client_name() const {
1437 return _internal_has_client_name();
1438}
1439inline void ManagerRequest::clear_client_name() {
1440 _impl_.client_name_.ClearToEmpty();
1441 _impl_._has_bits_[0] &= ~0x00000001u;
1442}
1443inline const std::string& ManagerRequest::client_name() const {
1444 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.ManagerRequest.client_name)
1445 return _internal_client_name();
1446}
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());
1452 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.ManagerRequest.client_name)
1453}
1454inline std::string* ManagerRequest::mutable_client_name() {
1455 std::string* _s = _internal_mutable_client_name();
1456 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.ManagerRequest.client_name)
1457 return _s;
1458}
1459inline const std::string& ManagerRequest::_internal_client_name() const {
1460 return _impl_.client_name_.Get();
1461}
1462inline void ManagerRequest::_internal_set_client_name(const std::string& value) {
1463 _impl_._has_bits_[0] |= 0x00000001u;
1464 _impl_.client_name_.Set(value, GetArenaForAllocation());
1465}
1466inline std::string* ManagerRequest::_internal_mutable_client_name() {
1467 _impl_._has_bits_[0] |= 0x00000001u;
1468 return _impl_.client_name_.Mutable(GetArenaForAllocation());
1469}
1470inline std::string* ManagerRequest::release_client_name() {
1471 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.ManagerRequest.client_name)
1472 if (!_internal_has_client_name()) {
1473 return nullptr;
1474 }
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());
1480 }
1481#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1482 return p;
1483}
1484inline void ManagerRequest::set_allocated_client_name(std::string* client_name) {
1485 if (client_name != nullptr) {
1486 _impl_._has_bits_[0] |= 0x00000001u;
1487 } else {
1488 _impl_._has_bits_[0] &= ~0x00000001u;
1489 }
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());
1494 }
1495#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1496 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.ManagerRequest.client_name)
1497}
1498
1499// required int32 client_pid = 3 [(.goby.field) = {
1500inline bool ManagerRequest::_internal_has_client_pid() const {
1501 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1502 return value;
1503}
1504inline bool ManagerRequest::has_client_pid() const {
1505 return _internal_has_client_pid();
1506}
1507inline void ManagerRequest::clear_client_pid() {
1508 _impl_.client_pid_ = 0;
1509 _impl_._has_bits_[0] &= ~0x00000002u;
1510}
1511inline int32_t ManagerRequest::_internal_client_pid() const {
1512 return _impl_.client_pid_;
1513}
1514inline int32_t ManagerRequest::client_pid() const {
1515 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.ManagerRequest.client_pid)
1516 return _internal_client_pid();
1517}
1518inline void ManagerRequest::_internal_set_client_pid(int32_t value) {
1519 _impl_._has_bits_[0] |= 0x00000002u;
1520 _impl_.client_pid_ = value;
1521}
1522inline void ManagerRequest::set_client_pid(int32_t value) {
1523 _internal_set_client_pid(value);
1524 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.ManagerRequest.client_pid)
1525}
1526
1527// optional bool ready = 4 [default = false, (.goby.field) = {
1528inline bool ManagerRequest::_internal_has_ready() const {
1529 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1530 return value;
1531}
1532inline bool ManagerRequest::has_ready() const {
1533 return _internal_has_ready();
1534}
1535inline void ManagerRequest::clear_ready() {
1536 _impl_.ready_ = false;
1537 _impl_._has_bits_[0] &= ~0x00000004u;
1538}
1539inline bool ManagerRequest::_internal_ready() const {
1540 return _impl_.ready_;
1541}
1542inline bool ManagerRequest::ready() const {
1543 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.ManagerRequest.ready)
1544 return _internal_ready();
1545}
1546inline void ManagerRequest::_internal_set_ready(bool value) {
1547 _impl_._has_bits_[0] |= 0x00000004u;
1548 _impl_.ready_ = value;
1549}
1550inline void ManagerRequest::set_ready(bool value) {
1551 _internal_set_ready(value);
1552 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.ManagerRequest.ready)
1553}
1554
1555// -------------------------------------------------------------------
1556
1557// Socket
1558
1559// required .goby.zeromq.protobuf.Socket.SocketType socket_type = 1;
1560inline bool Socket::_internal_has_socket_type() const {
1561 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1562 return value;
1563}
1564inline bool Socket::has_socket_type() const {
1565 return _internal_has_socket_type();
1566}
1567inline void Socket::clear_socket_type() {
1568 _impl_.socket_type_ = 1;
1569 _impl_._has_bits_[0] &= ~0x00000010u;
1570}
1571inline ::goby::zeromq::protobuf::Socket_SocketType Socket::_internal_socket_type() const {
1572 return static_cast< ::goby::zeromq::protobuf::Socket_SocketType >(_impl_.socket_type_);
1573}
1574inline ::goby::zeromq::protobuf::Socket_SocketType Socket::socket_type() const {
1575 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.Socket.socket_type)
1576 return _internal_socket_type();
1577}
1578inline void Socket::_internal_set_socket_type(::goby::zeromq::protobuf::Socket_SocketType value) {
1580 _impl_._has_bits_[0] |= 0x00000010u;
1581 _impl_.socket_type_ = value;
1582}
1583inline void Socket::set_socket_type(::goby::zeromq::protobuf::Socket_SocketType value) {
1584 _internal_set_socket_type(value);
1585 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.Socket.socket_type)
1586}
1587
1588// optional uint32 socket_id = 2 [default = 0, (.goby.field) = {
1589inline bool Socket::_internal_has_socket_id() const {
1590 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1591 return value;
1592}
1593inline bool Socket::has_socket_id() const {
1594 return _internal_has_socket_id();
1595}
1596inline void Socket::clear_socket_id() {
1597 _impl_.socket_id_ = 0u;
1598 _impl_._has_bits_[0] &= ~0x00000008u;
1599}
1600inline uint32_t Socket::_internal_socket_id() const {
1601 return _impl_.socket_id_;
1602}
1603inline uint32_t Socket::socket_id() const {
1604 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.Socket.socket_id)
1605 return _internal_socket_id();
1606}
1607inline void Socket::_internal_set_socket_id(uint32_t value) {
1608 _impl_._has_bits_[0] |= 0x00000008u;
1609 _impl_.socket_id_ = value;
1610}
1611inline void Socket::set_socket_id(uint32_t value) {
1612 _internal_set_socket_id(value);
1613 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.Socket.socket_id)
1614}
1615
1616// optional .goby.zeromq.protobuf.Socket.Transport transport = 3 [default = EPGM];
1617inline bool Socket::_internal_has_transport() const {
1618 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1619 return value;
1620}
1621inline bool Socket::has_transport() const {
1622 return _internal_has_transport();
1623}
1624inline void Socket::clear_transport() {
1625 _impl_.transport_ = 5;
1626 _impl_._has_bits_[0] &= ~0x00000020u;
1627}
1628inline ::goby::zeromq::protobuf::Socket_Transport Socket::_internal_transport() const {
1629 return static_cast< ::goby::zeromq::protobuf::Socket_Transport >(_impl_.transport_);
1630}
1631inline ::goby::zeromq::protobuf::Socket_Transport Socket::transport() const {
1632 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.Socket.transport)
1633 return _internal_transport();
1634}
1635inline void Socket::_internal_set_transport(::goby::zeromq::protobuf::Socket_Transport value) {
1637 _impl_._has_bits_[0] |= 0x00000020u;
1638 _impl_.transport_ = value;
1639}
1640inline void Socket::set_transport(::goby::zeromq::protobuf::Socket_Transport value) {
1641 _internal_set_transport(value);
1642 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.Socket.transport)
1643}
1644
1645// optional .goby.zeromq.protobuf.Socket.ConnectOrBind connect_or_bind = 4 [default = CONNECT];
1646inline bool Socket::_internal_has_connect_or_bind() const {
1647 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1648 return value;
1649}
1650inline bool Socket::has_connect_or_bind() const {
1651 return _internal_has_connect_or_bind();
1652}
1653inline void Socket::clear_connect_or_bind() {
1654 _impl_.connect_or_bind_ = 1;
1655 _impl_._has_bits_[0] &= ~0x00000040u;
1656}
1657inline ::goby::zeromq::protobuf::Socket_ConnectOrBind Socket::_internal_connect_or_bind() const {
1658 return static_cast< ::goby::zeromq::protobuf::Socket_ConnectOrBind >(_impl_.connect_or_bind_);
1659}
1660inline ::goby::zeromq::protobuf::Socket_ConnectOrBind Socket::connect_or_bind() const {
1661 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.Socket.connect_or_bind)
1662 return _internal_connect_or_bind();
1663}
1664inline void Socket::_internal_set_connect_or_bind(::goby::zeromq::protobuf::Socket_ConnectOrBind value) {
1666 _impl_._has_bits_[0] |= 0x00000040u;
1667 _impl_.connect_or_bind_ = value;
1668}
1669inline void Socket::set_connect_or_bind(::goby::zeromq::protobuf::Socket_ConnectOrBind value) {
1670 _internal_set_connect_or_bind(value);
1671 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.Socket.connect_or_bind)
1672}
1673
1674// optional string ethernet_address = 5 [default = "127.0.0.1", (.goby.field) = {
1675inline bool Socket::_internal_has_ethernet_address() const {
1676 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1677 return value;
1678}
1679inline bool Socket::has_ethernet_address() const {
1680 return _internal_has_ethernet_address();
1681}
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;
1685}
1686inline const std::string& Socket::ethernet_address() const {
1687 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.Socket.ethernet_address)
1688 if (_impl_.ethernet_address_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_ethernet_address_.get();
1689 return _internal_ethernet_address();
1690}
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());
1696 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.Socket.ethernet_address)
1697}
1698inline std::string* Socket::mutable_ethernet_address() {
1699 std::string* _s = _internal_mutable_ethernet_address();
1700 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.Socket.ethernet_address)
1701 return _s;
1702}
1703inline const std::string& Socket::_internal_ethernet_address() const {
1704 return _impl_.ethernet_address_.Get();
1705}
1706inline void Socket::_internal_set_ethernet_address(const std::string& value) {
1707 _impl_._has_bits_[0] |= 0x00000001u;
1708 _impl_.ethernet_address_.Set(value, GetArenaForAllocation());
1709}
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());
1713}
1714inline std::string* Socket::release_ethernet_address() {
1715 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.Socket.ethernet_address)
1716 if (!_internal_has_ethernet_address()) {
1717 return nullptr;
1718 }
1719 _impl_._has_bits_[0] &= ~0x00000001u;
1720 auto* p = _impl_.ethernet_address_.Release();
1721 return p;
1722}
1723inline void Socket::set_allocated_ethernet_address(std::string* ethernet_address) {
1724 if (ethernet_address != nullptr) {
1725 _impl_._has_bits_[0] |= 0x00000001u;
1726 } else {
1727 _impl_._has_bits_[0] &= ~0x00000001u;
1728 }
1729 _impl_.ethernet_address_.SetAllocated(ethernet_address, GetArenaForAllocation());
1730 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.Socket.ethernet_address)
1731}
1732
1733// optional string multicast_address = 6 [default = "239.255.7.15", (.goby.field) = {
1734inline bool Socket::_internal_has_multicast_address() const {
1735 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1736 return value;
1737}
1738inline bool Socket::has_multicast_address() const {
1739 return _internal_has_multicast_address();
1740}
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;
1744}
1745inline const std::string& Socket::multicast_address() const {
1746 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.Socket.multicast_address)
1747 if (_impl_.multicast_address_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_multicast_address_.get();
1748 return _internal_multicast_address();
1749}
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());
1755 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.Socket.multicast_address)
1756}
1757inline std::string* Socket::mutable_multicast_address() {
1758 std::string* _s = _internal_mutable_multicast_address();
1759 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.Socket.multicast_address)
1760 return _s;
1761}
1762inline const std::string& Socket::_internal_multicast_address() const {
1763 return _impl_.multicast_address_.Get();
1764}
1765inline void Socket::_internal_set_multicast_address(const std::string& value) {
1766 _impl_._has_bits_[0] |= 0x00000002u;
1767 _impl_.multicast_address_.Set(value, GetArenaForAllocation());
1768}
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());
1772}
1773inline std::string* Socket::release_multicast_address() {
1774 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.Socket.multicast_address)
1775 if (!_internal_has_multicast_address()) {
1776 return nullptr;
1777 }
1778 _impl_._has_bits_[0] &= ~0x00000002u;
1779 auto* p = _impl_.multicast_address_.Release();
1780 return p;
1781}
1782inline void Socket::set_allocated_multicast_address(std::string* multicast_address) {
1783 if (multicast_address != nullptr) {
1784 _impl_._has_bits_[0] |= 0x00000002u;
1785 } else {
1786 _impl_._has_bits_[0] &= ~0x00000002u;
1787 }
1788 _impl_.multicast_address_.SetAllocated(multicast_address, GetArenaForAllocation());
1789 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.Socket.multicast_address)
1790}
1791
1792// optional uint32 ethernet_port = 7 [default = 11142];
1793inline bool Socket::_internal_has_ethernet_port() const {
1794 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1795 return value;
1796}
1797inline bool Socket::has_ethernet_port() const {
1798 return _internal_has_ethernet_port();
1799}
1800inline void Socket::clear_ethernet_port() {
1801 _impl_.ethernet_port_ = 11142u;
1802 _impl_._has_bits_[0] &= ~0x00000080u;
1803}
1804inline uint32_t Socket::_internal_ethernet_port() const {
1805 return _impl_.ethernet_port_;
1806}
1807inline uint32_t Socket::ethernet_port() const {
1808 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.Socket.ethernet_port)
1809 return _internal_ethernet_port();
1810}
1811inline void Socket::_internal_set_ethernet_port(uint32_t value) {
1812 _impl_._has_bits_[0] |= 0x00000080u;
1813 _impl_.ethernet_port_ = value;
1814}
1815inline void Socket::set_ethernet_port(uint32_t value) {
1816 _internal_set_ethernet_port(value);
1817 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.Socket.ethernet_port)
1818}
1819
1820// optional string socket_name = 8;
1821inline bool Socket::_internal_has_socket_name() const {
1822 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1823 return value;
1824}
1825inline bool Socket::has_socket_name() const {
1826 return _internal_has_socket_name();
1827}
1828inline void Socket::clear_socket_name() {
1829 _impl_.socket_name_.ClearToEmpty();
1830 _impl_._has_bits_[0] &= ~0x00000004u;
1831}
1832inline const std::string& Socket::socket_name() const {
1833 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.Socket.socket_name)
1834 return _internal_socket_name();
1835}
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());
1841 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.Socket.socket_name)
1842}
1843inline std::string* Socket::mutable_socket_name() {
1844 std::string* _s = _internal_mutable_socket_name();
1845 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.Socket.socket_name)
1846 return _s;
1847}
1848inline const std::string& Socket::_internal_socket_name() const {
1849 return _impl_.socket_name_.Get();
1850}
1851inline void Socket::_internal_set_socket_name(const std::string& value) {
1852 _impl_._has_bits_[0] |= 0x00000004u;
1853 _impl_.socket_name_.Set(value, GetArenaForAllocation());
1854}
1855inline std::string* Socket::_internal_mutable_socket_name() {
1856 _impl_._has_bits_[0] |= 0x00000004u;
1857 return _impl_.socket_name_.Mutable(GetArenaForAllocation());
1858}
1859inline std::string* Socket::release_socket_name() {
1860 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.Socket.socket_name)
1861 if (!_internal_has_socket_name()) {
1862 return nullptr;
1863 }
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());
1869 }
1870#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1871 return p;
1872}
1873inline void Socket::set_allocated_socket_name(std::string* socket_name) {
1874 if (socket_name != nullptr) {
1875 _impl_._has_bits_[0] |= 0x00000004u;
1876 } else {
1877 _impl_._has_bits_[0] &= ~0x00000004u;
1878 }
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());
1883 }
1884#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1885 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.Socket.socket_name)
1886}
1887
1888// optional uint32 send_queue_size = 10 [default = 1000];
1889inline bool Socket::_internal_has_send_queue_size() const {
1890 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1891 return value;
1892}
1893inline bool Socket::has_send_queue_size() const {
1894 return _internal_has_send_queue_size();
1895}
1896inline void Socket::clear_send_queue_size() {
1897 _impl_.send_queue_size_ = 1000u;
1898 _impl_._has_bits_[0] &= ~0x00000100u;
1899}
1900inline uint32_t Socket::_internal_send_queue_size() const {
1901 return _impl_.send_queue_size_;
1902}
1903inline uint32_t Socket::send_queue_size() const {
1904 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.Socket.send_queue_size)
1905 return _internal_send_queue_size();
1906}
1907inline void Socket::_internal_set_send_queue_size(uint32_t value) {
1908 _impl_._has_bits_[0] |= 0x00000100u;
1909 _impl_.send_queue_size_ = value;
1910}
1911inline void Socket::set_send_queue_size(uint32_t value) {
1912 _internal_set_send_queue_size(value);
1913 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.Socket.send_queue_size)
1914}
1915
1916// optional uint32 receive_queue_size = 11 [default = 1000];
1917inline bool Socket::_internal_has_receive_queue_size() const {
1918 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1919 return value;
1920}
1921inline bool Socket::has_receive_queue_size() const {
1922 return _internal_has_receive_queue_size();
1923}
1924inline void Socket::clear_receive_queue_size() {
1925 _impl_.receive_queue_size_ = 1000u;
1926 _impl_._has_bits_[0] &= ~0x00000200u;
1927}
1928inline uint32_t Socket::_internal_receive_queue_size() const {
1929 return _impl_.receive_queue_size_;
1930}
1931inline uint32_t Socket::receive_queue_size() const {
1932 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.Socket.receive_queue_size)
1933 return _internal_receive_queue_size();
1934}
1935inline void Socket::_internal_set_receive_queue_size(uint32_t value) {
1936 _impl_._has_bits_[0] |= 0x00000200u;
1937 _impl_.receive_queue_size_ = value;
1938}
1939inline void Socket::set_receive_queue_size(uint32_t value) {
1940 _internal_set_receive_queue_size(value);
1941 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.Socket.receive_queue_size)
1942}
1943
1944// -------------------------------------------------------------------
1945
1946// ManagerResponse
1947
1948// required .goby.zeromq.protobuf.Request request = 1;
1949inline bool ManagerResponse::_internal_has_request() const {
1950 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1951 return value;
1952}
1953inline bool ManagerResponse::has_request() const {
1954 return _internal_has_request();
1955}
1956inline void ManagerResponse::clear_request() {
1957 _impl_.request_ = 1;
1958 _impl_._has_bits_[0] &= ~0x00000010u;
1959}
1960inline ::goby::zeromq::protobuf::Request ManagerResponse::_internal_request() const {
1961 return static_cast< ::goby::zeromq::protobuf::Request >(_impl_.request_);
1962}
1963inline ::goby::zeromq::protobuf::Request ManagerResponse::request() const {
1964 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.ManagerResponse.request)
1965 return _internal_request();
1966}
1967inline void ManagerResponse::_internal_set_request(::goby::zeromq::protobuf::Request value) {
1969 _impl_._has_bits_[0] |= 0x00000010u;
1970 _impl_.request_ = value;
1971}
1972inline void ManagerResponse::set_request(::goby::zeromq::protobuf::Request value) {
1973 _internal_set_request(value);
1974 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.ManagerResponse.request)
1975}
1976
1977// required string client_name = 2;
1978inline bool ManagerResponse::_internal_has_client_name() const {
1979 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1980 return value;
1981}
1982inline bool ManagerResponse::has_client_name() const {
1983 return _internal_has_client_name();
1984}
1985inline void ManagerResponse::clear_client_name() {
1986 _impl_.client_name_.ClearToEmpty();
1987 _impl_._has_bits_[0] &= ~0x00000001u;
1988}
1989inline const std::string& ManagerResponse::client_name() const {
1990 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.ManagerResponse.client_name)
1991 return _internal_client_name();
1992}
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());
1998 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.ManagerResponse.client_name)
1999}
2000inline std::string* ManagerResponse::mutable_client_name() {
2001 std::string* _s = _internal_mutable_client_name();
2002 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.ManagerResponse.client_name)
2003 return _s;
2004}
2005inline const std::string& ManagerResponse::_internal_client_name() const {
2006 return _impl_.client_name_.Get();
2007}
2008inline void ManagerResponse::_internal_set_client_name(const std::string& value) {
2009 _impl_._has_bits_[0] |= 0x00000001u;
2010 _impl_.client_name_.Set(value, GetArenaForAllocation());
2011}
2012inline std::string* ManagerResponse::_internal_mutable_client_name() {
2013 _impl_._has_bits_[0] |= 0x00000001u;
2014 return _impl_.client_name_.Mutable(GetArenaForAllocation());
2015}
2016inline std::string* ManagerResponse::release_client_name() {
2017 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.ManagerResponse.client_name)
2018 if (!_internal_has_client_name()) {
2019 return nullptr;
2020 }
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());
2026 }
2027#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2028 return p;
2029}
2030inline void ManagerResponse::set_allocated_client_name(std::string* client_name) {
2031 if (client_name != nullptr) {
2032 _impl_._has_bits_[0] |= 0x00000001u;
2033 } else {
2034 _impl_._has_bits_[0] &= ~0x00000001u;
2035 }
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());
2040 }
2041#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2042 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.ManagerResponse.client_name)
2043}
2044
2045// required int32 client_pid = 3;
2046inline bool ManagerResponse::_internal_has_client_pid() const {
2047 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2048 return value;
2049}
2050inline bool ManagerResponse::has_client_pid() const {
2051 return _internal_has_client_pid();
2052}
2053inline void ManagerResponse::clear_client_pid() {
2054 _impl_.client_pid_ = 0;
2055 _impl_._has_bits_[0] &= ~0x00000008u;
2056}
2057inline int32_t ManagerResponse::_internal_client_pid() const {
2058 return _impl_.client_pid_;
2059}
2060inline int32_t ManagerResponse::client_pid() const {
2061 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.ManagerResponse.client_pid)
2062 return _internal_client_pid();
2063}
2064inline void ManagerResponse::_internal_set_client_pid(int32_t value) {
2065 _impl_._has_bits_[0] |= 0x00000008u;
2066 _impl_.client_pid_ = value;
2067}
2068inline void ManagerResponse::set_client_pid(int32_t value) {
2069 _internal_set_client_pid(value);
2070 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.ManagerResponse.client_pid)
2071}
2072
2073// optional .goby.zeromq.protobuf.Socket publish_socket = 4;
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);
2077 return value;
2078}
2079inline bool ManagerResponse::has_publish_socket() const {
2080 return _internal_has_publish_socket();
2081}
2082inline void ManagerResponse::clear_publish_socket() {
2083 if (_impl_.publish_socket_ != nullptr) _impl_.publish_socket_->Clear();
2084 _impl_._has_bits_[0] &= ~0x00000002u;
2085}
2086inline const ::goby::zeromq::protobuf::Socket& ManagerResponse::_internal_publish_socket() const {
2087 const ::goby::zeromq::protobuf::Socket* p = _impl_.publish_socket_;
2088 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::Socket&>(
2090}
2091inline const ::goby::zeromq::protobuf::Socket& ManagerResponse::publish_socket() const {
2092 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.ManagerResponse.publish_socket)
2093 return _internal_publish_socket();
2094}
2095inline void ManagerResponse::unsafe_arena_set_allocated_publish_socket(
2096 ::goby::zeromq::protobuf::Socket* publish_socket) {
2097 if (GetArenaForAllocation() == nullptr) {
2098 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.publish_socket_);
2099 }
2100 _impl_.publish_socket_ = publish_socket;
2101 if (publish_socket) {
2102 _impl_._has_bits_[0] |= 0x00000002u;
2103 } else {
2104 _impl_._has_bits_[0] &= ~0x00000002u;
2105 }
2106 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.zeromq.protobuf.ManagerResponse.publish_socket)
2107}
2108inline ::goby::zeromq::protobuf::Socket* ManagerResponse::release_publish_socket() {
2109 _impl_._has_bits_[0] &= ~0x00000002u;
2110 ::goby::zeromq::protobuf::Socket* temp = _impl_.publish_socket_;
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; }
2116#else // PROTOBUF_FORCE_COPY_IN_RELEASE
2117 if (GetArenaForAllocation() != nullptr) {
2118 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2119 }
2120#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2121 return temp;
2122}
2123inline ::goby::zeromq::protobuf::Socket* ManagerResponse::unsafe_arena_release_publish_socket() {
2124 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.ManagerResponse.publish_socket)
2125 _impl_._has_bits_[0] &= ~0x00000002u;
2126 ::goby::zeromq::protobuf::Socket* temp = _impl_.publish_socket_;
2127 _impl_.publish_socket_ = nullptr;
2128 return temp;
2129}
2130inline ::goby::zeromq::protobuf::Socket* ManagerResponse::_internal_mutable_publish_socket() {
2131 _impl_._has_bits_[0] |= 0x00000002u;
2132 if (_impl_.publish_socket_ == nullptr) {
2133 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::Socket>(GetArenaForAllocation());
2134 _impl_.publish_socket_ = p;
2135 }
2136 return _impl_.publish_socket_;
2137}
2138inline ::goby::zeromq::protobuf::Socket* ManagerResponse::mutable_publish_socket() {
2139 ::goby::zeromq::protobuf::Socket* _msg = _internal_mutable_publish_socket();
2140 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.ManagerResponse.publish_socket)
2141 return _msg;
2142}
2143inline void ManagerResponse::set_allocated_publish_socket(::goby::zeromq::protobuf::Socket* publish_socket) {
2144 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2145 if (message_arena == nullptr) {
2146 delete _impl_.publish_socket_;
2147 }
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);
2154 }
2155 _impl_._has_bits_[0] |= 0x00000002u;
2156 } else {
2157 _impl_._has_bits_[0] &= ~0x00000002u;
2158 }
2159 _impl_.publish_socket_ = publish_socket;
2160 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.ManagerResponse.publish_socket)
2161}
2162
2163// optional .goby.zeromq.protobuf.Socket subscribe_socket = 5;
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);
2167 return value;
2168}
2169inline bool ManagerResponse::has_subscribe_socket() const {
2170 return _internal_has_subscribe_socket();
2171}
2172inline void ManagerResponse::clear_subscribe_socket() {
2173 if (_impl_.subscribe_socket_ != nullptr) _impl_.subscribe_socket_->Clear();
2174 _impl_._has_bits_[0] &= ~0x00000004u;
2175}
2176inline const ::goby::zeromq::protobuf::Socket& ManagerResponse::_internal_subscribe_socket() const {
2177 const ::goby::zeromq::protobuf::Socket* p = _impl_.subscribe_socket_;
2178 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::Socket&>(
2180}
2181inline const ::goby::zeromq::protobuf::Socket& ManagerResponse::subscribe_socket() const {
2182 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.ManagerResponse.subscribe_socket)
2183 return _internal_subscribe_socket();
2184}
2185inline void ManagerResponse::unsafe_arena_set_allocated_subscribe_socket(
2186 ::goby::zeromq::protobuf::Socket* subscribe_socket) {
2187 if (GetArenaForAllocation() == nullptr) {
2188 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.subscribe_socket_);
2189 }
2190 _impl_.subscribe_socket_ = subscribe_socket;
2191 if (subscribe_socket) {
2192 _impl_._has_bits_[0] |= 0x00000004u;
2193 } else {
2194 _impl_._has_bits_[0] &= ~0x00000004u;
2195 }
2196 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.zeromq.protobuf.ManagerResponse.subscribe_socket)
2197}
2198inline ::goby::zeromq::protobuf::Socket* ManagerResponse::release_subscribe_socket() {
2199 _impl_._has_bits_[0] &= ~0x00000004u;
2200 ::goby::zeromq::protobuf::Socket* temp = _impl_.subscribe_socket_;
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; }
2206#else // PROTOBUF_FORCE_COPY_IN_RELEASE
2207 if (GetArenaForAllocation() != nullptr) {
2208 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2209 }
2210#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2211 return temp;
2212}
2213inline ::goby::zeromq::protobuf::Socket* ManagerResponse::unsafe_arena_release_subscribe_socket() {
2214 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.ManagerResponse.subscribe_socket)
2215 _impl_._has_bits_[0] &= ~0x00000004u;
2216 ::goby::zeromq::protobuf::Socket* temp = _impl_.subscribe_socket_;
2217 _impl_.subscribe_socket_ = nullptr;
2218 return temp;
2219}
2220inline ::goby::zeromq::protobuf::Socket* ManagerResponse::_internal_mutable_subscribe_socket() {
2221 _impl_._has_bits_[0] |= 0x00000004u;
2222 if (_impl_.subscribe_socket_ == nullptr) {
2223 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::Socket>(GetArenaForAllocation());
2224 _impl_.subscribe_socket_ = p;
2225 }
2226 return _impl_.subscribe_socket_;
2227}
2228inline ::goby::zeromq::protobuf::Socket* ManagerResponse::mutable_subscribe_socket() {
2229 ::goby::zeromq::protobuf::Socket* _msg = _internal_mutable_subscribe_socket();
2230 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.ManagerResponse.subscribe_socket)
2231 return _msg;
2232}
2233inline void ManagerResponse::set_allocated_subscribe_socket(::goby::zeromq::protobuf::Socket* subscribe_socket) {
2234 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2235 if (message_arena == nullptr) {
2236 delete _impl_.subscribe_socket_;
2237 }
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);
2244 }
2245 _impl_._has_bits_[0] |= 0x00000004u;
2246 } else {
2247 _impl_._has_bits_[0] &= ~0x00000004u;
2248 }
2249 _impl_.subscribe_socket_ = subscribe_socket;
2250 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.ManagerResponse.subscribe_socket)
2251}
2252
2253// optional bool hold = 6 [default = true, (.goby.field) = {
2254inline bool ManagerResponse::_internal_has_hold() const {
2255 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2256 return value;
2257}
2258inline bool ManagerResponse::has_hold() const {
2259 return _internal_has_hold();
2260}
2261inline void ManagerResponse::clear_hold() {
2262 _impl_.hold_ = true;
2263 _impl_._has_bits_[0] &= ~0x00000020u;
2264}
2265inline bool ManagerResponse::_internal_hold() const {
2266 return _impl_.hold_;
2267}
2268inline bool ManagerResponse::hold() const {
2269 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.ManagerResponse.hold)
2270 return _internal_hold();
2271}
2272inline void ManagerResponse::_internal_set_hold(bool value) {
2273 _impl_._has_bits_[0] |= 0x00000020u;
2274 _impl_.hold_ = value;
2275}
2276inline void ManagerResponse::set_hold(bool value) {
2277 _internal_set_hold(value);
2278 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.ManagerResponse.hold)
2279}
2280
2281// repeated string required_client = 7 [(.goby.field) = {
2282inline int ManagerResponse::_internal_required_client_size() const {
2283 return _impl_.required_client_.size();
2284}
2285inline int ManagerResponse::required_client_size() const {
2286 return _internal_required_client_size();
2287}
2288inline void ManagerResponse::clear_required_client() {
2289 _impl_.required_client_.Clear();
2290}
2291inline std::string* ManagerResponse::add_required_client() {
2292 std::string* _s = _internal_add_required_client();
2293 // @@protoc_insertion_point(field_add_mutable:goby.zeromq.protobuf.ManagerResponse.required_client)
2294 return _s;
2295}
2296inline const std::string& ManagerResponse::_internal_required_client(int index) const {
2297 return _impl_.required_client_.Get(index);
2298}
2299inline const std::string& ManagerResponse::required_client(int index) const {
2300 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.ManagerResponse.required_client)
2301 return _internal_required_client(index);
2302}
2303inline std::string* ManagerResponse::mutable_required_client(int index) {
2304 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.ManagerResponse.required_client)
2305 return _impl_.required_client_.Mutable(index);
2306}
2307inline void ManagerResponse::set_required_client(int index, const std::string& value) {
2308 _impl_.required_client_.Mutable(index)->assign(value);
2309 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.ManagerResponse.required_client)
2310}
2311inline void ManagerResponse::set_required_client(int index, std::string&& value) {
2312 _impl_.required_client_.Mutable(index)->assign(std::move(value));
2313 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.ManagerResponse.required_client)
2314}
2315inline void ManagerResponse::set_required_client(int index, const char* value) {
2316 GOOGLE_DCHECK(value != nullptr);
2317 _impl_.required_client_.Mutable(index)->assign(value);
2318 // @@protoc_insertion_point(field_set_char:goby.zeromq.protobuf.ManagerResponse.required_client)
2319}
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);
2323 // @@protoc_insertion_point(field_set_pointer:goby.zeromq.protobuf.ManagerResponse.required_client)
2324}
2325inline std::string* ManagerResponse::_internal_add_required_client() {
2326 return _impl_.required_client_.Add();
2327}
2328inline void ManagerResponse::add_required_client(const std::string& value) {
2329 _impl_.required_client_.Add()->assign(value);
2330 // @@protoc_insertion_point(field_add:goby.zeromq.protobuf.ManagerResponse.required_client)
2331}
2332inline void ManagerResponse::add_required_client(std::string&& value) {
2333 _impl_.required_client_.Add(std::move(value));
2334 // @@protoc_insertion_point(field_add:goby.zeromq.protobuf.ManagerResponse.required_client)
2335}
2336inline void ManagerResponse::add_required_client(const char* value) {
2337 GOOGLE_DCHECK(value != nullptr);
2338 _impl_.required_client_.Add()->assign(value);
2339 // @@protoc_insertion_point(field_add_char:goby.zeromq.protobuf.ManagerResponse.required_client)
2340}
2341inline void ManagerResponse::add_required_client(const char* value, size_t size) {
2342 _impl_.required_client_.Add()->assign(reinterpret_cast<const char*>(value), size);
2343 // @@protoc_insertion_point(field_add_pointer:goby.zeromq.protobuf.ManagerResponse.required_client)
2344}
2345inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
2346ManagerResponse::required_client() const {
2347 // @@protoc_insertion_point(field_list:goby.zeromq.protobuf.ManagerResponse.required_client)
2348 return _impl_.required_client_;
2349}
2350inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
2351ManagerResponse::mutable_required_client() {
2352 // @@protoc_insertion_point(field_mutable_list:goby.zeromq.protobuf.ManagerResponse.required_client)
2353 return &_impl_.required_client_;
2354}
2355
2356// -------------------------------------------------------------------
2357
2358// InprocControl
2359
2360// required .goby.zeromq.protobuf.InprocControl.InprocControlType type = 1;
2361inline bool InprocControl::_internal_has_type() const {
2362 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2363 return value;
2364}
2365inline bool InprocControl::has_type() const {
2366 return _internal_has_type();
2367}
2368inline void InprocControl::clear_type() {
2369 _impl_.type_ = 1;
2370 _impl_._has_bits_[0] &= ~0x00000010u;
2371}
2372inline ::goby::zeromq::protobuf::InprocControl_InprocControlType InprocControl::_internal_type() const {
2373 return static_cast< ::goby::zeromq::protobuf::InprocControl_InprocControlType >(_impl_.type_);
2374}
2375inline ::goby::zeromq::protobuf::InprocControl_InprocControlType InprocControl::type() const {
2376 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InprocControl.type)
2377 return _internal_type();
2378}
2379inline void InprocControl::_internal_set_type(::goby::zeromq::protobuf::InprocControl_InprocControlType value) {
2381 _impl_._has_bits_[0] |= 0x00000010u;
2382 _impl_.type_ = value;
2383}
2384inline void InprocControl::set_type(::goby::zeromq::protobuf::InprocControl_InprocControlType value) {
2385 _internal_set_type(value);
2386 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InprocControl.type)
2387}
2388
2389// optional .goby.zeromq.protobuf.Socket publish_socket = 2;
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);
2393 return value;
2394}
2395inline bool InprocControl::has_publish_socket() const {
2396 return _internal_has_publish_socket();
2397}
2398inline void InprocControl::clear_publish_socket() {
2399 if (_impl_.publish_socket_ != nullptr) _impl_.publish_socket_->Clear();
2400 _impl_._has_bits_[0] &= ~0x00000004u;
2401}
2402inline const ::goby::zeromq::protobuf::Socket& InprocControl::_internal_publish_socket() const {
2403 const ::goby::zeromq::protobuf::Socket* p = _impl_.publish_socket_;
2404 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::Socket&>(
2406}
2407inline const ::goby::zeromq::protobuf::Socket& InprocControl::publish_socket() const {
2408 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InprocControl.publish_socket)
2409 return _internal_publish_socket();
2410}
2411inline void InprocControl::unsafe_arena_set_allocated_publish_socket(
2412 ::goby::zeromq::protobuf::Socket* publish_socket) {
2413 if (GetArenaForAllocation() == nullptr) {
2414 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.publish_socket_);
2415 }
2416 _impl_.publish_socket_ = publish_socket;
2417 if (publish_socket) {
2418 _impl_._has_bits_[0] |= 0x00000004u;
2419 } else {
2420 _impl_._has_bits_[0] &= ~0x00000004u;
2421 }
2422 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.zeromq.protobuf.InprocControl.publish_socket)
2423}
2424inline ::goby::zeromq::protobuf::Socket* InprocControl::release_publish_socket() {
2425 _impl_._has_bits_[0] &= ~0x00000004u;
2426 ::goby::zeromq::protobuf::Socket* temp = _impl_.publish_socket_;
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; }
2432#else // PROTOBUF_FORCE_COPY_IN_RELEASE
2433 if (GetArenaForAllocation() != nullptr) {
2434 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2435 }
2436#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2437 return temp;
2438}
2439inline ::goby::zeromq::protobuf::Socket* InprocControl::unsafe_arena_release_publish_socket() {
2440 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.InprocControl.publish_socket)
2441 _impl_._has_bits_[0] &= ~0x00000004u;
2442 ::goby::zeromq::protobuf::Socket* temp = _impl_.publish_socket_;
2443 _impl_.publish_socket_ = nullptr;
2444 return temp;
2445}
2446inline ::goby::zeromq::protobuf::Socket* InprocControl::_internal_mutable_publish_socket() {
2447 _impl_._has_bits_[0] |= 0x00000004u;
2448 if (_impl_.publish_socket_ == nullptr) {
2449 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::Socket>(GetArenaForAllocation());
2450 _impl_.publish_socket_ = p;
2451 }
2452 return _impl_.publish_socket_;
2453}
2454inline ::goby::zeromq::protobuf::Socket* InprocControl::mutable_publish_socket() {
2455 ::goby::zeromq::protobuf::Socket* _msg = _internal_mutable_publish_socket();
2456 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.InprocControl.publish_socket)
2457 return _msg;
2458}
2459inline void InprocControl::set_allocated_publish_socket(::goby::zeromq::protobuf::Socket* publish_socket) {
2460 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2461 if (message_arena == nullptr) {
2462 delete _impl_.publish_socket_;
2463 }
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);
2470 }
2471 _impl_._has_bits_[0] |= 0x00000004u;
2472 } else {
2473 _impl_._has_bits_[0] &= ~0x00000004u;
2474 }
2475 _impl_.publish_socket_ = publish_socket;
2476 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.InprocControl.publish_socket)
2477}
2478
2479// optional bytes subscription_identifier = 3;
2480inline bool InprocControl::_internal_has_subscription_identifier() const {
2481 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2482 return value;
2483}
2484inline bool InprocControl::has_subscription_identifier() const {
2485 return _internal_has_subscription_identifier();
2486}
2487inline void InprocControl::clear_subscription_identifier() {
2488 _impl_.subscription_identifier_.ClearToEmpty();
2489 _impl_._has_bits_[0] &= ~0x00000001u;
2490}
2491inline const std::string& InprocControl::subscription_identifier() const {
2492 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InprocControl.subscription_identifier)
2493 return _internal_subscription_identifier();
2494}
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());
2500 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InprocControl.subscription_identifier)
2501}
2502inline std::string* InprocControl::mutable_subscription_identifier() {
2503 std::string* _s = _internal_mutable_subscription_identifier();
2504 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.InprocControl.subscription_identifier)
2505 return _s;
2506}
2507inline const std::string& InprocControl::_internal_subscription_identifier() const {
2508 return _impl_.subscription_identifier_.Get();
2509}
2510inline void InprocControl::_internal_set_subscription_identifier(const std::string& value) {
2511 _impl_._has_bits_[0] |= 0x00000001u;
2512 _impl_.subscription_identifier_.Set(value, GetArenaForAllocation());
2513}
2514inline std::string* InprocControl::_internal_mutable_subscription_identifier() {
2515 _impl_._has_bits_[0] |= 0x00000001u;
2516 return _impl_.subscription_identifier_.Mutable(GetArenaForAllocation());
2517}
2518inline std::string* InprocControl::release_subscription_identifier() {
2519 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.InprocControl.subscription_identifier)
2520 if (!_internal_has_subscription_identifier()) {
2521 return nullptr;
2522 }
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());
2528 }
2529#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2530 return p;
2531}
2532inline void InprocControl::set_allocated_subscription_identifier(std::string* subscription_identifier) {
2533 if (subscription_identifier != nullptr) {
2534 _impl_._has_bits_[0] |= 0x00000001u;
2535 } else {
2536 _impl_._has_bits_[0] &= ~0x00000001u;
2537 }
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());
2542 }
2543#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2544 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.InprocControl.subscription_identifier)
2545}
2546
2547// optional bytes received_data = 4;
2548inline bool InprocControl::_internal_has_received_data() const {
2549 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2550 return value;
2551}
2552inline bool InprocControl::has_received_data() const {
2553 return _internal_has_received_data();
2554}
2555inline void InprocControl::clear_received_data() {
2556 _impl_.received_data_.ClearToEmpty();
2557 _impl_._has_bits_[0] &= ~0x00000002u;
2558}
2559inline const std::string& InprocControl::received_data() const {
2560 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InprocControl.received_data)
2561 return _internal_received_data();
2562}
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());
2568 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InprocControl.received_data)
2569}
2570inline std::string* InprocControl::mutable_received_data() {
2571 std::string* _s = _internal_mutable_received_data();
2572 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.InprocControl.received_data)
2573 return _s;
2574}
2575inline const std::string& InprocControl::_internal_received_data() const {
2576 return _impl_.received_data_.Get();
2577}
2578inline void InprocControl::_internal_set_received_data(const std::string& value) {
2579 _impl_._has_bits_[0] |= 0x00000002u;
2580 _impl_.received_data_.Set(value, GetArenaForAllocation());
2581}
2582inline std::string* InprocControl::_internal_mutable_received_data() {
2583 _impl_._has_bits_[0] |= 0x00000002u;
2584 return _impl_.received_data_.Mutable(GetArenaForAllocation());
2585}
2586inline std::string* InprocControl::release_received_data() {
2587 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.InprocControl.received_data)
2588 if (!_internal_has_received_data()) {
2589 return nullptr;
2590 }
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());
2596 }
2597#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2598 return p;
2599}
2600inline void InprocControl::set_allocated_received_data(std::string* received_data) {
2601 if (received_data != nullptr) {
2602 _impl_._has_bits_[0] |= 0x00000002u;
2603 } else {
2604 _impl_._has_bits_[0] &= ~0x00000002u;
2605 }
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());
2610 }
2611#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2612 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.InprocControl.received_data)
2613}
2614
2615// optional bool hold = 10;
2616inline bool InprocControl::_internal_has_hold() const {
2617 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2618 return value;
2619}
2620inline bool InprocControl::has_hold() const {
2621 return _internal_has_hold();
2622}
2623inline void InprocControl::clear_hold() {
2624 _impl_.hold_ = false;
2625 _impl_._has_bits_[0] &= ~0x00000008u;
2626}
2627inline bool InprocControl::_internal_hold() const {
2628 return _impl_.hold_;
2629}
2630inline bool InprocControl::hold() const {
2631 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InprocControl.hold)
2632 return _internal_hold();
2633}
2634inline void InprocControl::_internal_set_hold(bool value) {
2635 _impl_._has_bits_[0] |= 0x00000008u;
2636 _impl_.hold_ = value;
2637}
2638inline void InprocControl::set_hold(bool value) {
2639 _internal_set_hold(value);
2640 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InprocControl.hold)
2641}
2642
2643#ifdef __GNUC__
2644 #pragma GCC diagnostic pop
2645#endif // __GNUC__
2646// -------------------------------------------------------------------
2647
2648// -------------------------------------------------------------------
2649
2650// -------------------------------------------------------------------
2651
2652
2653// @@protoc_insertion_point(namespace_scope)
2654
2655} // namespace protobuf
2656} // namespace zeromq
2657} // namespace goby
2658
2659PROTOBUF_NAMESPACE_OPEN
2660
2661template <> struct is_proto_enum< ::goby::zeromq::protobuf::Socket_SocketType> : ::std::true_type {};
2662template <>
2664 return ::goby::zeromq::protobuf::Socket_SocketType_descriptor();
2665}
2666template <> struct is_proto_enum< ::goby::zeromq::protobuf::Socket_Transport> : ::std::true_type {};
2667template <>
2669 return ::goby::zeromq::protobuf::Socket_Transport_descriptor();
2670}
2671template <> struct is_proto_enum< ::goby::zeromq::protobuf::Socket_ConnectOrBind> : ::std::true_type {};
2672template <>
2674 return ::goby::zeromq::protobuf::Socket_ConnectOrBind_descriptor();
2675}
2676template <> struct is_proto_enum< ::goby::zeromq::protobuf::InprocControl_InprocControlType> : ::std::true_type {};
2677template <>
2679 return ::goby::zeromq::protobuf::InprocControl_InprocControlType_descriptor();
2680}
2681template <> struct is_proto_enum< ::goby::zeromq::protobuf::Request> : ::std::true_type {};
2682template <>
2684 return ::goby::zeromq::protobuf::Request_descriptor();
2685}
2686
2687PROTOBUF_NAMESPACE_CLOSE
2688
2689// @@protoc_insertion_point(global_scope)
2690
2691#include <google/protobuf/port_undef.inc>
2692#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2finterprocess_5fzeromq_2eproto
void CopyFrom(const InprocControl &from)
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 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()
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)
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
PROTOBUF_NODISCARD std::string * release_client_name()
::goby::zeromq::protobuf::Request request() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_request(::goby::zeromq::protobuf::Request value)
ManagerRequest(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
ManagerRequest & operator=(const ManagerRequest &from)
void MergeFrom(const ManagerRequest &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ManagerRequest & default_instance()
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)
::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
ManagerRequest(const ManagerRequest &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
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()
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)
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)
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
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 set_multicast_address(ArgT0 &&arg0, ArgT... args)
Socket & operator=(Socket &&from) noexcept
static const std::string & ConnectOrBind_Name(T enum_t_value)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static bool ConnectOrBind_IsValid(int value)
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 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()
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)
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)
bool Socket_ConnectOrBind_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Socket_ConnectOrBind *value)
constexpr Socket_ConnectOrBind Socket_ConnectOrBind_ConnectOrBind_MAX
ManagerResponseDefaultTypeInternal _ManagerResponse_default_instance_
constexpr int Socket_ConnectOrBind_ConnectOrBind_ARRAYSIZE
bool Socket_SocketType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Socket_SocketType *value)
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.
#define ByteSizeLong