JaiaBot 2.1.1
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: bin/comms_manager/config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fcomms_5fmanager_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2fcomms_5fmanager_2fconfig_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>
24#include <google/protobuf/arena.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>
29#include <google/protobuf/message.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>
33#include "goby/middleware/protobuf/app_config.pb.h"
34#include "goby/zeromq/protobuf/interprocess_config.pb.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
42#include <boost/units/systems/si.hpp>
43// @@protoc_insertion_point(includes)
44#include <google/protobuf/port_def.inc>
45#define PROTOBUF_INTERNAL_EXPORT_bin_2fcomms_5fmanager_2fconfig_2eproto
46PROTOBUF_NAMESPACE_OPEN
47namespace internal {
48class AnyMetadata;
49} // namespace internal
50PROTOBUF_NAMESPACE_CLOSE
51
52// Internal implementation detail -- do not use these members.
56extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fcomms_5fmanager_2fconfig_2eproto;
57namespace jaiabot {
58namespace config {
59class CommsManager;
60struct CommsManagerDefaultTypeInternal;
61extern CommsManagerDefaultTypeInternal _CommsManager_default_instance_;
63struct CommsManager_SubscribeRuleDefaultTypeInternal;
64extern CommsManager_SubscribeRuleDefaultTypeInternal _CommsManager_SubscribeRule_default_instance_;
65} // namespace config
66} // namespace jaiabot
67PROTOBUF_NAMESPACE_OPEN
68template<> ::jaiabot::config::CommsManager* Arena::CreateMaybeMessage<::jaiabot::config::CommsManager>(Arena*);
69template<> ::jaiabot::config::CommsManager_SubscribeRule* Arena::CreateMaybeMessage<::jaiabot::config::CommsManager_SubscribeRule>(Arena*);
70PROTOBUF_NAMESPACE_CLOSE
71namespace jaiabot {
72namespace config {
73
74// ===================================================================
75
77 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.CommsManager.SubscribeRule) */ {
78 public:
81 explicit PROTOBUF_CONSTEXPR CommsManager_SubscribeRule(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
82
86 *this = ::std::move(from);
87 }
88
90 CopyFrom(from);
91 return *this;
92 }
94 if (this == &from) return *this;
95 if (GetOwningArena() == from.GetOwningArena()
96 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
97 && GetOwningArena() != nullptr
98 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
99 ) {
100 InternalSwap(&from);
101 } else {
102 CopyFrom(from);
103 }
104 return *this;
105 }
106
107 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
108 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
109 }
110 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
111 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
112 }
113
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
115 return GetDescriptor();
116 }
117 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
118 return default_instance().GetMetadata().descriptor;
119 }
120 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
121 return default_instance().GetMetadata().reflection;
122 }
130 static constexpr int kIndexInFileMessages =
131 0;
132
134 a.Swap(&b);
135 }
136 inline void Swap(CommsManager_SubscribeRule* other) {
137 if (other == this) return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() != nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
141 #else // PROTOBUF_FORCE_COPY_IN_SWAP
142 if (GetOwningArena() == other->GetOwningArena()) {
143 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
144 InternalSwap(other);
145 } else {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
147 }
148 }
150 if (other == this) return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152 InternalSwap(other);
153 }
154
155 // implements Message ----------------------------------------------
156
157 CommsManager_SubscribeRule* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
158 return CreateMaybeMessage<CommsManager_SubscribeRule>(arena);
159 }
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
164 CommsManager_SubscribeRule::MergeImpl(*this, from);
165 }
166 private:
167 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
168 public:
169 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
170 bool IsInitialized() const final;
171
172 size_t ByteSizeLong() const final;
173 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
175 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
177
178 private:
179 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
180 void SharedDtor();
181 void SetCachedSize(int size) const final;
182 void InternalSwap(CommsManager_SubscribeRule* other);
183
184 private:
185 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187 return "jaiabot.config.CommsManager.SubscribeRule";
188 }
189 protected:
190 explicit CommsManager_SubscribeRule(::PROTOBUF_NAMESPACE_ID::Arena* arena,
191 bool is_message_owned = false);
192 public:
193
194 static const ClassData _class_data_;
195 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
196
197 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
198
199 // nested types ----------------------------------------------------
200
201 // accessors -------------------------------------------------------
202
203 enum : int {
208 };
209 // required bool subscribe_on_start = 2;
210 bool has_subscribe_on_start() const;
211 private:
212 bool _internal_has_subscribe_on_start() const;
213 public:
215 bool subscribe_on_start() const;
216 void set_subscribe_on_start(bool value);
217 private:
218 bool _internal_subscribe_on_start() const;
219 void _internal_set_subscribe_on_start(bool value);
220 public:
221
222 // required bool resubscribe = 3;
223 bool has_resubscribe() const;
224 private:
225 bool _internal_has_resubscribe() const;
226 public:
227 void clear_resubscribe();
228 bool resubscribe() const;
229 void set_resubscribe(bool value);
230 private:
231 bool _internal_resubscribe() const;
232 void _internal_set_resubscribe(bool value);
233 public:
234
235 // optional int32 resubscribe_interval = 4 [(.dccl.field) = {
236 bool has_resubscribe_interval() const;
237 private:
238 bool _internal_has_resubscribe_interval() const;
239 public:
241 int32_t resubscribe_interval() const;
242 void set_resubscribe_interval(int32_t value);
243 private:
244 int32_t _internal_resubscribe_interval() const;
245 void _internal_set_resubscribe_interval(int32_t value);
246 public:
247
248 // required .jaiabot.protobuf.Link link = 1;
249 bool has_link() const;
250 private:
251 bool _internal_has_link() const;
252 public:
253 void clear_link();
256 private:
257 ::jaiabot::protobuf::Link _internal_link() const;
258 void _internal_set_link(::jaiabot::protobuf::Link value);
259 public:
260
261 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type resubscribe_interval_dimension;
262
263 typedef boost::units::unit<resubscribe_interval_dimension,boost::units::si::system> resubscribe_interval_unit;
264
265 template<typename Quantity >
266 void set_resubscribe_interval_with_units(Quantity value_w_units)
267 { set_resubscribe_interval(boost::units::quantity<resubscribe_interval_unit,google::protobuf::int32 >(value_w_units).value() ); };
268
269 template<typename Quantity >
271 { return Quantity(resubscribe_interval() * resubscribe_interval_unit()); };
272
273 boost::units::quantity< resubscribe_interval_unit,google::protobuf::int32 > resubscribe_interval_with_units() const
274 { return resubscribe_interval_with_units<boost::units::quantity< resubscribe_interval_unit,google::protobuf::int32 > >(); };
275
276 // @@protoc_insertion_point(class_scope:jaiabot.config.CommsManager.SubscribeRule)
277 private:
278 class _Internal;
279
280 // helper for ByteSizeLong()
281 size_t RequiredFieldsByteSizeFallback() const;
282
283 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
284 typedef void InternalArenaConstructable_;
285 typedef void DestructorSkippable_;
286 struct Impl_ {
287 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
288 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
289 bool subscribe_on_start_;
290 bool resubscribe_;
291 int32_t resubscribe_interval_;
292 int link_;
293 };
294 union { Impl_ _impl_; };
295 friend struct ::TableStruct_bin_2fcomms_5fmanager_2fconfig_2eproto;
296};
297// -------------------------------------------------------------------
298
299class CommsManager final :
300 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.CommsManager) */ {
301 public:
302 inline CommsManager() : CommsManager(nullptr) {}
303 ~CommsManager() override;
304 explicit PROTOBUF_CONSTEXPR CommsManager(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
305
307 CommsManager(CommsManager&& from) noexcept
308 : CommsManager() {
309 *this = ::std::move(from);
310 }
311
312 inline CommsManager& operator=(const CommsManager& from) {
313 CopyFrom(from);
314 return *this;
315 }
316 inline CommsManager& operator=(CommsManager&& from) noexcept {
317 if (this == &from) return *this;
318 if (GetOwningArena() == from.GetOwningArena()
319 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
320 && GetOwningArena() != nullptr
321 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
322 ) {
323 InternalSwap(&from);
324 } else {
325 CopyFrom(from);
326 }
327 return *this;
328 }
329
330 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
331 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
332 }
333 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
334 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
335 }
336
337 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
338 return GetDescriptor();
339 }
340 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
341 return default_instance().GetMetadata().descriptor;
342 }
343 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
344 return default_instance().GetMetadata().reflection;
345 }
347 return *internal_default_instance();
348 }
350 return reinterpret_cast<const CommsManager*>(
352 }
353 static constexpr int kIndexInFileMessages =
354 1;
355
356 friend void swap(CommsManager& a, CommsManager& b) {
357 a.Swap(&b);
358 }
359 inline void Swap(CommsManager* other) {
360 if (other == this) return;
361 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
362 if (GetOwningArena() != nullptr &&
363 GetOwningArena() == other->GetOwningArena()) {
364 #else // PROTOBUF_FORCE_COPY_IN_SWAP
365 if (GetOwningArena() == other->GetOwningArena()) {
366 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
367 InternalSwap(other);
368 } else {
369 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
370 }
371 }
373 if (other == this) return;
374 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
375 InternalSwap(other);
376 }
377
378 // implements Message ----------------------------------------------
379
380 CommsManager* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
381 return CreateMaybeMessage<CommsManager>(arena);
382 }
383 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
384 void CopyFrom(const CommsManager& from);
385 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
386 void MergeFrom( const CommsManager& from) {
387 CommsManager::MergeImpl(*this, from);
388 }
389 private:
390 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
391 public:
392 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
393 bool IsInitialized() const final;
394
395 size_t ByteSizeLong() const final;
396 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
397 uint8_t* _InternalSerialize(
398 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
399 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
400
401 private:
402 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
403 void SharedDtor();
404 void SetCachedSize(int size) const final;
405 void InternalSwap(CommsManager* other);
406
407 private:
408 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
409 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
410 return "jaiabot.config.CommsManager";
411 }
412 protected:
413 explicit CommsManager(::PROTOBUF_NAMESPACE_ID::Arena* arena,
414 bool is_message_owned = false);
415 public:
416
417 static const ClassData _class_data_;
418 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
419
420 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
421
422 // nested types ----------------------------------------------------
423
425
426 // accessors -------------------------------------------------------
427
428 enum : int {
429 kSubscribeFieldNumber = 3,
430 kAppFieldNumber = 1,
431 kInterprocessFieldNumber = 2,
432 };
433 // repeated .jaiabot.config.CommsManager.SubscribeRule subscribe = 3;
434 int subscribe_size() const;
435 private:
436 int _internal_subscribe_size() const;
437 public:
438 void clear_subscribe();
439 ::jaiabot::config::CommsManager_SubscribeRule* mutable_subscribe(int index);
440 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::CommsManager_SubscribeRule >*
441 mutable_subscribe();
442 private:
443 const ::jaiabot::config::CommsManager_SubscribeRule& _internal_subscribe(int index) const;
444 ::jaiabot::config::CommsManager_SubscribeRule* _internal_add_subscribe();
445 public:
446 const ::jaiabot::config::CommsManager_SubscribeRule& subscribe(int index) const;
448 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::CommsManager_SubscribeRule >&
449 subscribe() const;
450
451 // optional .goby.middleware.protobuf.AppConfig app = 1;
452 bool has_app() const;
453 private:
454 bool _internal_has_app() const;
455 public:
456 void clear_app();
457 const ::goby::middleware::protobuf::AppConfig& app() const;
458 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
459 ::goby::middleware::protobuf::AppConfig* mutable_app();
460 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
461 private:
462 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
463 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
464 public:
465 void unsafe_arena_set_allocated_app(
466 ::goby::middleware::protobuf::AppConfig* app);
467 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
468
469 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
470 bool has_interprocess() const;
471 private:
472 bool _internal_has_interprocess() const;
473 public:
475 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
476 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
477 ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
478 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
479 private:
480 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
481 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
482 public:
483 void unsafe_arena_set_allocated_interprocess(
484 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
485 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
486
487 // @@protoc_insertion_point(class_scope:jaiabot.config.CommsManager)
488 private:
489 class _Internal;
490
491 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
492 typedef void InternalArenaConstructable_;
493 typedef void DestructorSkippable_;
494 struct Impl_ {
495 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
496 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
497 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::CommsManager_SubscribeRule > subscribe_;
498 ::goby::middleware::protobuf::AppConfig* app_;
499 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
500 };
501 union { Impl_ _impl_; };
502 friend struct ::TableStruct_bin_2fcomms_5fmanager_2fconfig_2eproto;
503};
504// ===================================================================
505
506
507// ===================================================================
508
509#ifdef __GNUC__
510 #pragma GCC diagnostic push
511 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
512#endif // __GNUC__
513// CommsManager_SubscribeRule
514
515// required .jaiabot.protobuf.Link link = 1;
516inline bool CommsManager_SubscribeRule::_internal_has_link() const {
517 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
518 return value;
519}
520inline bool CommsManager_SubscribeRule::has_link() const {
521 return _internal_has_link();
522}
523inline void CommsManager_SubscribeRule::clear_link() {
524 _impl_.link_ = -1;
525 _impl_._has_bits_[0] &= ~0x00000008u;
526}
527inline ::jaiabot::protobuf::Link CommsManager_SubscribeRule::_internal_link() const {
528 return static_cast< ::jaiabot::protobuf::Link >(_impl_.link_);
529}
530inline ::jaiabot::protobuf::Link CommsManager_SubscribeRule::link() const {
531 // @@protoc_insertion_point(field_get:jaiabot.config.CommsManager.SubscribeRule.link)
532 return _internal_link();
533}
534inline void CommsManager_SubscribeRule::_internal_set_link(::jaiabot::protobuf::Link value) {
536 _impl_._has_bits_[0] |= 0x00000008u;
537 _impl_.link_ = value;
538}
539inline void CommsManager_SubscribeRule::set_link(::jaiabot::protobuf::Link value) {
540 _internal_set_link(value);
541 // @@protoc_insertion_point(field_set:jaiabot.config.CommsManager.SubscribeRule.link)
542}
543
544// required bool subscribe_on_start = 2;
545inline bool CommsManager_SubscribeRule::_internal_has_subscribe_on_start() const {
546 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
547 return value;
548}
549inline bool CommsManager_SubscribeRule::has_subscribe_on_start() const {
550 return _internal_has_subscribe_on_start();
551}
552inline void CommsManager_SubscribeRule::clear_subscribe_on_start() {
553 _impl_.subscribe_on_start_ = false;
554 _impl_._has_bits_[0] &= ~0x00000001u;
555}
556inline bool CommsManager_SubscribeRule::_internal_subscribe_on_start() const {
557 return _impl_.subscribe_on_start_;
558}
559inline bool CommsManager_SubscribeRule::subscribe_on_start() const {
560 // @@protoc_insertion_point(field_get:jaiabot.config.CommsManager.SubscribeRule.subscribe_on_start)
561 return _internal_subscribe_on_start();
562}
563inline void CommsManager_SubscribeRule::_internal_set_subscribe_on_start(bool value) {
564 _impl_._has_bits_[0] |= 0x00000001u;
565 _impl_.subscribe_on_start_ = value;
566}
567inline void CommsManager_SubscribeRule::set_subscribe_on_start(bool value) {
568 _internal_set_subscribe_on_start(value);
569 // @@protoc_insertion_point(field_set:jaiabot.config.CommsManager.SubscribeRule.subscribe_on_start)
570}
571
572// required bool resubscribe = 3;
573inline bool CommsManager_SubscribeRule::_internal_has_resubscribe() const {
574 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
575 return value;
576}
577inline bool CommsManager_SubscribeRule::has_resubscribe() const {
578 return _internal_has_resubscribe();
579}
580inline void CommsManager_SubscribeRule::clear_resubscribe() {
581 _impl_.resubscribe_ = false;
582 _impl_._has_bits_[0] &= ~0x00000002u;
583}
584inline bool CommsManager_SubscribeRule::_internal_resubscribe() const {
585 return _impl_.resubscribe_;
586}
587inline bool CommsManager_SubscribeRule::resubscribe() const {
588 // @@protoc_insertion_point(field_get:jaiabot.config.CommsManager.SubscribeRule.resubscribe)
589 return _internal_resubscribe();
590}
591inline void CommsManager_SubscribeRule::_internal_set_resubscribe(bool value) {
592 _impl_._has_bits_[0] |= 0x00000002u;
593 _impl_.resubscribe_ = value;
594}
595inline void CommsManager_SubscribeRule::set_resubscribe(bool value) {
596 _internal_set_resubscribe(value);
597 // @@protoc_insertion_point(field_set:jaiabot.config.CommsManager.SubscribeRule.resubscribe)
598}
599
600// optional int32 resubscribe_interval = 4 [(.dccl.field) = {
601inline bool CommsManager_SubscribeRule::_internal_has_resubscribe_interval() const {
602 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
603 return value;
604}
605inline bool CommsManager_SubscribeRule::has_resubscribe_interval() const {
606 return _internal_has_resubscribe_interval();
607}
608inline void CommsManager_SubscribeRule::clear_resubscribe_interval() {
609 _impl_.resubscribe_interval_ = 0;
610 _impl_._has_bits_[0] &= ~0x00000004u;
611}
612inline int32_t CommsManager_SubscribeRule::_internal_resubscribe_interval() const {
613 return _impl_.resubscribe_interval_;
614}
615inline int32_t CommsManager_SubscribeRule::resubscribe_interval() const {
616 // @@protoc_insertion_point(field_get:jaiabot.config.CommsManager.SubscribeRule.resubscribe_interval)
617 return _internal_resubscribe_interval();
618}
619inline void CommsManager_SubscribeRule::_internal_set_resubscribe_interval(int32_t value) {
620 _impl_._has_bits_[0] |= 0x00000004u;
621 _impl_.resubscribe_interval_ = value;
622}
623inline void CommsManager_SubscribeRule::set_resubscribe_interval(int32_t value) {
624 _internal_set_resubscribe_interval(value);
625 // @@protoc_insertion_point(field_set:jaiabot.config.CommsManager.SubscribeRule.resubscribe_interval)
626}
627
628// -------------------------------------------------------------------
629
630// CommsManager
631
632// optional .goby.middleware.protobuf.AppConfig app = 1;
633inline bool CommsManager::_internal_has_app() const {
634 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
635 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
636 return value;
637}
638inline bool CommsManager::has_app() const {
639 return _internal_has_app();
640}
641inline const ::goby::middleware::protobuf::AppConfig& CommsManager::_internal_app() const {
642 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
643 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
644 ::goby::middleware::protobuf::_AppConfig_default_instance_);
645}
646inline const ::goby::middleware::protobuf::AppConfig& CommsManager::app() const {
647 // @@protoc_insertion_point(field_get:jaiabot.config.CommsManager.app)
648 return _internal_app();
649}
650inline void CommsManager::unsafe_arena_set_allocated_app(
651 ::goby::middleware::protobuf::AppConfig* app) {
652 if (GetArenaForAllocation() == nullptr) {
653 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
654 }
655 _impl_.app_ = app;
656 if (app) {
657 _impl_._has_bits_[0] |= 0x00000001u;
658 } else {
659 _impl_._has_bits_[0] &= ~0x00000001u;
660 }
661 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.CommsManager.app)
662}
663inline ::goby::middleware::protobuf::AppConfig* CommsManager::release_app() {
664 _impl_._has_bits_[0] &= ~0x00000001u;
665 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
666 _impl_.app_ = nullptr;
667#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
668 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
669 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
670 if (GetArenaForAllocation() == nullptr) { delete old; }
671#else // PROTOBUF_FORCE_COPY_IN_RELEASE
672 if (GetArenaForAllocation() != nullptr) {
673 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
674 }
675#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
676 return temp;
677}
678inline ::goby::middleware::protobuf::AppConfig* CommsManager::unsafe_arena_release_app() {
679 // @@protoc_insertion_point(field_release:jaiabot.config.CommsManager.app)
680 _impl_._has_bits_[0] &= ~0x00000001u;
681 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
682 _impl_.app_ = nullptr;
683 return temp;
684}
685inline ::goby::middleware::protobuf::AppConfig* CommsManager::_internal_mutable_app() {
686 _impl_._has_bits_[0] |= 0x00000001u;
687 if (_impl_.app_ == nullptr) {
688 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
689 _impl_.app_ = p;
690 }
691 return _impl_.app_;
692}
693inline ::goby::middleware::protobuf::AppConfig* CommsManager::mutable_app() {
694 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
695 // @@protoc_insertion_point(field_mutable:jaiabot.config.CommsManager.app)
696 return _msg;
697}
698inline void CommsManager::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
699 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
700 if (message_arena == nullptr) {
701 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
702 }
703 if (app) {
704 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
705 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
706 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
707 if (message_arena != submessage_arena) {
708 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
709 message_arena, app, submessage_arena);
710 }
711 _impl_._has_bits_[0] |= 0x00000001u;
712 } else {
713 _impl_._has_bits_[0] &= ~0x00000001u;
714 }
715 _impl_.app_ = app;
716 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.CommsManager.app)
717}
718
719// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
720inline bool CommsManager::_internal_has_interprocess() const {
721 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
722 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
723 return value;
724}
725inline bool CommsManager::has_interprocess() const {
726 return _internal_has_interprocess();
727}
728inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& CommsManager::_internal_interprocess() const {
729 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
730 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
731 ::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
732}
733inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& CommsManager::interprocess() const {
734 // @@protoc_insertion_point(field_get:jaiabot.config.CommsManager.interprocess)
735 return _internal_interprocess();
736}
737inline void CommsManager::unsafe_arena_set_allocated_interprocess(
738 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
739 if (GetArenaForAllocation() == nullptr) {
740 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
741 }
742 _impl_.interprocess_ = interprocess;
743 if (interprocess) {
744 _impl_._has_bits_[0] |= 0x00000002u;
745 } else {
746 _impl_._has_bits_[0] &= ~0x00000002u;
747 }
748 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.CommsManager.interprocess)
749}
750inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CommsManager::release_interprocess() {
751 _impl_._has_bits_[0] &= ~0x00000002u;
752 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
753 _impl_.interprocess_ = nullptr;
754#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
755 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
756 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
757 if (GetArenaForAllocation() == nullptr) { delete old; }
758#else // PROTOBUF_FORCE_COPY_IN_RELEASE
759 if (GetArenaForAllocation() != nullptr) {
760 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
761 }
762#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
763 return temp;
764}
765inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CommsManager::unsafe_arena_release_interprocess() {
766 // @@protoc_insertion_point(field_release:jaiabot.config.CommsManager.interprocess)
767 _impl_._has_bits_[0] &= ~0x00000002u;
768 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
769 _impl_.interprocess_ = nullptr;
770 return temp;
771}
772inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CommsManager::_internal_mutable_interprocess() {
773 _impl_._has_bits_[0] |= 0x00000002u;
774 if (_impl_.interprocess_ == nullptr) {
775 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaForAllocation());
776 _impl_.interprocess_ = p;
777 }
778 return _impl_.interprocess_;
779}
780inline ::goby::zeromq::protobuf::InterProcessPortalConfig* CommsManager::mutable_interprocess() {
781 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
782 // @@protoc_insertion_point(field_mutable:jaiabot.config.CommsManager.interprocess)
783 return _msg;
784}
785inline void CommsManager::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
786 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
787 if (message_arena == nullptr) {
788 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
789 }
790 if (interprocess) {
791 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
792 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
793 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
794 if (message_arena != submessage_arena) {
795 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
796 message_arena, interprocess, submessage_arena);
797 }
798 _impl_._has_bits_[0] |= 0x00000002u;
799 } else {
800 _impl_._has_bits_[0] &= ~0x00000002u;
801 }
802 _impl_.interprocess_ = interprocess;
803 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.CommsManager.interprocess)
804}
805
806// repeated .jaiabot.config.CommsManager.SubscribeRule subscribe = 3;
807inline int CommsManager::_internal_subscribe_size() const {
808 return _impl_.subscribe_.size();
809}
810inline int CommsManager::subscribe_size() const {
811 return _internal_subscribe_size();
812}
813inline void CommsManager::clear_subscribe() {
814 _impl_.subscribe_.Clear();
815}
816inline ::jaiabot::config::CommsManager_SubscribeRule* CommsManager::mutable_subscribe(int index) {
817 // @@protoc_insertion_point(field_mutable:jaiabot.config.CommsManager.subscribe)
818 return _impl_.subscribe_.Mutable(index);
819}
820inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::CommsManager_SubscribeRule >*
821CommsManager::mutable_subscribe() {
822 // @@protoc_insertion_point(field_mutable_list:jaiabot.config.CommsManager.subscribe)
823 return &_impl_.subscribe_;
824}
825inline const ::jaiabot::config::CommsManager_SubscribeRule& CommsManager::_internal_subscribe(int index) const {
826 return _impl_.subscribe_.Get(index);
827}
828inline const ::jaiabot::config::CommsManager_SubscribeRule& CommsManager::subscribe(int index) const {
829 // @@protoc_insertion_point(field_get:jaiabot.config.CommsManager.subscribe)
830 return _internal_subscribe(index);
831}
832inline ::jaiabot::config::CommsManager_SubscribeRule* CommsManager::_internal_add_subscribe() {
833 return _impl_.subscribe_.Add();
834}
835inline ::jaiabot::config::CommsManager_SubscribeRule* CommsManager::add_subscribe() {
836 ::jaiabot::config::CommsManager_SubscribeRule* _add = _internal_add_subscribe();
837 // @@protoc_insertion_point(field_add:jaiabot.config.CommsManager.subscribe)
838 return _add;
839}
840inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::CommsManager_SubscribeRule >&
841CommsManager::subscribe() const {
842 // @@protoc_insertion_point(field_list:jaiabot.config.CommsManager.subscribe)
843 return _impl_.subscribe_;
844}
845
846#ifdef __GNUC__
847 #pragma GCC diagnostic pop
848#endif // __GNUC__
849// -------------------------------------------------------------------
850
851
852// @@protoc_insertion_point(namespace_scope)
853
854} // namespace config
855} // namespace jaiabot
856
857// @@protoc_insertion_point(global_scope)
858
859#include <google/protobuf/port_undef.inc>
860#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_bin_2fcomms_5fmanager_2fconfig_2eproto
void CopyFrom(const CommsManager_SubscribeRule &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type resubscribe_interval_dimension
Definition config.pb.h:261
void set_resubscribe_interval_with_units(Quantity value_w_units)
Definition config.pb.h:266
PROTOBUF_CONSTEXPR CommsManager_SubscribeRule(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
CommsManager_SubscribeRule(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_link(::jaiabot::protobuf::Link value)
Definition config.pb.h:539
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition config.pb.h:110
static const CommsManager_SubscribeRule * internal_default_instance()
Definition config.pb.h:126
boost::units::quantity< resubscribe_interval_unit, google::protobuf::int32 > resubscribe_interval_with_units() const
Definition config.pb.h:273
boost::units::unit< resubscribe_interval_dimension, boost::units::si::system > resubscribe_interval_unit
Definition config.pb.h:263
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition config.pb.h:117
CommsManager_SubscribeRule & operator=(CommsManager_SubscribeRule &&from) noexcept
Definition config.pb.h:93
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition config.pb.h:107
void UnsafeArenaSwap(CommsManager_SubscribeRule *other)
Definition config.pb.h:149
CommsManager_SubscribeRule(const CommsManager_SubscribeRule &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void MergeFrom(const CommsManager_SubscribeRule &from)
Definition config.pb.h:163
static const CommsManager_SubscribeRule & default_instance()
Definition config.pb.h:123
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition config.pb.h:120
CommsManager_SubscribeRule(CommsManager_SubscribeRule &&from) noexcept
Definition config.pb.h:84
void Swap(CommsManager_SubscribeRule *other)
Definition config.pb.h:136
CommsManager_SubscribeRule & operator=(const CommsManager_SubscribeRule &from)
Definition config.pb.h:89
friend void swap(CommsManager_SubscribeRule &a, CommsManager_SubscribeRule &b)
Definition config.pb.h:133
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::jaiabot::protobuf::Link link() const
Definition config.pb.h:530
CommsManager_SubscribeRule * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition config.pb.h:157
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition config.pb.h:114
CommsManager(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition config.pb.h:330
void Swap(CommsManager *other)
Definition config.pb.h:359
CommsManager(const CommsManager &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_CONSTEXPR CommsManager(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void UnsafeArenaSwap(CommsManager *other)
Definition config.pb.h:372
static const ClassData _class_data_
Definition config.pb.h:417
static const CommsManager * internal_default_instance()
Definition config.pb.h:349
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition config.pb.h:340
void CopyFrom(const CommsManager &from)
CommsManager * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition config.pb.h:380
CommsManager(CommsManager &&from) noexcept
Definition config.pb.h:307
void MergeFrom(const CommsManager &from)
Definition config.pb.h:386
static const CommsManager & default_instance()
Definition config.pb.h:346
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition config.pb.h:343
friend void swap(CommsManager &a, CommsManager &b)
Definition config.pb.h:356
CommsManager & operator=(const CommsManager &from)
Definition config.pb.h:312
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition config.pb.h:333
CommsManager & operator=(CommsManager &&from) noexcept
Definition config.pb.h:316
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition config.pb.h:337
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fcomms_5fmanager_2fconfig_2eproto
CommsManager_SubscribeRuleDefaultTypeInternal _CommsManager_SubscribeRule_default_instance_
CommsManagerDefaultTypeInternal _CommsManager_default_instance_
bool Link_IsValid(int value)