JaiaBot 2.0.0
JaiaBot micro-AUV software
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Loading...
Searching...
No Matches
udp_driver.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/udp_driver.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fudp_5fdriver_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fudp_5fdriver_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/protobuf/option_extensions.pb.h"
34#include "goby/acomms/protobuf/driver_base.pb.h"
35#include <boost/units/quantity.hpp>
36#include <boost/units/absolute.hpp>
37#include <boost/units/dimensionless_type.hpp>
38#include <boost/units/make_scaled_unit.hpp>
39// @@protoc_insertion_point(includes)
40#include <google/protobuf/port_def.inc>
41#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fudp_5fdriver_2eproto
42PROTOBUF_NAMESPACE_OPEN
43namespace internal {
44class AnyMetadata;
45} // namespace internal
46PROTOBUF_NAMESPACE_CLOSE
47
48// Internal implementation detail -- do not use these members.
52extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fudp_5fdriver_2eproto;
53namespace jaiabot {
54namespace udp {
55namespace protobuf {
56class Config;
57struct ConfigDefaultTypeInternal;
58extern ConfigDefaultTypeInternal _Config_default_instance_;
59class Config_EndPoint;
60struct Config_EndPointDefaultTypeInternal;
61extern Config_EndPointDefaultTypeInternal _Config_EndPoint_default_instance_;
63struct Config_HubEndPointsDefaultTypeInternal;
64extern Config_HubEndPointsDefaultTypeInternal _Config_HubEndPoints_default_instance_;
65} // namespace protobuf
66} // namespace udp
67} // namespace jaiabot
68PROTOBUF_NAMESPACE_OPEN
69template<> ::jaiabot::udp::protobuf::Config* Arena::CreateMaybeMessage<::jaiabot::udp::protobuf::Config>(Arena*);
70template<> ::jaiabot::udp::protobuf::Config_EndPoint* Arena::CreateMaybeMessage<::jaiabot::udp::protobuf::Config_EndPoint>(Arena*);
71template<> ::jaiabot::udp::protobuf::Config_HubEndPoints* Arena::CreateMaybeMessage<::jaiabot::udp::protobuf::Config_HubEndPoints>(Arena*);
72PROTOBUF_NAMESPACE_CLOSE
73namespace jaiabot {
74namespace udp {
75namespace protobuf {
76
77// ===================================================================
78
79class Config_EndPoint final :
80 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.udp.protobuf.Config.EndPoint) */ {
81 public:
82 inline Config_EndPoint() : Config_EndPoint(nullptr) {}
83 ~Config_EndPoint() override;
84 explicit PROTOBUF_CONSTEXPR Config_EndPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
85
88 : Config_EndPoint() {
89 *this = ::std::move(from);
90 }
91
93 CopyFrom(from);
94 return *this;
95 }
96 inline Config_EndPoint& operator=(Config_EndPoint&& from) noexcept {
97 if (this == &from) return *this;
98 if (GetOwningArena() == from.GetOwningArena()
99 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
100 && GetOwningArena() != nullptr
101 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
102 ) {
103 InternalSwap(&from);
104 } else {
105 CopyFrom(from);
106 }
107 return *this;
108 }
109
110 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
111 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
112 }
113 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
114 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
115 }
116
117 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
118 return GetDescriptor();
119 }
120 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
121 return default_instance().GetMetadata().descriptor;
122 }
123 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
124 return default_instance().GetMetadata().reflection;
125 }
128 }
130 return reinterpret_cast<const Config_EndPoint*>(
132 }
133 static constexpr int kIndexInFileMessages =
134 0;
135
137 a.Swap(&b);
138 }
139 inline void Swap(Config_EndPoint* other) {
140 if (other == this) return;
141 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
142 if (GetOwningArena() != nullptr &&
143 GetOwningArena() == other->GetOwningArena()) {
144 #else // PROTOBUF_FORCE_COPY_IN_SWAP
145 if (GetOwningArena() == other->GetOwningArena()) {
146 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
147 InternalSwap(other);
148 } else {
149 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
150 }
151 }
153 if (other == this) return;
154 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
155 InternalSwap(other);
156 }
157
158 // implements Message ----------------------------------------------
159
160 Config_EndPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
161 return CreateMaybeMessage<Config_EndPoint>(arena);
162 }
163 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
164 void CopyFrom(const Config_EndPoint& from);
165 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
166 void MergeFrom( const Config_EndPoint& from) {
167 Config_EndPoint::MergeImpl(*this, from);
168 }
169 private:
170 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
171 public:
172 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
173 bool IsInitialized() const final;
174
175 size_t ByteSizeLong() const final;
176 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
178 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
179 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
180
181 private:
182 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
183 void SharedDtor();
184 void SetCachedSize(int size) const final;
185 void InternalSwap(Config_EndPoint* other);
186
187 private:
188 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
189 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
190 return "jaiabot.udp.protobuf.Config.EndPoint";
191 }
192 protected:
193 explicit Config_EndPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
194 bool is_message_owned = false);
195 public:
196
197 static const ClassData _class_data_;
198 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
199
200 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
201
202 // nested types ----------------------------------------------------
203
204 // accessors -------------------------------------------------------
205
206 enum : int {
210 };
211 // optional string ip = 2 [default = "127.0.0.1"];
212 bool has_ip() const;
213 private:
214 bool _internal_has_ip() const;
215 public:
216 void clear_ip();
217 const std::string& ip() const;
218 template <typename ArgT0 = const std::string&, typename... ArgT>
219 void set_ip(ArgT0&& arg0, ArgT... args);
220 std::string* mutable_ip();
221 PROTOBUF_NODISCARD std::string* release_ip();
222 void set_allocated_ip(std::string* ip);
223 private:
224 const std::string& _internal_ip() const;
225 inline PROTOBUF_ALWAYS_INLINE void _internal_set_ip(const std::string& value);
226 std::string* _internal_mutable_ip();
227 public:
228
229 // optional uint32 modem_id = 1 [default = 0];
230 bool has_modem_id() const;
231 private:
232 bool _internal_has_modem_id() const;
233 public:
234 void clear_modem_id();
235 uint32_t modem_id() const;
236 void set_modem_id(uint32_t value);
237 private:
238 uint32_t _internal_modem_id() const;
239 void _internal_set_modem_id(uint32_t value);
240 public:
241
242 // required uint32 port = 3;
243 bool has_port() const;
244 private:
245 bool _internal_has_port() const;
246 public:
247 void clear_port();
248 uint32_t port() const;
249 void set_port(uint32_t value);
250 private:
251 uint32_t _internal_port() const;
252 void _internal_set_port(uint32_t value);
253 public:
254
255 // @@protoc_insertion_point(class_scope:jaiabot.udp.protobuf.Config.EndPoint)
256 private:
257 class _Internal;
258
259 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
260 typedef void InternalArenaConstructable_;
261 typedef void DestructorSkippable_;
262 struct Impl_ {
263 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
264 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
265 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_ip_;
266 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ip_;
267 uint32_t modem_id_;
268 uint32_t port_;
269 };
270 union { Impl_ _impl_; };
271 friend struct ::TableStruct_jaiabot_2fmessages_2fudp_5fdriver_2eproto;
272};
273// -------------------------------------------------------------------
274
276 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.udp.protobuf.Config.HubEndPoints) */ {
277 public:
280 explicit PROTOBUF_CONSTEXPR Config_HubEndPoints(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
281
285 *this = ::std::move(from);
286 }
287
289 CopyFrom(from);
290 return *this;
291 }
293 if (this == &from) return *this;
294 if (GetOwningArena() == from.GetOwningArena()
295 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
296 && GetOwningArena() != nullptr
297 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
298 ) {
299 InternalSwap(&from);
300 } else {
301 CopyFrom(from);
302 }
303 return *this;
304 }
305
306 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
307 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
308 }
309 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
310 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
311 }
312
313 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
314 return GetDescriptor();
315 }
316 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
317 return default_instance().GetMetadata().descriptor;
318 }
319 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
320 return default_instance().GetMetadata().reflection;
321 }
323 return *internal_default_instance();
324 }
326 return reinterpret_cast<const Config_HubEndPoints*>(
328 }
329 static constexpr int kIndexInFileMessages =
330 1;
331
333 a.Swap(&b);
334 }
335 inline void Swap(Config_HubEndPoints* other) {
336 if (other == this) return;
337 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
338 if (GetOwningArena() != nullptr &&
339 GetOwningArena() == other->GetOwningArena()) {
340 #else // PROTOBUF_FORCE_COPY_IN_SWAP
341 if (GetOwningArena() == other->GetOwningArena()) {
342 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
343 InternalSwap(other);
344 } else {
345 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
346 }
347 }
349 if (other == this) return;
350 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
351 InternalSwap(other);
352 }
353
354 // implements Message ----------------------------------------------
355
356 Config_HubEndPoints* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
357 return CreateMaybeMessage<Config_HubEndPoints>(arena);
358 }
359 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
360 void CopyFrom(const Config_HubEndPoints& from);
361 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
362 void MergeFrom( const Config_HubEndPoints& from) {
363 Config_HubEndPoints::MergeImpl(*this, from);
364 }
365 private:
366 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
367 public:
368 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
369 bool IsInitialized() const final;
370
371 size_t ByteSizeLong() const final;
372 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
373 uint8_t* _InternalSerialize(
374 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
375 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
376
377 private:
378 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
379 void SharedDtor();
380 void SetCachedSize(int size) const final;
381 void InternalSwap(Config_HubEndPoints* other);
382
383 private:
384 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
385 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
386 return "jaiabot.udp.protobuf.Config.HubEndPoints";
387 }
388 protected:
389 explicit Config_HubEndPoints(::PROTOBUF_NAMESPACE_ID::Arena* arena,
390 bool is_message_owned = false);
391 public:
392
393 static const ClassData _class_data_;
394 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
395
396 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
397
398 // nested types ----------------------------------------------------
399
400 // accessors -------------------------------------------------------
401
402 enum : int {
403 kRemoteFieldNumber = 2,
404 kHubIdFieldNumber = 1,
405 };
406 // required .jaiabot.udp.protobuf.Config.EndPoint remote = 2;
407 bool has_remote() const;
408 private:
409 bool _internal_has_remote() const;
410 public:
411 void clear_remote();
412 const ::jaiabot::udp::protobuf::Config_EndPoint& remote() const;
413 PROTOBUF_NODISCARD ::jaiabot::udp::protobuf::Config_EndPoint* release_remote();
415 void set_allocated_remote(::jaiabot::udp::protobuf::Config_EndPoint* remote);
416 private:
417 const ::jaiabot::udp::protobuf::Config_EndPoint& _internal_remote() const;
418 ::jaiabot::udp::protobuf::Config_EndPoint* _internal_mutable_remote();
419 public:
420 void unsafe_arena_set_allocated_remote(
422 ::jaiabot::udp::protobuf::Config_EndPoint* unsafe_arena_release_remote();
423
424 // required int32 hub_id = 1;
425 bool has_hub_id() const;
426 private:
427 bool _internal_has_hub_id() const;
428 public:
429 void clear_hub_id();
430 int32_t hub_id() const;
431 void set_hub_id(int32_t value);
432 private:
433 int32_t _internal_hub_id() const;
434 void _internal_set_hub_id(int32_t value);
435 public:
436
437 // @@protoc_insertion_point(class_scope:jaiabot.udp.protobuf.Config.HubEndPoints)
438 private:
439 class _Internal;
440
441 // helper for ByteSizeLong()
442 size_t RequiredFieldsByteSizeFallback() const;
443
444 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
445 typedef void InternalArenaConstructable_;
446 typedef void DestructorSkippable_;
447 struct Impl_ {
448 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
449 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
451 int32_t hub_id_;
452 };
453 union { Impl_ _impl_; };
454 friend struct ::TableStruct_jaiabot_2fmessages_2fudp_5fdriver_2eproto;
455};
456// -------------------------------------------------------------------
457
458class Config final :
459 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.udp.protobuf.Config) */ {
460 public:
461 inline Config() : Config(nullptr) {}
462 ~Config() override;
463 explicit PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
464
465 Config(const Config& from);
466 Config(Config&& from) noexcept
467 : Config() {
468 *this = ::std::move(from);
469 }
470
471 inline Config& operator=(const Config& from) {
472 CopyFrom(from);
473 return *this;
474 }
475 inline Config& operator=(Config&& from) noexcept {
476 if (this == &from) return *this;
477 if (GetOwningArena() == from.GetOwningArena()
478 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
479 && GetOwningArena() != nullptr
480 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
481 ) {
482 InternalSwap(&from);
483 } else {
484 CopyFrom(from);
485 }
486 return *this;
487 }
488
489 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
490 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
491 }
492 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
493 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
494 }
495
496 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
497 return GetDescriptor();
498 }
499 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
500 return default_instance().GetMetadata().descriptor;
501 }
502 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
503 return default_instance().GetMetadata().reflection;
504 }
505 static const Config& default_instance() {
506 return *internal_default_instance();
507 }
508 static inline const Config* internal_default_instance() {
509 return reinterpret_cast<const Config*>(
511 }
512 static constexpr int kIndexInFileMessages =
513 2;
514
515 friend void swap(Config& a, Config& b) {
516 a.Swap(&b);
517 }
518 inline void Swap(Config* other) {
519 if (other == this) return;
520 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
521 if (GetOwningArena() != nullptr &&
522 GetOwningArena() == other->GetOwningArena()) {
523 #else // PROTOBUF_FORCE_COPY_IN_SWAP
524 if (GetOwningArena() == other->GetOwningArena()) {
525 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
526 InternalSwap(other);
527 } else {
528 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
529 }
530 }
531 void UnsafeArenaSwap(Config* other) {
532 if (other == this) return;
533 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
534 InternalSwap(other);
535 }
536
537 // implements Message ----------------------------------------------
538
539 Config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
540 return CreateMaybeMessage<Config>(arena);
541 }
542 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
543 void CopyFrom(const Config& from);
544 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
545 void MergeFrom( const Config& from) {
546 Config::MergeImpl(*this, from);
547 }
548 private:
549 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
550 public:
551 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
552 bool IsInitialized() const final;
553
554 size_t ByteSizeLong() const final;
555 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
556 uint8_t* _InternalSerialize(
557 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
558 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
559
560 private:
561 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
562 void SharedDtor();
563 void SetCachedSize(int size) const final;
564 void InternalSwap(Config* other);
565
566 private:
567 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
568 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
569 return "jaiabot.udp.protobuf.Config";
570 }
571 protected:
572 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena,
573 bool is_message_owned = false);
574 public:
575
576 static const ClassData _class_data_;
577 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
578
579 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
580
581 // nested types ----------------------------------------------------
582
585
586 // accessors -------------------------------------------------------
587
588 enum : int {
589 kRemoteFieldNumber = 2,
590 kAdditionalApplicationAckModemIdFieldNumber = 21,
591 kHubEndpointFieldNumber = 32,
592 kLocalFieldNumber = 1,
593 kIpv6FieldNumber = 4,
594 kHubIdFieldNumber = 30,
595 kSubnetMaskFieldNumber = 31,
596 kMaxFrameSizeFieldNumber = 3,
597 };
598 // repeated .jaiabot.udp.protobuf.Config.EndPoint remote = 2 [(.goby.field) = {
599 int remote_size() const;
600 private:
601 int _internal_remote_size() const;
602 public:
603 void clear_remote();
604 ::jaiabot::udp::protobuf::Config_EndPoint* mutable_remote(int index);
605 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_EndPoint >*
606 mutable_remote();
607 private:
608 const ::jaiabot::udp::protobuf::Config_EndPoint& _internal_remote(int index) const;
609 ::jaiabot::udp::protobuf::Config_EndPoint* _internal_add_remote();
610 public:
611 const ::jaiabot::udp::protobuf::Config_EndPoint& remote(int index) const;
613 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_EndPoint >&
614 remote() const;
615
616 // repeated uint32 additional_application_ack_modem_id = 21;
617 int additional_application_ack_modem_id_size() const;
618 private:
619 int _internal_additional_application_ack_modem_id_size() const;
620 public:
621 void clear_additional_application_ack_modem_id();
622 private:
623 uint32_t _internal_additional_application_ack_modem_id(int index) const;
624 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
625 _internal_additional_application_ack_modem_id() const;
626 void _internal_add_additional_application_ack_modem_id(uint32_t value);
627 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
628 _internal_mutable_additional_application_ack_modem_id();
629 public:
630 uint32_t additional_application_ack_modem_id(int index) const;
631 void set_additional_application_ack_modem_id(int index, uint32_t value);
632 void add_additional_application_ack_modem_id(uint32_t value);
633 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
634 additional_application_ack_modem_id() const;
635 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
636 mutable_additional_application_ack_modem_id();
637
638 // repeated .jaiabot.udp.protobuf.Config.HubEndPoints hub_endpoint = 32;
639 int hub_endpoint_size() const;
640 private:
641 int _internal_hub_endpoint_size() const;
642 public:
643 void clear_hub_endpoint();
644 ::jaiabot::udp::protobuf::Config_HubEndPoints* mutable_hub_endpoint(int index);
645 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_HubEndPoints >*
646 mutable_hub_endpoint();
647 private:
648 const ::jaiabot::udp::protobuf::Config_HubEndPoints& _internal_hub_endpoint(int index) const;
649 ::jaiabot::udp::protobuf::Config_HubEndPoints* _internal_add_hub_endpoint();
650 public:
651 const ::jaiabot::udp::protobuf::Config_HubEndPoints& hub_endpoint(int index) const;
653 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_HubEndPoints >&
654 hub_endpoint() const;
655
656 // required .jaiabot.udp.protobuf.Config.EndPoint local = 1 [(.goby.field) = {
657 bool has_local() const;
658 private:
659 bool _internal_has_local() const;
660 public:
661 void clear_local();
662 const ::jaiabot::udp::protobuf::Config_EndPoint& local() const;
663 PROTOBUF_NODISCARD ::jaiabot::udp::protobuf::Config_EndPoint* release_local();
665 void set_allocated_local(::jaiabot::udp::protobuf::Config_EndPoint* local);
666 private:
667 const ::jaiabot::udp::protobuf::Config_EndPoint& _internal_local() const;
668 ::jaiabot::udp::protobuf::Config_EndPoint* _internal_mutable_local();
669 public:
670 void unsafe_arena_set_allocated_local(
672 ::jaiabot::udp::protobuf::Config_EndPoint* unsafe_arena_release_local();
673
674 // optional bool ipv6 = 4 [default = false];
675 bool has_ipv6() const;
676 private:
677 bool _internal_has_ipv6() const;
678 public:
679 void clear_ipv6();
680 bool ipv6() const;
681 void set_ipv6(bool value);
682 private:
683 bool _internal_ipv6() const;
684 void _internal_set_ipv6(bool value);
685 public:
686
687 // optional int32 hub_id = 30 [(.goby.field) = {
688 bool has_hub_id() const;
689 private:
690 bool _internal_has_hub_id() const;
691 public:
692 void clear_hub_id();
693 int32_t hub_id() const;
694 void set_hub_id(int32_t value);
695 private:
696 int32_t _internal_hub_id() const;
697 void _internal_set_hub_id(int32_t value);
698 public:
699
700 // required uint32 subnet_mask = 31;
701 bool has_subnet_mask() const;
702 private:
703 bool _internal_has_subnet_mask() const;
704 public:
705 void clear_subnet_mask();
706 uint32_t subnet_mask() const;
707 void set_subnet_mask(uint32_t value);
708 private:
709 uint32_t _internal_subnet_mask() const;
710 void _internal_set_subnet_mask(uint32_t value);
711 public:
712
713 // optional int32 max_frame_size = 3 [default = 1400];
714 bool has_max_frame_size() const;
715 private:
716 bool _internal_has_max_frame_size() const;
717 public:
718 void clear_max_frame_size();
719 int32_t max_frame_size() const;
720 void set_max_frame_size(int32_t value);
721 private:
722 int32_t _internal_max_frame_size() const;
723 void _internal_set_max_frame_size(int32_t value);
724 public:
725
726 // @@protoc_insertion_point(class_scope:jaiabot.udp.protobuf.Config)
727 private:
728 class _Internal;
729
730 // helper for ByteSizeLong()
731 size_t RequiredFieldsByteSizeFallback() const;
732
733 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
734 typedef void InternalArenaConstructable_;
735 typedef void DestructorSkippable_;
736 struct Impl_ {
737 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
738 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
739 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_EndPoint > remote_;
740 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > additional_application_ack_modem_id_;
741 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_HubEndPoints > hub_endpoint_;
743 bool ipv6_;
744 int32_t hub_id_;
745 uint32_t subnet_mask_;
746 int32_t max_frame_size_;
747 };
748 union { Impl_ _impl_; };
749 friend struct ::TableStruct_jaiabot_2fmessages_2fudp_5fdriver_2eproto;
750};
751// ===================================================================
752
753static const int kConfigFieldNumber = 1501;
754extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
755 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaiabot::udp::protobuf::Config >, 11, false >
757
758// ===================================================================
759
760#ifdef __GNUC__
761 #pragma GCC diagnostic push
762 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
763#endif // __GNUC__
764// Config_EndPoint
765
766// optional uint32 modem_id = 1 [default = 0];
767inline bool Config_EndPoint::_internal_has_modem_id() const {
768 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
769 return value;
770}
771inline bool Config_EndPoint::has_modem_id() const {
772 return _internal_has_modem_id();
773}
774inline void Config_EndPoint::clear_modem_id() {
775 _impl_.modem_id_ = 0u;
776 _impl_._has_bits_[0] &= ~0x00000002u;
777}
778inline uint32_t Config_EndPoint::_internal_modem_id() const {
779 return _impl_.modem_id_;
780}
781inline uint32_t Config_EndPoint::modem_id() const {
782 // @@protoc_insertion_point(field_get:jaiabot.udp.protobuf.Config.EndPoint.modem_id)
783 return _internal_modem_id();
784}
785inline void Config_EndPoint::_internal_set_modem_id(uint32_t value) {
786 _impl_._has_bits_[0] |= 0x00000002u;
787 _impl_.modem_id_ = value;
788}
789inline void Config_EndPoint::set_modem_id(uint32_t value) {
790 _internal_set_modem_id(value);
791 // @@protoc_insertion_point(field_set:jaiabot.udp.protobuf.Config.EndPoint.modem_id)
792}
793
794// optional string ip = 2 [default = "127.0.0.1"];
795inline bool Config_EndPoint::_internal_has_ip() const {
796 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
797 return value;
798}
799inline bool Config_EndPoint::has_ip() const {
800 return _internal_has_ip();
801}
802inline void Config_EndPoint::clear_ip() {
803 _impl_.ip_.ClearToDefault(::jaiabot::udp::protobuf::Config_EndPoint::Impl_::_i_give_permission_to_break_this_code_default_ip_, GetArenaForAllocation());
804 _impl_._has_bits_[0] &= ~0x00000001u;
805}
806inline const std::string& Config_EndPoint::ip() const {
807 // @@protoc_insertion_point(field_get:jaiabot.udp.protobuf.Config.EndPoint.ip)
808 if (_impl_.ip_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_ip_.get();
809 return _internal_ip();
810}
811template <typename ArgT0, typename... ArgT>
812inline PROTOBUF_ALWAYS_INLINE
813void Config_EndPoint::set_ip(ArgT0&& arg0, ArgT... args) {
814 _impl_._has_bits_[0] |= 0x00000001u;
815 _impl_.ip_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
816 // @@protoc_insertion_point(field_set:jaiabot.udp.protobuf.Config.EndPoint.ip)
817}
818inline std::string* Config_EndPoint::mutable_ip() {
819 std::string* _s = _internal_mutable_ip();
820 // @@protoc_insertion_point(field_mutable:jaiabot.udp.protobuf.Config.EndPoint.ip)
821 return _s;
822}
823inline const std::string& Config_EndPoint::_internal_ip() const {
824 return _impl_.ip_.Get();
825}
826inline void Config_EndPoint::_internal_set_ip(const std::string& value) {
827 _impl_._has_bits_[0] |= 0x00000001u;
828 _impl_.ip_.Set(value, GetArenaForAllocation());
829}
830inline std::string* Config_EndPoint::_internal_mutable_ip() {
831 _impl_._has_bits_[0] |= 0x00000001u;
832 return _impl_.ip_.Mutable(::jaiabot::udp::protobuf::Config_EndPoint::Impl_::_i_give_permission_to_break_this_code_default_ip_, GetArenaForAllocation());
833}
834inline std::string* Config_EndPoint::release_ip() {
835 // @@protoc_insertion_point(field_release:jaiabot.udp.protobuf.Config.EndPoint.ip)
836 if (!_internal_has_ip()) {
837 return nullptr;
838 }
839 _impl_._has_bits_[0] &= ~0x00000001u;
840 auto* p = _impl_.ip_.Release();
841 return p;
842}
843inline void Config_EndPoint::set_allocated_ip(std::string* ip) {
844 if (ip != nullptr) {
845 _impl_._has_bits_[0] |= 0x00000001u;
846 } else {
847 _impl_._has_bits_[0] &= ~0x00000001u;
848 }
849 _impl_.ip_.SetAllocated(ip, GetArenaForAllocation());
850 // @@protoc_insertion_point(field_set_allocated:jaiabot.udp.protobuf.Config.EndPoint.ip)
851}
852
853// required uint32 port = 3;
854inline bool Config_EndPoint::_internal_has_port() const {
855 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
856 return value;
857}
858inline bool Config_EndPoint::has_port() const {
859 return _internal_has_port();
860}
861inline void Config_EndPoint::clear_port() {
862 _impl_.port_ = 0u;
863 _impl_._has_bits_[0] &= ~0x00000004u;
864}
865inline uint32_t Config_EndPoint::_internal_port() const {
866 return _impl_.port_;
867}
868inline uint32_t Config_EndPoint::port() const {
869 // @@protoc_insertion_point(field_get:jaiabot.udp.protobuf.Config.EndPoint.port)
870 return _internal_port();
871}
872inline void Config_EndPoint::_internal_set_port(uint32_t value) {
873 _impl_._has_bits_[0] |= 0x00000004u;
874 _impl_.port_ = value;
875}
876inline void Config_EndPoint::set_port(uint32_t value) {
877 _internal_set_port(value);
878 // @@protoc_insertion_point(field_set:jaiabot.udp.protobuf.Config.EndPoint.port)
879}
880
881// -------------------------------------------------------------------
882
883// Config_HubEndPoints
884
885// required int32 hub_id = 1;
886inline bool Config_HubEndPoints::_internal_has_hub_id() const {
887 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
888 return value;
889}
890inline bool Config_HubEndPoints::has_hub_id() const {
891 return _internal_has_hub_id();
892}
893inline void Config_HubEndPoints::clear_hub_id() {
894 _impl_.hub_id_ = 0;
895 _impl_._has_bits_[0] &= ~0x00000002u;
896}
897inline int32_t Config_HubEndPoints::_internal_hub_id() const {
898 return _impl_.hub_id_;
899}
900inline int32_t Config_HubEndPoints::hub_id() const {
901 // @@protoc_insertion_point(field_get:jaiabot.udp.protobuf.Config.HubEndPoints.hub_id)
902 return _internal_hub_id();
903}
904inline void Config_HubEndPoints::_internal_set_hub_id(int32_t value) {
905 _impl_._has_bits_[0] |= 0x00000002u;
906 _impl_.hub_id_ = value;
907}
908inline void Config_HubEndPoints::set_hub_id(int32_t value) {
909 _internal_set_hub_id(value);
910 // @@protoc_insertion_point(field_set:jaiabot.udp.protobuf.Config.HubEndPoints.hub_id)
911}
912
913// required .jaiabot.udp.protobuf.Config.EndPoint remote = 2;
914inline bool Config_HubEndPoints::_internal_has_remote() const {
915 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
916 PROTOBUF_ASSUME(!value || _impl_.remote_ != nullptr);
917 return value;
918}
919inline bool Config_HubEndPoints::has_remote() const {
920 return _internal_has_remote();
921}
922inline void Config_HubEndPoints::clear_remote() {
923 if (_impl_.remote_ != nullptr) _impl_.remote_->Clear();
924 _impl_._has_bits_[0] &= ~0x00000001u;
925}
926inline const ::jaiabot::udp::protobuf::Config_EndPoint& Config_HubEndPoints::_internal_remote() const {
927 const ::jaiabot::udp::protobuf::Config_EndPoint* p = _impl_.remote_;
928 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::udp::protobuf::Config_EndPoint&>(
930}
931inline const ::jaiabot::udp::protobuf::Config_EndPoint& Config_HubEndPoints::remote() const {
932 // @@protoc_insertion_point(field_get:jaiabot.udp.protobuf.Config.HubEndPoints.remote)
933 return _internal_remote();
934}
935inline void Config_HubEndPoints::unsafe_arena_set_allocated_remote(
937 if (GetArenaForAllocation() == nullptr) {
938 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.remote_);
939 }
940 _impl_.remote_ = remote;
941 if (remote) {
942 _impl_._has_bits_[0] |= 0x00000001u;
943 } else {
944 _impl_._has_bits_[0] &= ~0x00000001u;
945 }
946 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.udp.protobuf.Config.HubEndPoints.remote)
947}
948inline ::jaiabot::udp::protobuf::Config_EndPoint* Config_HubEndPoints::release_remote() {
949 _impl_._has_bits_[0] &= ~0x00000001u;
950 ::jaiabot::udp::protobuf::Config_EndPoint* temp = _impl_.remote_;
951 _impl_.remote_ = nullptr;
952#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
953 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
954 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
955 if (GetArenaForAllocation() == nullptr) { delete old; }
956#else // PROTOBUF_FORCE_COPY_IN_RELEASE
957 if (GetArenaForAllocation() != nullptr) {
958 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
959 }
960#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
961 return temp;
962}
963inline ::jaiabot::udp::protobuf::Config_EndPoint* Config_HubEndPoints::unsafe_arena_release_remote() {
964 // @@protoc_insertion_point(field_release:jaiabot.udp.protobuf.Config.HubEndPoints.remote)
965 _impl_._has_bits_[0] &= ~0x00000001u;
966 ::jaiabot::udp::protobuf::Config_EndPoint* temp = _impl_.remote_;
967 _impl_.remote_ = nullptr;
968 return temp;
969}
970inline ::jaiabot::udp::protobuf::Config_EndPoint* Config_HubEndPoints::_internal_mutable_remote() {
971 _impl_._has_bits_[0] |= 0x00000001u;
972 if (_impl_.remote_ == nullptr) {
973 auto* p = CreateMaybeMessage<::jaiabot::udp::protobuf::Config_EndPoint>(GetArenaForAllocation());
974 _impl_.remote_ = p;
975 }
976 return _impl_.remote_;
977}
978inline ::jaiabot::udp::protobuf::Config_EndPoint* Config_HubEndPoints::mutable_remote() {
979 ::jaiabot::udp::protobuf::Config_EndPoint* _msg = _internal_mutable_remote();
980 // @@protoc_insertion_point(field_mutable:jaiabot.udp.protobuf.Config.HubEndPoints.remote)
981 return _msg;
982}
983inline void Config_HubEndPoints::set_allocated_remote(::jaiabot::udp::protobuf::Config_EndPoint* remote) {
984 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
985 if (message_arena == nullptr) {
986 delete _impl_.remote_;
987 }
988 if (remote) {
989 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
990 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(remote);
991 if (message_arena != submessage_arena) {
992 remote = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
993 message_arena, remote, submessage_arena);
994 }
995 _impl_._has_bits_[0] |= 0x00000001u;
996 } else {
997 _impl_._has_bits_[0] &= ~0x00000001u;
998 }
999 _impl_.remote_ = remote;
1000 // @@protoc_insertion_point(field_set_allocated:jaiabot.udp.protobuf.Config.HubEndPoints.remote)
1001}
1002
1003// -------------------------------------------------------------------
1004
1005// Config
1006
1007// required .jaiabot.udp.protobuf.Config.EndPoint local = 1 [(.goby.field) = {
1008inline bool Config::_internal_has_local() const {
1009 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1010 PROTOBUF_ASSUME(!value || _impl_.local_ != nullptr);
1011 return value;
1012}
1013inline bool Config::has_local() const {
1014 return _internal_has_local();
1015}
1016inline void Config::clear_local() {
1017 if (_impl_.local_ != nullptr) _impl_.local_->Clear();
1018 _impl_._has_bits_[0] &= ~0x00000001u;
1019}
1020inline const ::jaiabot::udp::protobuf::Config_EndPoint& Config::_internal_local() const {
1021 const ::jaiabot::udp::protobuf::Config_EndPoint* p = _impl_.local_;
1022 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::udp::protobuf::Config_EndPoint&>(
1024}
1025inline const ::jaiabot::udp::protobuf::Config_EndPoint& Config::local() const {
1026 // @@protoc_insertion_point(field_get:jaiabot.udp.protobuf.Config.local)
1027 return _internal_local();
1028}
1029inline void Config::unsafe_arena_set_allocated_local(
1031 if (GetArenaForAllocation() == nullptr) {
1032 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.local_);
1033 }
1034 _impl_.local_ = local;
1035 if (local) {
1036 _impl_._has_bits_[0] |= 0x00000001u;
1037 } else {
1038 _impl_._has_bits_[0] &= ~0x00000001u;
1039 }
1040 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.udp.protobuf.Config.local)
1041}
1042inline ::jaiabot::udp::protobuf::Config_EndPoint* Config::release_local() {
1043 _impl_._has_bits_[0] &= ~0x00000001u;
1044 ::jaiabot::udp::protobuf::Config_EndPoint* temp = _impl_.local_;
1045 _impl_.local_ = nullptr;
1046#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1047 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1048 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1049 if (GetArenaForAllocation() == nullptr) { delete old; }
1050#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1051 if (GetArenaForAllocation() != nullptr) {
1052 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1053 }
1054#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1055 return temp;
1056}
1057inline ::jaiabot::udp::protobuf::Config_EndPoint* Config::unsafe_arena_release_local() {
1058 // @@protoc_insertion_point(field_release:jaiabot.udp.protobuf.Config.local)
1059 _impl_._has_bits_[0] &= ~0x00000001u;
1060 ::jaiabot::udp::protobuf::Config_EndPoint* temp = _impl_.local_;
1061 _impl_.local_ = nullptr;
1062 return temp;
1063}
1064inline ::jaiabot::udp::protobuf::Config_EndPoint* Config::_internal_mutable_local() {
1065 _impl_._has_bits_[0] |= 0x00000001u;
1066 if (_impl_.local_ == nullptr) {
1067 auto* p = CreateMaybeMessage<::jaiabot::udp::protobuf::Config_EndPoint>(GetArenaForAllocation());
1068 _impl_.local_ = p;
1069 }
1070 return _impl_.local_;
1071}
1072inline ::jaiabot::udp::protobuf::Config_EndPoint* Config::mutable_local() {
1073 ::jaiabot::udp::protobuf::Config_EndPoint* _msg = _internal_mutable_local();
1074 // @@protoc_insertion_point(field_mutable:jaiabot.udp.protobuf.Config.local)
1075 return _msg;
1076}
1077inline void Config::set_allocated_local(::jaiabot::udp::protobuf::Config_EndPoint* local) {
1078 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1079 if (message_arena == nullptr) {
1080 delete _impl_.local_;
1081 }
1082 if (local) {
1083 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1084 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(local);
1085 if (message_arena != submessage_arena) {
1086 local = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1087 message_arena, local, submessage_arena);
1088 }
1089 _impl_._has_bits_[0] |= 0x00000001u;
1090 } else {
1091 _impl_._has_bits_[0] &= ~0x00000001u;
1092 }
1093 _impl_.local_ = local;
1094 // @@protoc_insertion_point(field_set_allocated:jaiabot.udp.protobuf.Config.local)
1095}
1096
1097// repeated .jaiabot.udp.protobuf.Config.EndPoint remote = 2 [(.goby.field) = {
1098inline int Config::_internal_remote_size() const {
1099 return _impl_.remote_.size();
1100}
1101inline int Config::remote_size() const {
1102 return _internal_remote_size();
1103}
1104inline void Config::clear_remote() {
1105 _impl_.remote_.Clear();
1106}
1107inline ::jaiabot::udp::protobuf::Config_EndPoint* Config::mutable_remote(int index) {
1108 // @@protoc_insertion_point(field_mutable:jaiabot.udp.protobuf.Config.remote)
1109 return _impl_.remote_.Mutable(index);
1110}
1111inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_EndPoint >*
1112Config::mutable_remote() {
1113 // @@protoc_insertion_point(field_mutable_list:jaiabot.udp.protobuf.Config.remote)
1114 return &_impl_.remote_;
1115}
1116inline const ::jaiabot::udp::protobuf::Config_EndPoint& Config::_internal_remote(int index) const {
1117 return _impl_.remote_.Get(index);
1118}
1119inline const ::jaiabot::udp::protobuf::Config_EndPoint& Config::remote(int index) const {
1120 // @@protoc_insertion_point(field_get:jaiabot.udp.protobuf.Config.remote)
1121 return _internal_remote(index);
1122}
1123inline ::jaiabot::udp::protobuf::Config_EndPoint* Config::_internal_add_remote() {
1124 return _impl_.remote_.Add();
1125}
1126inline ::jaiabot::udp::protobuf::Config_EndPoint* Config::add_remote() {
1127 ::jaiabot::udp::protobuf::Config_EndPoint* _add = _internal_add_remote();
1128 // @@protoc_insertion_point(field_add:jaiabot.udp.protobuf.Config.remote)
1129 return _add;
1130}
1131inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_EndPoint >&
1132Config::remote() const {
1133 // @@protoc_insertion_point(field_list:jaiabot.udp.protobuf.Config.remote)
1134 return _impl_.remote_;
1135}
1136
1137// optional int32 max_frame_size = 3 [default = 1400];
1138inline bool Config::_internal_has_max_frame_size() const {
1139 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1140 return value;
1141}
1142inline bool Config::has_max_frame_size() const {
1143 return _internal_has_max_frame_size();
1144}
1145inline void Config::clear_max_frame_size() {
1146 _impl_.max_frame_size_ = 1400;
1147 _impl_._has_bits_[0] &= ~0x00000010u;
1148}
1149inline int32_t Config::_internal_max_frame_size() const {
1150 return _impl_.max_frame_size_;
1151}
1152inline int32_t Config::max_frame_size() const {
1153 // @@protoc_insertion_point(field_get:jaiabot.udp.protobuf.Config.max_frame_size)
1154 return _internal_max_frame_size();
1155}
1156inline void Config::_internal_set_max_frame_size(int32_t value) {
1157 _impl_._has_bits_[0] |= 0x00000010u;
1158 _impl_.max_frame_size_ = value;
1159}
1160inline void Config::set_max_frame_size(int32_t value) {
1161 _internal_set_max_frame_size(value);
1162 // @@protoc_insertion_point(field_set:jaiabot.udp.protobuf.Config.max_frame_size)
1163}
1164
1165// optional bool ipv6 = 4 [default = false];
1166inline bool Config::_internal_has_ipv6() const {
1167 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1168 return value;
1169}
1170inline bool Config::has_ipv6() const {
1171 return _internal_has_ipv6();
1172}
1173inline void Config::clear_ipv6() {
1174 _impl_.ipv6_ = false;
1175 _impl_._has_bits_[0] &= ~0x00000002u;
1176}
1177inline bool Config::_internal_ipv6() const {
1178 return _impl_.ipv6_;
1179}
1180inline bool Config::ipv6() const {
1181 // @@protoc_insertion_point(field_get:jaiabot.udp.protobuf.Config.ipv6)
1182 return _internal_ipv6();
1183}
1184inline void Config::_internal_set_ipv6(bool value) {
1185 _impl_._has_bits_[0] |= 0x00000002u;
1186 _impl_.ipv6_ = value;
1187}
1188inline void Config::set_ipv6(bool value) {
1189 _internal_set_ipv6(value);
1190 // @@protoc_insertion_point(field_set:jaiabot.udp.protobuf.Config.ipv6)
1191}
1192
1193// repeated uint32 additional_application_ack_modem_id = 21;
1194inline int Config::_internal_additional_application_ack_modem_id_size() const {
1195 return _impl_.additional_application_ack_modem_id_.size();
1196}
1197inline int Config::additional_application_ack_modem_id_size() const {
1198 return _internal_additional_application_ack_modem_id_size();
1199}
1200inline void Config::clear_additional_application_ack_modem_id() {
1201 _impl_.additional_application_ack_modem_id_.Clear();
1202}
1203inline uint32_t Config::_internal_additional_application_ack_modem_id(int index) const {
1204 return _impl_.additional_application_ack_modem_id_.Get(index);
1205}
1206inline uint32_t Config::additional_application_ack_modem_id(int index) const {
1207 // @@protoc_insertion_point(field_get:jaiabot.udp.protobuf.Config.additional_application_ack_modem_id)
1208 return _internal_additional_application_ack_modem_id(index);
1209}
1210inline void Config::set_additional_application_ack_modem_id(int index, uint32_t value) {
1211 _impl_.additional_application_ack_modem_id_.Set(index, value);
1212 // @@protoc_insertion_point(field_set:jaiabot.udp.protobuf.Config.additional_application_ack_modem_id)
1213}
1214inline void Config::_internal_add_additional_application_ack_modem_id(uint32_t value) {
1215 _impl_.additional_application_ack_modem_id_.Add(value);
1216}
1217inline void Config::add_additional_application_ack_modem_id(uint32_t value) {
1218 _internal_add_additional_application_ack_modem_id(value);
1219 // @@protoc_insertion_point(field_add:jaiabot.udp.protobuf.Config.additional_application_ack_modem_id)
1220}
1221inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
1222Config::_internal_additional_application_ack_modem_id() const {
1223 return _impl_.additional_application_ack_modem_id_;
1224}
1225inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
1226Config::additional_application_ack_modem_id() const {
1227 // @@protoc_insertion_point(field_list:jaiabot.udp.protobuf.Config.additional_application_ack_modem_id)
1228 return _internal_additional_application_ack_modem_id();
1229}
1230inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
1231Config::_internal_mutable_additional_application_ack_modem_id() {
1232 return &_impl_.additional_application_ack_modem_id_;
1233}
1234inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
1235Config::mutable_additional_application_ack_modem_id() {
1236 // @@protoc_insertion_point(field_mutable_list:jaiabot.udp.protobuf.Config.additional_application_ack_modem_id)
1237 return _internal_mutable_additional_application_ack_modem_id();
1238}
1239
1240// optional int32 hub_id = 30 [(.goby.field) = {
1241inline bool Config::_internal_has_hub_id() const {
1242 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1243 return value;
1244}
1245inline bool Config::has_hub_id() const {
1246 return _internal_has_hub_id();
1247}
1248inline void Config::clear_hub_id() {
1249 _impl_.hub_id_ = 0;
1250 _impl_._has_bits_[0] &= ~0x00000004u;
1251}
1252inline int32_t Config::_internal_hub_id() const {
1253 return _impl_.hub_id_;
1254}
1255inline int32_t Config::hub_id() const {
1256 // @@protoc_insertion_point(field_get:jaiabot.udp.protobuf.Config.hub_id)
1257 return _internal_hub_id();
1258}
1259inline void Config::_internal_set_hub_id(int32_t value) {
1260 _impl_._has_bits_[0] |= 0x00000004u;
1261 _impl_.hub_id_ = value;
1262}
1263inline void Config::set_hub_id(int32_t value) {
1264 _internal_set_hub_id(value);
1265 // @@protoc_insertion_point(field_set:jaiabot.udp.protobuf.Config.hub_id)
1266}
1267
1268// required uint32 subnet_mask = 31;
1269inline bool Config::_internal_has_subnet_mask() const {
1270 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1271 return value;
1272}
1273inline bool Config::has_subnet_mask() const {
1274 return _internal_has_subnet_mask();
1275}
1276inline void Config::clear_subnet_mask() {
1277 _impl_.subnet_mask_ = 0u;
1278 _impl_._has_bits_[0] &= ~0x00000008u;
1279}
1280inline uint32_t Config::_internal_subnet_mask() const {
1281 return _impl_.subnet_mask_;
1282}
1283inline uint32_t Config::subnet_mask() const {
1284 // @@protoc_insertion_point(field_get:jaiabot.udp.protobuf.Config.subnet_mask)
1285 return _internal_subnet_mask();
1286}
1287inline void Config::_internal_set_subnet_mask(uint32_t value) {
1288 _impl_._has_bits_[0] |= 0x00000008u;
1289 _impl_.subnet_mask_ = value;
1290}
1291inline void Config::set_subnet_mask(uint32_t value) {
1292 _internal_set_subnet_mask(value);
1293 // @@protoc_insertion_point(field_set:jaiabot.udp.protobuf.Config.subnet_mask)
1294}
1295
1296// repeated .jaiabot.udp.protobuf.Config.HubEndPoints hub_endpoint = 32;
1297inline int Config::_internal_hub_endpoint_size() const {
1298 return _impl_.hub_endpoint_.size();
1299}
1300inline int Config::hub_endpoint_size() const {
1301 return _internal_hub_endpoint_size();
1302}
1303inline void Config::clear_hub_endpoint() {
1304 _impl_.hub_endpoint_.Clear();
1305}
1306inline ::jaiabot::udp::protobuf::Config_HubEndPoints* Config::mutable_hub_endpoint(int index) {
1307 // @@protoc_insertion_point(field_mutable:jaiabot.udp.protobuf.Config.hub_endpoint)
1308 return _impl_.hub_endpoint_.Mutable(index);
1309}
1310inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_HubEndPoints >*
1311Config::mutable_hub_endpoint() {
1312 // @@protoc_insertion_point(field_mutable_list:jaiabot.udp.protobuf.Config.hub_endpoint)
1313 return &_impl_.hub_endpoint_;
1314}
1315inline const ::jaiabot::udp::protobuf::Config_HubEndPoints& Config::_internal_hub_endpoint(int index) const {
1316 return _impl_.hub_endpoint_.Get(index);
1317}
1318inline const ::jaiabot::udp::protobuf::Config_HubEndPoints& Config::hub_endpoint(int index) const {
1319 // @@protoc_insertion_point(field_get:jaiabot.udp.protobuf.Config.hub_endpoint)
1320 return _internal_hub_endpoint(index);
1321}
1322inline ::jaiabot::udp::protobuf::Config_HubEndPoints* Config::_internal_add_hub_endpoint() {
1323 return _impl_.hub_endpoint_.Add();
1324}
1325inline ::jaiabot::udp::protobuf::Config_HubEndPoints* Config::add_hub_endpoint() {
1326 ::jaiabot::udp::protobuf::Config_HubEndPoints* _add = _internal_add_hub_endpoint();
1327 // @@protoc_insertion_point(field_add:jaiabot.udp.protobuf.Config.hub_endpoint)
1328 return _add;
1329}
1330inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::udp::protobuf::Config_HubEndPoints >&
1331Config::hub_endpoint() const {
1332 // @@protoc_insertion_point(field_list:jaiabot.udp.protobuf.Config.hub_endpoint)
1333 return _impl_.hub_endpoint_;
1334}
1335
1336#ifdef __GNUC__
1337 #pragma GCC diagnostic pop
1338#endif // __GNUC__
1339// -------------------------------------------------------------------
1340
1341// -------------------------------------------------------------------
1342
1343
1344// @@protoc_insertion_point(namespace_scope)
1345
1346} // namespace protobuf
1347} // namespace udp
1348} // namespace jaiabot
1349
1350// @@protoc_insertion_point(global_scope)
1351
1352#include <google/protobuf/port_undef.inc>
1353#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fudp_5fdriver_2eproto
Config_EndPoint(Config_EndPoint &&from) noexcept
void MergeFrom(const Config_EndPoint &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_NODISCARD std::string * release_ip()
Config_EndPoint & operator=(Config_EndPoint &&from) noexcept
friend void swap(Config_EndPoint &a, Config_EndPoint &b)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_ip(ArgT0 &&arg0, ArgT... args)
Config_EndPoint(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const Config_EndPoint * internal_default_instance()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void CopyFrom(const Config_EndPoint &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR Config_EndPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Config_EndPoint * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void Swap(Config_EndPoint *other)
Config_EndPoint(const Config_EndPoint &from)
Config_EndPoint & operator=(const Config_EndPoint &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const Config_EndPoint & default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void UnsafeArenaSwap(Config_EndPoint *other)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void MergeFrom(const Config_HubEndPoints &from)
Config_HubEndPoints(Config_HubEndPoints &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const Config_HubEndPoints * internal_default_instance()
static const Config_HubEndPoints & default_instance()
void CopyFrom(const Config_HubEndPoints &from)
friend void swap(Config_HubEndPoints &a, Config_HubEndPoints &b)
PROTOBUF_CONSTEXPR Config_HubEndPoints(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Config_HubEndPoints & operator=(const Config_HubEndPoints &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Config_HubEndPoints & operator=(Config_HubEndPoints &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void UnsafeArenaSwap(Config_HubEndPoints *other)
Config_HubEndPoints(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Config_HubEndPoints(const Config_HubEndPoints &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Config_HubEndPoints * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void Swap(Config_HubEndPoints *other)
static const ClassData _class_data_
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Config & operator=(Config &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
friend void swap(Config &a, Config &b)
Config(Config &&from) noexcept
void CopyFrom(const Config &from)
static const Config & default_instance()
void UnsafeArenaSwap(Config *other)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void MergeFrom(const Config &from)
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Config(const Config &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const Config * internal_default_instance()
Config & operator=(const Config &from)
static const int kConfigFieldNumber
Config_HubEndPointsDefaultTypeInternal _Config_HubEndPoints_default_instance_
ConfigDefaultTypeInternal _Config_default_instance_
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaiabot::udp::protobuf::Config >, 11, false > config
Config_EndPointDefaultTypeInternal _Config_EndPoint_default_instance_
::jaiabot::udp::protobuf::Config_EndPoint * Arena::CreateMaybeMessage<::jaiabot::udp::protobuf::Config_EndPoint >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fudp_5fdriver_2eproto