JaiaBot 2.0.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
bounds.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/bounds.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fbounds_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fbounds_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>
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
38// @@protoc_insertion_point(includes)
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fbounds_2eproto
41PROTOBUF_NAMESPACE_OPEN
42namespace internal {
43class AnyMetadata;
44} // namespace internal
45PROTOBUF_NAMESPACE_CLOSE
46
47// Internal implementation detail -- do not use these members.
49 static const uint32_t offsets[];
50};
51extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fbounds_2eproto;
52namespace jaiabot {
53namespace protobuf {
54class Bounds;
55struct BoundsDefaultTypeInternal;
56extern BoundsDefaultTypeInternal _Bounds_default_instance_;
57class MotorBounds;
58struct MotorBoundsDefaultTypeInternal;
59extern MotorBoundsDefaultTypeInternal _MotorBounds_default_instance_;
60class SurfaceBounds;
61struct SurfaceBoundsDefaultTypeInternal;
62extern SurfaceBoundsDefaultTypeInternal _SurfaceBounds_default_instance_;
63} // namespace protobuf
64} // namespace jaiabot
65PROTOBUF_NAMESPACE_OPEN
66template<> ::jaiabot::protobuf::Bounds* Arena::CreateMaybeMessage<::jaiabot::protobuf::Bounds>(Arena*);
67template<> ::jaiabot::protobuf::MotorBounds* Arena::CreateMaybeMessage<::jaiabot::protobuf::MotorBounds>(Arena*);
68template<> ::jaiabot::protobuf::SurfaceBounds* Arena::CreateMaybeMessage<::jaiabot::protobuf::SurfaceBounds>(Arena*);
69PROTOBUF_NAMESPACE_CLOSE
70namespace jaiabot {
71namespace protobuf {
72
73// ===================================================================
74
75class SurfaceBounds final :
76 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.SurfaceBounds) */ {
77 public:
78 inline SurfaceBounds() : SurfaceBounds(nullptr) {}
79 ~SurfaceBounds() override;
80 explicit PROTOBUF_CONSTEXPR SurfaceBounds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
81
84 : SurfaceBounds() {
85 *this = ::std::move(from);
86 }
87
88 inline SurfaceBounds& operator=(const SurfaceBounds& from) {
89 CopyFrom(from);
90 return *this;
91 }
92 inline SurfaceBounds& operator=(SurfaceBounds&& from) noexcept {
93 if (this == &from) return *this;
94 if (GetOwningArena() == from.GetOwningArena()
95 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
96 && GetOwningArena() != nullptr
97 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
98 ) {
99 InternalSwap(&from);
100 } else {
101 CopyFrom(from);
102 }
103 return *this;
104 }
105
106 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
107 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
108 }
109 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
110 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
111 }
112
113 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
114 return GetDescriptor();
115 }
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
117 return default_instance().GetMetadata().descriptor;
118 }
119 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
120 return default_instance().GetMetadata().reflection;
121 }
124 }
126 return reinterpret_cast<const SurfaceBounds*>(
128 }
129 static constexpr int kIndexInFileMessages =
130 0;
131
132 friend void swap(SurfaceBounds& a, SurfaceBounds& b) {
133 a.Swap(&b);
134 }
135 inline void Swap(SurfaceBounds* other) {
136 if (other == this) return;
137 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
138 if (GetOwningArena() != nullptr &&
139 GetOwningArena() == other->GetOwningArena()) {
140 #else // PROTOBUF_FORCE_COPY_IN_SWAP
141 if (GetOwningArena() == other->GetOwningArena()) {
142 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
143 InternalSwap(other);
144 } else {
145 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
146 }
147 }
149 if (other == this) return;
150 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
151 InternalSwap(other);
152 }
153
154 // implements Message ----------------------------------------------
155
156 SurfaceBounds* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
157 return CreateMaybeMessage<SurfaceBounds>(arena);
158 }
159 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
160 void CopyFrom(const SurfaceBounds& from);
161 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
162 void MergeFrom( const SurfaceBounds& from) {
163 SurfaceBounds::MergeImpl(*this, from);
164 }
165 private:
166 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
167 public:
168 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
169 bool IsInitialized() const final;
170
171 size_t ByteSizeLong() const final;
172 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
174 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
175 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
176
177 private:
178 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
179 void SharedDtor();
180 void SetCachedSize(int size) const final;
181 void InternalSwap(SurfaceBounds* other);
182
183 private:
184 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
185 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
186 return "jaiabot.protobuf.SurfaceBounds";
187 }
188 protected:
189 explicit SurfaceBounds(::PROTOBUF_NAMESPACE_ID::Arena* arena,
190 bool is_message_owned = false);
191 public:
192
193 static const ClassData _class_data_;
194 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
195
196 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
197
198 // nested types ----------------------------------------------------
199
200 // accessors -------------------------------------------------------
201
202 enum : int {
206 };
207 // optional int32 center = 3 [default = 1500, (.dccl.field) = {
208 bool has_center() const;
209 private:
210 bool _internal_has_center() const;
211 public:
212 void clear_center();
213 int32_t center() const;
214 void set_center(int32_t value);
215 private:
216 int32_t _internal_center() const;
217 void _internal_set_center(int32_t value);
218 public:
219
220 // optional int32 upper = 1 [default = 1100, (.dccl.field) = {
221 bool has_upper() const;
222 private:
223 bool _internal_has_upper() const;
224 public:
225 void clear_upper();
226 int32_t upper() const;
227 void set_upper(int32_t value);
228 private:
229 int32_t _internal_upper() const;
230 void _internal_set_upper(int32_t value);
231 public:
232
233 // optional int32 lower = 2 [default = 1900, (.dccl.field) = {
234 bool has_lower() const;
235 private:
236 bool _internal_has_lower() const;
237 public:
238 void clear_lower();
239 int32_t lower() const;
240 void set_lower(int32_t value);
241 private:
242 int32_t _internal_lower() const;
243 void _internal_set_lower(int32_t value);
244 public:
245
246 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.SurfaceBounds)
247 private:
248 class _Internal;
249
250 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
251 typedef void InternalArenaConstructable_;
252 typedef void DestructorSkippable_;
253 struct Impl_ {
254 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
255 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
256 int32_t center_;
257 int32_t upper_;
258 int32_t lower_;
259 };
260 union { Impl_ _impl_; };
261 friend struct ::TableStruct_jaiabot_2fmessages_2fbounds_2eproto;
262};
263// -------------------------------------------------------------------
264
265class MotorBounds final :
266 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.MotorBounds) */ {
267 public:
268 inline MotorBounds() : MotorBounds(nullptr) {}
269 ~MotorBounds() override;
270 explicit PROTOBUF_CONSTEXPR MotorBounds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
271
273 MotorBounds(MotorBounds&& from) noexcept
274 : MotorBounds() {
275 *this = ::std::move(from);
276 }
277
278 inline MotorBounds& operator=(const MotorBounds& from) {
279 CopyFrom(from);
280 return *this;
281 }
282 inline MotorBounds& operator=(MotorBounds&& from) noexcept {
283 if (this == &from) return *this;
284 if (GetOwningArena() == from.GetOwningArena()
285 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
286 && GetOwningArena() != nullptr
287 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
288 ) {
289 InternalSwap(&from);
290 } else {
291 CopyFrom(from);
292 }
293 return *this;
294 }
295
296 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
297 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
298 }
299 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
300 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
301 }
302
303 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
304 return GetDescriptor();
305 }
306 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
307 return default_instance().GetMetadata().descriptor;
308 }
309 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
310 return default_instance().GetMetadata().reflection;
311 }
313 return *internal_default_instance();
314 }
315 static inline const MotorBounds* internal_default_instance() {
316 return reinterpret_cast<const MotorBounds*>(
318 }
319 static constexpr int kIndexInFileMessages =
320 1;
321
322 friend void swap(MotorBounds& a, MotorBounds& b) {
323 a.Swap(&b);
324 }
325 inline void Swap(MotorBounds* other) {
326 if (other == this) return;
327 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
328 if (GetOwningArena() != nullptr &&
329 GetOwningArena() == other->GetOwningArena()) {
330 #else // PROTOBUF_FORCE_COPY_IN_SWAP
331 if (GetOwningArena() == other->GetOwningArena()) {
332 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
333 InternalSwap(other);
334 } else {
335 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
336 }
337 }
339 if (other == this) return;
340 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
341 InternalSwap(other);
342 }
343
344 // implements Message ----------------------------------------------
345
346 MotorBounds* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
347 return CreateMaybeMessage<MotorBounds>(arena);
348 }
349 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
350 void CopyFrom(const MotorBounds& from);
351 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
352 void MergeFrom( const MotorBounds& from) {
353 MotorBounds::MergeImpl(*this, from);
354 }
355 private:
356 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
357 public:
358 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
359 bool IsInitialized() const final;
360
361 size_t ByteSizeLong() const final;
362 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
363 uint8_t* _InternalSerialize(
364 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
365 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
366
367 private:
368 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
369 void SharedDtor();
370 void SetCachedSize(int size) const final;
371 void InternalSwap(MotorBounds* other);
372
373 private:
374 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
375 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
376 return "jaiabot.protobuf.MotorBounds";
377 }
378 protected:
379 explicit MotorBounds(::PROTOBUF_NAMESPACE_ID::Arena* arena,
380 bool is_message_owned = false);
381 public:
382
383 static const ClassData _class_data_;
384 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
385
386 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
387
388 // nested types ----------------------------------------------------
389
390 // accessors -------------------------------------------------------
391
392 enum : int {
393 kForwardStartFieldNumber = 1,
394 kReverseStartFieldNumber = 2,
395 kMaxReverseFieldNumber = 3,
396 kThrottleZeroNetBuoyancyFieldNumber = 4,
397 kThrottleDiveFieldNumber = 5,
398 kThrottleAscentFieldNumber = 6,
399 };
400 // optional int32 forwardStart = 1 [default = 1600, (.dccl.field) = {
401 bool has_forwardstart() const;
402 private:
403 bool _internal_has_forwardstart() const;
404 public:
405 void clear_forwardstart();
406 int32_t forwardstart() const;
407 void set_forwardstart(int32_t value);
408 private:
409 int32_t _internal_forwardstart() const;
410 void _internal_set_forwardstart(int32_t value);
411 public:
412
413 // optional int32 reverseStart = 2 [default = 1400, (.dccl.field) = {
414 bool has_reversestart() const;
415 private:
416 bool _internal_has_reversestart() const;
417 public:
418 void clear_reversestart();
419 int32_t reversestart() const;
420 void set_reversestart(int32_t value);
421 private:
422 int32_t _internal_reversestart() const;
423 void _internal_set_reversestart(int32_t value);
424 public:
425
426 // optional int32 max_reverse = 3 [default = 1320, (.dccl.field) = {
427 bool has_max_reverse() const;
428 private:
429 bool _internal_has_max_reverse() const;
430 public:
431 void clear_max_reverse();
432 int32_t max_reverse() const;
433 void set_max_reverse(int32_t value);
434 private:
435 int32_t _internal_max_reverse() const;
436 void _internal_set_max_reverse(int32_t value);
437 public:
438
439 // optional int32 throttle_zero_net_buoyancy = 4 [default = -35, (.dccl.field) = {
440 bool has_throttle_zero_net_buoyancy() const;
441 private:
442 bool _internal_has_throttle_zero_net_buoyancy() const;
443 public:
444 void clear_throttle_zero_net_buoyancy();
445 int32_t throttle_zero_net_buoyancy() const;
446 void set_throttle_zero_net_buoyancy(int32_t value);
447 private:
448 int32_t _internal_throttle_zero_net_buoyancy() const;
449 void _internal_set_throttle_zero_net_buoyancy(int32_t value);
450 public:
451
452 // optional int32 throttle_dive = 5 [default = -35, (.dccl.field) = {
453 bool has_throttle_dive() const;
454 private:
455 bool _internal_has_throttle_dive() const;
456 public:
457 void clear_throttle_dive();
458 int32_t throttle_dive() const;
459 void set_throttle_dive(int32_t value);
460 private:
461 int32_t _internal_throttle_dive() const;
462 void _internal_set_throttle_dive(int32_t value);
463 public:
464
465 // optional int32 throttle_ascent = 6 [default = 25, (.dccl.field) = {
466 bool has_throttle_ascent() const;
467 private:
468 bool _internal_has_throttle_ascent() const;
469 public:
470 void clear_throttle_ascent();
471 int32_t throttle_ascent() const;
472 void set_throttle_ascent(int32_t value);
473 private:
474 int32_t _internal_throttle_ascent() const;
475 void _internal_set_throttle_ascent(int32_t value);
476 public:
477
478 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.MotorBounds)
479 private:
480 class _Internal;
481
482 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
483 typedef void InternalArenaConstructable_;
484 typedef void DestructorSkippable_;
485 struct Impl_ {
486 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
487 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
488 int32_t forwardstart_;
489 int32_t reversestart_;
490 int32_t max_reverse_;
491 int32_t throttle_zero_net_buoyancy_;
492 int32_t throttle_dive_;
493 int32_t throttle_ascent_;
494 };
495 union { Impl_ _impl_; };
496 friend struct ::TableStruct_jaiabot_2fmessages_2fbounds_2eproto;
497};
498// -------------------------------------------------------------------
499
500class Bounds final :
501 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.Bounds) */ {
502 public:
503 inline Bounds() : Bounds(nullptr) {}
504 ~Bounds() override;
505 explicit PROTOBUF_CONSTEXPR Bounds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
506
507 Bounds(const Bounds& from);
508 Bounds(Bounds&& from) noexcept
509 : Bounds() {
510 *this = ::std::move(from);
511 }
512
513 inline Bounds& operator=(const Bounds& from) {
514 CopyFrom(from);
515 return *this;
516 }
517 inline Bounds& operator=(Bounds&& from) noexcept {
518 if (this == &from) return *this;
519 if (GetOwningArena() == from.GetOwningArena()
520 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
521 && GetOwningArena() != nullptr
522 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
523 ) {
524 InternalSwap(&from);
525 } else {
526 CopyFrom(from);
527 }
528 return *this;
529 }
530
531 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
532 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
533 }
534 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
535 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
536 }
537
538 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
539 return GetDescriptor();
540 }
541 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
542 return default_instance().GetMetadata().descriptor;
543 }
544 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
545 return default_instance().GetMetadata().reflection;
546 }
547 static const Bounds& default_instance() {
548 return *internal_default_instance();
549 }
550 static inline const Bounds* internal_default_instance() {
551 return reinterpret_cast<const Bounds*>(
553 }
554 static constexpr int kIndexInFileMessages =
555 2;
556
557 friend void swap(Bounds& a, Bounds& b) {
558 a.Swap(&b);
559 }
560 inline void Swap(Bounds* other) {
561 if (other == this) return;
562 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
563 if (GetOwningArena() != nullptr &&
564 GetOwningArena() == other->GetOwningArena()) {
565 #else // PROTOBUF_FORCE_COPY_IN_SWAP
566 if (GetOwningArena() == other->GetOwningArena()) {
567 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
568 InternalSwap(other);
569 } else {
570 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
571 }
572 }
573 void UnsafeArenaSwap(Bounds* other) {
574 if (other == this) return;
575 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
576 InternalSwap(other);
577 }
578
579 // implements Message ----------------------------------------------
580
581 Bounds* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
582 return CreateMaybeMessage<Bounds>(arena);
583 }
584 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
585 void CopyFrom(const Bounds& from);
586 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
587 void MergeFrom( const Bounds& from) {
588 Bounds::MergeImpl(*this, from);
589 }
590 private:
591 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
592 public:
593 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
594 bool IsInitialized() const final;
595
596 size_t ByteSizeLong() const final;
597 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
598 uint8_t* _InternalSerialize(
599 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
600 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
601
602 private:
603 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
604 void SharedDtor();
605 void SetCachedSize(int size) const final;
606 void InternalSwap(Bounds* other);
607
608 private:
609 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
610 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
611 return "jaiabot.protobuf.Bounds";
612 }
613 protected:
614 explicit Bounds(::PROTOBUF_NAMESPACE_ID::Arena* arena,
615 bool is_message_owned = false);
616 public:
617
618 static const ClassData _class_data_;
619 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
620
621 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
622
623 // nested types ----------------------------------------------------
624
625 // accessors -------------------------------------------------------
626
627 enum : int {
628 kStrbFieldNumber = 1,
629 kPortFieldNumber = 2,
630 kRudderFieldNumber = 3,
631 kMotorFieldNumber = 4,
632 };
633 // optional .jaiabot.protobuf.SurfaceBounds strb = 1;
634 bool has_strb() const;
635 private:
636 bool _internal_has_strb() const;
637 public:
638 void clear_strb();
639 const ::jaiabot::protobuf::SurfaceBounds& strb() const;
640 PROTOBUF_NODISCARD ::jaiabot::protobuf::SurfaceBounds* release_strb();
642 void set_allocated_strb(::jaiabot::protobuf::SurfaceBounds* strb);
643 private:
644 const ::jaiabot::protobuf::SurfaceBounds& _internal_strb() const;
645 ::jaiabot::protobuf::SurfaceBounds* _internal_mutable_strb();
646 public:
647 void unsafe_arena_set_allocated_strb(
649 ::jaiabot::protobuf::SurfaceBounds* unsafe_arena_release_strb();
650
651 // optional .jaiabot.protobuf.SurfaceBounds port = 2;
652 bool has_port() const;
653 private:
654 bool _internal_has_port() const;
655 public:
656 void clear_port();
657 const ::jaiabot::protobuf::SurfaceBounds& port() const;
658 PROTOBUF_NODISCARD ::jaiabot::protobuf::SurfaceBounds* release_port();
660 void set_allocated_port(::jaiabot::protobuf::SurfaceBounds* port);
661 private:
662 const ::jaiabot::protobuf::SurfaceBounds& _internal_port() const;
663 ::jaiabot::protobuf::SurfaceBounds* _internal_mutable_port();
664 public:
665 void unsafe_arena_set_allocated_port(
667 ::jaiabot::protobuf::SurfaceBounds* unsafe_arena_release_port();
668
669 // optional .jaiabot.protobuf.SurfaceBounds rudder = 3;
670 bool has_rudder() const;
671 private:
672 bool _internal_has_rudder() const;
673 public:
674 void clear_rudder();
675 const ::jaiabot::protobuf::SurfaceBounds& rudder() const;
676 PROTOBUF_NODISCARD ::jaiabot::protobuf::SurfaceBounds* release_rudder();
677 ::jaiabot::protobuf::SurfaceBounds* mutable_rudder();
678 void set_allocated_rudder(::jaiabot::protobuf::SurfaceBounds* rudder);
679 private:
680 const ::jaiabot::protobuf::SurfaceBounds& _internal_rudder() const;
681 ::jaiabot::protobuf::SurfaceBounds* _internal_mutable_rudder();
682 public:
683 void unsafe_arena_set_allocated_rudder(
685 ::jaiabot::protobuf::SurfaceBounds* unsafe_arena_release_rudder();
686
687 // optional .jaiabot.protobuf.MotorBounds motor = 4;
688 bool has_motor() const;
689 private:
690 bool _internal_has_motor() const;
691 public:
692 void clear_motor();
693 const ::jaiabot::protobuf::MotorBounds& motor() const;
694 PROTOBUF_NODISCARD ::jaiabot::protobuf::MotorBounds* release_motor();
695 ::jaiabot::protobuf::MotorBounds* mutable_motor();
696 void set_allocated_motor(::jaiabot::protobuf::MotorBounds* motor);
697 private:
698 const ::jaiabot::protobuf::MotorBounds& _internal_motor() const;
699 ::jaiabot::protobuf::MotorBounds* _internal_mutable_motor();
700 public:
701 void unsafe_arena_set_allocated_motor(
703 ::jaiabot::protobuf::MotorBounds* unsafe_arena_release_motor();
704
705 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.Bounds)
706 private:
707 class _Internal;
708
709 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
710 typedef void InternalArenaConstructable_;
711 typedef void DestructorSkippable_;
712 struct Impl_ {
713 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
714 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
719 };
720 union { Impl_ _impl_; };
721 friend struct ::TableStruct_jaiabot_2fmessages_2fbounds_2eproto;
722};
723// ===================================================================
724
725
726// ===================================================================
727
728#ifdef __GNUC__
729 #pragma GCC diagnostic push
730 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
731#endif // __GNUC__
732// SurfaceBounds
733
734// optional int32 upper = 1 [default = 1100, (.dccl.field) = {
735inline bool SurfaceBounds::_internal_has_upper() const {
736 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
737 return value;
738}
739inline bool SurfaceBounds::has_upper() const {
740 return _internal_has_upper();
741}
742inline void SurfaceBounds::clear_upper() {
743 _impl_.upper_ = 1100;
744 _impl_._has_bits_[0] &= ~0x00000002u;
745}
746inline int32_t SurfaceBounds::_internal_upper() const {
747 return _impl_.upper_;
748}
749inline int32_t SurfaceBounds::upper() const {
750 // @@protoc_insertion_point(field_get:jaiabot.protobuf.SurfaceBounds.upper)
751 return _internal_upper();
752}
753inline void SurfaceBounds::_internal_set_upper(int32_t value) {
754 _impl_._has_bits_[0] |= 0x00000002u;
755 _impl_.upper_ = value;
756}
757inline void SurfaceBounds::set_upper(int32_t value) {
758 _internal_set_upper(value);
759 // @@protoc_insertion_point(field_set:jaiabot.protobuf.SurfaceBounds.upper)
760}
761
762// optional int32 lower = 2 [default = 1900, (.dccl.field) = {
763inline bool SurfaceBounds::_internal_has_lower() const {
764 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
765 return value;
766}
767inline bool SurfaceBounds::has_lower() const {
768 return _internal_has_lower();
769}
770inline void SurfaceBounds::clear_lower() {
771 _impl_.lower_ = 1900;
772 _impl_._has_bits_[0] &= ~0x00000004u;
773}
774inline int32_t SurfaceBounds::_internal_lower() const {
775 return _impl_.lower_;
776}
777inline int32_t SurfaceBounds::lower() const {
778 // @@protoc_insertion_point(field_get:jaiabot.protobuf.SurfaceBounds.lower)
779 return _internal_lower();
780}
781inline void SurfaceBounds::_internal_set_lower(int32_t value) {
782 _impl_._has_bits_[0] |= 0x00000004u;
783 _impl_.lower_ = value;
784}
785inline void SurfaceBounds::set_lower(int32_t value) {
786 _internal_set_lower(value);
787 // @@protoc_insertion_point(field_set:jaiabot.protobuf.SurfaceBounds.lower)
788}
789
790// optional int32 center = 3 [default = 1500, (.dccl.field) = {
791inline bool SurfaceBounds::_internal_has_center() const {
792 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
793 return value;
794}
795inline bool SurfaceBounds::has_center() const {
796 return _internal_has_center();
797}
798inline void SurfaceBounds::clear_center() {
799 _impl_.center_ = 1500;
800 _impl_._has_bits_[0] &= ~0x00000001u;
801}
802inline int32_t SurfaceBounds::_internal_center() const {
803 return _impl_.center_;
804}
805inline int32_t SurfaceBounds::center() const {
806 // @@protoc_insertion_point(field_get:jaiabot.protobuf.SurfaceBounds.center)
807 return _internal_center();
808}
809inline void SurfaceBounds::_internal_set_center(int32_t value) {
810 _impl_._has_bits_[0] |= 0x00000001u;
811 _impl_.center_ = value;
812}
813inline void SurfaceBounds::set_center(int32_t value) {
814 _internal_set_center(value);
815 // @@protoc_insertion_point(field_set:jaiabot.protobuf.SurfaceBounds.center)
816}
817
818// -------------------------------------------------------------------
819
820// MotorBounds
821
822// optional int32 forwardStart = 1 [default = 1600, (.dccl.field) = {
823inline bool MotorBounds::_internal_has_forwardstart() const {
824 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
825 return value;
826}
827inline bool MotorBounds::has_forwardstart() const {
828 return _internal_has_forwardstart();
829}
830inline void MotorBounds::clear_forwardstart() {
831 _impl_.forwardstart_ = 1600;
832 _impl_._has_bits_[0] &= ~0x00000001u;
833}
834inline int32_t MotorBounds::_internal_forwardstart() const {
835 return _impl_.forwardstart_;
836}
837inline int32_t MotorBounds::forwardstart() const {
838 // @@protoc_insertion_point(field_get:jaiabot.protobuf.MotorBounds.forwardStart)
839 return _internal_forwardstart();
840}
841inline void MotorBounds::_internal_set_forwardstart(int32_t value) {
842 _impl_._has_bits_[0] |= 0x00000001u;
843 _impl_.forwardstart_ = value;
844}
845inline void MotorBounds::set_forwardstart(int32_t value) {
846 _internal_set_forwardstart(value);
847 // @@protoc_insertion_point(field_set:jaiabot.protobuf.MotorBounds.forwardStart)
848}
849
850// optional int32 reverseStart = 2 [default = 1400, (.dccl.field) = {
851inline bool MotorBounds::_internal_has_reversestart() const {
852 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
853 return value;
854}
855inline bool MotorBounds::has_reversestart() const {
856 return _internal_has_reversestart();
857}
858inline void MotorBounds::clear_reversestart() {
859 _impl_.reversestart_ = 1400;
860 _impl_._has_bits_[0] &= ~0x00000002u;
861}
862inline int32_t MotorBounds::_internal_reversestart() const {
863 return _impl_.reversestart_;
864}
865inline int32_t MotorBounds::reversestart() const {
866 // @@protoc_insertion_point(field_get:jaiabot.protobuf.MotorBounds.reverseStart)
867 return _internal_reversestart();
868}
869inline void MotorBounds::_internal_set_reversestart(int32_t value) {
870 _impl_._has_bits_[0] |= 0x00000002u;
871 _impl_.reversestart_ = value;
872}
873inline void MotorBounds::set_reversestart(int32_t value) {
874 _internal_set_reversestart(value);
875 // @@protoc_insertion_point(field_set:jaiabot.protobuf.MotorBounds.reverseStart)
876}
877
878// optional int32 max_reverse = 3 [default = 1320, (.dccl.field) = {
879inline bool MotorBounds::_internal_has_max_reverse() const {
880 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
881 return value;
882}
883inline bool MotorBounds::has_max_reverse() const {
884 return _internal_has_max_reverse();
885}
886inline void MotorBounds::clear_max_reverse() {
887 _impl_.max_reverse_ = 1320;
888 _impl_._has_bits_[0] &= ~0x00000004u;
889}
890inline int32_t MotorBounds::_internal_max_reverse() const {
891 return _impl_.max_reverse_;
892}
893inline int32_t MotorBounds::max_reverse() const {
894 // @@protoc_insertion_point(field_get:jaiabot.protobuf.MotorBounds.max_reverse)
895 return _internal_max_reverse();
896}
897inline void MotorBounds::_internal_set_max_reverse(int32_t value) {
898 _impl_._has_bits_[0] |= 0x00000004u;
899 _impl_.max_reverse_ = value;
900}
901inline void MotorBounds::set_max_reverse(int32_t value) {
902 _internal_set_max_reverse(value);
903 // @@protoc_insertion_point(field_set:jaiabot.protobuf.MotorBounds.max_reverse)
904}
905
906// optional int32 throttle_zero_net_buoyancy = 4 [default = -35, (.dccl.field) = {
907inline bool MotorBounds::_internal_has_throttle_zero_net_buoyancy() const {
908 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
909 return value;
910}
911inline bool MotorBounds::has_throttle_zero_net_buoyancy() const {
912 return _internal_has_throttle_zero_net_buoyancy();
913}
914inline void MotorBounds::clear_throttle_zero_net_buoyancy() {
915 _impl_.throttle_zero_net_buoyancy_ = -35;
916 _impl_._has_bits_[0] &= ~0x00000008u;
917}
918inline int32_t MotorBounds::_internal_throttle_zero_net_buoyancy() const {
919 return _impl_.throttle_zero_net_buoyancy_;
920}
921inline int32_t MotorBounds::throttle_zero_net_buoyancy() const {
922 // @@protoc_insertion_point(field_get:jaiabot.protobuf.MotorBounds.throttle_zero_net_buoyancy)
923 return _internal_throttle_zero_net_buoyancy();
924}
925inline void MotorBounds::_internal_set_throttle_zero_net_buoyancy(int32_t value) {
926 _impl_._has_bits_[0] |= 0x00000008u;
927 _impl_.throttle_zero_net_buoyancy_ = value;
928}
929inline void MotorBounds::set_throttle_zero_net_buoyancy(int32_t value) {
930 _internal_set_throttle_zero_net_buoyancy(value);
931 // @@protoc_insertion_point(field_set:jaiabot.protobuf.MotorBounds.throttle_zero_net_buoyancy)
932}
933
934// optional int32 throttle_dive = 5 [default = -35, (.dccl.field) = {
935inline bool MotorBounds::_internal_has_throttle_dive() const {
936 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
937 return value;
938}
939inline bool MotorBounds::has_throttle_dive() const {
940 return _internal_has_throttle_dive();
941}
942inline void MotorBounds::clear_throttle_dive() {
943 _impl_.throttle_dive_ = -35;
944 _impl_._has_bits_[0] &= ~0x00000010u;
945}
946inline int32_t MotorBounds::_internal_throttle_dive() const {
947 return _impl_.throttle_dive_;
948}
949inline int32_t MotorBounds::throttle_dive() const {
950 // @@protoc_insertion_point(field_get:jaiabot.protobuf.MotorBounds.throttle_dive)
951 return _internal_throttle_dive();
952}
953inline void MotorBounds::_internal_set_throttle_dive(int32_t value) {
954 _impl_._has_bits_[0] |= 0x00000010u;
955 _impl_.throttle_dive_ = value;
956}
957inline void MotorBounds::set_throttle_dive(int32_t value) {
958 _internal_set_throttle_dive(value);
959 // @@protoc_insertion_point(field_set:jaiabot.protobuf.MotorBounds.throttle_dive)
960}
961
962// optional int32 throttle_ascent = 6 [default = 25, (.dccl.field) = {
963inline bool MotorBounds::_internal_has_throttle_ascent() const {
964 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
965 return value;
966}
967inline bool MotorBounds::has_throttle_ascent() const {
968 return _internal_has_throttle_ascent();
969}
970inline void MotorBounds::clear_throttle_ascent() {
971 _impl_.throttle_ascent_ = 25;
972 _impl_._has_bits_[0] &= ~0x00000020u;
973}
974inline int32_t MotorBounds::_internal_throttle_ascent() const {
975 return _impl_.throttle_ascent_;
976}
977inline int32_t MotorBounds::throttle_ascent() const {
978 // @@protoc_insertion_point(field_get:jaiabot.protobuf.MotorBounds.throttle_ascent)
979 return _internal_throttle_ascent();
980}
981inline void MotorBounds::_internal_set_throttle_ascent(int32_t value) {
982 _impl_._has_bits_[0] |= 0x00000020u;
983 _impl_.throttle_ascent_ = value;
984}
985inline void MotorBounds::set_throttle_ascent(int32_t value) {
986 _internal_set_throttle_ascent(value);
987 // @@protoc_insertion_point(field_set:jaiabot.protobuf.MotorBounds.throttle_ascent)
988}
989
990// -------------------------------------------------------------------
991
992// Bounds
993
994// optional .jaiabot.protobuf.SurfaceBounds strb = 1;
995inline bool Bounds::_internal_has_strb() const {
996 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
997 PROTOBUF_ASSUME(!value || _impl_.strb_ != nullptr);
998 return value;
999}
1000inline bool Bounds::has_strb() const {
1001 return _internal_has_strb();
1002}
1003inline void Bounds::clear_strb() {
1004 if (_impl_.strb_ != nullptr) _impl_.strb_->Clear();
1005 _impl_._has_bits_[0] &= ~0x00000001u;
1006}
1007inline const ::jaiabot::protobuf::SurfaceBounds& Bounds::_internal_strb() const {
1008 const ::jaiabot::protobuf::SurfaceBounds* p = _impl_.strb_;
1009 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::SurfaceBounds&>(
1011}
1012inline const ::jaiabot::protobuf::SurfaceBounds& Bounds::strb() const {
1013 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Bounds.strb)
1014 return _internal_strb();
1015}
1016inline void Bounds::unsafe_arena_set_allocated_strb(
1018 if (GetArenaForAllocation() == nullptr) {
1019 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.strb_);
1020 }
1021 _impl_.strb_ = strb;
1022 if (strb) {
1023 _impl_._has_bits_[0] |= 0x00000001u;
1024 } else {
1025 _impl_._has_bits_[0] &= ~0x00000001u;
1026 }
1027 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Bounds.strb)
1028}
1029inline ::jaiabot::protobuf::SurfaceBounds* Bounds::release_strb() {
1030 _impl_._has_bits_[0] &= ~0x00000001u;
1031 ::jaiabot::protobuf::SurfaceBounds* temp = _impl_.strb_;
1032 _impl_.strb_ = nullptr;
1033#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1034 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1035 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1036 if (GetArenaForAllocation() == nullptr) { delete old; }
1037#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1038 if (GetArenaForAllocation() != nullptr) {
1039 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1040 }
1041#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1042 return temp;
1043}
1044inline ::jaiabot::protobuf::SurfaceBounds* Bounds::unsafe_arena_release_strb() {
1045 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Bounds.strb)
1046 _impl_._has_bits_[0] &= ~0x00000001u;
1047 ::jaiabot::protobuf::SurfaceBounds* temp = _impl_.strb_;
1048 _impl_.strb_ = nullptr;
1049 return temp;
1050}
1051inline ::jaiabot::protobuf::SurfaceBounds* Bounds::_internal_mutable_strb() {
1052 _impl_._has_bits_[0] |= 0x00000001u;
1053 if (_impl_.strb_ == nullptr) {
1054 auto* p = CreateMaybeMessage<::jaiabot::protobuf::SurfaceBounds>(GetArenaForAllocation());
1055 _impl_.strb_ = p;
1056 }
1057 return _impl_.strb_;
1058}
1059inline ::jaiabot::protobuf::SurfaceBounds* Bounds::mutable_strb() {
1060 ::jaiabot::protobuf::SurfaceBounds* _msg = _internal_mutable_strb();
1061 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Bounds.strb)
1062 return _msg;
1063}
1064inline void Bounds::set_allocated_strb(::jaiabot::protobuf::SurfaceBounds* strb) {
1065 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1066 if (message_arena == nullptr) {
1067 delete _impl_.strb_;
1068 }
1069 if (strb) {
1070 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1071 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(strb);
1072 if (message_arena != submessage_arena) {
1073 strb = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1074 message_arena, strb, submessage_arena);
1075 }
1076 _impl_._has_bits_[0] |= 0x00000001u;
1077 } else {
1078 _impl_._has_bits_[0] &= ~0x00000001u;
1079 }
1080 _impl_.strb_ = strb;
1081 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.Bounds.strb)
1082}
1083
1084// optional .jaiabot.protobuf.SurfaceBounds port = 2;
1085inline bool Bounds::_internal_has_port() const {
1086 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1087 PROTOBUF_ASSUME(!value || _impl_.port_ != nullptr);
1088 return value;
1089}
1090inline bool Bounds::has_port() const {
1091 return _internal_has_port();
1092}
1093inline void Bounds::clear_port() {
1094 if (_impl_.port_ != nullptr) _impl_.port_->Clear();
1095 _impl_._has_bits_[0] &= ~0x00000002u;
1096}
1097inline const ::jaiabot::protobuf::SurfaceBounds& Bounds::_internal_port() const {
1098 const ::jaiabot::protobuf::SurfaceBounds* p = _impl_.port_;
1099 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::SurfaceBounds&>(
1101}
1102inline const ::jaiabot::protobuf::SurfaceBounds& Bounds::port() const {
1103 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Bounds.port)
1104 return _internal_port();
1105}
1106inline void Bounds::unsafe_arena_set_allocated_port(
1108 if (GetArenaForAllocation() == nullptr) {
1109 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.port_);
1110 }
1111 _impl_.port_ = port;
1112 if (port) {
1113 _impl_._has_bits_[0] |= 0x00000002u;
1114 } else {
1115 _impl_._has_bits_[0] &= ~0x00000002u;
1116 }
1117 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Bounds.port)
1118}
1119inline ::jaiabot::protobuf::SurfaceBounds* Bounds::release_port() {
1120 _impl_._has_bits_[0] &= ~0x00000002u;
1121 ::jaiabot::protobuf::SurfaceBounds* temp = _impl_.port_;
1122 _impl_.port_ = nullptr;
1123#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1124 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1125 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1126 if (GetArenaForAllocation() == nullptr) { delete old; }
1127#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1128 if (GetArenaForAllocation() != nullptr) {
1129 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1130 }
1131#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1132 return temp;
1133}
1134inline ::jaiabot::protobuf::SurfaceBounds* Bounds::unsafe_arena_release_port() {
1135 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Bounds.port)
1136 _impl_._has_bits_[0] &= ~0x00000002u;
1137 ::jaiabot::protobuf::SurfaceBounds* temp = _impl_.port_;
1138 _impl_.port_ = nullptr;
1139 return temp;
1140}
1141inline ::jaiabot::protobuf::SurfaceBounds* Bounds::_internal_mutable_port() {
1142 _impl_._has_bits_[0] |= 0x00000002u;
1143 if (_impl_.port_ == nullptr) {
1144 auto* p = CreateMaybeMessage<::jaiabot::protobuf::SurfaceBounds>(GetArenaForAllocation());
1145 _impl_.port_ = p;
1146 }
1147 return _impl_.port_;
1148}
1149inline ::jaiabot::protobuf::SurfaceBounds* Bounds::mutable_port() {
1150 ::jaiabot::protobuf::SurfaceBounds* _msg = _internal_mutable_port();
1151 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Bounds.port)
1152 return _msg;
1153}
1154inline void Bounds::set_allocated_port(::jaiabot::protobuf::SurfaceBounds* port) {
1155 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1156 if (message_arena == nullptr) {
1157 delete _impl_.port_;
1158 }
1159 if (port) {
1160 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1161 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(port);
1162 if (message_arena != submessage_arena) {
1163 port = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1164 message_arena, port, submessage_arena);
1165 }
1166 _impl_._has_bits_[0] |= 0x00000002u;
1167 } else {
1168 _impl_._has_bits_[0] &= ~0x00000002u;
1169 }
1170 _impl_.port_ = port;
1171 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.Bounds.port)
1172}
1173
1174// optional .jaiabot.protobuf.SurfaceBounds rudder = 3;
1175inline bool Bounds::_internal_has_rudder() const {
1176 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1177 PROTOBUF_ASSUME(!value || _impl_.rudder_ != nullptr);
1178 return value;
1179}
1180inline bool Bounds::has_rudder() const {
1181 return _internal_has_rudder();
1182}
1183inline void Bounds::clear_rudder() {
1184 if (_impl_.rudder_ != nullptr) _impl_.rudder_->Clear();
1185 _impl_._has_bits_[0] &= ~0x00000004u;
1186}
1187inline const ::jaiabot::protobuf::SurfaceBounds& Bounds::_internal_rudder() const {
1188 const ::jaiabot::protobuf::SurfaceBounds* p = _impl_.rudder_;
1189 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::SurfaceBounds&>(
1191}
1192inline const ::jaiabot::protobuf::SurfaceBounds& Bounds::rudder() const {
1193 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Bounds.rudder)
1194 return _internal_rudder();
1195}
1196inline void Bounds::unsafe_arena_set_allocated_rudder(
1198 if (GetArenaForAllocation() == nullptr) {
1199 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.rudder_);
1200 }
1201 _impl_.rudder_ = rudder;
1202 if (rudder) {
1203 _impl_._has_bits_[0] |= 0x00000004u;
1204 } else {
1205 _impl_._has_bits_[0] &= ~0x00000004u;
1206 }
1207 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Bounds.rudder)
1208}
1209inline ::jaiabot::protobuf::SurfaceBounds* Bounds::release_rudder() {
1210 _impl_._has_bits_[0] &= ~0x00000004u;
1211 ::jaiabot::protobuf::SurfaceBounds* temp = _impl_.rudder_;
1212 _impl_.rudder_ = nullptr;
1213#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1214 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1215 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1216 if (GetArenaForAllocation() == nullptr) { delete old; }
1217#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1218 if (GetArenaForAllocation() != nullptr) {
1219 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1220 }
1221#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1222 return temp;
1223}
1224inline ::jaiabot::protobuf::SurfaceBounds* Bounds::unsafe_arena_release_rudder() {
1225 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Bounds.rudder)
1226 _impl_._has_bits_[0] &= ~0x00000004u;
1227 ::jaiabot::protobuf::SurfaceBounds* temp = _impl_.rudder_;
1228 _impl_.rudder_ = nullptr;
1229 return temp;
1230}
1231inline ::jaiabot::protobuf::SurfaceBounds* Bounds::_internal_mutable_rudder() {
1232 _impl_._has_bits_[0] |= 0x00000004u;
1233 if (_impl_.rudder_ == nullptr) {
1234 auto* p = CreateMaybeMessage<::jaiabot::protobuf::SurfaceBounds>(GetArenaForAllocation());
1235 _impl_.rudder_ = p;
1236 }
1237 return _impl_.rudder_;
1238}
1239inline ::jaiabot::protobuf::SurfaceBounds* Bounds::mutable_rudder() {
1240 ::jaiabot::protobuf::SurfaceBounds* _msg = _internal_mutable_rudder();
1241 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Bounds.rudder)
1242 return _msg;
1243}
1244inline void Bounds::set_allocated_rudder(::jaiabot::protobuf::SurfaceBounds* rudder) {
1245 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1246 if (message_arena == nullptr) {
1247 delete _impl_.rudder_;
1248 }
1249 if (rudder) {
1250 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1251 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(rudder);
1252 if (message_arena != submessage_arena) {
1253 rudder = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1254 message_arena, rudder, submessage_arena);
1255 }
1256 _impl_._has_bits_[0] |= 0x00000004u;
1257 } else {
1258 _impl_._has_bits_[0] &= ~0x00000004u;
1259 }
1260 _impl_.rudder_ = rudder;
1261 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.Bounds.rudder)
1262}
1263
1264// optional .jaiabot.protobuf.MotorBounds motor = 4;
1265inline bool Bounds::_internal_has_motor() const {
1266 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1267 PROTOBUF_ASSUME(!value || _impl_.motor_ != nullptr);
1268 return value;
1269}
1270inline bool Bounds::has_motor() const {
1271 return _internal_has_motor();
1272}
1273inline void Bounds::clear_motor() {
1274 if (_impl_.motor_ != nullptr) _impl_.motor_->Clear();
1275 _impl_._has_bits_[0] &= ~0x00000008u;
1276}
1277inline const ::jaiabot::protobuf::MotorBounds& Bounds::_internal_motor() const {
1278 const ::jaiabot::protobuf::MotorBounds* p = _impl_.motor_;
1279 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::MotorBounds&>(
1281}
1282inline const ::jaiabot::protobuf::MotorBounds& Bounds::motor() const {
1283 // @@protoc_insertion_point(field_get:jaiabot.protobuf.Bounds.motor)
1284 return _internal_motor();
1285}
1286inline void Bounds::unsafe_arena_set_allocated_motor(
1288 if (GetArenaForAllocation() == nullptr) {
1289 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.motor_);
1290 }
1291 _impl_.motor_ = motor;
1292 if (motor) {
1293 _impl_._has_bits_[0] |= 0x00000008u;
1294 } else {
1295 _impl_._has_bits_[0] &= ~0x00000008u;
1296 }
1297 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.Bounds.motor)
1298}
1299inline ::jaiabot::protobuf::MotorBounds* Bounds::release_motor() {
1300 _impl_._has_bits_[0] &= ~0x00000008u;
1301 ::jaiabot::protobuf::MotorBounds* temp = _impl_.motor_;
1302 _impl_.motor_ = nullptr;
1303#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1304 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1305 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1306 if (GetArenaForAllocation() == nullptr) { delete old; }
1307#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1308 if (GetArenaForAllocation() != nullptr) {
1309 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1310 }
1311#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1312 return temp;
1313}
1314inline ::jaiabot::protobuf::MotorBounds* Bounds::unsafe_arena_release_motor() {
1315 // @@protoc_insertion_point(field_release:jaiabot.protobuf.Bounds.motor)
1316 _impl_._has_bits_[0] &= ~0x00000008u;
1317 ::jaiabot::protobuf::MotorBounds* temp = _impl_.motor_;
1318 _impl_.motor_ = nullptr;
1319 return temp;
1320}
1321inline ::jaiabot::protobuf::MotorBounds* Bounds::_internal_mutable_motor() {
1322 _impl_._has_bits_[0] |= 0x00000008u;
1323 if (_impl_.motor_ == nullptr) {
1324 auto* p = CreateMaybeMessage<::jaiabot::protobuf::MotorBounds>(GetArenaForAllocation());
1325 _impl_.motor_ = p;
1326 }
1327 return _impl_.motor_;
1328}
1329inline ::jaiabot::protobuf::MotorBounds* Bounds::mutable_motor() {
1330 ::jaiabot::protobuf::MotorBounds* _msg = _internal_mutable_motor();
1331 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.Bounds.motor)
1332 return _msg;
1333}
1334inline void Bounds::set_allocated_motor(::jaiabot::protobuf::MotorBounds* motor) {
1335 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1336 if (message_arena == nullptr) {
1337 delete _impl_.motor_;
1338 }
1339 if (motor) {
1340 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1341 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(motor);
1342 if (message_arena != submessage_arena) {
1343 motor = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1344 message_arena, motor, submessage_arena);
1345 }
1346 _impl_._has_bits_[0] |= 0x00000008u;
1347 } else {
1348 _impl_._has_bits_[0] &= ~0x00000008u;
1349 }
1350 _impl_.motor_ = motor;
1351 // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.Bounds.motor)
1352}
1353
1354#ifdef __GNUC__
1355 #pragma GCC diagnostic pop
1356#endif // __GNUC__
1357// -------------------------------------------------------------------
1358
1359// -------------------------------------------------------------------
1360
1361
1362// @@protoc_insertion_point(namespace_scope)
1363
1364} // namespace protobuf
1365} // namespace jaiabot
1366
1367// @@protoc_insertion_point(global_scope)
1368
1369#include <google/protobuf/port_undef.inc>
1370#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fbounds_2eproto
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fbounds_2eproto
::jaiabot::protobuf::SurfaceBounds * Arena::CreateMaybeMessage<::jaiabot::protobuf::SurfaceBounds >(Arena *)
::jaiabot::protobuf::MotorBounds * Arena::CreateMaybeMessage<::jaiabot::protobuf::MotorBounds >(Arena *)
Bounds(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const Bounds * internal_default_instance()
Definition bounds.pb.h:550
static const ClassData _class_data_
Definition bounds.pb.h:618
PROTOBUF_CONSTEXPR Bounds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const Bounds & default_instance()
Definition bounds.pb.h:547
Bounds(const Bounds &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition bounds.pb.h:541
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition bounds.pb.h:544
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Bounds & operator=(const Bounds &from)
Definition bounds.pb.h:513
void Swap(Bounds *other)
Definition bounds.pb.h:560
Bounds(Bounds &&from) noexcept
Definition bounds.pb.h:508
void UnsafeArenaSwap(Bounds *other)
Definition bounds.pb.h:573
friend void swap(Bounds &a, Bounds &b)
Definition bounds.pb.h:557
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition bounds.pb.h:531
Bounds * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition bounds.pb.h:581
void MergeFrom(const Bounds &from)
Definition bounds.pb.h:587
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition bounds.pb.h:538
Bounds & operator=(Bounds &&from) noexcept
Definition bounds.pb.h:517
void CopyFrom(const Bounds &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition bounds.pb.h:534
void UnsafeArenaSwap(MotorBounds *other)
Definition bounds.pb.h:338
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const MotorBounds * internal_default_instance()
Definition bounds.pb.h:315
MotorBounds & operator=(MotorBounds &&from) noexcept
Definition bounds.pb.h:282
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition bounds.pb.h:303
void Swap(MotorBounds *other)
Definition bounds.pb.h:325
MotorBounds & operator=(const MotorBounds &from)
Definition bounds.pb.h:278
MotorBounds * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition bounds.pb.h:346
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition bounds.pb.h:299
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition bounds.pb.h:296
void CopyFrom(const MotorBounds &from)
MotorBounds(MotorBounds &&from) noexcept
Definition bounds.pb.h:273
static const MotorBounds & default_instance()
Definition bounds.pb.h:312
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition bounds.pb.h:309
PROTOBUF_CONSTEXPR MotorBounds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition bounds.pb.h:306
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
friend void swap(MotorBounds &a, MotorBounds &b)
Definition bounds.pb.h:322
MotorBounds(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ClassData _class_data_
Definition bounds.pb.h:383
MotorBounds(const MotorBounds &from)
void MergeFrom(const MotorBounds &from)
Definition bounds.pb.h:352
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_upper(int32_t value)
Definition bounds.pb.h:757
static const ClassData _class_data_
Definition bounds.pb.h:193
SurfaceBounds(SurfaceBounds &&from) noexcept
Definition bounds.pb.h:83
SurfaceBounds(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_CONSTEXPR SurfaceBounds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition bounds.pb.h:116
static const SurfaceBounds * internal_default_instance()
Definition bounds.pb.h:125
size_t ByteSizeLong() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition bounds.pb.h:119
SurfaceBounds & operator=(SurfaceBounds &&from) noexcept
Definition bounds.pb.h:92
friend void swap(SurfaceBounds &a, SurfaceBounds &b)
Definition bounds.pb.h:132
static constexpr int kIndexInFileMessages
Definition bounds.pb.h:129
void CopyFrom(const SurfaceBounds &from)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
SurfaceBounds & operator=(const SurfaceBounds &from)
Definition bounds.pb.h:88
bool IsInitialized() const final
void set_lower(int32_t value)
Definition bounds.pb.h:785
void Swap(SurfaceBounds *other)
Definition bounds.pb.h:135
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_center(int32_t value)
Definition bounds.pb.h:813
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition bounds.pb.h:113
void UnsafeArenaSwap(SurfaceBounds *other)
Definition bounds.pb.h:148
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition bounds.pb.h:109
int GetCachedSize() const final
Definition bounds.pb.h:175
SurfaceBounds * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition bounds.pb.h:156
void MergeFrom(const SurfaceBounds &from)
Definition bounds.pb.h:162
static const SurfaceBounds & default_instance()
Definition bounds.pb.h:122
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition bounds.pb.h:106
SurfaceBounds(const SurfaceBounds &from)
MotorBoundsDefaultTypeInternal _MotorBounds_default_instance_
SurfaceBoundsDefaultTypeInternal _SurfaceBounds_default_instance_
BoundsDefaultTypeInternal _Bounds_default_instance_