Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
interprocess_config.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_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2finterprocess_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2finterprocess_5fconfig_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_5fconfig_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_5fconfig_2eproto;
53namespace goby {
54namespace zeromq {
55namespace protobuf {
57struct InterProcessManagerHoldDefaultTypeInternal;
58extern InterProcessManagerHoldDefaultTypeInternal _InterProcessManagerHold_default_instance_;
60struct InterProcessPortalConfigDefaultTypeInternal;
61extern InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_;
62} // namespace protobuf
63} // namespace zeromq
64} // namespace goby
65PROTOBUF_NAMESPACE_OPEN
66template<> ::goby::zeromq::protobuf::InterProcessManagerHold* Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessManagerHold>(Arena*);
67template<> ::goby::zeromq::protobuf::InterProcessPortalConfig* Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(Arena*);
68PROTOBUF_NAMESPACE_CLOSE
69namespace goby {
70namespace zeromq {
71namespace protobuf {
72
81
82const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* InterProcessPortalConfig_Transport_descriptor();
83template<typename T>
84inline const std::string& InterProcessPortalConfig_Transport_Name(T enum_t_value) {
85 static_assert(::std::is_same<T, InterProcessPortalConfig_Transport>::value ||
86 ::std::is_integral<T>::value,
87 "Incorrect type passed to function InterProcessPortalConfig_Transport_Name.");
88 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
90}
92 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, InterProcessPortalConfig_Transport* value) {
93 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<InterProcessPortalConfig_Transport>(
95}
96// ===================================================================
97
99 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.zeromq.protobuf.InterProcessPortalConfig) */ {
100 public:
103 explicit PROTOBUF_CONSTEXPR InterProcessPortalConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
104
108 *this = ::std::move(from);
109 }
110
112 CopyFrom(from);
113 return *this;
114 }
116 if (this == &from) return *this;
117 if (GetOwningArena() == from.GetOwningArena()
118 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
119 && GetOwningArena() != nullptr
120 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
121 ) {
122 InternalSwap(&from);
123 } else {
124 CopyFrom(from);
125 }
126 return *this;
127 }
128
129 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
130 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
131 }
132 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
133 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
134 }
135
136 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
137 return GetDescriptor();
138 }
139 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
140 return default_instance().GetMetadata().descriptor;
141 }
142 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
143 return default_instance().GetMetadata().reflection;
144 }
153
155 return reinterpret_cast<const InterProcessPortalConfig*>(
157 }
158 static constexpr int kIndexInFileMessages =
159 0;
160
162 a.Swap(&b);
163 }
164 inline void Swap(InterProcessPortalConfig* other) {
165 if (other == this) return;
166 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
167 if (GetOwningArena() != nullptr &&
168 GetOwningArena() == other->GetOwningArena()) {
169 #else // PROTOBUF_FORCE_COPY_IN_SWAP
170 if (GetOwningArena() == other->GetOwningArena()) {
171 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
172 InternalSwap(other);
173 } else {
174 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
175 }
176 }
178 if (other == this) return;
179 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
180 InternalSwap(other);
181 }
182
183 // implements Message ----------------------------------------------
184
185 InterProcessPortalConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
186 return CreateMaybeMessage<InterProcessPortalConfig>(arena);
187 }
188 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
190 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
192 InterProcessPortalConfig::MergeImpl(*this, from);
193 }
194 private:
195 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
196 public:
197 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
198 bool IsInitialized() const final;
199
200 size_t ByteSizeLong() const final;
201 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
203 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
204 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
205
206 private:
207 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
208 void SharedDtor();
209 void SetCachedSize(int size) const final;
210 void InternalSwap(InterProcessPortalConfig* other);
211
212 private:
213 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
214 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
215 return "goby.zeromq.protobuf.InterProcessPortalConfig";
216 }
217 protected:
218 explicit InterProcessPortalConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
219 bool is_message_owned = false);
220 public:
221
222 static const ClassData _class_data_;
223 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
224
225 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
226
227 // nested types ----------------------------------------------------
228
230 static constexpr Transport IPC =
232 static constexpr Transport TCP =
234 static inline bool Transport_IsValid(int value) {
236 }
237 static constexpr Transport Transport_MIN =
239 static constexpr Transport Transport_MAX =
241 static constexpr int Transport_ARRAYSIZE =
243 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
247 template<typename T>
248 static inline const std::string& Transport_Name(T enum_t_value) {
249 static_assert(::std::is_same<T, Transport>::value ||
250 ::std::is_integral<T>::value,
251 "Incorrect type passed to function Transport_Name.");
252 return InterProcessPortalConfig_Transport_Name(enum_t_value);
253 }
254 static inline bool Transport_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
255 Transport* value) {
257 }
258
259 // accessors -------------------------------------------------------
260
261 enum : int {
273 };
274 // optional string platform = 1 [default = "default_goby_platform", (.goby.field) = {
275 bool has_platform() const;
276 private:
277 bool _internal_has_platform() const;
278 public:
279 void clear_platform();
280 const std::string& platform() const;
281 template <typename ArgT0 = const std::string&, typename... ArgT>
282 void set_platform(ArgT0&& arg0, ArgT... args);
283 std::string* mutable_platform();
284 PROTOBUF_NODISCARD std::string* release_platform();
285 void set_allocated_platform(std::string* platform);
286 private:
287 const std::string& _internal_platform() const;
288 inline PROTOBUF_ALWAYS_INLINE void _internal_set_platform(const std::string& value);
289 std::string* _internal_mutable_platform();
290 public:
291
292 // optional string socket_name = 3 [(.goby.field) = {
293 bool has_socket_name() const;
294 private:
295 bool _internal_has_socket_name() const;
296 public:
297 void clear_socket_name();
298 const std::string& socket_name() const;
299 template <typename ArgT0 = const std::string&, typename... ArgT>
300 void set_socket_name(ArgT0&& arg0, ArgT... args);
301 std::string* mutable_socket_name();
302 PROTOBUF_NODISCARD std::string* release_socket_name();
303 void set_allocated_socket_name(std::string* socket_name);
304 private:
305 const std::string& _internal_socket_name() const;
306 inline PROTOBUF_ALWAYS_INLINE void _internal_set_socket_name(const std::string& value);
307 std::string* _internal_mutable_socket_name();
308 public:
309
310 // optional string client_name = 20 [(.goby.field) = {
311 bool has_client_name() const;
312 private:
313 bool _internal_has_client_name() const;
314 public:
315 void clear_client_name();
316 const std::string& client_name() const;
317 template <typename ArgT0 = const std::string&, typename... ArgT>
318 void set_client_name(ArgT0&& arg0, ArgT... args);
319 std::string* mutable_client_name();
320 PROTOBUF_NODISCARD std::string* release_client_name();
321 void set_allocated_client_name(std::string* client_name);
322 private:
323 const std::string& _internal_client_name() const;
324 inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_name(const std::string& value);
325 std::string* _internal_mutable_client_name();
326 public:
327
328 // optional .goby.zeromq.protobuf.InterProcessPortalConfig.Transport transport = 2 [default = IPC, (.goby.field) = {
329 bool has_transport() const;
330 private:
331 bool _internal_has_transport() const;
332 public:
333 void clear_transport();
336 private:
338 void _internal_set_transport(::goby::zeromq::protobuf::InterProcessPortalConfig_Transport value);
339 public:
340
341 // optional uint32 tcp_port = 5 [default = 11144, (.goby.field) = {
342 bool has_tcp_port() const;
343 private:
344 bool _internal_has_tcp_port() const;
345 public:
346 void clear_tcp_port();
347 uint32_t tcp_port() const;
348 void set_tcp_port(uint32_t value);
349 private:
350 uint32_t _internal_tcp_port() const;
351 void _internal_set_tcp_port(uint32_t value);
352 public:
353
354 // optional uint32 send_queue_size = 6 [default = 1000, (.goby.field) = {
355 bool has_send_queue_size() const;
356 private:
357 bool _internal_has_send_queue_size() const;
358 public:
360 uint32_t send_queue_size() const;
361 void set_send_queue_size(uint32_t value);
362 private:
363 uint32_t _internal_send_queue_size() const;
364 void _internal_set_send_queue_size(uint32_t value);
365 public:
366
367 // optional uint32 receive_queue_size = 7 [default = 1000, (.goby.field) = {
368 bool has_receive_queue_size() const;
369 private:
370 bool _internal_has_receive_queue_size() const;
371 public:
373 uint32_t receive_queue_size() const;
374 void set_receive_queue_size(uint32_t value);
375 private:
376 uint32_t _internal_receive_queue_size() const;
377 void _internal_set_receive_queue_size(uint32_t value);
378 public:
379
380 // optional uint32 zeromq_number_io_threads = 8 [default = 4, (.goby.field) = {
381 bool has_zeromq_number_io_threads() const;
382 private:
383 bool _internal_has_zeromq_number_io_threads() const;
384 public:
386 uint32_t zeromq_number_io_threads() const;
387 void set_zeromq_number_io_threads(uint32_t value);
388 private:
389 uint32_t _internal_zeromq_number_io_threads() const;
390 void _internal_set_zeromq_number_io_threads(uint32_t value);
391 public:
392
393 // optional uint32 manager_timeout_seconds = 10 [default = 5, (.goby.field) = {
394 bool has_manager_timeout_seconds() const;
395 private:
396 bool _internal_has_manager_timeout_seconds() const;
397 public:
399 uint32_t manager_timeout_seconds() const;
400 void set_manager_timeout_seconds(uint32_t value);
401 private:
402 uint32_t _internal_manager_timeout_seconds() const;
403 void _internal_set_manager_timeout_seconds(uint32_t value);
404 public:
405
406 // string ipv4_address = 4 [default = "127.0.0.1", (.goby.field) = {
407 bool has_ipv4_address() const;
408 private:
409 bool _internal_has_ipv4_address() const;
410 public:
411 void clear_ipv4_address();
412 const std::string& ipv4_address() const;
413 template <typename ArgT0 = const std::string&, typename... ArgT>
414 void set_ipv4_address(ArgT0&& arg0, ArgT... args);
415 std::string* mutable_ipv4_address();
416 PROTOBUF_NODISCARD std::string* release_ipv4_address();
417 void set_allocated_ipv4_address(std::string* ipv4_address);
418 private:
419 const std::string& _internal_ipv4_address() const;
420 inline PROTOBUF_ALWAYS_INLINE void _internal_set_ipv4_address(const std::string& value);
421 std::string* _internal_mutable_ipv4_address();
422 public:
423
424 // string ip_address = 11 [(.goby.field) = {
425 bool has_ip_address() const;
426 private:
427 bool _internal_has_ip_address() const;
428 public:
429 void clear_ip_address();
430 const std::string& ip_address() const;
431 template <typename ArgT0 = const std::string&, typename... ArgT>
432 void set_ip_address(ArgT0&& arg0, ArgT... args);
433 std::string* mutable_ip_address();
434 PROTOBUF_NODISCARD std::string* release_ip_address();
435 void set_allocated_ip_address(std::string* ip_address);
436 private:
437 const std::string& _internal_ip_address() const;
438 inline PROTOBUF_ALWAYS_INLINE void _internal_set_ip_address(const std::string& value);
439 std::string* _internal_mutable_ip_address();
440 public:
441
442 void clear_ip();
443 IpCase ip_case() const;
444 // @@protoc_insertion_point(class_scope:goby.zeromq.protobuf.InterProcessPortalConfig)
445 private:
446 class _Internal;
447 void set_has_ipv4_address();
448 void set_has_ip_address();
449
450 inline bool has_ip() const;
451 inline void clear_has_ip();
452
453 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
454 typedef void InternalArenaConstructable_;
455 typedef void DestructorSkippable_;
456 struct Impl_ {
457 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
458 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
459 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_platform_;
460 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr platform_;
461 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr socket_name_;
462 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_name_;
463 int transport_;
464 uint32_t tcp_port_;
465 uint32_t send_queue_size_;
466 uint32_t receive_queue_size_;
467 uint32_t zeromq_number_io_threads_;
468 uint32_t manager_timeout_seconds_;
469 union IpUnion {
470 constexpr IpUnion() : _constinit_{} {}
471 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
472 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ipv4_address_;
473 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ip_address_;
474 } ip_;
475 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_ipv4_address_;
476 uint32_t _oneof_case_[1];
477
478 };
479 union { Impl_ _impl_; };
480 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2finterprocess_5fconfig_2eproto;
481};
482// -------------------------------------------------------------------
483
485 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.zeromq.protobuf.InterProcessManagerHold) */ {
486 public:
489 explicit PROTOBUF_CONSTEXPR InterProcessManagerHold(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
490
494 *this = ::std::move(from);
495 }
496
498 CopyFrom(from);
499 return *this;
500 }
502 if (this == &from) return *this;
503 if (GetOwningArena() == from.GetOwningArena()
504 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
505 && GetOwningArena() != nullptr
506 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
507 ) {
508 InternalSwap(&from);
509 } else {
510 CopyFrom(from);
511 }
512 return *this;
513 }
514
515 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
516 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
517 }
518 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
519 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
520 }
521
522 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
523 return GetDescriptor();
524 }
525 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
526 return default_instance().GetMetadata().descriptor;
527 }
528 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
529 return default_instance().GetMetadata().reflection;
530 }
532 return *internal_default_instance();
533 }
535 return reinterpret_cast<const InterProcessManagerHold*>(
537 }
538 static constexpr int kIndexInFileMessages =
539 1;
540
542 a.Swap(&b);
543 }
544 inline void Swap(InterProcessManagerHold* other) {
545 if (other == this) return;
546 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
547 if (GetOwningArena() != nullptr &&
548 GetOwningArena() == other->GetOwningArena()) {
549 #else // PROTOBUF_FORCE_COPY_IN_SWAP
550 if (GetOwningArena() == other->GetOwningArena()) {
551 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
552 InternalSwap(other);
553 } else {
554 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
555 }
556 }
558 if (other == this) return;
559 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
560 InternalSwap(other);
561 }
562
563 // implements Message ----------------------------------------------
564
565 InterProcessManagerHold* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
566 return CreateMaybeMessage<InterProcessManagerHold>(arena);
567 }
568 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
570 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
572 InterProcessManagerHold::MergeImpl(*this, from);
573 }
574 private:
575 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
576 public:
577 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
578 bool IsInitialized() const final;
579
580 size_t ByteSizeLong() const final;
581 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
582 uint8_t* _InternalSerialize(
583 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
584 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
585
586 private:
587 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
588 void SharedDtor();
589 void SetCachedSize(int size) const final;
590 void InternalSwap(InterProcessManagerHold* other);
591
592 private:
593 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
594 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
595 return "goby.zeromq.protobuf.InterProcessManagerHold";
596 }
597 protected:
598 explicit InterProcessManagerHold(::PROTOBUF_NAMESPACE_ID::Arena* arena,
599 bool is_message_owned = false);
600 public:
601
602 static const ClassData _class_data_;
603 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
604
605 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
606
607 // nested types ----------------------------------------------------
608
609 // accessors -------------------------------------------------------
610
611 enum : int {
612 kRequiredClientFieldNumber = 1,
613 };
614 // repeated string required_client = 1 [(.goby.field) = {
615 int required_client_size() const;
616 private:
617 int _internal_required_client_size() const;
618 public:
619 void clear_required_client();
620 const std::string& required_client(int index) const;
621 std::string* mutable_required_client(int index);
622 void set_required_client(int index, const std::string& value);
623 void set_required_client(int index, std::string&& value);
624 void set_required_client(int index, const char* value);
625 void set_required_client(int index, const char* value, size_t size);
626 std::string* add_required_client();
627 void add_required_client(const std::string& value);
628 void add_required_client(std::string&& value);
629 void add_required_client(const char* value);
630 void add_required_client(const char* value, size_t size);
631 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& required_client() const;
632 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_required_client();
633 private:
634 const std::string& _internal_required_client(int index) const;
635 std::string* _internal_add_required_client();
636 public:
637
638 // @@protoc_insertion_point(class_scope:goby.zeromq.protobuf.InterProcessManagerHold)
639 private:
640 class _Internal;
641
642 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
643 typedef void InternalArenaConstructable_;
644 typedef void DestructorSkippable_;
645 struct Impl_ {
646 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> required_client_;
647 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
648 };
649 union { Impl_ _impl_; };
650 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2finterprocess_5fconfig_2eproto;
651};
652// ===================================================================
653
654
655// ===================================================================
656
657#ifdef __GNUC__
658 #pragma GCC diagnostic push
659 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
660#endif // __GNUC__
661// InterProcessPortalConfig
662
663// optional string platform = 1 [default = "default_goby_platform", (.goby.field) = {
664inline bool InterProcessPortalConfig::_internal_has_platform() const {
665 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
666 return value;
667}
668inline bool InterProcessPortalConfig::has_platform() const {
669 return _internal_has_platform();
670}
671inline void InterProcessPortalConfig::clear_platform() {
672 _impl_.platform_.ClearToDefault(::goby::zeromq::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_platform_, GetArenaForAllocation());
673 _impl_._has_bits_[0] &= ~0x00000001u;
674}
675inline const std::string& InterProcessPortalConfig::platform() const {
676 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InterProcessPortalConfig.platform)
677 if (_impl_.platform_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_platform_.get();
678 return _internal_platform();
679}
680template <typename ArgT0, typename... ArgT>
681inline PROTOBUF_ALWAYS_INLINE
682void InterProcessPortalConfig::set_platform(ArgT0&& arg0, ArgT... args) {
683 _impl_._has_bits_[0] |= 0x00000001u;
684 _impl_.platform_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
685 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InterProcessPortalConfig.platform)
686}
687inline std::string* InterProcessPortalConfig::mutable_platform() {
688 std::string* _s = _internal_mutable_platform();
689 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.InterProcessPortalConfig.platform)
690 return _s;
691}
692inline const std::string& InterProcessPortalConfig::_internal_platform() const {
693 return _impl_.platform_.Get();
694}
695inline void InterProcessPortalConfig::_internal_set_platform(const std::string& value) {
696 _impl_._has_bits_[0] |= 0x00000001u;
697 _impl_.platform_.Set(value, GetArenaForAllocation());
698}
699inline std::string* InterProcessPortalConfig::_internal_mutable_platform() {
700 _impl_._has_bits_[0] |= 0x00000001u;
701 return _impl_.platform_.Mutable(::goby::zeromq::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_platform_, GetArenaForAllocation());
702}
703inline std::string* InterProcessPortalConfig::release_platform() {
704 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.InterProcessPortalConfig.platform)
705 if (!_internal_has_platform()) {
706 return nullptr;
707 }
708 _impl_._has_bits_[0] &= ~0x00000001u;
709 auto* p = _impl_.platform_.Release();
710 return p;
711}
712inline void InterProcessPortalConfig::set_allocated_platform(std::string* platform) {
713 if (platform != nullptr) {
714 _impl_._has_bits_[0] |= 0x00000001u;
715 } else {
716 _impl_._has_bits_[0] &= ~0x00000001u;
717 }
718 _impl_.platform_.SetAllocated(platform, GetArenaForAllocation());
719 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.InterProcessPortalConfig.platform)
720}
721
722// optional .goby.zeromq.protobuf.InterProcessPortalConfig.Transport transport = 2 [default = IPC, (.goby.field) = {
723inline bool InterProcessPortalConfig::_internal_has_transport() const {
724 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
725 return value;
726}
727inline bool InterProcessPortalConfig::has_transport() const {
728 return _internal_has_transport();
729}
730inline void InterProcessPortalConfig::clear_transport() {
731 _impl_.transport_ = 2;
732 _impl_._has_bits_[0] &= ~0x00000008u;
733}
734inline ::goby::zeromq::protobuf::InterProcessPortalConfig_Transport InterProcessPortalConfig::_internal_transport() const {
735 return static_cast< ::goby::zeromq::protobuf::InterProcessPortalConfig_Transport >(_impl_.transport_);
736}
737inline ::goby::zeromq::protobuf::InterProcessPortalConfig_Transport InterProcessPortalConfig::transport() const {
738 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InterProcessPortalConfig.transport)
739 return _internal_transport();
740}
741inline void InterProcessPortalConfig::_internal_set_transport(::goby::zeromq::protobuf::InterProcessPortalConfig_Transport value) {
743 _impl_._has_bits_[0] |= 0x00000008u;
744 _impl_.transport_ = value;
745}
746inline void InterProcessPortalConfig::set_transport(::goby::zeromq::protobuf::InterProcessPortalConfig_Transport value) {
747 _internal_set_transport(value);
748 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InterProcessPortalConfig.transport)
749}
750
751// optional string socket_name = 3 [(.goby.field) = {
752inline bool InterProcessPortalConfig::_internal_has_socket_name() const {
753 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
754 return value;
755}
756inline bool InterProcessPortalConfig::has_socket_name() const {
757 return _internal_has_socket_name();
758}
759inline void InterProcessPortalConfig::clear_socket_name() {
760 _impl_.socket_name_.ClearToEmpty();
761 _impl_._has_bits_[0] &= ~0x00000002u;
762}
763inline const std::string& InterProcessPortalConfig::socket_name() const {
764 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InterProcessPortalConfig.socket_name)
765 return _internal_socket_name();
766}
767template <typename ArgT0, typename... ArgT>
768inline PROTOBUF_ALWAYS_INLINE
769void InterProcessPortalConfig::set_socket_name(ArgT0&& arg0, ArgT... args) {
770 _impl_._has_bits_[0] |= 0x00000002u;
771 _impl_.socket_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
772 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InterProcessPortalConfig.socket_name)
773}
774inline std::string* InterProcessPortalConfig::mutable_socket_name() {
775 std::string* _s = _internal_mutable_socket_name();
776 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.InterProcessPortalConfig.socket_name)
777 return _s;
778}
779inline const std::string& InterProcessPortalConfig::_internal_socket_name() const {
780 return _impl_.socket_name_.Get();
781}
782inline void InterProcessPortalConfig::_internal_set_socket_name(const std::string& value) {
783 _impl_._has_bits_[0] |= 0x00000002u;
784 _impl_.socket_name_.Set(value, GetArenaForAllocation());
785}
786inline std::string* InterProcessPortalConfig::_internal_mutable_socket_name() {
787 _impl_._has_bits_[0] |= 0x00000002u;
788 return _impl_.socket_name_.Mutable(GetArenaForAllocation());
789}
790inline std::string* InterProcessPortalConfig::release_socket_name() {
791 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.InterProcessPortalConfig.socket_name)
792 if (!_internal_has_socket_name()) {
793 return nullptr;
794 }
795 _impl_._has_bits_[0] &= ~0x00000002u;
796 auto* p = _impl_.socket_name_.Release();
797#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
798 if (_impl_.socket_name_.IsDefault()) {
799 _impl_.socket_name_.Set("", GetArenaForAllocation());
800 }
801#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
802 return p;
803}
804inline void InterProcessPortalConfig::set_allocated_socket_name(std::string* socket_name) {
805 if (socket_name != nullptr) {
806 _impl_._has_bits_[0] |= 0x00000002u;
807 } else {
808 _impl_._has_bits_[0] &= ~0x00000002u;
809 }
810 _impl_.socket_name_.SetAllocated(socket_name, GetArenaForAllocation());
811#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
812 if (_impl_.socket_name_.IsDefault()) {
813 _impl_.socket_name_.Set("", GetArenaForAllocation());
814 }
815#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
816 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.InterProcessPortalConfig.socket_name)
817}
818
819// string ipv4_address = 4 [default = "127.0.0.1", (.goby.field) = {
820inline bool InterProcessPortalConfig::_internal_has_ipv4_address() const {
821 return ip_case() == kIpv4Address;
822}
823inline bool InterProcessPortalConfig::has_ipv4_address() const {
824 return _internal_has_ipv4_address();
825}
826inline void InterProcessPortalConfig::set_has_ipv4_address() {
827 _impl_._oneof_case_[0] = kIpv4Address;
828}
829inline void InterProcessPortalConfig::clear_ipv4_address() {
830 if (_internal_has_ipv4_address()) {
831 _impl_.ip_.ipv4_address_.Destroy();
832 clear_has_ip();
833 }
834}
835inline const std::string& InterProcessPortalConfig::ipv4_address() const {
836 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InterProcessPortalConfig.ipv4_address)
837 return _internal_ipv4_address();
838}
839template <typename ArgT0, typename... ArgT>
840inline void InterProcessPortalConfig::set_ipv4_address(ArgT0&& arg0, ArgT... args) {
841 if (!_internal_has_ipv4_address()) {
842 clear_ip();
843 set_has_ipv4_address();
844 _impl_.ip_.ipv4_address_.InitDefault();
845 }
846 _impl_.ip_.ipv4_address_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
847 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InterProcessPortalConfig.ipv4_address)
848}
849inline std::string* InterProcessPortalConfig::mutable_ipv4_address() {
850 std::string* _s = _internal_mutable_ipv4_address();
851 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.InterProcessPortalConfig.ipv4_address)
852 return _s;
853}
854inline const std::string& InterProcessPortalConfig::_internal_ipv4_address() const {
855 if (_internal_has_ipv4_address()) {
856 return _impl_.ip_.ipv4_address_.Get();
857 }
858 return ::goby::zeromq::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_ipv4_address_.get();
859}
860inline void InterProcessPortalConfig::_internal_set_ipv4_address(const std::string& value) {
861 if (!_internal_has_ipv4_address()) {
862 clear_ip();
863 set_has_ipv4_address();
864 _impl_.ip_.ipv4_address_.InitDefault();
865 }
866 _impl_.ip_.ipv4_address_.Set(value, GetArenaForAllocation());
867}
868inline std::string* InterProcessPortalConfig::_internal_mutable_ipv4_address() {
869 if (!_internal_has_ipv4_address()) {
870 clear_ip();
871 set_has_ipv4_address();
872 _impl_.ip_.ipv4_address_.InitDefault();
873 }
874 return _impl_.ip_.ipv4_address_.Mutable(::goby::zeromq::protobuf::InterProcessPortalConfig::Impl_::_i_give_permission_to_break_this_code_default_ipv4_address_, GetArenaForAllocation());
875}
876inline std::string* InterProcessPortalConfig::release_ipv4_address() {
877 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.InterProcessPortalConfig.ipv4_address)
878 if (_internal_has_ipv4_address()) {
879 clear_has_ip();
880 return _impl_.ip_.ipv4_address_.Release();
881 } else {
882 return nullptr;
883 }
884}
885inline void InterProcessPortalConfig::set_allocated_ipv4_address(std::string* ipv4_address) {
886 if (has_ip()) {
887 clear_ip();
888 }
889 if (ipv4_address != nullptr) {
890 set_has_ipv4_address();
891 _impl_.ip_.ipv4_address_.InitAllocated(ipv4_address, GetArenaForAllocation());
892 }
893 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.InterProcessPortalConfig.ipv4_address)
894}
895
896// string ip_address = 11 [(.goby.field) = {
897inline bool InterProcessPortalConfig::_internal_has_ip_address() const {
898 return ip_case() == kIpAddress;
899}
900inline bool InterProcessPortalConfig::has_ip_address() const {
901 return _internal_has_ip_address();
902}
903inline void InterProcessPortalConfig::set_has_ip_address() {
904 _impl_._oneof_case_[0] = kIpAddress;
905}
906inline void InterProcessPortalConfig::clear_ip_address() {
907 if (_internal_has_ip_address()) {
908 _impl_.ip_.ip_address_.Destroy();
909 clear_has_ip();
910 }
911}
912inline const std::string& InterProcessPortalConfig::ip_address() const {
913 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InterProcessPortalConfig.ip_address)
914 return _internal_ip_address();
915}
916template <typename ArgT0, typename... ArgT>
917inline void InterProcessPortalConfig::set_ip_address(ArgT0&& arg0, ArgT... args) {
918 if (!_internal_has_ip_address()) {
919 clear_ip();
920 set_has_ip_address();
921 _impl_.ip_.ip_address_.InitDefault();
922 }
923 _impl_.ip_.ip_address_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
924 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InterProcessPortalConfig.ip_address)
925}
926inline std::string* InterProcessPortalConfig::mutable_ip_address() {
927 std::string* _s = _internal_mutable_ip_address();
928 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.InterProcessPortalConfig.ip_address)
929 return _s;
930}
931inline const std::string& InterProcessPortalConfig::_internal_ip_address() const {
932 if (_internal_has_ip_address()) {
933 return _impl_.ip_.ip_address_.Get();
934 }
935 return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
936}
937inline void InterProcessPortalConfig::_internal_set_ip_address(const std::string& value) {
938 if (!_internal_has_ip_address()) {
939 clear_ip();
940 set_has_ip_address();
941 _impl_.ip_.ip_address_.InitDefault();
942 }
943 _impl_.ip_.ip_address_.Set(value, GetArenaForAllocation());
944}
945inline std::string* InterProcessPortalConfig::_internal_mutable_ip_address() {
946 if (!_internal_has_ip_address()) {
947 clear_ip();
948 set_has_ip_address();
949 _impl_.ip_.ip_address_.InitDefault();
950 }
951 return _impl_.ip_.ip_address_.Mutable( GetArenaForAllocation());
952}
953inline std::string* InterProcessPortalConfig::release_ip_address() {
954 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.InterProcessPortalConfig.ip_address)
955 if (_internal_has_ip_address()) {
956 clear_has_ip();
957 return _impl_.ip_.ip_address_.Release();
958 } else {
959 return nullptr;
960 }
961}
962inline void InterProcessPortalConfig::set_allocated_ip_address(std::string* ip_address) {
963 if (has_ip()) {
964 clear_ip();
965 }
966 if (ip_address != nullptr) {
967 set_has_ip_address();
968 _impl_.ip_.ip_address_.InitAllocated(ip_address, GetArenaForAllocation());
969 }
970 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.InterProcessPortalConfig.ip_address)
971}
972
973// optional uint32 tcp_port = 5 [default = 11144, (.goby.field) = {
974inline bool InterProcessPortalConfig::_internal_has_tcp_port() const {
975 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
976 return value;
977}
978inline bool InterProcessPortalConfig::has_tcp_port() const {
979 return _internal_has_tcp_port();
980}
981inline void InterProcessPortalConfig::clear_tcp_port() {
982 _impl_.tcp_port_ = 11144u;
983 _impl_._has_bits_[0] &= ~0x00000010u;
984}
985inline uint32_t InterProcessPortalConfig::_internal_tcp_port() const {
986 return _impl_.tcp_port_;
987}
988inline uint32_t InterProcessPortalConfig::tcp_port() const {
989 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InterProcessPortalConfig.tcp_port)
990 return _internal_tcp_port();
991}
992inline void InterProcessPortalConfig::_internal_set_tcp_port(uint32_t value) {
993 _impl_._has_bits_[0] |= 0x00000010u;
994 _impl_.tcp_port_ = value;
995}
996inline void InterProcessPortalConfig::set_tcp_port(uint32_t value) {
997 _internal_set_tcp_port(value);
998 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InterProcessPortalConfig.tcp_port)
999}
1000
1001// optional uint32 send_queue_size = 6 [default = 1000, (.goby.field) = {
1002inline bool InterProcessPortalConfig::_internal_has_send_queue_size() const {
1003 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1004 return value;
1005}
1006inline bool InterProcessPortalConfig::has_send_queue_size() const {
1007 return _internal_has_send_queue_size();
1008}
1009inline void InterProcessPortalConfig::clear_send_queue_size() {
1010 _impl_.send_queue_size_ = 1000u;
1011 _impl_._has_bits_[0] &= ~0x00000020u;
1012}
1013inline uint32_t InterProcessPortalConfig::_internal_send_queue_size() const {
1014 return _impl_.send_queue_size_;
1015}
1016inline uint32_t InterProcessPortalConfig::send_queue_size() const {
1017 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InterProcessPortalConfig.send_queue_size)
1018 return _internal_send_queue_size();
1019}
1020inline void InterProcessPortalConfig::_internal_set_send_queue_size(uint32_t value) {
1021 _impl_._has_bits_[0] |= 0x00000020u;
1022 _impl_.send_queue_size_ = value;
1023}
1024inline void InterProcessPortalConfig::set_send_queue_size(uint32_t value) {
1025 _internal_set_send_queue_size(value);
1026 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InterProcessPortalConfig.send_queue_size)
1027}
1028
1029// optional uint32 receive_queue_size = 7 [default = 1000, (.goby.field) = {
1030inline bool InterProcessPortalConfig::_internal_has_receive_queue_size() const {
1031 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1032 return value;
1033}
1034inline bool InterProcessPortalConfig::has_receive_queue_size() const {
1035 return _internal_has_receive_queue_size();
1036}
1037inline void InterProcessPortalConfig::clear_receive_queue_size() {
1038 _impl_.receive_queue_size_ = 1000u;
1039 _impl_._has_bits_[0] &= ~0x00000040u;
1040}
1041inline uint32_t InterProcessPortalConfig::_internal_receive_queue_size() const {
1042 return _impl_.receive_queue_size_;
1043}
1044inline uint32_t InterProcessPortalConfig::receive_queue_size() const {
1045 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InterProcessPortalConfig.receive_queue_size)
1046 return _internal_receive_queue_size();
1047}
1048inline void InterProcessPortalConfig::_internal_set_receive_queue_size(uint32_t value) {
1049 _impl_._has_bits_[0] |= 0x00000040u;
1050 _impl_.receive_queue_size_ = value;
1051}
1052inline void InterProcessPortalConfig::set_receive_queue_size(uint32_t value) {
1053 _internal_set_receive_queue_size(value);
1054 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InterProcessPortalConfig.receive_queue_size)
1055}
1056
1057// optional uint32 zeromq_number_io_threads = 8 [default = 4, (.goby.field) = {
1058inline bool InterProcessPortalConfig::_internal_has_zeromq_number_io_threads() const {
1059 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1060 return value;
1061}
1062inline bool InterProcessPortalConfig::has_zeromq_number_io_threads() const {
1063 return _internal_has_zeromq_number_io_threads();
1064}
1065inline void InterProcessPortalConfig::clear_zeromq_number_io_threads() {
1066 _impl_.zeromq_number_io_threads_ = 4u;
1067 _impl_._has_bits_[0] &= ~0x00000080u;
1068}
1069inline uint32_t InterProcessPortalConfig::_internal_zeromq_number_io_threads() const {
1070 return _impl_.zeromq_number_io_threads_;
1071}
1072inline uint32_t InterProcessPortalConfig::zeromq_number_io_threads() const {
1073 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InterProcessPortalConfig.zeromq_number_io_threads)
1074 return _internal_zeromq_number_io_threads();
1075}
1076inline void InterProcessPortalConfig::_internal_set_zeromq_number_io_threads(uint32_t value) {
1077 _impl_._has_bits_[0] |= 0x00000080u;
1078 _impl_.zeromq_number_io_threads_ = value;
1079}
1080inline void InterProcessPortalConfig::set_zeromq_number_io_threads(uint32_t value) {
1081 _internal_set_zeromq_number_io_threads(value);
1082 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InterProcessPortalConfig.zeromq_number_io_threads)
1083}
1084
1085// optional uint32 manager_timeout_seconds = 10 [default = 5, (.goby.field) = {
1086inline bool InterProcessPortalConfig::_internal_has_manager_timeout_seconds() const {
1087 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1088 return value;
1089}
1090inline bool InterProcessPortalConfig::has_manager_timeout_seconds() const {
1091 return _internal_has_manager_timeout_seconds();
1092}
1093inline void InterProcessPortalConfig::clear_manager_timeout_seconds() {
1094 _impl_.manager_timeout_seconds_ = 5u;
1095 _impl_._has_bits_[0] &= ~0x00000100u;
1096}
1097inline uint32_t InterProcessPortalConfig::_internal_manager_timeout_seconds() const {
1098 return _impl_.manager_timeout_seconds_;
1099}
1100inline uint32_t InterProcessPortalConfig::manager_timeout_seconds() const {
1101 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InterProcessPortalConfig.manager_timeout_seconds)
1102 return _internal_manager_timeout_seconds();
1103}
1104inline void InterProcessPortalConfig::_internal_set_manager_timeout_seconds(uint32_t value) {
1105 _impl_._has_bits_[0] |= 0x00000100u;
1106 _impl_.manager_timeout_seconds_ = value;
1107}
1108inline void InterProcessPortalConfig::set_manager_timeout_seconds(uint32_t value) {
1109 _internal_set_manager_timeout_seconds(value);
1110 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InterProcessPortalConfig.manager_timeout_seconds)
1111}
1112
1113// optional string client_name = 20 [(.goby.field) = {
1114inline bool InterProcessPortalConfig::_internal_has_client_name() const {
1115 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1116 return value;
1117}
1118inline bool InterProcessPortalConfig::has_client_name() const {
1119 return _internal_has_client_name();
1120}
1121inline void InterProcessPortalConfig::clear_client_name() {
1122 _impl_.client_name_.ClearToEmpty();
1123 _impl_._has_bits_[0] &= ~0x00000004u;
1124}
1125inline const std::string& InterProcessPortalConfig::client_name() const {
1126 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InterProcessPortalConfig.client_name)
1127 return _internal_client_name();
1128}
1129template <typename ArgT0, typename... ArgT>
1130inline PROTOBUF_ALWAYS_INLINE
1131void InterProcessPortalConfig::set_client_name(ArgT0&& arg0, ArgT... args) {
1132 _impl_._has_bits_[0] |= 0x00000004u;
1133 _impl_.client_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1134 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InterProcessPortalConfig.client_name)
1135}
1136inline std::string* InterProcessPortalConfig::mutable_client_name() {
1137 std::string* _s = _internal_mutable_client_name();
1138 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.InterProcessPortalConfig.client_name)
1139 return _s;
1140}
1141inline const std::string& InterProcessPortalConfig::_internal_client_name() const {
1142 return _impl_.client_name_.Get();
1143}
1144inline void InterProcessPortalConfig::_internal_set_client_name(const std::string& value) {
1145 _impl_._has_bits_[0] |= 0x00000004u;
1146 _impl_.client_name_.Set(value, GetArenaForAllocation());
1147}
1148inline std::string* InterProcessPortalConfig::_internal_mutable_client_name() {
1149 _impl_._has_bits_[0] |= 0x00000004u;
1150 return _impl_.client_name_.Mutable(GetArenaForAllocation());
1151}
1152inline std::string* InterProcessPortalConfig::release_client_name() {
1153 // @@protoc_insertion_point(field_release:goby.zeromq.protobuf.InterProcessPortalConfig.client_name)
1154 if (!_internal_has_client_name()) {
1155 return nullptr;
1156 }
1157 _impl_._has_bits_[0] &= ~0x00000004u;
1158 auto* p = _impl_.client_name_.Release();
1159#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1160 if (_impl_.client_name_.IsDefault()) {
1161 _impl_.client_name_.Set("", GetArenaForAllocation());
1162 }
1163#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1164 return p;
1165}
1166inline void InterProcessPortalConfig::set_allocated_client_name(std::string* client_name) {
1167 if (client_name != nullptr) {
1168 _impl_._has_bits_[0] |= 0x00000004u;
1169 } else {
1170 _impl_._has_bits_[0] &= ~0x00000004u;
1171 }
1172 _impl_.client_name_.SetAllocated(client_name, GetArenaForAllocation());
1173#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1174 if (_impl_.client_name_.IsDefault()) {
1175 _impl_.client_name_.Set("", GetArenaForAllocation());
1176 }
1177#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1178 // @@protoc_insertion_point(field_set_allocated:goby.zeromq.protobuf.InterProcessPortalConfig.client_name)
1179}
1180
1181inline bool InterProcessPortalConfig::has_ip() const {
1182 return ip_case() != IP_NOT_SET;
1183}
1184inline void InterProcessPortalConfig::clear_has_ip() {
1185 _impl_._oneof_case_[0] = IP_NOT_SET;
1186}
1187inline InterProcessPortalConfig::IpCase InterProcessPortalConfig::ip_case() const {
1188 return InterProcessPortalConfig::IpCase(_impl_._oneof_case_[0]);
1189}
1190// -------------------------------------------------------------------
1191
1192// InterProcessManagerHold
1193
1194// repeated string required_client = 1 [(.goby.field) = {
1195inline int InterProcessManagerHold::_internal_required_client_size() const {
1196 return _impl_.required_client_.size();
1197}
1198inline int InterProcessManagerHold::required_client_size() const {
1199 return _internal_required_client_size();
1200}
1201inline void InterProcessManagerHold::clear_required_client() {
1202 _impl_.required_client_.Clear();
1203}
1204inline std::string* InterProcessManagerHold::add_required_client() {
1205 std::string* _s = _internal_add_required_client();
1206 // @@protoc_insertion_point(field_add_mutable:goby.zeromq.protobuf.InterProcessManagerHold.required_client)
1207 return _s;
1208}
1209inline const std::string& InterProcessManagerHold::_internal_required_client(int index) const {
1210 return _impl_.required_client_.Get(index);
1211}
1212inline const std::string& InterProcessManagerHold::required_client(int index) const {
1213 // @@protoc_insertion_point(field_get:goby.zeromq.protobuf.InterProcessManagerHold.required_client)
1214 return _internal_required_client(index);
1215}
1216inline std::string* InterProcessManagerHold::mutable_required_client(int index) {
1217 // @@protoc_insertion_point(field_mutable:goby.zeromq.protobuf.InterProcessManagerHold.required_client)
1218 return _impl_.required_client_.Mutable(index);
1219}
1220inline void InterProcessManagerHold::set_required_client(int index, const std::string& value) {
1221 _impl_.required_client_.Mutable(index)->assign(value);
1222 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InterProcessManagerHold.required_client)
1223}
1224inline void InterProcessManagerHold::set_required_client(int index, std::string&& value) {
1225 _impl_.required_client_.Mutable(index)->assign(std::move(value));
1226 // @@protoc_insertion_point(field_set:goby.zeromq.protobuf.InterProcessManagerHold.required_client)
1227}
1228inline void InterProcessManagerHold::set_required_client(int index, const char* value) {
1229 GOOGLE_DCHECK(value != nullptr);
1230 _impl_.required_client_.Mutable(index)->assign(value);
1231 // @@protoc_insertion_point(field_set_char:goby.zeromq.protobuf.InterProcessManagerHold.required_client)
1232}
1233inline void InterProcessManagerHold::set_required_client(int index, const char* value, size_t size) {
1234 _impl_.required_client_.Mutable(index)->assign(
1235 reinterpret_cast<const char*>(value), size);
1236 // @@protoc_insertion_point(field_set_pointer:goby.zeromq.protobuf.InterProcessManagerHold.required_client)
1237}
1238inline std::string* InterProcessManagerHold::_internal_add_required_client() {
1239 return _impl_.required_client_.Add();
1240}
1241inline void InterProcessManagerHold::add_required_client(const std::string& value) {
1242 _impl_.required_client_.Add()->assign(value);
1243 // @@protoc_insertion_point(field_add:goby.zeromq.protobuf.InterProcessManagerHold.required_client)
1244}
1245inline void InterProcessManagerHold::add_required_client(std::string&& value) {
1246 _impl_.required_client_.Add(std::move(value));
1247 // @@protoc_insertion_point(field_add:goby.zeromq.protobuf.InterProcessManagerHold.required_client)
1248}
1249inline void InterProcessManagerHold::add_required_client(const char* value) {
1250 GOOGLE_DCHECK(value != nullptr);
1251 _impl_.required_client_.Add()->assign(value);
1252 // @@protoc_insertion_point(field_add_char:goby.zeromq.protobuf.InterProcessManagerHold.required_client)
1253}
1254inline void InterProcessManagerHold::add_required_client(const char* value, size_t size) {
1255 _impl_.required_client_.Add()->assign(reinterpret_cast<const char*>(value), size);
1256 // @@protoc_insertion_point(field_add_pointer:goby.zeromq.protobuf.InterProcessManagerHold.required_client)
1257}
1258inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1259InterProcessManagerHold::required_client() const {
1260 // @@protoc_insertion_point(field_list:goby.zeromq.protobuf.InterProcessManagerHold.required_client)
1261 return _impl_.required_client_;
1262}
1263inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1264InterProcessManagerHold::mutable_required_client() {
1265 // @@protoc_insertion_point(field_mutable_list:goby.zeromq.protobuf.InterProcessManagerHold.required_client)
1266 return &_impl_.required_client_;
1267}
1268
1269#ifdef __GNUC__
1270 #pragma GCC diagnostic pop
1271#endif // __GNUC__
1272// -------------------------------------------------------------------
1273
1274
1275// @@protoc_insertion_point(namespace_scope)
1276
1277} // namespace protobuf
1278} // namespace zeromq
1279} // namespace goby
1280
1281PROTOBUF_NAMESPACE_OPEN
1282
1283template <> struct is_proto_enum< ::goby::zeromq::protobuf::InterProcessPortalConfig_Transport> : ::std::true_type {};
1284template <>
1286 return ::goby::zeromq::protobuf::InterProcessPortalConfig_Transport_descriptor();
1287}
1288
1289PROTOBUF_NAMESPACE_CLOSE
1290
1291// @@protoc_insertion_point(global_scope)
1292
1293#include <google/protobuf/port_undef.inc>
1294#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2finterprocess_5fconfig_2eproto
friend void swap(InterProcessManagerHold &a, InterProcessManagerHold &b)
InterProcessManagerHold & operator=(InterProcessManagerHold &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
InterProcessManagerHold(const InterProcessManagerHold &from)
void UnsafeArenaSwap(InterProcessManagerHold *other)
InterProcessManagerHold * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
InterProcessManagerHold & operator=(const InterProcessManagerHold &from)
static const InterProcessManagerHold & default_instance()
PROTOBUF_CONSTEXPR InterProcessManagerHold(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void MergeFrom(const InterProcessManagerHold &from)
void CopyFrom(const InterProcessManagerHold &from)
static const InterProcessManagerHold * internal_default_instance()
InterProcessManagerHold(InterProcessManagerHold &&from) noexcept
InterProcessManagerHold(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_client_name(ArgT0 &&arg0, ArgT... args)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static bool Transport_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Transport *value)
InterProcessPortalConfig(const InterProcessPortalConfig &from)
InterProcessPortalConfig(InterProcessPortalConfig &&from) noexcept
void set_transport(::goby::zeromq::protobuf::InterProcessPortalConfig_Transport value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
friend void swap(InterProcessPortalConfig &a, InterProcessPortalConfig &b)
PROTOBUF_NODISCARD std::string * release_ipv4_address()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_platform(ArgT0 &&arg0, ArgT... args)
InterProcessPortalConfig & operator=(InterProcessPortalConfig &&from) noexcept
static const std::string & Transport_Name(T enum_t_value)
PROTOBUF_NODISCARD std::string * release_socket_name()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
InterProcessPortalConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void UnsafeArenaSwap(InterProcessPortalConfig *other)
static const InterProcessPortalConfig * internal_default_instance()
void set_socket_name(ArgT0 &&arg0, ArgT... args)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
InterProcessPortalConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
PROTOBUF_CONSTEXPR InterProcessPortalConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const InterProcessPortalConfig & default_instance()
::goby::zeromq::protobuf::InterProcessPortalConfig_Transport transport() const
void CopyFrom(const InterProcessPortalConfig &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void MergeFrom(const InterProcessPortalConfig &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
InterProcessPortalConfig & operator=(const InterProcessPortalConfig &from)
PROTOBUF_NODISCARD std::string * release_ip_address()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Transport_descriptor()
const EnumDescriptor * GetEnumDescriptor< ::goby::zeromq::protobuf::InterProcessPortalConfig_Transport >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2finterprocess_5fconfig_2eproto
bool InterProcessPortalConfig_Transport_IsValid(int value)
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
constexpr int InterProcessPortalConfig_Transport_Transport_ARRAYSIZE
constexpr InterProcessPortalConfig_Transport InterProcessPortalConfig_Transport_Transport_MIN
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * InterProcessPortalConfig_Transport_descriptor()
InterProcessManagerHoldDefaultTypeInternal _InterProcessManagerHold_default_instance_
const std::string & InterProcessPortalConfig_Transport_Name(T enum_t_value)
constexpr InterProcessPortalConfig_Transport InterProcessPortalConfig_Transport_Transport_MAX
bool InterProcessPortalConfig_Transport_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, InterProcessPortalConfig_Transport *value)
The global namespace for the Goby project.
#define ByteSizeLong
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ip_address_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ipv4_address_
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_