Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
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 < 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/unknown_field_set.h>
37#include <boost/units/quantity.hpp>
38#include <boost/units/absolute.hpp>
39#include <boost/units/dimensionless_type.hpp>
40#include <boost/units/make_scaled_unit.hpp>
41// @@protoc_insertion_point(includes)
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
44PROTOBUF_NAMESPACE_OPEN
45namespace internal {
46class AnyMetadata;
47} // namespace internal
48PROTOBUF_NAMESPACE_CLOSE
49
50// Internal implementation detail -- do not use these members.
54extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto;
55namespace goby {
56namespace apps {
57namespace zeromq {
58namespace protobuf {
59class GobyDaemonConfig;
60struct GobyDaemonConfigDefaultTypeInternal;
61extern GobyDaemonConfigDefaultTypeInternal _GobyDaemonConfig_default_instance_;
62class GobyIntervehiclePortalConfig;
63struct GobyIntervehiclePortalConfigDefaultTypeInternal;
64extern GobyIntervehiclePortalConfigDefaultTypeInternal _GobyIntervehiclePortalConfig_default_instance_;
65} // namespace protobuf
66} // namespace zeromq
67} // namespace apps
68} // namespace goby
69PROTOBUF_NAMESPACE_OPEN
70template<> ::goby::apps::zeromq::protobuf::GobyDaemonConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::GobyDaemonConfig>(Arena*);
71template<> ::goby::apps::zeromq::protobuf::GobyIntervehiclePortalConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::GobyIntervehiclePortalConfig>(Arena*);
72PROTOBUF_NAMESPACE_CLOSE
73namespace goby {
74namespace apps {
75namespace zeromq {
76namespace protobuf {
77
78// ===================================================================
79
80class GobyDaemonConfig final :
81 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.protobuf.GobyDaemonConfig) */ {
82 public:
83 inline GobyDaemonConfig() : GobyDaemonConfig(nullptr) {}
85 explicit PROTOBUF_CONSTEXPR GobyDaemonConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
86
90 *this = ::std::move(from);
91 }
92
94 CopyFrom(from);
95 return *this;
96 }
97 inline GobyDaemonConfig& operator=(GobyDaemonConfig&& from) noexcept {
98 if (this == &from) return *this;
99 if (GetOwningArena() == from.GetOwningArena()
100 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
101 && GetOwningArena() != nullptr
102 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
103 ) {
104 InternalSwap(&from);
105 } else {
106 CopyFrom(from);
107 }
108 return *this;
109 }
110
111 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
112 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
113 }
114 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
115 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
116 }
117
118 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
119 return GetDescriptor();
120 }
121 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
122 return default_instance().GetMetadata().descriptor;
123 }
124 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
125 return default_instance().GetMetadata().reflection;
126 }
129 }
131 return reinterpret_cast<const GobyDaemonConfig*>(
133 }
134 static constexpr int kIndexInFileMessages =
135 0;
136
138 a.Swap(&b);
139 }
140 inline void Swap(GobyDaemonConfig* other) {
141 if (other == this) return;
142 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
143 if (GetOwningArena() != nullptr &&
144 GetOwningArena() == other->GetOwningArena()) {
145 #else // PROTOBUF_FORCE_COPY_IN_SWAP
146 if (GetOwningArena() == other->GetOwningArena()) {
147 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
148 InternalSwap(other);
149 } else {
150 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
151 }
152 }
154 if (other == this) return;
155 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
156 InternalSwap(other);
157 }
158
159 // implements Message ----------------------------------------------
160
161 GobyDaemonConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
162 return CreateMaybeMessage<GobyDaemonConfig>(arena);
163 }
164 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
165 void CopyFrom(const GobyDaemonConfig& from);
166 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
167 void MergeFrom( const GobyDaemonConfig& from) {
168 GobyDaemonConfig::MergeImpl(*this, from);
169 }
170 private:
171 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
172 public:
173 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
174 bool IsInitialized() const final;
175
176 size_t ByteSizeLong() const final;
177 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
179 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
180 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
181
182 private:
183 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
184 void SharedDtor();
185 void SetCachedSize(int size) const final;
186 void InternalSwap(GobyDaemonConfig* other);
187
188 private:
189 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
190 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
191 return "goby.apps.zeromq.protobuf.GobyDaemonConfig";
192 }
193 protected:
194 explicit GobyDaemonConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
195 bool is_message_owned = false);
196 public:
197
198 static const ClassData _class_data_;
199 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
200
201 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
202
203 // nested types ----------------------------------------------------
204
205 // accessors -------------------------------------------------------
206
207 enum : int {
213 };
214 // optional .goby.middleware.protobuf.AppConfig app = 1;
215 bool has_app() const;
216 private:
217 bool _internal_has_app() const;
218 public:
219 void clear_app();
220 const ::goby::middleware::protobuf::AppConfig& app() const;
221 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
224 private:
225 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
226 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
227 public:
231
232 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 3 [(.goby.field) = {
233 bool has_interprocess() const;
234 private:
235 bool _internal_has_interprocess() const;
236 public:
238 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
239 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
242 private:
243 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
244 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
245 public:
249
250 // optional .goby.middleware.intervehicle.protobuf.PortalConfig intervehicle = 4;
251 bool has_intervehicle() const;
252 private:
253 bool _internal_has_intervehicle() const;
254 public:
256 const ::goby::middleware::intervehicle::protobuf::PortalConfig& intervehicle() const;
257 PROTOBUF_NODISCARD ::goby::middleware::intervehicle::protobuf::PortalConfig* release_intervehicle();
260 private:
261 const ::goby::middleware::intervehicle::protobuf::PortalConfig& _internal_intervehicle() const;
262 ::goby::middleware::intervehicle::protobuf::PortalConfig* _internal_mutable_intervehicle();
263 public:
267
268 // optional .goby.zeromq.protobuf.InterProcessManagerHold hold = 10;
269 bool has_hold() const;
270 private:
271 bool _internal_has_hold() const;
272 public:
274 const ::goby::zeromq::protobuf::InterProcessManagerHold& hold() const;
275 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessManagerHold* release_hold();
278 private:
279 const ::goby::zeromq::protobuf::InterProcessManagerHold& _internal_hold() const;
281 public:
285
286 // optional int32 router_threads = 2 [default = 10];
287 bool has_router_threads() const;
288 private:
289 bool _internal_has_router_threads() const;
290 public:
292 int32_t router_threads() const;
293 void set_router_threads(int32_t value);
294 private:
295 int32_t _internal_router_threads() const;
296 void _internal_set_router_threads(int32_t value);
297 public:
298
299 // @@protoc_insertion_point(class_scope:goby.apps.zeromq.protobuf.GobyDaemonConfig)
300 private:
301 class _Internal;
302
303 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
304 typedef void InternalArenaConstructable_;
305 typedef void DestructorSkippable_;
306 struct Impl_ {
307 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
308 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
313 int32_t router_threads_;
314 };
315 union { Impl_ _impl_; };
316 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto;
317};
318// -------------------------------------------------------------------
319
321 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig) */ {
322 public:
325 explicit PROTOBUF_CONSTEXPR GobyIntervehiclePortalConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
326
330 *this = ::std::move(from);
331 }
332
334 CopyFrom(from);
335 return *this;
336 }
338 if (this == &from) return *this;
339 if (GetOwningArena() == from.GetOwningArena()
340 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
341 && GetOwningArena() != nullptr
342 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
343 ) {
344 InternalSwap(&from);
345 } else {
346 CopyFrom(from);
347 }
348 return *this;
349 }
350
351 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
352 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
353 }
354 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
355 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
356 }
357
358 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
359 return GetDescriptor();
360 }
361 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
362 return default_instance().GetMetadata().descriptor;
363 }
364 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
365 return default_instance().GetMetadata().reflection;
366 }
368 return *internal_default_instance();
369 }
374 static constexpr int kIndexInFileMessages =
375 1;
376
380 inline void Swap(GobyIntervehiclePortalConfig* other) {
381 if (other == this) return;
382 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
383 if (GetOwningArena() != nullptr &&
384 GetOwningArena() == other->GetOwningArena()) {
385 #else // PROTOBUF_FORCE_COPY_IN_SWAP
386 if (GetOwningArena() == other->GetOwningArena()) {
387 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
388 InternalSwap(other);
389 } else {
390 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
391 }
392 }
394 if (other == this) return;
395 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
396 InternalSwap(other);
397 }
398
399 // implements Message ----------------------------------------------
400
401 GobyIntervehiclePortalConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
402 return CreateMaybeMessage<GobyIntervehiclePortalConfig>(arena);
403 }
404 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
406 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
408 GobyIntervehiclePortalConfig::MergeImpl(*this, from);
409 }
410 private:
411 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
412 public:
413 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
414 bool IsInitialized() const final;
415
416 size_t ByteSizeLong() const final;
417 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
418 uint8_t* _InternalSerialize(
419 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
420 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
421
422 private:
423 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
424 void SharedDtor();
425 void SetCachedSize(int size) const final;
426 void InternalSwap(GobyIntervehiclePortalConfig* other);
427
428 private:
429 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
430 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
431 return "goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig";
432 }
433 protected:
434 explicit GobyIntervehiclePortalConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
435 bool is_message_owned = false);
436 public:
437
438 static const ClassData _class_data_;
439 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
440
441 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
442
443 // nested types ----------------------------------------------------
444
445 // accessors -------------------------------------------------------
446
447 enum : int {
448 kAppFieldNumber = 1,
449 kInterprocessFieldNumber = 2,
450 kIntervehicleFieldNumber = 3,
451 };
452 // optional .goby.middleware.protobuf.AppConfig app = 1;
453 bool has_app() const;
454 private:
455 bool _internal_has_app() const;
456 public:
457 void clear_app();
458 const ::goby::middleware::protobuf::AppConfig& app() const;
459 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
461 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
462 private:
463 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
464 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
465 public:
466 void unsafe_arena_set_allocated_app(
468 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
469
470 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
471 bool has_interprocess() const;
472 private:
473 bool _internal_has_interprocess() const;
474 public:
476 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
477 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
479 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
480 private:
481 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
482 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
483 public:
484 void unsafe_arena_set_allocated_interprocess(
486 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
487
488 // required .goby.middleware.intervehicle.protobuf.PortalConfig intervehicle = 3;
489 bool has_intervehicle() const;
490 private:
491 bool _internal_has_intervehicle() const;
492 public:
494 const ::goby::middleware::intervehicle::protobuf::PortalConfig& intervehicle() const;
495 PROTOBUF_NODISCARD ::goby::middleware::intervehicle::protobuf::PortalConfig* release_intervehicle();
497 void set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle);
498 private:
499 const ::goby::middleware::intervehicle::protobuf::PortalConfig& _internal_intervehicle() const;
500 ::goby::middleware::intervehicle::protobuf::PortalConfig* _internal_mutable_intervehicle();
501 public:
502 void unsafe_arena_set_allocated_intervehicle(
504 ::goby::middleware::intervehicle::protobuf::PortalConfig* unsafe_arena_release_intervehicle();
505
506 // @@protoc_insertion_point(class_scope:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig)
507 private:
508 class _Internal;
509
510 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
511 typedef void InternalArenaConstructable_;
512 typedef void DestructorSkippable_;
513 struct Impl_ {
514 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
515 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
519 };
520 union { Impl_ _impl_; };
521 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto;
522};
523// ===================================================================
524
525
526// ===================================================================
527
528#ifdef __GNUC__
529 #pragma GCC diagnostic push
530 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
531#endif // __GNUC__
532// GobyDaemonConfig
533
534// optional .goby.middleware.protobuf.AppConfig app = 1;
535inline bool GobyDaemonConfig::_internal_has_app() const {
536 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
537 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
538 return value;
539}
540inline bool GobyDaemonConfig::has_app() const {
541 return _internal_has_app();
542}
543inline const ::goby::middleware::protobuf::AppConfig& GobyDaemonConfig::_internal_app() const {
544 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
545 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
547}
548inline const ::goby::middleware::protobuf::AppConfig& GobyDaemonConfig::app() const {
549 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyDaemonConfig.app)
550 return _internal_app();
551}
552inline void GobyDaemonConfig::unsafe_arena_set_allocated_app(
554 if (GetArenaForAllocation() == nullptr) {
555 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
556 }
557 _impl_.app_ = app;
558 if (app) {
559 _impl_._has_bits_[0] |= 0x00000001u;
560 } else {
561 _impl_._has_bits_[0] &= ~0x00000001u;
562 }
563 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.app)
564}
565inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::release_app() {
566 _impl_._has_bits_[0] &= ~0x00000001u;
567 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
568 _impl_.app_ = nullptr;
569#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
570 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
571 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
572 if (GetArenaForAllocation() == nullptr) { delete old; }
573#else // PROTOBUF_FORCE_COPY_IN_RELEASE
574 if (GetArenaForAllocation() != nullptr) {
575 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
576 }
577#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
578 return temp;
579}
580inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::unsafe_arena_release_app() {
581 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GobyDaemonConfig.app)
582 _impl_._has_bits_[0] &= ~0x00000001u;
583 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
584 _impl_.app_ = nullptr;
585 return temp;
586}
587inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::_internal_mutable_app() {
588 _impl_._has_bits_[0] |= 0x00000001u;
589 if (_impl_.app_ == nullptr) {
590 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
591 _impl_.app_ = p;
592 }
593 return _impl_.app_;
594}
595inline ::goby::middleware::protobuf::AppConfig* GobyDaemonConfig::mutable_app() {
596 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
597 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GobyDaemonConfig.app)
598 return _msg;
599}
600inline void GobyDaemonConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
601 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
602 if (message_arena == nullptr) {
603 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
604 }
605 if (app) {
606 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
607 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
608 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
609 if (message_arena != submessage_arena) {
610 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
611 message_arena, app, submessage_arena);
612 }
613 _impl_._has_bits_[0] |= 0x00000001u;
614 } else {
615 _impl_._has_bits_[0] &= ~0x00000001u;
616 }
617 _impl_.app_ = app;
618 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.app)
619}
620
621// optional int32 router_threads = 2 [default = 10];
622inline bool GobyDaemonConfig::_internal_has_router_threads() const {
623 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
624 return value;
625}
626inline bool GobyDaemonConfig::has_router_threads() const {
627 return _internal_has_router_threads();
628}
629inline void GobyDaemonConfig::clear_router_threads() {
630 _impl_.router_threads_ = 10;
631 _impl_._has_bits_[0] &= ~0x00000010u;
632}
633inline int32_t GobyDaemonConfig::_internal_router_threads() const {
634 return _impl_.router_threads_;
635}
636inline int32_t GobyDaemonConfig::router_threads() const {
637 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyDaemonConfig.router_threads)
638 return _internal_router_threads();
639}
640inline void GobyDaemonConfig::_internal_set_router_threads(int32_t value) {
641 _impl_._has_bits_[0] |= 0x00000010u;
642 _impl_.router_threads_ = value;
643}
644inline void GobyDaemonConfig::set_router_threads(int32_t value) {
645 _internal_set_router_threads(value);
646 // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.GobyDaemonConfig.router_threads)
647}
648
649// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 3 [(.goby.field) = {
650inline bool GobyDaemonConfig::_internal_has_interprocess() const {
651 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
652 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
653 return value;
654}
655inline bool GobyDaemonConfig::has_interprocess() const {
656 return _internal_has_interprocess();
657}
658inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyDaemonConfig::_internal_interprocess() const {
659 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
660 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
662}
663inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyDaemonConfig::interprocess() const {
664 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyDaemonConfig.interprocess)
665 return _internal_interprocess();
666}
667inline void GobyDaemonConfig::unsafe_arena_set_allocated_interprocess(
669 if (GetArenaForAllocation() == nullptr) {
670 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
671 }
672 _impl_.interprocess_ = interprocess;
673 if (interprocess) {
674 _impl_._has_bits_[0] |= 0x00000002u;
675 } else {
676 _impl_._has_bits_[0] &= ~0x00000002u;
677 }
678 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.interprocess)
679}
680inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::release_interprocess() {
681 _impl_._has_bits_[0] &= ~0x00000002u;
682 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
683 _impl_.interprocess_ = nullptr;
684#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
685 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
686 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
687 if (GetArenaForAllocation() == nullptr) { delete old; }
688#else // PROTOBUF_FORCE_COPY_IN_RELEASE
689 if (GetArenaForAllocation() != nullptr) {
690 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
691 }
692#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
693 return temp;
694}
695inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::unsafe_arena_release_interprocess() {
696 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GobyDaemonConfig.interprocess)
697 _impl_._has_bits_[0] &= ~0x00000002u;
698 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
699 _impl_.interprocess_ = nullptr;
700 return temp;
701}
702inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::_internal_mutable_interprocess() {
703 _impl_._has_bits_[0] |= 0x00000002u;
704 if (_impl_.interprocess_ == nullptr) {
706 _impl_.interprocess_ = p;
707 }
708 return _impl_.interprocess_;
709}
710inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyDaemonConfig::mutable_interprocess() {
711 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
712 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GobyDaemonConfig.interprocess)
713 return _msg;
714}
715inline void GobyDaemonConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
716 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
717 if (message_arena == nullptr) {
718 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
719 }
720 if (interprocess) {
721 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
722 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
723 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
724 if (message_arena != submessage_arena) {
725 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
726 message_arena, interprocess, submessage_arena);
727 }
728 _impl_._has_bits_[0] |= 0x00000002u;
729 } else {
730 _impl_._has_bits_[0] &= ~0x00000002u;
731 }
732 _impl_.interprocess_ = interprocess;
733 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.interprocess)
734}
735
736// optional .goby.middleware.intervehicle.protobuf.PortalConfig intervehicle = 4;
737inline bool GobyDaemonConfig::_internal_has_intervehicle() const {
738 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
739 PROTOBUF_ASSUME(!value || _impl_.intervehicle_ != nullptr);
740 return value;
741}
742inline bool GobyDaemonConfig::has_intervehicle() const {
743 return _internal_has_intervehicle();
744}
745inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyDaemonConfig::_internal_intervehicle() const {
746 const ::goby::middleware::intervehicle::protobuf::PortalConfig* p = _impl_.intervehicle_;
747 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::intervehicle::protobuf::PortalConfig&>(
749}
750inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyDaemonConfig::intervehicle() const {
751 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyDaemonConfig.intervehicle)
752 return _internal_intervehicle();
753}
754inline void GobyDaemonConfig::unsafe_arena_set_allocated_intervehicle(
756 if (GetArenaForAllocation() == nullptr) {
757 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.intervehicle_);
758 }
759 _impl_.intervehicle_ = intervehicle;
760 if (intervehicle) {
761 _impl_._has_bits_[0] |= 0x00000004u;
762 } else {
763 _impl_._has_bits_[0] &= ~0x00000004u;
764 }
765 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.intervehicle)
766}
767inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::release_intervehicle() {
768 _impl_._has_bits_[0] &= ~0x00000004u;
770 _impl_.intervehicle_ = nullptr;
771#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
772 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
773 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
774 if (GetArenaForAllocation() == nullptr) { delete old; }
775#else // PROTOBUF_FORCE_COPY_IN_RELEASE
776 if (GetArenaForAllocation() != nullptr) {
777 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
778 }
779#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
780 return temp;
781}
782inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::unsafe_arena_release_intervehicle() {
783 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GobyDaemonConfig.intervehicle)
784 _impl_._has_bits_[0] &= ~0x00000004u;
786 _impl_.intervehicle_ = nullptr;
787 return temp;
788}
789inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::_internal_mutable_intervehicle() {
790 _impl_._has_bits_[0] |= 0x00000004u;
791 if (_impl_.intervehicle_ == nullptr) {
793 _impl_.intervehicle_ = p;
794 }
795 return _impl_.intervehicle_;
796}
797inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyDaemonConfig::mutable_intervehicle() {
798 ::goby::middleware::intervehicle::protobuf::PortalConfig* _msg = _internal_mutable_intervehicle();
799 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GobyDaemonConfig.intervehicle)
800 return _msg;
801}
802inline void GobyDaemonConfig::set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle) {
803 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
804 if (message_arena == nullptr) {
805 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.intervehicle_);
806 }
807 if (intervehicle) {
808 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
809 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
810 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(intervehicle));
811 if (message_arena != submessage_arena) {
812 intervehicle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
813 message_arena, intervehicle, submessage_arena);
814 }
815 _impl_._has_bits_[0] |= 0x00000004u;
816 } else {
817 _impl_._has_bits_[0] &= ~0x00000004u;
818 }
819 _impl_.intervehicle_ = intervehicle;
820 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.intervehicle)
821}
822
823// optional .goby.zeromq.protobuf.InterProcessManagerHold hold = 10;
824inline bool GobyDaemonConfig::_internal_has_hold() const {
825 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
826 PROTOBUF_ASSUME(!value || _impl_.hold_ != nullptr);
827 return value;
828}
829inline bool GobyDaemonConfig::has_hold() const {
830 return _internal_has_hold();
831}
832inline const ::goby::zeromq::protobuf::InterProcessManagerHold& GobyDaemonConfig::_internal_hold() const {
833 const ::goby::zeromq::protobuf::InterProcessManagerHold* p = _impl_.hold_;
834 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessManagerHold&>(
836}
837inline const ::goby::zeromq::protobuf::InterProcessManagerHold& GobyDaemonConfig::hold() const {
838 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyDaemonConfig.hold)
839 return _internal_hold();
840}
841inline void GobyDaemonConfig::unsafe_arena_set_allocated_hold(
843 if (GetArenaForAllocation() == nullptr) {
844 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hold_);
845 }
846 _impl_.hold_ = hold;
847 if (hold) {
848 _impl_._has_bits_[0] |= 0x00000008u;
849 } else {
850 _impl_._has_bits_[0] &= ~0x00000008u;
851 }
852 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.hold)
853}
854inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::release_hold() {
855 _impl_._has_bits_[0] &= ~0x00000008u;
857 _impl_.hold_ = nullptr;
858#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
859 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
860 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
861 if (GetArenaForAllocation() == nullptr) { delete old; }
862#else // PROTOBUF_FORCE_COPY_IN_RELEASE
863 if (GetArenaForAllocation() != nullptr) {
864 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
865 }
866#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
867 return temp;
868}
869inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::unsafe_arena_release_hold() {
870 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GobyDaemonConfig.hold)
871 _impl_._has_bits_[0] &= ~0x00000008u;
873 _impl_.hold_ = nullptr;
874 return temp;
875}
876inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::_internal_mutable_hold() {
877 _impl_._has_bits_[0] |= 0x00000008u;
878 if (_impl_.hold_ == nullptr) {
880 _impl_.hold_ = p;
881 }
882 return _impl_.hold_;
883}
884inline ::goby::zeromq::protobuf::InterProcessManagerHold* GobyDaemonConfig::mutable_hold() {
885 ::goby::zeromq::protobuf::InterProcessManagerHold* _msg = _internal_mutable_hold();
886 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GobyDaemonConfig.hold)
887 return _msg;
888}
889inline void GobyDaemonConfig::set_allocated_hold(::goby::zeromq::protobuf::InterProcessManagerHold* hold) {
890 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
891 if (message_arena == nullptr) {
892 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.hold_);
893 }
894 if (hold) {
895 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
896 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
897 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(hold));
898 if (message_arena != submessage_arena) {
899 hold = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
900 message_arena, hold, submessage_arena);
901 }
902 _impl_._has_bits_[0] |= 0x00000008u;
903 } else {
904 _impl_._has_bits_[0] &= ~0x00000008u;
905 }
906 _impl_.hold_ = hold;
907 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GobyDaemonConfig.hold)
908}
909
910// -------------------------------------------------------------------
911
912// GobyIntervehiclePortalConfig
913
914// optional .goby.middleware.protobuf.AppConfig app = 1;
915inline bool GobyIntervehiclePortalConfig::_internal_has_app() const {
916 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
917 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
918 return value;
919}
920inline bool GobyIntervehiclePortalConfig::has_app() const {
921 return _internal_has_app();
922}
923inline const ::goby::middleware::protobuf::AppConfig& GobyIntervehiclePortalConfig::_internal_app() const {
924 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
925 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
927}
928inline const ::goby::middleware::protobuf::AppConfig& GobyIntervehiclePortalConfig::app() const {
929 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.app)
930 return _internal_app();
931}
932inline void GobyIntervehiclePortalConfig::unsafe_arena_set_allocated_app(
934 if (GetArenaForAllocation() == nullptr) {
935 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
936 }
937 _impl_.app_ = app;
938 if (app) {
939 _impl_._has_bits_[0] |= 0x00000001u;
940 } else {
941 _impl_._has_bits_[0] &= ~0x00000001u;
942 }
943 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.app)
944}
945inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::release_app() {
946 _impl_._has_bits_[0] &= ~0x00000001u;
947 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
948 _impl_.app_ = nullptr;
949#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
950 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
951 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
952 if (GetArenaForAllocation() == nullptr) { delete old; }
953#else // PROTOBUF_FORCE_COPY_IN_RELEASE
954 if (GetArenaForAllocation() != nullptr) {
955 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
956 }
957#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
958 return temp;
959}
960inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::unsafe_arena_release_app() {
961 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.app)
962 _impl_._has_bits_[0] &= ~0x00000001u;
963 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
964 _impl_.app_ = nullptr;
965 return temp;
966}
967inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::_internal_mutable_app() {
968 _impl_._has_bits_[0] |= 0x00000001u;
969 if (_impl_.app_ == nullptr) {
970 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
971 _impl_.app_ = p;
972 }
973 return _impl_.app_;
974}
975inline ::goby::middleware::protobuf::AppConfig* GobyIntervehiclePortalConfig::mutable_app() {
976 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
977 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.app)
978 return _msg;
979}
980inline void GobyIntervehiclePortalConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
981 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
982 if (message_arena == nullptr) {
983 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
984 }
985 if (app) {
986 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
987 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
988 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
989 if (message_arena != submessage_arena) {
990 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
991 message_arena, app, submessage_arena);
992 }
993 _impl_._has_bits_[0] |= 0x00000001u;
994 } else {
995 _impl_._has_bits_[0] &= ~0x00000001u;
996 }
997 _impl_.app_ = app;
998 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.app)
999}
1000
1001// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
1002inline bool GobyIntervehiclePortalConfig::_internal_has_interprocess() const {
1003 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1004 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
1005 return value;
1006}
1007inline bool GobyIntervehiclePortalConfig::has_interprocess() const {
1008 return _internal_has_interprocess();
1009}
1010inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyIntervehiclePortalConfig::_internal_interprocess() const {
1011 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1012 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
1014}
1015inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& GobyIntervehiclePortalConfig::interprocess() const {
1016 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.interprocess)
1017 return _internal_interprocess();
1018}
1019inline void GobyIntervehiclePortalConfig::unsafe_arena_set_allocated_interprocess(
1021 if (GetArenaForAllocation() == nullptr) {
1022 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
1023 }
1024 _impl_.interprocess_ = interprocess;
1025 if (interprocess) {
1026 _impl_._has_bits_[0] |= 0x00000002u;
1027 } else {
1028 _impl_._has_bits_[0] &= ~0x00000002u;
1029 }
1030 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.interprocess)
1031}
1032inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::release_interprocess() {
1033 _impl_._has_bits_[0] &= ~0x00000002u;
1034 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1035 _impl_.interprocess_ = nullptr;
1036#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1037 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1038 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1039 if (GetArenaForAllocation() == nullptr) { delete old; }
1040#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1041 if (GetArenaForAllocation() != nullptr) {
1042 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1043 }
1044#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1045 return temp;
1046}
1047inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::unsafe_arena_release_interprocess() {
1048 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.interprocess)
1049 _impl_._has_bits_[0] &= ~0x00000002u;
1050 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1051 _impl_.interprocess_ = nullptr;
1052 return temp;
1053}
1054inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::_internal_mutable_interprocess() {
1055 _impl_._has_bits_[0] |= 0x00000002u;
1056 if (_impl_.interprocess_ == nullptr) {
1058 _impl_.interprocess_ = p;
1059 }
1060 return _impl_.interprocess_;
1061}
1062inline ::goby::zeromq::protobuf::InterProcessPortalConfig* GobyIntervehiclePortalConfig::mutable_interprocess() {
1063 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
1064 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.interprocess)
1065 return _msg;
1066}
1067inline void GobyIntervehiclePortalConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
1068 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1069 if (message_arena == nullptr) {
1070 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
1071 }
1072 if (interprocess) {
1073 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1074 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1075 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
1076 if (message_arena != submessage_arena) {
1077 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1078 message_arena, interprocess, submessage_arena);
1079 }
1080 _impl_._has_bits_[0] |= 0x00000002u;
1081 } else {
1082 _impl_._has_bits_[0] &= ~0x00000002u;
1083 }
1084 _impl_.interprocess_ = interprocess;
1085 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.interprocess)
1086}
1087
1088// required .goby.middleware.intervehicle.protobuf.PortalConfig intervehicle = 3;
1089inline bool GobyIntervehiclePortalConfig::_internal_has_intervehicle() const {
1090 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1091 PROTOBUF_ASSUME(!value || _impl_.intervehicle_ != nullptr);
1092 return value;
1093}
1094inline bool GobyIntervehiclePortalConfig::has_intervehicle() const {
1095 return _internal_has_intervehicle();
1096}
1097inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyIntervehiclePortalConfig::_internal_intervehicle() const {
1098 const ::goby::middleware::intervehicle::protobuf::PortalConfig* p = _impl_.intervehicle_;
1099 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::intervehicle::protobuf::PortalConfig&>(
1101}
1102inline const ::goby::middleware::intervehicle::protobuf::PortalConfig& GobyIntervehiclePortalConfig::intervehicle() const {
1103 // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.intervehicle)
1104 return _internal_intervehicle();
1105}
1106inline void GobyIntervehiclePortalConfig::unsafe_arena_set_allocated_intervehicle(
1108 if (GetArenaForAllocation() == nullptr) {
1109 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.intervehicle_);
1110 }
1111 _impl_.intervehicle_ = intervehicle;
1112 if (intervehicle) {
1113 _impl_._has_bits_[0] |= 0x00000004u;
1114 } else {
1115 _impl_._has_bits_[0] &= ~0x00000004u;
1116 }
1117 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.intervehicle)
1118}
1119inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::release_intervehicle() {
1120 _impl_._has_bits_[0] &= ~0x00000004u;
1122 _impl_.intervehicle_ = nullptr;
1123#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1124 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1125 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1126 if (GetArenaForAllocation() == nullptr) { delete old; }
1127#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1128 if (GetArenaForAllocation() != nullptr) {
1129 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1130 }
1131#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1132 return temp;
1133}
1134inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::unsafe_arena_release_intervehicle() {
1135 // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.intervehicle)
1136 _impl_._has_bits_[0] &= ~0x00000004u;
1138 _impl_.intervehicle_ = nullptr;
1139 return temp;
1140}
1141inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::_internal_mutable_intervehicle() {
1142 _impl_._has_bits_[0] |= 0x00000004u;
1143 if (_impl_.intervehicle_ == nullptr) {
1145 _impl_.intervehicle_ = p;
1146 }
1147 return _impl_.intervehicle_;
1148}
1149inline ::goby::middleware::intervehicle::protobuf::PortalConfig* GobyIntervehiclePortalConfig::mutable_intervehicle() {
1150 ::goby::middleware::intervehicle::protobuf::PortalConfig* _msg = _internal_mutable_intervehicle();
1151 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.intervehicle)
1152 return _msg;
1153}
1154inline void GobyIntervehiclePortalConfig::set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig* intervehicle) {
1155 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1156 if (message_arena == nullptr) {
1157 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.intervehicle_);
1158 }
1159 if (intervehicle) {
1160 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1161 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1162 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(intervehicle));
1163 if (message_arena != submessage_arena) {
1164 intervehicle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1165 message_arena, intervehicle, submessage_arena);
1166 }
1167 _impl_._has_bits_[0] |= 0x00000004u;
1168 } else {
1169 _impl_._has_bits_[0] &= ~0x00000004u;
1170 }
1171 _impl_.intervehicle_ = intervehicle;
1172 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.GobyIntervehiclePortalConfig.intervehicle)
1173}
1174
1175#ifdef __GNUC__
1176 #pragma GCC diagnostic pop
1177#endif // __GNUC__
1178// -------------------------------------------------------------------
1179
1180
1181// @@protoc_insertion_point(namespace_scope)
1182
1183} // namespace protobuf
1184} // namespace zeromq
1185} // namespace apps
1186} // namespace goby
1187
1188// @@protoc_insertion_point(global_scope)
1189
1190#include <google/protobuf/port_undef.inc>
1191#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
GobyDaemonConfig(GobyDaemonConfig &&from) noexcept
PROTOBUF_NODISCARD::goby::middleware::intervehicle::protobuf::PortalConfig * release_intervehicle()
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void UnsafeArenaSwap(GobyDaemonConfig *other)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
GobyDaemonConfig(const GobyDaemonConfig &from)
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
static const GobyDaemonConfig & default_instance()
PROTOBUF_CONSTEXPR GobyDaemonConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const ::goby::middleware::intervehicle::protobuf::PortalConfig & intervehicle() const
::goby::zeromq::protobuf::InterProcessManagerHold * mutable_hold()
void unsafe_arena_set_allocated_hold(::goby::zeromq::protobuf::InterProcessManagerHold *hold)
GobyDaemonConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
::goby::middleware::intervehicle::protobuf::PortalConfig * mutable_intervehicle()
static const GobyDaemonConfig * internal_default_instance()
const ::goby::middleware::protobuf::AppConfig & app() const
GobyDaemonConfig & operator=(GobyDaemonConfig &&from) noexcept
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::goby::middleware::protobuf::AppConfig * mutable_app()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::goby::zeromq::protobuf::InterProcessManagerHold * unsafe_arena_release_hold()
void set_allocated_hold(::goby::zeromq::protobuf::InterProcessManagerHold *hold)
GobyDaemonConfig & operator=(const GobyDaemonConfig &from)
friend void swap(GobyDaemonConfig &a, GobyDaemonConfig &b)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
GobyDaemonConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig *intervehicle)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void MergeFrom(const GobyDaemonConfig &from)
::goby::middleware::intervehicle::protobuf::PortalConfig * unsafe_arena_release_intervehicle()
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::goby::zeromq::protobuf::InterProcessManagerHold & hold() const
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessManagerHold * release_hold()
void unsafe_arena_set_allocated_intervehicle(::goby::middleware::intervehicle::protobuf::PortalConfig *intervehicle)
void CopyFrom(const GobyDaemonConfig &from)
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void MergeFrom(const GobyIntervehiclePortalConfig &from)
friend void swap(GobyIntervehiclePortalConfig &a, GobyIntervehiclePortalConfig &b)
GobyIntervehiclePortalConfig(GobyIntervehiclePortalConfig &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
GobyIntervehiclePortalConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const GobyIntervehiclePortalConfig & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
GobyIntervehiclePortalConfig & operator=(GobyIntervehiclePortalConfig &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_CONSTEXPR GobyIntervehiclePortalConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void Swap(GobyIntervehiclePortalConfig *other)
GobyIntervehiclePortalConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void CopyFrom(const GobyIntervehiclePortalConfig &from)
void UnsafeArenaSwap(GobyIntervehiclePortalConfig *other)
static const GobyIntervehiclePortalConfig * internal_default_instance()
GobyIntervehiclePortalConfig(const GobyIntervehiclePortalConfig &from)
GobyIntervehiclePortalConfig & operator=(const GobyIntervehiclePortalConfig &from)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fgobyd_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::zeromq::protobuf::InterProcessManagerHold * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessManagerHold >(Arena *)
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)
::goby::middleware::intervehicle::protobuf::PortalConfig * Arena::CreateMaybeMessage<::goby::middleware::intervehicle::protobuf::PortalConfig >(Arena *)
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.
#define ByteSizeLong