JaiaBot 2.0.0
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/engineering/config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fengineering_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2fengineering_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"
35#include "goby/middleware/protobuf/transporter_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// @@protoc_insertion_point(includes)
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_bin_2fengineering_2fconfig_2eproto
44PROTOBUF_NAMESPACE_OPEN
45namespace internal {
46class AnyMetadata;
47} // namespace internal
48PROTOBUF_NAMESPACE_CLOSE
49
50// Internal implementation detail -- do not use these members.
52 static const uint32_t offsets[];
53};
54extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fengineering_2fconfig_2eproto;
55namespace jaiabot {
56namespace config {
57class JaiabotEngineering;
58struct JaiabotEngineeringDefaultTypeInternal;
59extern JaiabotEngineeringDefaultTypeInternal _JaiabotEngineering_default_instance_;
60} // namespace config
61} // namespace jaiabot
62PROTOBUF_NAMESPACE_OPEN
63template<> ::jaiabot::config::JaiabotEngineering* Arena::CreateMaybeMessage<::jaiabot::config::JaiabotEngineering>(Arena*);
64PROTOBUF_NAMESPACE_CLOSE
65namespace jaiabot {
66namespace config {
67
68// ===================================================================
69
70class JaiabotEngineering final :
71 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.JaiabotEngineering) */ {
72 public:
75 explicit PROTOBUF_CONSTEXPR JaiabotEngineering(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
76
80 *this = ::std::move(from);
81 }
82
84 CopyFrom(from);
85 return *this;
86 }
88 if (this == &from) return *this;
89 if (GetOwningArena() == from.GetOwningArena()
90 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
91 && GetOwningArena() != nullptr
92 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
93 ) {
94 InternalSwap(&from);
95 } else {
96 CopyFrom(from);
97 }
98 return *this;
99 }
100
101 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
102 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
103 }
104 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
105 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
106 }
107
108 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
109 return GetDescriptor();
110 }
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
112 return default_instance().GetMetadata().descriptor;
113 }
114 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
115 return default_instance().GetMetadata().reflection;
116 }
119 }
121 return reinterpret_cast<const JaiabotEngineering*>(
123 }
124 static constexpr int kIndexInFileMessages =
125 0;
126
128 a.Swap(&b);
129 }
130 inline void Swap(JaiabotEngineering* other) {
131 if (other == this) return;
132 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
133 if (GetOwningArena() != nullptr &&
134 GetOwningArena() == other->GetOwningArena()) {
135 #else // PROTOBUF_FORCE_COPY_IN_SWAP
136 if (GetOwningArena() == other->GetOwningArena()) {
137 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
138 InternalSwap(other);
139 } else {
140 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
141 }
142 }
144 if (other == this) return;
145 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
146 InternalSwap(other);
147 }
148
149 // implements Message ----------------------------------------------
150
151 JaiabotEngineering* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
152 return CreateMaybeMessage<JaiabotEngineering>(arena);
153 }
154 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
155 void CopyFrom(const JaiabotEngineering& from);
156 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
157 void MergeFrom( const JaiabotEngineering& from) {
158 JaiabotEngineering::MergeImpl(*this, from);
159 }
160 private:
161 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
162 public:
163 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
164 bool IsInitialized() const final;
165
166 size_t ByteSizeLong() const final;
167 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
169 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
170 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
171
172 private:
173 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
174 void SharedDtor();
175 void SetCachedSize(int size) const final;
176 void InternalSwap(JaiabotEngineering* other);
177
178 private:
179 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
180 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
181 return "jaiabot.config.JaiabotEngineering";
182 }
183 protected:
184 explicit JaiabotEngineering(::PROTOBUF_NAMESPACE_ID::Arena* arena,
185 bool is_message_owned = false);
186 public:
187
188 static const ClassData _class_data_;
189 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
190
191 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
192
193 // nested types ----------------------------------------------------
194
195 // accessors -------------------------------------------------------
196
197 enum : int {
204 };
205 // optional .goby.middleware.protobuf.AppConfig app = 1;
206 bool has_app() const;
207 private:
208 bool _internal_has_app() const;
209 public:
210 void clear_app();
211 const ::goby::middleware::protobuf::AppConfig& app() const;
212 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
213 ::goby::middleware::protobuf::AppConfig* mutable_app();
214 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
215 private:
216 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
217 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
218 public:
220 ::goby::middleware::protobuf::AppConfig* app);
221 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
222
223 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
224 bool has_interprocess() const;
225 private:
226 bool _internal_has_interprocess() const;
227 public:
229 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
230 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
231 ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
232 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
233 private:
234 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
235 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
236 public:
238 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
239 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
240
241 // required .goby.middleware.protobuf.TransporterConfig command_sub_cfg = 11;
242 bool has_command_sub_cfg() const;
243 private:
244 bool _internal_has_command_sub_cfg() const;
245 public:
247 const ::goby::middleware::protobuf::TransporterConfig& command_sub_cfg() const;
248 PROTOBUF_NODISCARD ::goby::middleware::protobuf::TransporterConfig* release_command_sub_cfg();
249 ::goby::middleware::protobuf::TransporterConfig* mutable_command_sub_cfg();
250 void set_allocated_command_sub_cfg(::goby::middleware::protobuf::TransporterConfig* command_sub_cfg);
251 private:
252 const ::goby::middleware::protobuf::TransporterConfig& _internal_command_sub_cfg() const;
253 ::goby::middleware::protobuf::TransporterConfig* _internal_mutable_command_sub_cfg();
254 public:
256 ::goby::middleware::protobuf::TransporterConfig* command_sub_cfg);
257 ::goby::middleware::protobuf::TransporterConfig* unsafe_arena_release_command_sub_cfg();
258
259 // optional .jaiabot.protobuf.HubInfo subscribe_to_hub_on_start = 12;
261 private:
262 bool _internal_has_subscribe_to_hub_on_start() const;
263 public:
265 const ::jaiabot::protobuf::HubInfo& subscribe_to_hub_on_start() const;
266 PROTOBUF_NODISCARD ::jaiabot::protobuf::HubInfo* release_subscribe_to_hub_on_start();
269 private:
270 const ::jaiabot::protobuf::HubInfo& _internal_subscribe_to_hub_on_start() const;
271 ::jaiabot::protobuf::HubInfo* _internal_mutable_subscribe_to_hub_on_start();
272 public:
276
277 // required int32 bot_id = 10;
278 bool has_bot_id() const;
279 private:
280 bool _internal_has_bot_id() const;
281 public:
282 void clear_bot_id();
283 int32_t bot_id() const;
284 void set_bot_id(int32_t value);
285 private:
286 int32_t _internal_bot_id() const;
287 void _internal_set_bot_id(int32_t value);
288 public:
289
290 // required uint32 subnet_mask = 13;
291 bool has_subnet_mask() const;
292 private:
293 bool _internal_has_subnet_mask() const;
294 public:
295 void clear_subnet_mask();
296 uint32_t subnet_mask() const;
297 void set_subnet_mask(uint32_t value);
298 private:
299 uint32_t _internal_subnet_mask() const;
300 void _internal_set_subnet_mask(uint32_t value);
301 public:
302
303 // @@protoc_insertion_point(class_scope:jaiabot.config.JaiabotEngineering)
304 private:
305 class _Internal;
306
307 // helper for ByteSizeLong()
308 size_t RequiredFieldsByteSizeFallback() const;
309
310 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
311 typedef void InternalArenaConstructable_;
312 typedef void DestructorSkippable_;
313 struct Impl_ {
314 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
315 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
316 ::goby::middleware::protobuf::AppConfig* app_;
317 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
318 ::goby::middleware::protobuf::TransporterConfig* command_sub_cfg_;
319 ::jaiabot::protobuf::HubInfo* subscribe_to_hub_on_start_;
320 int32_t bot_id_;
321 uint32_t subnet_mask_;
322 };
323 union { Impl_ _impl_; };
324 friend struct ::TableStruct_bin_2fengineering_2fconfig_2eproto;
325};
326// ===================================================================
327
328
329// ===================================================================
330
331#ifdef __GNUC__
332 #pragma GCC diagnostic push
333 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
334#endif // __GNUC__
335// JaiabotEngineering
336
337// optional .goby.middleware.protobuf.AppConfig app = 1;
338inline bool JaiabotEngineering::_internal_has_app() const {
339 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
340 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
341 return value;
342}
343inline bool JaiabotEngineering::has_app() const {
344 return _internal_has_app();
345}
346inline const ::goby::middleware::protobuf::AppConfig& JaiabotEngineering::_internal_app() const {
347 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
348 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
349 ::goby::middleware::protobuf::_AppConfig_default_instance_);
350}
351inline const ::goby::middleware::protobuf::AppConfig& JaiabotEngineering::app() const {
352 // @@protoc_insertion_point(field_get:jaiabot.config.JaiabotEngineering.app)
353 return _internal_app();
354}
356 ::goby::middleware::protobuf::AppConfig* app) {
357 if (GetArenaForAllocation() == nullptr) {
358 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
359 }
360 _impl_.app_ = app;
361 if (app) {
362 _impl_._has_bits_[0] |= 0x00000001u;
363 } else {
364 _impl_._has_bits_[0] &= ~0x00000001u;
365 }
366 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.JaiabotEngineering.app)
367}
368inline ::goby::middleware::protobuf::AppConfig* JaiabotEngineering::release_app() {
369 _impl_._has_bits_[0] &= ~0x00000001u;
370 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
371 _impl_.app_ = nullptr;
372#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
373 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
374 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
375 if (GetArenaForAllocation() == nullptr) { delete old; }
376#else // PROTOBUF_FORCE_COPY_IN_RELEASE
377 if (GetArenaForAllocation() != nullptr) {
378 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
379 }
380#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
381 return temp;
382}
383inline ::goby::middleware::protobuf::AppConfig* JaiabotEngineering::unsafe_arena_release_app() {
384 // @@protoc_insertion_point(field_release:jaiabot.config.JaiabotEngineering.app)
385 _impl_._has_bits_[0] &= ~0x00000001u;
386 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
387 _impl_.app_ = nullptr;
388 return temp;
389}
390inline ::goby::middleware::protobuf::AppConfig* JaiabotEngineering::_internal_mutable_app() {
391 _impl_._has_bits_[0] |= 0x00000001u;
392 if (_impl_.app_ == nullptr) {
393 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
394 _impl_.app_ = p;
395 }
396 return _impl_.app_;
397}
398inline ::goby::middleware::protobuf::AppConfig* JaiabotEngineering::mutable_app() {
399 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
400 // @@protoc_insertion_point(field_mutable:jaiabot.config.JaiabotEngineering.app)
401 return _msg;
402}
403inline void JaiabotEngineering::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
404 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
405 if (message_arena == nullptr) {
406 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
407 }
408 if (app) {
409 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
410 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
411 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
412 if (message_arena != submessage_arena) {
413 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
414 message_arena, app, submessage_arena);
415 }
416 _impl_._has_bits_[0] |= 0x00000001u;
417 } else {
418 _impl_._has_bits_[0] &= ~0x00000001u;
419 }
420 _impl_.app_ = app;
421 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.JaiabotEngineering.app)
422}
423
424// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
425inline bool JaiabotEngineering::_internal_has_interprocess() const {
426 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
427 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
428 return value;
429}
431 return _internal_has_interprocess();
432}
433inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& JaiabotEngineering::_internal_interprocess() const {
434 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
435 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
436 ::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
437}
438inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& JaiabotEngineering::interprocess() const {
439 // @@protoc_insertion_point(field_get:jaiabot.config.JaiabotEngineering.interprocess)
440 return _internal_interprocess();
441}
443 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
444 if (GetArenaForAllocation() == nullptr) {
445 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
446 }
447 _impl_.interprocess_ = interprocess;
448 if (interprocess) {
449 _impl_._has_bits_[0] |= 0x00000002u;
450 } else {
451 _impl_._has_bits_[0] &= ~0x00000002u;
452 }
453 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.JaiabotEngineering.interprocess)
454}
455inline ::goby::zeromq::protobuf::InterProcessPortalConfig* JaiabotEngineering::release_interprocess() {
456 _impl_._has_bits_[0] &= ~0x00000002u;
457 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
458 _impl_.interprocess_ = nullptr;
459#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
460 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
461 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
462 if (GetArenaForAllocation() == nullptr) { delete old; }
463#else // PROTOBUF_FORCE_COPY_IN_RELEASE
464 if (GetArenaForAllocation() != nullptr) {
465 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
466 }
467#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
468 return temp;
469}
470inline ::goby::zeromq::protobuf::InterProcessPortalConfig* JaiabotEngineering::unsafe_arena_release_interprocess() {
471 // @@protoc_insertion_point(field_release:jaiabot.config.JaiabotEngineering.interprocess)
472 _impl_._has_bits_[0] &= ~0x00000002u;
473 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
474 _impl_.interprocess_ = nullptr;
475 return temp;
476}
477inline ::goby::zeromq::protobuf::InterProcessPortalConfig* JaiabotEngineering::_internal_mutable_interprocess() {
478 _impl_._has_bits_[0] |= 0x00000002u;
479 if (_impl_.interprocess_ == nullptr) {
480 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaForAllocation());
481 _impl_.interprocess_ = p;
482 }
483 return _impl_.interprocess_;
484}
485inline ::goby::zeromq::protobuf::InterProcessPortalConfig* JaiabotEngineering::mutable_interprocess() {
486 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
487 // @@protoc_insertion_point(field_mutable:jaiabot.config.JaiabotEngineering.interprocess)
488 return _msg;
489}
490inline void JaiabotEngineering::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
491 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
492 if (message_arena == nullptr) {
493 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
494 }
495 if (interprocess) {
496 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
497 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
498 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
499 if (message_arena != submessage_arena) {
500 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
501 message_arena, interprocess, submessage_arena);
502 }
503 _impl_._has_bits_[0] |= 0x00000002u;
504 } else {
505 _impl_._has_bits_[0] &= ~0x00000002u;
506 }
507 _impl_.interprocess_ = interprocess;
508 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.JaiabotEngineering.interprocess)
509}
510
511// required int32 bot_id = 10;
512inline bool JaiabotEngineering::_internal_has_bot_id() const {
513 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
514 return value;
515}
517 return _internal_has_bot_id();
518}
520 _impl_.bot_id_ = 0;
521 _impl_._has_bits_[0] &= ~0x00000010u;
522}
523inline int32_t JaiabotEngineering::_internal_bot_id() const {
524 return _impl_.bot_id_;
525}
526inline int32_t JaiabotEngineering::bot_id() const {
527 // @@protoc_insertion_point(field_get:jaiabot.config.JaiabotEngineering.bot_id)
528 return _internal_bot_id();
529}
530inline void JaiabotEngineering::_internal_set_bot_id(int32_t value) {
531 _impl_._has_bits_[0] |= 0x00000010u;
532 _impl_.bot_id_ = value;
533}
534inline void JaiabotEngineering::set_bot_id(int32_t value) {
535 _internal_set_bot_id(value);
536 // @@protoc_insertion_point(field_set:jaiabot.config.JaiabotEngineering.bot_id)
537}
538
539// required .goby.middleware.protobuf.TransporterConfig command_sub_cfg = 11;
540inline bool JaiabotEngineering::_internal_has_command_sub_cfg() const {
541 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
542 PROTOBUF_ASSUME(!value || _impl_.command_sub_cfg_ != nullptr);
543 return value;
544}
546 return _internal_has_command_sub_cfg();
547}
548inline const ::goby::middleware::protobuf::TransporterConfig& JaiabotEngineering::_internal_command_sub_cfg() const {
549 const ::goby::middleware::protobuf::TransporterConfig* p = _impl_.command_sub_cfg_;
550 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::TransporterConfig&>(
551 ::goby::middleware::protobuf::_TransporterConfig_default_instance_);
552}
553inline const ::goby::middleware::protobuf::TransporterConfig& JaiabotEngineering::command_sub_cfg() const {
554 // @@protoc_insertion_point(field_get:jaiabot.config.JaiabotEngineering.command_sub_cfg)
555 return _internal_command_sub_cfg();
556}
558 ::goby::middleware::protobuf::TransporterConfig* command_sub_cfg) {
559 if (GetArenaForAllocation() == nullptr) {
560 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.command_sub_cfg_);
561 }
562 _impl_.command_sub_cfg_ = command_sub_cfg;
563 if (command_sub_cfg) {
564 _impl_._has_bits_[0] |= 0x00000004u;
565 } else {
566 _impl_._has_bits_[0] &= ~0x00000004u;
567 }
568 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.JaiabotEngineering.command_sub_cfg)
569}
570inline ::goby::middleware::protobuf::TransporterConfig* JaiabotEngineering::release_command_sub_cfg() {
571 _impl_._has_bits_[0] &= ~0x00000004u;
572 ::goby::middleware::protobuf::TransporterConfig* temp = _impl_.command_sub_cfg_;
573 _impl_.command_sub_cfg_ = nullptr;
574#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
575 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
576 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
577 if (GetArenaForAllocation() == nullptr) { delete old; }
578#else // PROTOBUF_FORCE_COPY_IN_RELEASE
579 if (GetArenaForAllocation() != nullptr) {
580 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
581 }
582#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
583 return temp;
584}
585inline ::goby::middleware::protobuf::TransporterConfig* JaiabotEngineering::unsafe_arena_release_command_sub_cfg() {
586 // @@protoc_insertion_point(field_release:jaiabot.config.JaiabotEngineering.command_sub_cfg)
587 _impl_._has_bits_[0] &= ~0x00000004u;
588 ::goby::middleware::protobuf::TransporterConfig* temp = _impl_.command_sub_cfg_;
589 _impl_.command_sub_cfg_ = nullptr;
590 return temp;
591}
592inline ::goby::middleware::protobuf::TransporterConfig* JaiabotEngineering::_internal_mutable_command_sub_cfg() {
593 _impl_._has_bits_[0] |= 0x00000004u;
594 if (_impl_.command_sub_cfg_ == nullptr) {
595 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::TransporterConfig>(GetArenaForAllocation());
596 _impl_.command_sub_cfg_ = p;
597 }
598 return _impl_.command_sub_cfg_;
599}
600inline ::goby::middleware::protobuf::TransporterConfig* JaiabotEngineering::mutable_command_sub_cfg() {
601 ::goby::middleware::protobuf::TransporterConfig* _msg = _internal_mutable_command_sub_cfg();
602 // @@protoc_insertion_point(field_mutable:jaiabot.config.JaiabotEngineering.command_sub_cfg)
603 return _msg;
604}
605inline void JaiabotEngineering::set_allocated_command_sub_cfg(::goby::middleware::protobuf::TransporterConfig* command_sub_cfg) {
606 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
607 if (message_arena == nullptr) {
608 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.command_sub_cfg_);
609 }
610 if (command_sub_cfg) {
611 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
612 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
613 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(command_sub_cfg));
614 if (message_arena != submessage_arena) {
615 command_sub_cfg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
616 message_arena, command_sub_cfg, submessage_arena);
617 }
618 _impl_._has_bits_[0] |= 0x00000004u;
619 } else {
620 _impl_._has_bits_[0] &= ~0x00000004u;
621 }
622 _impl_.command_sub_cfg_ = command_sub_cfg;
623 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.JaiabotEngineering.command_sub_cfg)
624}
625
626// optional .jaiabot.protobuf.HubInfo subscribe_to_hub_on_start = 12;
627inline bool JaiabotEngineering::_internal_has_subscribe_to_hub_on_start() const {
628 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
629 PROTOBUF_ASSUME(!value || _impl_.subscribe_to_hub_on_start_ != nullptr);
630 return value;
631}
633 return _internal_has_subscribe_to_hub_on_start();
634}
635inline const ::jaiabot::protobuf::HubInfo& JaiabotEngineering::_internal_subscribe_to_hub_on_start() const {
636 const ::jaiabot::protobuf::HubInfo* p = _impl_.subscribe_to_hub_on_start_;
637 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::HubInfo&>(
639}
640inline const ::jaiabot::protobuf::HubInfo& JaiabotEngineering::subscribe_to_hub_on_start() const {
641 // @@protoc_insertion_point(field_get:jaiabot.config.JaiabotEngineering.subscribe_to_hub_on_start)
642 return _internal_subscribe_to_hub_on_start();
643}
646 if (GetArenaForAllocation() == nullptr) {
647 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.subscribe_to_hub_on_start_);
648 }
649 _impl_.subscribe_to_hub_on_start_ = subscribe_to_hub_on_start;
651 _impl_._has_bits_[0] |= 0x00000008u;
652 } else {
653 _impl_._has_bits_[0] &= ~0x00000008u;
654 }
655 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.JaiabotEngineering.subscribe_to_hub_on_start)
656}
657inline ::jaiabot::protobuf::HubInfo* JaiabotEngineering::release_subscribe_to_hub_on_start() {
658 _impl_._has_bits_[0] &= ~0x00000008u;
659 ::jaiabot::protobuf::HubInfo* temp = _impl_.subscribe_to_hub_on_start_;
660 _impl_.subscribe_to_hub_on_start_ = nullptr;
661#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
662 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
663 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
664 if (GetArenaForAllocation() == nullptr) { delete old; }
665#else // PROTOBUF_FORCE_COPY_IN_RELEASE
666 if (GetArenaForAllocation() != nullptr) {
667 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
668 }
669#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
670 return temp;
671}
673 // @@protoc_insertion_point(field_release:jaiabot.config.JaiabotEngineering.subscribe_to_hub_on_start)
674 _impl_._has_bits_[0] &= ~0x00000008u;
675 ::jaiabot::protobuf::HubInfo* temp = _impl_.subscribe_to_hub_on_start_;
676 _impl_.subscribe_to_hub_on_start_ = nullptr;
677 return temp;
678}
679inline ::jaiabot::protobuf::HubInfo* JaiabotEngineering::_internal_mutable_subscribe_to_hub_on_start() {
680 _impl_._has_bits_[0] |= 0x00000008u;
681 if (_impl_.subscribe_to_hub_on_start_ == nullptr) {
682 auto* p = CreateMaybeMessage<::jaiabot::protobuf::HubInfo>(GetArenaForAllocation());
683 _impl_.subscribe_to_hub_on_start_ = p;
684 }
685 return _impl_.subscribe_to_hub_on_start_;
686}
687inline ::jaiabot::protobuf::HubInfo* JaiabotEngineering::mutable_subscribe_to_hub_on_start() {
688 ::jaiabot::protobuf::HubInfo* _msg = _internal_mutable_subscribe_to_hub_on_start();
689 // @@protoc_insertion_point(field_mutable:jaiabot.config.JaiabotEngineering.subscribe_to_hub_on_start)
690 return _msg;
691}
693 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
694 if (message_arena == nullptr) {
695 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.subscribe_to_hub_on_start_);
696 }
698 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
699 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
700 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(subscribe_to_hub_on_start));
701 if (message_arena != submessage_arena) {
702 subscribe_to_hub_on_start = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
703 message_arena, subscribe_to_hub_on_start, submessage_arena);
704 }
705 _impl_._has_bits_[0] |= 0x00000008u;
706 } else {
707 _impl_._has_bits_[0] &= ~0x00000008u;
708 }
709 _impl_.subscribe_to_hub_on_start_ = subscribe_to_hub_on_start;
710 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.JaiabotEngineering.subscribe_to_hub_on_start)
711}
712
713// required uint32 subnet_mask = 13;
714inline bool JaiabotEngineering::_internal_has_subnet_mask() const {
715 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
716 return value;
717}
719 return _internal_has_subnet_mask();
720}
722 _impl_.subnet_mask_ = 0u;
723 _impl_._has_bits_[0] &= ~0x00000020u;
724}
725inline uint32_t JaiabotEngineering::_internal_subnet_mask() const {
726 return _impl_.subnet_mask_;
727}
728inline uint32_t JaiabotEngineering::subnet_mask() const {
729 // @@protoc_insertion_point(field_get:jaiabot.config.JaiabotEngineering.subnet_mask)
730 return _internal_subnet_mask();
731}
732inline void JaiabotEngineering::_internal_set_subnet_mask(uint32_t value) {
733 _impl_._has_bits_[0] |= 0x00000020u;
734 _impl_.subnet_mask_ = value;
735}
736inline void JaiabotEngineering::set_subnet_mask(uint32_t value) {
737 _internal_set_subnet_mask(value);
738 // @@protoc_insertion_point(field_set:jaiabot.config.JaiabotEngineering.subnet_mask)
739}
740
741#ifdef __GNUC__
742 #pragma GCC diagnostic pop
743#endif // __GNUC__
744
745// @@protoc_insertion_point(namespace_scope)
746
747} // namespace config
748} // namespace jaiabot
749
750// @@protoc_insertion_point(global_scope)
751
752#include <google/protobuf/port_undef.inc>
753#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_bin_2fengineering_2fconfig_2eproto
JaiabotEngineering(const JaiabotEngineering &from)
void MergeFrom(const JaiabotEngineering &from)
Definition config.pb.h:157
JaiabotEngineering * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition config.pb.h:151
size_t ByteSizeLong() const final
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
Definition config.pb.h:438
PROTOBUF_NODISCARD::jaiabot::protobuf::HubInfo * release_subscribe_to_hub_on_start()
Definition config.pb.h:657
static const JaiabotEngineering * internal_default_instance()
Definition config.pb.h:120
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition config.pb.h:111
PROTOBUF_NODISCARD::goby::middleware::protobuf::TransporterConfig * release_command_sub_cfg()
Definition config.pb.h:570
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
Definition config.pb.h:490
void set_subnet_mask(uint32_t value)
Definition config.pb.h:736
PROTOBUF_CONSTEXPR JaiabotEngineering(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ClassData _class_data_
Definition config.pb.h:188
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
Definition config.pb.h:470
void set_allocated_subscribe_to_hub_on_start(::jaiabot::protobuf::HubInfo *subscribe_to_hub_on_start)
Definition config.pb.h:692
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition config.pb.h:108
static constexpr int kIndexInFileMessages
Definition config.pb.h:124
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
Definition config.pb.h:442
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
Definition config.pb.h:355
JaiabotEngineering & operator=(const JaiabotEngineering &from)
Definition config.pb.h:83
void UnsafeArenaSwap(JaiabotEngineering *other)
Definition config.pb.h:143
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
Definition config.pb.h:403
::goby::middleware::protobuf::TransporterConfig * mutable_command_sub_cfg()
Definition config.pb.h:600
friend void swap(JaiabotEngineering &a, JaiabotEngineering &b)
Definition config.pb.h:127
JaiabotEngineering(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
Definition config.pb.h:485
JaiabotEngineering & operator=(JaiabotEngineering &&from) noexcept
Definition config.pb.h:87
JaiabotEngineering(JaiabotEngineering &&from) noexcept
Definition config.pb.h:78
void unsafe_arena_set_allocated_subscribe_to_hub_on_start(::jaiabot::protobuf::HubInfo *subscribe_to_hub_on_start)
Definition config.pb.h:644
void unsafe_arena_set_allocated_command_sub_cfg(::goby::middleware::protobuf::TransporterConfig *command_sub_cfg)
Definition config.pb.h:557
const ::goby::middleware::protobuf::TransporterConfig & command_sub_cfg() const
Definition config.pb.h:553
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
Definition config.pb.h:455
::jaiabot::protobuf::HubInfo * unsafe_arena_release_subscribe_to_hub_on_start()
Definition config.pb.h:672
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition config.pb.h:104
void set_allocated_command_sub_cfg(::goby::middleware::protobuf::TransporterConfig *command_sub_cfg)
Definition config.pb.h:605
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void Swap(JaiabotEngineering *other)
Definition config.pb.h:130
const ::jaiabot::protobuf::HubInfo & subscribe_to_hub_on_start() const
Definition config.pb.h:640
void CopyFrom(const JaiabotEngineering &from)
::jaiabot::protobuf::HubInfo * mutable_subscribe_to_hub_on_start()
Definition config.pb.h:687
const ::goby::middleware::protobuf::AppConfig & app() const
Definition config.pb.h:351
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
::goby::middleware::protobuf::TransporterConfig * unsafe_arena_release_command_sub_cfg()
Definition config.pb.h:585
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition config.pb.h:114
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
Definition config.pb.h:383
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
Definition config.pb.h:368
static const JaiabotEngineering & default_instance()
Definition config.pb.h:117
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition config.pb.h:101
::goby::middleware::protobuf::AppConfig * mutable_app()
Definition config.pb.h:398
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fengineering_2fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::jaiabot::protobuf::HubInfo * Arena::CreateMaybeMessage<::jaiabot::protobuf::HubInfo >(Arena *)
JaiabotEngineeringDefaultTypeInternal _JaiabotEngineering_default_instance_
HubInfoDefaultTypeInternal _HubInfo_default_instance_