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