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