Goby3  3.1.5
2024.05.14
gobyd_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/gobyd_config.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
39 #include <boost/units/quantity.hpp>
40 #include <boost/units/absolute.hpp>
41 #include <boost/units/dimensionless_type.hpp>
42 #include <boost/units/make_scaled_unit.hpp>
43 // @@protoc_insertion_point(includes)
44 #include <google/protobuf/port_def.inc>
45 #define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
46 PROTOBUF_NAMESPACE_OPEN
47 namespace internal {
48 class AnyMetadata;
49 } // namespace internal
50 PROTOBUF_NAMESPACE_CLOSE
51 
52 // Internal implementation detail -- do not use these members.
54  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
55  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
57  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
61  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
63 };
64 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto;
65 namespace goby {
66 namespace apps {
67 namespace zeromq {
68 namespace protobuf {
69 class GobyDaemonConfig;
70 class GobyDaemonConfigDefaultTypeInternal;
71 extern GobyDaemonConfigDefaultTypeInternal _GobyDaemonConfig_default_instance_;
72 class GobyIntervehiclePortalConfig;
73 class GobyIntervehiclePortalConfigDefaultTypeInternal;
74 extern GobyIntervehiclePortalConfigDefaultTypeInternal _GobyIntervehiclePortalConfig_default_instance_;
75 } // namespace protobuf
76 } // namespace zeromq
77 } // namespace apps
78 } // namespace goby
79 PROTOBUF_NAMESPACE_OPEN
80 template<> ::goby::apps::zeromq::protobuf::GobyDaemonConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::GobyDaemonConfig>(Arena*);
81 template<> ::goby::apps::zeromq::protobuf::GobyIntervehiclePortalConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::GobyIntervehiclePortalConfig>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
83 namespace goby {
84 namespace apps {
85 namespace zeromq {
86 namespace protobuf {
87 
88 // ===================================================================
89 
90 class GobyDaemonConfig PROTOBUF_FINAL :
91  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.protobuf.GobyDaemonConfig) */ {
92  public:
93  inline GobyDaemonConfig() : GobyDaemonConfig(nullptr) {};
94  virtual ~GobyDaemonConfig();
95 
96  GobyDaemonConfig(const GobyDaemonConfig& from);
97  GobyDaemonConfig(GobyDaemonConfig&& from) noexcept
98  : GobyDaemonConfig() {
99  *this = ::std::move(from);
100  }
101 
102  inline GobyDaemonConfig& operator=(const GobyDaemonConfig& from) {
103  CopyFrom(from);
104  return *this;
105  }
106  inline GobyDaemonConfig& operator=(GobyDaemonConfig&& from) noexcept {
107  if (GetArena() == from.GetArena()) {
108  if (this != &from) InternalSwap(&from);
109  } else {
110  CopyFrom(from);
111  }
112  return *this;
113  }
114 
115  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
116  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
117  }
118  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
119  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
120  }
121 
122  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
123  return GetDescriptor();
124  }
125  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
126  return GetMetadataStatic().descriptor;
127  }
128  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
129  return GetMetadataStatic().reflection;
130  }
131  static const GobyDaemonConfig& default_instance();
132 
133  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
134  static inline const GobyDaemonConfig* internal_default_instance() {
135  return reinterpret_cast<const GobyDaemonConfig*>(
137  }
138  static constexpr int kIndexInFileMessages =
139  0;
140 
141  friend void swap(GobyDaemonConfig& a, GobyDaemonConfig& b) {
142  a.Swap(&b);
143  }
144  inline void Swap(GobyDaemonConfig* other) {
145  if (other == this) return;
146  if (GetArena() == other->GetArena()) {
147  InternalSwap(other);
148  } else {
149  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
150  }
151  }
152  void UnsafeArenaSwap(GobyDaemonConfig* other) {
153  if (other == this) return;
154  GOOGLE_DCHECK(GetArena() == other->GetArena());
155  InternalSwap(other);
156  }
157 
158  // implements Message ----------------------------------------------
159 
160  inline GobyDaemonConfig* New() const final {
161  return CreateMaybeMessage<GobyDaemonConfig>(nullptr);
162  }
163 
164  GobyDaemonConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
165  return CreateMaybeMessage<GobyDaemonConfig>(arena);
166  }
167  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
168  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
169  void CopyFrom(const GobyDaemonConfig& from);
170  void MergeFrom(const GobyDaemonConfig& from);
171  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
172  bool IsInitialized() const final;
173 
174  size_t ByteSizeLong() const final;
175  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
176  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
177  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
178  int GetCachedSize() const final { return _cached_size_.Get(); }
179 
180  private:
181  inline void SharedCtor();
182  inline void SharedDtor();
183  void SetCachedSize(int size) const final;
184  void InternalSwap(GobyDaemonConfig* other);
185  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187  return "goby.apps.zeromq.protobuf.GobyDaemonConfig";
188  }
189  protected:
190  explicit GobyDaemonConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena);
191  private:
192  static void ArenaDtor(void* object);
193  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
194  public:
195 
196  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
197  private:
198  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
199  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto);
200  return ::descriptor_table_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto.file_level_metadata[kIndexInFileMessages];
201  }
202 
203  public:
204 
205  // nested types ----------------------------------------------------
206 
207  // accessors -------------------------------------------------------
208 
209  enum : int {
210  kAppFieldNumber = 1,
211  kInterprocessFieldNumber = 3,
212  kIntervehicleFieldNumber = 4,
213  kHoldFieldNumber = 10,
214  kRouterThreadsFieldNumber = 2,
215  };
216  // optional .goby.middleware.protobuf.AppConfig app = 1;
217  bool has_app() const;
218  private:
219  bool _internal_has_app() const;
220  public:
221  void clear_app();
222  const ::goby::middleware::protobuf::AppConfig& app() const;
223  ::goby::middleware::protobuf::AppConfig* release_app();
224  ::goby::middleware::protobuf::AppConfig* mutable_app();
225  void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
226  private:
227  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
228  ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
229  public:
231  ::goby::middleware::protobuf::AppConfig* app);
232  ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
233 
234  // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 3 [(.goby.field) = {
235  bool has_interprocess() const;
236  private:
237  bool _internal_has_interprocess() const;
238  public:
240  const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
241  ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
242  ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
243  void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
244  private:
245  const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
246  ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
247  public:
249  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
250  ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
251 
252  // optional .goby.middleware.intervehicle.protobuf.PortalConfig intervehicle = 4;
253  bool has_intervehicle() const;
254  private:
255  bool _internal_has_intervehicle() const;
256  public:
258  const ::goby::middleware::intervehicle::protobuf::PortalConfig& intervehicle() const;
259  ::goby::middleware::intervehicle::protobuf::PortalConfig* release_intervehicle();
260  ::goby::middleware::intervehicle::protobuf::PortalConfig* mutable_intervehicle();
261  void set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle);
262  private:
263  const ::goby::middleware::intervehicle::protobuf::PortalConfig& _internal_intervehicle() const;
264  ::goby::middleware::intervehicle::protobuf::PortalConfig* _internal_mutable_intervehicle();
265  public:
267  ::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle);
268  ::goby::middleware::intervehicle::protobuf::PortalConfig* unsafe_arena_release_intervehicle();
269 
270  // optional .goby.zeromq.protobuf.InterProcessManagerHold hold = 10;
271  bool has_hold() const;
272  private:
273  bool _internal_has_hold() const;
274  public:
275  void clear_hold();
276  const ::goby::zeromq::protobuf::InterProcessManagerHold& hold() const;
277  ::goby::zeromq::protobuf::InterProcessManagerHold* release_hold();
278  ::goby::zeromq::protobuf::InterProcessManagerHold* mutable_hold();
279  void set_allocated_hold(::goby::zeromq::protobuf::InterProcessManagerHold* hold);
280  private:
281  const ::goby::zeromq::protobuf::InterProcessManagerHold& _internal_hold() const;
282  ::goby::zeromq::protobuf::InterProcessManagerHold* _internal_mutable_hold();
283  public:
285  ::goby::zeromq::protobuf::InterProcessManagerHold* hold);
286  ::goby::zeromq::protobuf::InterProcessManagerHold* unsafe_arena_release_hold();
287 
288  // optional int32 router_threads = 2 [default = 10];
289  bool has_router_threads() const;
290  private:
291  bool _internal_has_router_threads() const;
292  public:
296  private:
297  ::PROTOBUF_NAMESPACE_ID::int32 _internal_router_threads() const;
298  void _internal_set_router_threads(::PROTOBUF_NAMESPACE_ID::int32 value);
299  public:
300 
301  // @@protoc_insertion_point(class_scope:goby.apps.zeromq.protobuf.GobyDaemonConfig)
302  private:
303  class _Internal;
304 
305  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
306  typedef void InternalArenaConstructable_;
307  typedef void DestructorSkippable_;
308  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
309  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
310  ::goby::middleware::protobuf::AppConfig* app_;
311  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
312  ::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle_;
313  ::goby::zeromq::protobuf::InterProcessManagerHold* hold_;
314  ::PROTOBUF_NAMESPACE_ID::int32 router_threads_;
315  friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto;
316 };
317 // -------------------------------------------------------------------
318 
319 class GobyIntervehiclePortalConfig PROTOBUF_FINAL :
320  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig) */ {
321  public:
322  inline GobyIntervehiclePortalConfig() : GobyIntervehiclePortalConfig(nullptr) {};
324 
325  GobyIntervehiclePortalConfig(const GobyIntervehiclePortalConfig& from);
326  GobyIntervehiclePortalConfig(GobyIntervehiclePortalConfig&& from) noexcept
327  : GobyIntervehiclePortalConfig() {
328  *this = ::std::move(from);
329  }
330 
331  inline GobyIntervehiclePortalConfig& operator=(const GobyIntervehiclePortalConfig& from) {
332  CopyFrom(from);
333  return *this;
334  }
335  inline GobyIntervehiclePortalConfig& operator=(GobyIntervehiclePortalConfig&& from) noexcept {
336  if (GetArena() == from.GetArena()) {
337  if (this != &from) InternalSwap(&from);
338  } else {
339  CopyFrom(from);
340  }
341  return *this;
342  }
343 
344  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
345  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
346  }
347  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
348  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
349  }
350 
351  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
352  return GetDescriptor();
353  }
354  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
355  return GetMetadataStatic().descriptor;
356  }
357  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
358  return GetMetadataStatic().reflection;
359  }
360  static const GobyIntervehiclePortalConfig& default_instance();
361 
362  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
363  static inline const GobyIntervehiclePortalConfig* internal_default_instance() {
364  return reinterpret_cast<const GobyIntervehiclePortalConfig*>(
366  }
367  static constexpr int kIndexInFileMessages =
368  1;
369 
370  friend void swap(GobyIntervehiclePortalConfig& a, GobyIntervehiclePortalConfig& b) {
371  a.Swap(&b);
372  }
373  inline void Swap(GobyIntervehiclePortalConfig* other) {
374  if (other == this) return;
375  if (GetArena() == other->GetArena()) {
376  InternalSwap(other);
377  } else {
378  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
379  }
380  }
381  void UnsafeArenaSwap(GobyIntervehiclePortalConfig* other) {
382  if (other == this) return;
383  GOOGLE_DCHECK(GetArena() == other->GetArena());
384  InternalSwap(other);
385  }
386 
387  // implements Message ----------------------------------------------
388 
389  inline GobyIntervehiclePortalConfig* New() const final {
390  return CreateMaybeMessage<GobyIntervehiclePortalConfig>(nullptr);
391  }
392 
393  GobyIntervehiclePortalConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
394  return CreateMaybeMessage<GobyIntervehiclePortalConfig>(arena);
395  }
396  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
397  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
398  void CopyFrom(const GobyIntervehiclePortalConfig& from);
399  void MergeFrom(const GobyIntervehiclePortalConfig& from);
400  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
401  bool IsInitialized() const final;
402 
403  size_t ByteSizeLong() const final;
404  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
405  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
406  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
407  int GetCachedSize() const final { return _cached_size_.Get(); }
408 
409  private:
410  inline void SharedCtor();
411  inline void SharedDtor();
412  void SetCachedSize(int size) const final;
413  void InternalSwap(GobyIntervehiclePortalConfig* other);
414  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
415  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
416  return "goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig";
417  }
418  protected:
419  explicit GobyIntervehiclePortalConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena);
420  private:
421  static void ArenaDtor(void* object);
422  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
423  public:
424 
425  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
426  private:
427  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
428  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto);
429  return ::descriptor_table_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto.file_level_metadata[kIndexInFileMessages];
430  }
431 
432  public:
433 
434  // nested types ----------------------------------------------------
435 
436  // accessors -------------------------------------------------------
437 
438  enum : int {
439  kAppFieldNumber = 1,
440  kInterprocessFieldNumber = 2,
441  kIntervehicleFieldNumber = 3,
442  };
443  // optional .goby.middleware.protobuf.AppConfig app = 1;
444  bool has_app() const;
445  private:
446  bool _internal_has_app() const;
447  public:
448  void clear_app();
449  const ::goby::middleware::protobuf::AppConfig& app() const;
450  ::goby::middleware::protobuf::AppConfig* release_app();
451  ::goby::middleware::protobuf::AppConfig* mutable_app();
452  void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
453  private:
454  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
455  ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
456  public:
458  ::goby::middleware::protobuf::AppConfig* app);
459  ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
460 
461  // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
462  bool has_interprocess() const;
463  private:
464  bool _internal_has_interprocess() const;
465  public:
467  const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
468  ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
469  ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
470  void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
471  private:
472  const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
473  ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
474  public:
476  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
477  ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
478 
479  // required .goby.middleware.intervehicle.protobuf.PortalConfig intervehicle = 3;
480  bool has_intervehicle() const;
481  private:
482  bool _internal_has_intervehicle() const;
483  public:
485  const ::goby::middleware::intervehicle::protobuf::PortalConfig& intervehicle() const;
486  ::goby::middleware::intervehicle::protobuf::PortalConfig* release_intervehicle();
487  ::goby::middleware::intervehicle::protobuf::PortalConfig* mutable_intervehicle();
488  void set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle);
489  private:
490  const ::goby::middleware::intervehicle::protobuf::PortalConfig& _internal_intervehicle() const;
491  ::goby::middleware::intervehicle::protobuf::PortalConfig* _internal_mutable_intervehicle();
492  public:
494  ::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle);
495  ::goby::middleware::intervehicle::protobuf::PortalConfig* unsafe_arena_release_intervehicle();
496 
497  // @@protoc_insertion_point(class_scope:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig)
498  private:
499  class _Internal;
500 
501  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
502  typedef void InternalArenaConstructable_;
503  typedef void DestructorSkippable_;
504  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
505  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
506  ::goby::middleware::protobuf::AppConfig* app_;
507  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
508  ::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle_;
509  friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto;
510 };
511 // ===================================================================
512 
513 
514 // ===================================================================
515 
516 #ifdef __GNUC__
517  #pragma GCC diagnostic push
518  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
519 #endif // __GNUC__
520 // GobyDaemonConfig
521 
522 // optional .goby.middleware.protobuf.AppConfig app = 1;
523 inline bool GobyDaemonConfig::_internal_has_app() const {
524  bool value = (_has_bits_[0] & 0x00000001u) != 0;
525  PROTOBUF_ASSUME(!value || app_ != nullptr);
526  return value;
527 }
528 inline bool GobyDaemonConfig::has_app() const {
529  return _internal_has_app();
530 }
531 inline const ::goby::middleware::protobuf::AppConfig& GobyDaemonConfig::_internal_app() const {
532  const ::goby::middleware::protobuf::AppConfig* p = app_;
533  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
535 }
536 inline const ::goby::middleware::protobuf::AppConfig& GobyDaemonConfig::app() const {
537  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyDaemonConfig.app)
538  return _internal_app();
539 }
540 inline void GobyDaemonConfig::unsafe_arena_set_allocated_app(
541  ::goby::middleware::protobuf::AppConfig* app) {
542  if (GetArena() == nullptr) {
543  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
544  }
545  app_ = app;
546  if (app) {
547  _has_bits_[0] |= 0x00000001u;
548  } else {
549  _has_bits_[0] &= ~0x00000001u;
550  }
551  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.app)
552 }
553 inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::release_app() {
554  auto temp = unsafe_arena_release_app();
555  if (GetArena() != nullptr) {
556  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
557  }
558  return temp;
559 }
560 inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::unsafe_arena_release_app() {
561  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GobyDaemonConfig.app)
562  _has_bits_[0] &= ~0x00000001u;
563  ::goby::middleware::protobuf::AppConfig* temp = app_;
564  app_ = nullptr;
565  return temp;
566 }
567 inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::_internal_mutable_app() {
568  _has_bits_[0] |= 0x00000001u;
569  if (app_ == nullptr) {
570  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
571  app_ = p;
572  }
573  return app_;
574 }
575 inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::mutable_app() {
576  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GobyDaemonConfig.app)
577  return _internal_mutable_app();
578 }
579 inline void GobyDaemonConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
580  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
581  if (message_arena == nullptr) {
582  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
583  }
584  if (app) {
585  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
586  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app)->GetArena();
587  if (message_arena != submessage_arena) {
588  app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
589  message_arena, app, submessage_arena);
590  }
591  _has_bits_[0] |= 0x00000001u;
592  } else {
593  _has_bits_[0] &= ~0x00000001u;
594  }
595  app_ = app;
596  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.app)
597 }
598 
599 // optional int32 router_threads = 2 [default = 10];
600 inline bool GobyDaemonConfig::_internal_has_router_threads() const {
601  bool value = (_has_bits_[0] & 0x00000010u) != 0;
602  return value;
603 }
604 inline bool GobyDaemonConfig::has_router_threads() const {
605  return _internal_has_router_threads();
606 }
607 inline void GobyDaemonConfig::clear_router_threads() {
608  router_threads_ = 10;
609  _has_bits_[0] &= ~0x00000010u;
610 }
611 inline ::PROTOBUF_NAMESPACE_ID::int32 GobyDaemonConfig::_internal_router_threads() const {
612  return router_threads_;
613 }
614 inline ::PROTOBUF_NAMESPACE_ID::int32 GobyDaemonConfig::router_threads() const {
615  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyDaemonConfig.router_threads)
616  return _internal_router_threads();
617 }
618 inline void GobyDaemonConfig::_internal_set_router_threads(::PROTOBUF_NAMESPACE_ID::int32 value) {
619  _has_bits_[0] |= 0x00000010u;
620  router_threads_ = value;
621 }
622 inline void GobyDaemonConfig::set_router_threads(::PROTOBUF_NAMESPACE_ID::int32 value) {
623  _internal_set_router_threads(value);
624  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GobyDaemonConfig.router_threads)
625 }
626 
627 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 3 [(.goby.field) = {
628 inline bool GobyDaemonConfig::_internal_has_interprocess() const {
629  bool value = (_has_bits_[0] & 0x00000002u) != 0;
630  PROTOBUF_ASSUME(!value || interprocess_ != nullptr);
631  return value;
632 }
633 inline bool GobyDaemonConfig::has_interprocess() const {
634  return _internal_has_interprocess();
635 }
636 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyDaemonConfig::_internal_interprocess() const {
637  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
638  return p != nullptr ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*>(
640 }
641 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyDaemonConfig::interprocess() const {
642  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyDaemonConfig.interprocess)
643  return _internal_interprocess();
644 }
645 inline void GobyDaemonConfig::unsafe_arena_set_allocated_interprocess(
646  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
647  if (GetArena() == nullptr) {
648  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
649  }
650  interprocess_ = interprocess;
651  if (interprocess) {
652  _has_bits_[0] |= 0x00000002u;
653  } else {
654  _has_bits_[0] &= ~0x00000002u;
655  }
656  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.interprocess)
657 }
658 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::release_interprocess() {
659  auto temp = unsafe_arena_release_interprocess();
660  if (GetArena() != nullptr) {
661  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
662  }
663  return temp;
664 }
665 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::unsafe_arena_release_interprocess() {
666  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GobyDaemonConfig.interprocess)
667  _has_bits_[0] &= ~0x00000002u;
668  ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
669  interprocess_ = nullptr;
670  return temp;
671 }
672 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::_internal_mutable_interprocess() {
673  _has_bits_[0] |= 0x00000002u;
674  if (interprocess_ == nullptr) {
675  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
676  interprocess_ = p;
677  }
678  return interprocess_;
679 }
680 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::mutable_interprocess() {
681  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GobyDaemonConfig.interprocess)
682  return _internal_mutable_interprocess();
683 }
684 inline void GobyDaemonConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
685  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
686  if (message_arena == nullptr) {
687  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
688  }
689  if (interprocess) {
690  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
691  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess)->GetArena();
692  if (message_arena != submessage_arena) {
693  interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
694  message_arena, interprocess, submessage_arena);
695  }
696  _has_bits_[0] |= 0x00000002u;
697  } else {
698  _has_bits_[0] &= ~0x00000002u;
699  }
700  interprocess_ = interprocess;
701  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.interprocess)
702 }
703 
704 // optional .goby.middleware.intervehicle.protobuf.PortalConfig intervehicle = 4;
705 inline bool GobyDaemonConfig::_internal_has_intervehicle() const {
706  bool value = (_has_bits_[0] & 0x00000004u) != 0;
707  PROTOBUF_ASSUME(!value || intervehicle_ != nullptr);
708  return value;
709 }
710 inline bool GobyDaemonConfig::has_intervehicle() const {
711  return _internal_has_intervehicle();
712 }
713 inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyDaemonConfig::_internal_intervehicle() const {
714  const ::goby::middleware::intervehicle::protobuf::PortalConfig* p = intervehicle_;
715  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::intervehicle::protobuf::PortalConfig*>(
717 }
718 inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyDaemonConfig::intervehicle() const {
719  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyDaemonConfig.intervehicle)
720  return _internal_intervehicle();
721 }
722 inline void GobyDaemonConfig::unsafe_arena_set_allocated_intervehicle(
723  ::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle) {
724  if (GetArena() == nullptr) {
725  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(intervehicle_);
726  }
727  intervehicle_ = intervehicle;
728  if (intervehicle) {
729  _has_bits_[0] |= 0x00000004u;
730  } else {
731  _has_bits_[0] &= ~0x00000004u;
732  }
733  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.intervehicle)
734 }
735 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::release_intervehicle() {
736  auto temp = unsafe_arena_release_intervehicle();
737  if (GetArena() != nullptr) {
738  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
739  }
740  return temp;
741 }
742 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::unsafe_arena_release_intervehicle() {
743  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GobyDaemonConfig.intervehicle)
744  _has_bits_[0] &= ~0x00000004u;
745  ::goby::middleware::intervehicle::protobuf::PortalConfig* temp = intervehicle_;
746  intervehicle_ = nullptr;
747  return temp;
748 }
749 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::_internal_mutable_intervehicle() {
750  _has_bits_[0] |= 0x00000004u;
751  if (intervehicle_ == nullptr) {
752  auto* p = CreateMaybeMessage<::goby::middleware::intervehicle::protobuf::PortalConfig>(GetArena());
753  intervehicle_ = p;
754  }
755  return intervehicle_;
756 }
757 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::mutable_intervehicle() {
758  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GobyDaemonConfig.intervehicle)
759  return _internal_mutable_intervehicle();
760 }
761 inline void GobyDaemonConfig::set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle) {
762  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
763  if (message_arena == nullptr) {
764  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(intervehicle_);
765  }
766  if (intervehicle) {
767  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
768  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(intervehicle)->GetArena();
769  if (message_arena != submessage_arena) {
770  intervehicle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
771  message_arena, intervehicle, submessage_arena);
772  }
773  _has_bits_[0] |= 0x00000004u;
774  } else {
775  _has_bits_[0] &= ~0x00000004u;
776  }
777  intervehicle_ = intervehicle;
778  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.intervehicle)
779 }
780 
781 // optional .goby.zeromq.protobuf.InterProcessManagerHold hold = 10;
782 inline bool GobyDaemonConfig::_internal_has_hold() const {
783  bool value = (_has_bits_[0] & 0x00000008u) != 0;
784  PROTOBUF_ASSUME(!value || hold_ != nullptr);
785  return value;
786 }
787 inline bool GobyDaemonConfig::has_hold() const {
788  return _internal_has_hold();
789 }
790 inline const ::goby::zeromq::protobuf::InterProcessManagerHold& GobyDaemonConfig::_internal_hold() const {
791  const ::goby::zeromq::protobuf::InterProcessManagerHold* p = hold_;
792  return p != nullptr ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessManagerHold*>(
794 }
795 inline const ::goby::zeromq::protobuf::InterProcessManagerHold& GobyDaemonConfig::hold() const {
796  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyDaemonConfig.hold)
797  return _internal_hold();
798 }
799 inline void GobyDaemonConfig::unsafe_arena_set_allocated_hold(
800  ::goby::zeromq::protobuf::InterProcessManagerHold* hold) {
801  if (GetArena() == nullptr) {
802  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hold_);
803  }
804  hold_ = hold;
805  if (hold) {
806  _has_bits_[0] |= 0x00000008u;
807  } else {
808  _has_bits_[0] &= ~0x00000008u;
809  }
810  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.hold)
811 }
812 inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::release_hold() {
813  auto temp = unsafe_arena_release_hold();
814  if (GetArena() != nullptr) {
815  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
816  }
817  return temp;
818 }
819 inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::unsafe_arena_release_hold() {
820  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GobyDaemonConfig.hold)
821  _has_bits_[0] &= ~0x00000008u;
822  ::goby::zeromq::protobuf::InterProcessManagerHold* temp = hold_;
823  hold_ = nullptr;
824  return temp;
825 }
826 inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::_internal_mutable_hold() {
827  _has_bits_[0] |= 0x00000008u;
828  if (hold_ == nullptr) {
829  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessManagerHold>(GetArena());
830  hold_ = p;
831  }
832  return hold_;
833 }
834 inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::mutable_hold() {
835  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GobyDaemonConfig.hold)
836  return _internal_mutable_hold();
837 }
838 inline void GobyDaemonConfig::set_allocated_hold(::goby::zeromq::protobuf::InterProcessManagerHold* hold) {
839  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
840  if (message_arena == nullptr) {
841  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(hold_);
842  }
843  if (hold) {
844  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
845  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hold)->GetArena();
846  if (message_arena != submessage_arena) {
847  hold = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
848  message_arena, hold, submessage_arena);
849  }
850  _has_bits_[0] |= 0x00000008u;
851  } else {
852  _has_bits_[0] &= ~0x00000008u;
853  }
854  hold_ = hold;
855  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.hold)
856 }
857 
858 // -------------------------------------------------------------------
859 
860 // GobyIntervehiclePortalConfig
861 
862 // optional .goby.middleware.protobuf.AppConfig app = 1;
863 inline bool GobyIntervehiclePortalConfig::_internal_has_app() const {
864  bool value = (_has_bits_[0] & 0x00000001u) != 0;
865  PROTOBUF_ASSUME(!value || app_ != nullptr);
866  return value;
867 }
868 inline bool GobyIntervehiclePortalConfig::has_app() const {
869  return _internal_has_app();
870 }
871 inline const ::goby::middleware::protobuf::AppConfig& GobyIntervehiclePortalConfig::_internal_app() const {
872  const ::goby::middleware::protobuf::AppConfig* p = app_;
873  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
875 }
876 inline const ::goby::middleware::protobuf::AppConfig& GobyIntervehiclePortalConfig::app() const {
877  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.app)
878  return _internal_app();
879 }
880 inline void GobyIntervehiclePortalConfig::unsafe_arena_set_allocated_app(
881  ::goby::middleware::protobuf::AppConfig* app) {
882  if (GetArena() == nullptr) {
883  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
884  }
885  app_ = app;
886  if (app) {
887  _has_bits_[0] |= 0x00000001u;
888  } else {
889  _has_bits_[0] &= ~0x00000001u;
890  }
891  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.app)
892 }
893 inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::release_app() {
894  auto temp = unsafe_arena_release_app();
895  if (GetArena() != nullptr) {
896  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
897  }
898  return temp;
899 }
900 inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::unsafe_arena_release_app() {
901  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.app)
902  _has_bits_[0] &= ~0x00000001u;
903  ::goby::middleware::protobuf::AppConfig* temp = app_;
904  app_ = nullptr;
905  return temp;
906 }
907 inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::_internal_mutable_app() {
908  _has_bits_[0] |= 0x00000001u;
909  if (app_ == nullptr) {
910  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
911  app_ = p;
912  }
913  return app_;
914 }
915 inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::mutable_app() {
916  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.app)
917  return _internal_mutable_app();
918 }
919 inline void GobyIntervehiclePortalConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
920  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
921  if (message_arena == nullptr) {
922  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
923  }
924  if (app) {
925  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
926  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app)->GetArena();
927  if (message_arena != submessage_arena) {
928  app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
929  message_arena, app, submessage_arena);
930  }
931  _has_bits_[0] |= 0x00000001u;
932  } else {
933  _has_bits_[0] &= ~0x00000001u;
934  }
935  app_ = app;
936  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.app)
937 }
938 
939 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
940 inline bool GobyIntervehiclePortalConfig::_internal_has_interprocess() const {
941  bool value = (_has_bits_[0] & 0x00000002u) != 0;
942  PROTOBUF_ASSUME(!value || interprocess_ != nullptr);
943  return value;
944 }
945 inline bool GobyIntervehiclePortalConfig::has_interprocess() const {
946  return _internal_has_interprocess();
947 }
948 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyIntervehiclePortalConfig::_internal_interprocess() const {
949  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
950  return p != nullptr ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*>(
952 }
953 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyIntervehiclePortalConfig::interprocess() const {
954  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.interprocess)
955  return _internal_interprocess();
956 }
957 inline void GobyIntervehiclePortalConfig::unsafe_arena_set_allocated_interprocess(
958  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
959  if (GetArena() == nullptr) {
960  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
961  }
962  interprocess_ = interprocess;
963  if (interprocess) {
964  _has_bits_[0] |= 0x00000002u;
965  } else {
966  _has_bits_[0] &= ~0x00000002u;
967  }
968  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.interprocess)
969 }
970 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::release_interprocess() {
971  auto temp = unsafe_arena_release_interprocess();
972  if (GetArena() != nullptr) {
973  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
974  }
975  return temp;
976 }
977 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::unsafe_arena_release_interprocess() {
978  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.interprocess)
979  _has_bits_[0] &= ~0x00000002u;
980  ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
981  interprocess_ = nullptr;
982  return temp;
983 }
984 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::_internal_mutable_interprocess() {
985  _has_bits_[0] |= 0x00000002u;
986  if (interprocess_ == nullptr) {
987  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
988  interprocess_ = p;
989  }
990  return interprocess_;
991 }
992 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::mutable_interprocess() {
993  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.interprocess)
994  return _internal_mutable_interprocess();
995 }
996 inline void GobyIntervehiclePortalConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
997  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
998  if (message_arena == nullptr) {
999  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
1000  }
1001  if (interprocess) {
1002  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1003  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess)->GetArena();
1004  if (message_arena != submessage_arena) {
1005  interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1006  message_arena, interprocess, submessage_arena);
1007  }
1008  _has_bits_[0] |= 0x00000002u;
1009  } else {
1010  _has_bits_[0] &= ~0x00000002u;
1011  }
1012  interprocess_ = interprocess;
1013  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.interprocess)
1014 }
1015 
1016 // required .goby.middleware.intervehicle.protobuf.PortalConfig intervehicle = 3;
1017 inline bool GobyIntervehiclePortalConfig::_internal_has_intervehicle() const {
1018  bool value = (_has_bits_[0] & 0x00000004u) != 0;
1019  PROTOBUF_ASSUME(!value || intervehicle_ != nullptr);
1020  return value;
1021 }
1022 inline bool GobyIntervehiclePortalConfig::has_intervehicle() const {
1023  return _internal_has_intervehicle();
1024 }
1025 inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyIntervehiclePortalConfig::_internal_intervehicle() const {
1026  const ::goby::middleware::intervehicle::protobuf::PortalConfig* p = intervehicle_;
1027  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::intervehicle::protobuf::PortalConfig*>(
1029 }
1030 inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyIntervehiclePortalConfig::intervehicle() const {
1031  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.intervehicle)
1032  return _internal_intervehicle();
1033 }
1034 inline void GobyIntervehiclePortalConfig::unsafe_arena_set_allocated_intervehicle(
1035  ::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle) {
1036  if (GetArena() == nullptr) {
1037  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(intervehicle_);
1038  }
1039  intervehicle_ = intervehicle;
1040  if (intervehicle) {
1041  _has_bits_[0] |= 0x00000004u;
1042  } else {
1043  _has_bits_[0] &= ~0x00000004u;
1044  }
1045  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.intervehicle)
1046 }
1047 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::release_intervehicle() {
1048  auto temp = unsafe_arena_release_intervehicle();
1049  if (GetArena() != nullptr) {
1050  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1051  }
1052  return temp;
1053 }
1054 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::unsafe_arena_release_intervehicle() {
1055  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.intervehicle)
1056  _has_bits_[0] &= ~0x00000004u;
1057  ::goby::middleware::intervehicle::protobuf::PortalConfig* temp = intervehicle_;
1058  intervehicle_ = nullptr;
1059  return temp;
1060 }
1061 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::_internal_mutable_intervehicle() {
1062  _has_bits_[0] |= 0x00000004u;
1063  if (intervehicle_ == nullptr) {
1064  auto* p = CreateMaybeMessage<::goby::middleware::intervehicle::protobuf::PortalConfig>(GetArena());
1065  intervehicle_ = p;
1066  }
1067  return intervehicle_;
1068 }
1069 inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::mutable_intervehicle() {
1070  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.intervehicle)
1071  return _internal_mutable_intervehicle();
1072 }
1073 inline void GobyIntervehiclePortalConfig::set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle) {
1074  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1075  if (message_arena == nullptr) {
1076  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(intervehicle_);
1077  }
1078  if (intervehicle) {
1079  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1080  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(intervehicle)->GetArena();
1081  if (message_arena != submessage_arena) {
1082  intervehicle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1083  message_arena, intervehicle, submessage_arena);
1084  }
1085  _has_bits_[0] |= 0x00000004u;
1086  } else {
1087  _has_bits_[0] &= ~0x00000004u;
1088  }
1089  intervehicle_ = intervehicle;
1090  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.intervehicle)
1091 }
1092 
1093 #ifdef __GNUC__
1094  #pragma GCC diagnostic pop
1095 #endif // __GNUC__
1096 // -------------------------------------------------------------------
1097 
1098 
1099 // @@protoc_insertion_point(namespace_scope)
1100 
1101 } // namespace protobuf
1102 } // namespace zeromq
1103 } // namespace apps
1104 } // namespace goby
1105 
1106 // @@protoc_insertion_point(global_scope)
1107 
1108 #include <google/protobuf/port_undef.inc>
1109 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
void UnsafeArenaSwap(GobyIntervehiclePortalConfig *other)
void set_router_threads(::PROTOBUF_NAMESPACE_ID::int32 value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void MergeFrom(const GobyDaemonConfig &from)
friend void swap(GobyIntervehiclePortalConfig &a, GobyIntervehiclePortalConfig &b)
::goby::middleware::intervehicle::protobuf::PortalConfig * mutable_intervehicle()
GobyIntervehiclePortalConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::goby::middleware::protobuf::AppConfig * mutable_app()
void set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig *intervehicle)
::goby::zeromq::protobuf::InterProcessManagerHold * release_hold()
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
GobyDaemonConfig & operator=(const GobyDaemonConfig &from)
::goby::middleware::intervehicle::protobuf::PortalConfig * release_intervehicle()
GobyDaemonConfig * New() const final
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
void UnsafeArenaSwap(GobyDaemonConfig *other)
GobyDaemonConfig(const GobyDaemonConfig &from)
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
GobyDaemonConfig & operator=(GobyDaemonConfig &&from) noexcept
GobyIntervehiclePortalConfig & operator=(const GobyIntervehiclePortalConfig &from)
::goby::zeromq::protobuf::InterProcessManagerHold * unsafe_arena_release_hold()
static const GobyIntervehiclePortalConfig * internal_default_instance()
void Swap(GobyIntervehiclePortalConfig *other)
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
static const GobyIntervehiclePortalConfig & default_instance()
GobyDaemonConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::PROTOBUF_NAMESPACE_ID::int32 router_threads() const
::goby::zeromq::protobuf::InterProcessManagerHold * mutable_hold()
static const GobyDaemonConfig & default_instance()
void MergeFrom(const GobyIntervehiclePortalConfig &from)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
::goby::middleware::intervehicle::protobuf::PortalConfig * unsafe_arena_release_intervehicle()
GobyIntervehiclePortalConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void CopyFrom(const GobyIntervehiclePortalConfig &from)
const ::goby::middleware::intervehicle::protobuf::PortalConfig & intervehicle() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
GobyIntervehiclePortalConfig * New() const final
GobyDaemonConfig(GobyDaemonConfig &&from) noexcept
GobyIntervehiclePortalConfig & operator=(GobyIntervehiclePortalConfig &&from) noexcept
const ::goby::zeromq::protobuf::InterProcessManagerHold & hold() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_allocated_hold(::goby::zeromq::protobuf::InterProcessManagerHold *hold)
void unsafe_arena_set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig *intervehicle)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
friend void swap(GobyDaemonConfig &a, GobyDaemonConfig &b)
GobyIntervehiclePortalConfig(GobyIntervehiclePortalConfig &&from) noexcept
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
const ::goby::middleware::protobuf::AppConfig & app() const
static const GobyDaemonConfig * internal_default_instance()
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void CopyFrom(const GobyDaemonConfig &from)
void unsafe_arena_set_allocated_hold(::goby::zeromq::protobuf::InterProcessManagerHold *hold)
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
GobyIntervehiclePortalConfig(const GobyIntervehiclePortalConfig &from)
GobyDaemonConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
::goby::middleware::protobuf::AppConfig * release_app()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
@ value
the parser finished reading a JSON value
GobyIntervehiclePortalConfigDefaultTypeInternal _GobyIntervehiclePortalConfig_default_instance_
GobyDaemonConfigDefaultTypeInternal _GobyDaemonConfig_default_instance_
PortalConfigDefaultTypeInternal _PortalConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
InterProcessManagerHoldDefaultTypeInternal _InterProcessManagerHold_default_instance_
The global namespace for the Goby project.
std::int32_t int32
std::uint32_t uint32
#define ByteSizeLong
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]