4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fbounds_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fbounds_2eproto
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
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.
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>
31#include <google/protobuf/extension_set.h>
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>
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fbounds_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
55struct BoundsDefaultTypeInternal;
58struct MotorBoundsDefaultTypeInternal;
61struct SurfaceBoundsDefaultTypeInternal;
65PROTOBUF_NAMESPACE_OPEN
69PROTOBUF_NAMESPACE_CLOSE
76 public ::PROTOBUF_NAMESPACE_ID::Message {
80 explicit PROTOBUF_CONSTEXPR
SurfaceBounds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
85 *
this = ::std::move(from);
93 if (
this == &from)
return *
this;
94 if (GetOwningArena() == from.GetOwningArena()
95 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
96 && GetOwningArena() !=
nullptr
107 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
110 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
113 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
136 if (other ==
this)
return;
137 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
138 if (GetOwningArena() !=
nullptr &&
139 GetOwningArena() == other->GetOwningArena()) {
141 if (GetOwningArena() == other->GetOwningArena()) {
145 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
149 if (other ==
this)
return;
150 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
157 return CreateMaybeMessage<SurfaceBounds>(arena);
159 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
163 SurfaceBounds::MergeImpl(*
this, from);
166 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
168 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
174 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
178 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
180 void SetCachedSize(
int size)
const final;
184 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
185 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
186 return "jaiabot.protobuf.SurfaceBounds";
190 bool is_message_owned =
false);
194 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
210 bool _internal_has_center()
const;
216 int32_t _internal_center()
const;
217 void _internal_set_center(int32_t value);
223 bool _internal_has_upper()
const;
226 int32_t
upper()
const;
229 int32_t _internal_upper()
const;
230 void _internal_set_upper(int32_t value);
236 bool _internal_has_lower()
const;
239 int32_t
lower()
const;
242 int32_t _internal_lower()
const;
243 void _internal_set_lower(int32_t value);
250 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
251 typedef void InternalArenaConstructable_;
252 typedef void DestructorSkippable_;
254 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
255 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
261 friend struct ::TableStruct_jaiabot_2fmessages_2fbounds_2eproto;
266 public ::PROTOBUF_NAMESPACE_ID::Message {
270 explicit PROTOBUF_CONSTEXPR
MotorBounds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
275 *
this = ::std::move(from);
283 if (
this == &from)
return *
this;
284 if (GetOwningArena() == from.GetOwningArena()
285 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
286 && GetOwningArena() !=
nullptr
297 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
300 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
303 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
304 return GetDescriptor();
307 return default_instance().GetMetadata().descriptor;
310 return default_instance().GetMetadata().reflection;
313 return *internal_default_instance();
319 static constexpr int kIndexInFileMessages =
326 if (other ==
this)
return;
327 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
328 if (GetOwningArena() !=
nullptr &&
329 GetOwningArena() == other->GetOwningArena()) {
331 if (GetOwningArena() == other->GetOwningArena()) {
335 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
339 if (other ==
this)
return;
340 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
347 return CreateMaybeMessage<MotorBounds>(arena);
349 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
351 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
353 MotorBounds::MergeImpl(*
this, from);
356 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
358 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
359 bool IsInitialized() const final;
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(); }
368 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
370 void SetCachedSize(
int size)
const final;
374 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
375 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
376 return "jaiabot.protobuf.MotorBounds";
380 bool is_message_owned =
false);
384 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
386 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
393 kForwardStartFieldNumber = 1,
394 kReverseStartFieldNumber = 2,
395 kMaxReverseFieldNumber = 3,
396 kThrottleZeroNetBuoyancyFieldNumber = 4,
397 kThrottleDiveFieldNumber = 5,
398 kThrottleAscentFieldNumber = 6,
401 bool has_forwardstart()
const;
403 bool _internal_has_forwardstart()
const;
405 void clear_forwardstart();
406 int32_t forwardstart()
const;
407 void set_forwardstart(int32_t value);
409 int32_t _internal_forwardstart()
const;
410 void _internal_set_forwardstart(int32_t value);
414 bool has_reversestart()
const;
416 bool _internal_has_reversestart()
const;
418 void clear_reversestart();
419 int32_t reversestart()
const;
420 void set_reversestart(int32_t value);
422 int32_t _internal_reversestart()
const;
423 void _internal_set_reversestart(int32_t value);
427 bool has_max_reverse()
const;
429 bool _internal_has_max_reverse()
const;
431 void clear_max_reverse();
432 int32_t max_reverse()
const;
433 void set_max_reverse(int32_t value);
435 int32_t _internal_max_reverse()
const;
436 void _internal_set_max_reverse(int32_t value);
440 bool has_throttle_zero_net_buoyancy()
const;
442 bool _internal_has_throttle_zero_net_buoyancy()
const;
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);
448 int32_t _internal_throttle_zero_net_buoyancy()
const;
449 void _internal_set_throttle_zero_net_buoyancy(int32_t value);
453 bool has_throttle_dive()
const;
455 bool _internal_has_throttle_dive()
const;
457 void clear_throttle_dive();
458 int32_t throttle_dive()
const;
459 void set_throttle_dive(int32_t value);
461 int32_t _internal_throttle_dive()
const;
462 void _internal_set_throttle_dive(int32_t value);
466 bool has_throttle_ascent()
const;
468 bool _internal_has_throttle_ascent()
const;
470 void clear_throttle_ascent();
471 int32_t throttle_ascent()
const;
472 void set_throttle_ascent(int32_t value);
474 int32_t _internal_throttle_ascent()
const;
475 void _internal_set_throttle_ascent(int32_t value);
482 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
483 typedef void InternalArenaConstructable_;
484 typedef void DestructorSkippable_;
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_;
496 friend struct ::TableStruct_jaiabot_2fmessages_2fbounds_2eproto;
501 public ::PROTOBUF_NAMESPACE_ID::Message {
505 explicit PROTOBUF_CONSTEXPR
Bounds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
510 *
this = ::std::move(from);
518 if (
this == &from)
return *
this;
519 if (GetOwningArena() == from.GetOwningArena()
520 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
521 && GetOwningArena() !=
nullptr
532 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
535 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
538 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
539 return GetDescriptor();
542 return default_instance().GetMetadata().descriptor;
545 return default_instance().GetMetadata().reflection;
548 return *internal_default_instance();
551 return reinterpret_cast<const Bounds*
>(
554 static constexpr int kIndexInFileMessages =
561 if (other ==
this)
return;
562 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
563 if (GetOwningArena() !=
nullptr &&
564 GetOwningArena() == other->GetOwningArena()) {
566 if (GetOwningArena() == other->GetOwningArena()) {
570 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
574 if (other ==
this)
return;
575 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
581 Bounds*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
582 return CreateMaybeMessage<Bounds>(arena);
584 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
586 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
588 Bounds::MergeImpl(*
this, from);
591 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
593 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
594 bool IsInitialized() const final;
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(); }
603 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
605 void SetCachedSize(
int size)
const final;
606 void InternalSwap(
Bounds* other);
609 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
610 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
611 return "jaiabot.protobuf.Bounds";
614 explicit Bounds(::PROTOBUF_NAMESPACE_ID::Arena* arena,
615 bool is_message_owned =
false);
619 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
621 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
628 kStrbFieldNumber = 1,
629 kPortFieldNumber = 2,
630 kRudderFieldNumber = 3,
631 kMotorFieldNumber = 4,
634 bool has_strb()
const;
636 bool _internal_has_strb()
const;
639 const ::jaiabot::protobuf::SurfaceBounds& strb()
const;
640 PROTOBUF_NODISCARD ::jaiabot::protobuf::SurfaceBounds* release_strb();
644 const ::jaiabot::protobuf::SurfaceBounds& _internal_strb()
const;
647 void unsafe_arena_set_allocated_strb(
652 bool has_port()
const;
654 bool _internal_has_port()
const;
657 const ::jaiabot::protobuf::SurfaceBounds& port()
const;
658 PROTOBUF_NODISCARD ::jaiabot::protobuf::SurfaceBounds* release_port();
662 const ::jaiabot::protobuf::SurfaceBounds& _internal_port()
const;
665 void unsafe_arena_set_allocated_port(
670 bool has_rudder()
const;
672 bool _internal_has_rudder()
const;
675 const ::jaiabot::protobuf::SurfaceBounds& rudder()
const;
676 PROTOBUF_NODISCARD ::jaiabot::protobuf::SurfaceBounds* release_rudder();
680 const ::jaiabot::protobuf::SurfaceBounds& _internal_rudder()
const;
683 void unsafe_arena_set_allocated_rudder(
688 bool has_motor()
const;
690 bool _internal_has_motor()
const;
693 const ::jaiabot::protobuf::MotorBounds& motor()
const;
694 PROTOBUF_NODISCARD ::jaiabot::protobuf::MotorBounds* release_motor();
698 const ::jaiabot::protobuf::MotorBounds& _internal_motor()
const;
701 void unsafe_arena_set_allocated_motor(
709 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
710 typedef void InternalArenaConstructable_;
711 typedef void DestructorSkippable_;
713 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
714 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
721 friend struct ::TableStruct_jaiabot_2fmessages_2fbounds_2eproto;
729 #pragma GCC diagnostic push
730 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
735inline bool SurfaceBounds::_internal_has_upper()
const {
736 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
739inline bool SurfaceBounds::has_upper()
const {
740 return _internal_has_upper();
742inline void SurfaceBounds::clear_upper() {
743 _impl_.upper_ = 1100;
744 _impl_._has_bits_[0] &= ~0x00000002u;
746inline int32_t SurfaceBounds::_internal_upper()
const {
747 return _impl_.upper_;
749inline int32_t SurfaceBounds::upper()
const {
751 return _internal_upper();
753inline void SurfaceBounds::_internal_set_upper(int32_t value) {
754 _impl_._has_bits_[0] |= 0x00000002u;
755 _impl_.upper_ = value;
757inline void SurfaceBounds::set_upper(int32_t value) {
758 _internal_set_upper(value);
763inline bool SurfaceBounds::_internal_has_lower()
const {
764 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
767inline bool SurfaceBounds::has_lower()
const {
768 return _internal_has_lower();
770inline void SurfaceBounds::clear_lower() {
771 _impl_.lower_ = 1900;
772 _impl_._has_bits_[0] &= ~0x00000004u;
774inline int32_t SurfaceBounds::_internal_lower()
const {
775 return _impl_.lower_;
777inline int32_t SurfaceBounds::lower()
const {
779 return _internal_lower();
781inline void SurfaceBounds::_internal_set_lower(int32_t value) {
782 _impl_._has_bits_[0] |= 0x00000004u;
783 _impl_.lower_ = value;
785inline void SurfaceBounds::set_lower(int32_t value) {
786 _internal_set_lower(value);
791inline bool SurfaceBounds::_internal_has_center()
const {
792 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
795inline bool SurfaceBounds::has_center()
const {
796 return _internal_has_center();
798inline void SurfaceBounds::clear_center() {
799 _impl_.center_ = 1500;
800 _impl_._has_bits_[0] &= ~0x00000001u;
802inline int32_t SurfaceBounds::_internal_center()
const {
803 return _impl_.center_;
805inline int32_t SurfaceBounds::center()
const {
807 return _internal_center();
809inline void SurfaceBounds::_internal_set_center(int32_t value) {
810 _impl_._has_bits_[0] |= 0x00000001u;
811 _impl_.center_ = value;
813inline void SurfaceBounds::set_center(int32_t value) {
814 _internal_set_center(value);
823inline bool MotorBounds::_internal_has_forwardstart()
const {
824 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
827inline bool MotorBounds::has_forwardstart()
const {
828 return _internal_has_forwardstart();
830inline void MotorBounds::clear_forwardstart() {
831 _impl_.forwardstart_ = 1600;
832 _impl_._has_bits_[0] &= ~0x00000001u;
834inline int32_t MotorBounds::_internal_forwardstart()
const {
835 return _impl_.forwardstart_;
837inline int32_t MotorBounds::forwardstart()
const {
839 return _internal_forwardstart();
841inline void MotorBounds::_internal_set_forwardstart(int32_t value) {
842 _impl_._has_bits_[0] |= 0x00000001u;
843 _impl_.forwardstart_ = value;
845inline void MotorBounds::set_forwardstart(int32_t value) {
846 _internal_set_forwardstart(value);
851inline bool MotorBounds::_internal_has_reversestart()
const {
852 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
855inline bool MotorBounds::has_reversestart()
const {
856 return _internal_has_reversestart();
858inline void MotorBounds::clear_reversestart() {
859 _impl_.reversestart_ = 1400;
860 _impl_._has_bits_[0] &= ~0x00000002u;
862inline int32_t MotorBounds::_internal_reversestart()
const {
863 return _impl_.reversestart_;
865inline int32_t MotorBounds::reversestart()
const {
867 return _internal_reversestart();
869inline void MotorBounds::_internal_set_reversestart(int32_t value) {
870 _impl_._has_bits_[0] |= 0x00000002u;
871 _impl_.reversestart_ = value;
873inline void MotorBounds::set_reversestart(int32_t value) {
874 _internal_set_reversestart(value);
879inline bool MotorBounds::_internal_has_max_reverse()
const {
880 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
883inline bool MotorBounds::has_max_reverse()
const {
884 return _internal_has_max_reverse();
886inline void MotorBounds::clear_max_reverse() {
887 _impl_.max_reverse_ = 1320;
888 _impl_._has_bits_[0] &= ~0x00000004u;
890inline int32_t MotorBounds::_internal_max_reverse()
const {
891 return _impl_.max_reverse_;
893inline int32_t MotorBounds::max_reverse()
const {
895 return _internal_max_reverse();
897inline void MotorBounds::_internal_set_max_reverse(int32_t value) {
898 _impl_._has_bits_[0] |= 0x00000004u;
899 _impl_.max_reverse_ = value;
901inline void MotorBounds::set_max_reverse(int32_t value) {
902 _internal_set_max_reverse(value);
907inline bool MotorBounds::_internal_has_throttle_zero_net_buoyancy()
const {
908 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
911inline bool MotorBounds::has_throttle_zero_net_buoyancy()
const {
912 return _internal_has_throttle_zero_net_buoyancy();
914inline void MotorBounds::clear_throttle_zero_net_buoyancy() {
915 _impl_.throttle_zero_net_buoyancy_ = -35;
916 _impl_._has_bits_[0] &= ~0x00000008u;
918inline int32_t MotorBounds::_internal_throttle_zero_net_buoyancy()
const {
919 return _impl_.throttle_zero_net_buoyancy_;
921inline int32_t MotorBounds::throttle_zero_net_buoyancy()
const {
923 return _internal_throttle_zero_net_buoyancy();
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;
929inline void MotorBounds::set_throttle_zero_net_buoyancy(int32_t value) {
930 _internal_set_throttle_zero_net_buoyancy(value);
935inline bool MotorBounds::_internal_has_throttle_dive()
const {
936 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
939inline bool MotorBounds::has_throttle_dive()
const {
940 return _internal_has_throttle_dive();
942inline void MotorBounds::clear_throttle_dive() {
943 _impl_.throttle_dive_ = -35;
944 _impl_._has_bits_[0] &= ~0x00000010u;
946inline int32_t MotorBounds::_internal_throttle_dive()
const {
947 return _impl_.throttle_dive_;
949inline int32_t MotorBounds::throttle_dive()
const {
951 return _internal_throttle_dive();
953inline void MotorBounds::_internal_set_throttle_dive(int32_t value) {
954 _impl_._has_bits_[0] |= 0x00000010u;
955 _impl_.throttle_dive_ = value;
957inline void MotorBounds::set_throttle_dive(int32_t value) {
958 _internal_set_throttle_dive(value);
963inline bool MotorBounds::_internal_has_throttle_ascent()
const {
964 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
967inline bool MotorBounds::has_throttle_ascent()
const {
968 return _internal_has_throttle_ascent();
970inline void MotorBounds::clear_throttle_ascent() {
971 _impl_.throttle_ascent_ = 25;
972 _impl_._has_bits_[0] &= ~0x00000020u;
974inline int32_t MotorBounds::_internal_throttle_ascent()
const {
975 return _impl_.throttle_ascent_;
977inline int32_t MotorBounds::throttle_ascent()
const {
979 return _internal_throttle_ascent();
981inline void MotorBounds::_internal_set_throttle_ascent(int32_t value) {
982 _impl_._has_bits_[0] |= 0x00000020u;
983 _impl_.throttle_ascent_ = value;
985inline void MotorBounds::set_throttle_ascent(int32_t value) {
986 _internal_set_throttle_ascent(value);
995inline bool Bounds::_internal_has_strb()
const {
996 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
997 PROTOBUF_ASSUME(!value || _impl_.strb_ !=
nullptr);
1000inline bool Bounds::has_strb()
const {
1001 return _internal_has_strb();
1003inline void Bounds::clear_strb() {
1004 if (_impl_.strb_ !=
nullptr) _impl_.strb_->Clear();
1005 _impl_._has_bits_[0] &= ~0x00000001u;
1007inline const ::jaiabot::protobuf::SurfaceBounds& Bounds::_internal_strb()
const {
1008 const ::jaiabot::protobuf::SurfaceBounds* p = _impl_.strb_;
1012inline const ::jaiabot::protobuf::SurfaceBounds& Bounds::strb()
const {
1014 return _internal_strb();
1016inline void Bounds::unsafe_arena_set_allocated_strb(
1018 if (GetArenaForAllocation() ==
nullptr) {
1019 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.strb_);
1021 _impl_.strb_ = strb;
1023 _impl_._has_bits_[0] |= 0x00000001u;
1025 _impl_._has_bits_[0] &= ~0x00000001u;
1029inline ::jaiabot::protobuf::SurfaceBounds* Bounds::release_strb() {
1030 _impl_._has_bits_[0] &= ~0x00000001u;
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; }
1038 if (GetArenaForAllocation() !=
nullptr) {
1039 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1044inline ::jaiabot::protobuf::SurfaceBounds* Bounds::unsafe_arena_release_strb() {
1046 _impl_._has_bits_[0] &= ~0x00000001u;
1048 _impl_.strb_ =
nullptr;
1051inline ::jaiabot::protobuf::SurfaceBounds* Bounds::_internal_mutable_strb() {
1052 _impl_._has_bits_[0] |= 0x00000001u;
1053 if (_impl_.strb_ ==
nullptr) {
1057 return _impl_.strb_;
1059inline ::jaiabot::protobuf::SurfaceBounds* Bounds::mutable_strb() {
1065 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1066 if (message_arena ==
nullptr) {
1067 delete _impl_.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);
1076 _impl_._has_bits_[0] |= 0x00000001u;
1078 _impl_._has_bits_[0] &= ~0x00000001u;
1080 _impl_.strb_ = strb;
1085inline bool Bounds::_internal_has_port()
const {
1086 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1087 PROTOBUF_ASSUME(!value || _impl_.port_ !=
nullptr);
1090inline bool Bounds::has_port()
const {
1091 return _internal_has_port();
1093inline void Bounds::clear_port() {
1094 if (_impl_.port_ !=
nullptr) _impl_.port_->Clear();
1095 _impl_._has_bits_[0] &= ~0x00000002u;
1097inline const ::jaiabot::protobuf::SurfaceBounds& Bounds::_internal_port()
const {
1098 const ::jaiabot::protobuf::SurfaceBounds* p = _impl_.port_;
1102inline const ::jaiabot::protobuf::SurfaceBounds& Bounds::port()
const {
1104 return _internal_port();
1106inline void Bounds::unsafe_arena_set_allocated_port(
1108 if (GetArenaForAllocation() ==
nullptr) {
1109 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.port_);
1111 _impl_.port_ = port;
1113 _impl_._has_bits_[0] |= 0x00000002u;
1115 _impl_._has_bits_[0] &= ~0x00000002u;
1119inline ::jaiabot::protobuf::SurfaceBounds* Bounds::release_port() {
1120 _impl_._has_bits_[0] &= ~0x00000002u;
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; }
1128 if (GetArenaForAllocation() !=
nullptr) {
1129 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1134inline ::jaiabot::protobuf::SurfaceBounds* Bounds::unsafe_arena_release_port() {
1136 _impl_._has_bits_[0] &= ~0x00000002u;
1138 _impl_.port_ =
nullptr;
1141inline ::jaiabot::protobuf::SurfaceBounds* Bounds::_internal_mutable_port() {
1142 _impl_._has_bits_[0] |= 0x00000002u;
1143 if (_impl_.port_ ==
nullptr) {
1147 return _impl_.port_;
1149inline ::jaiabot::protobuf::SurfaceBounds* Bounds::mutable_port() {
1155 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1156 if (message_arena ==
nullptr) {
1157 delete _impl_.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);
1166 _impl_._has_bits_[0] |= 0x00000002u;
1168 _impl_._has_bits_[0] &= ~0x00000002u;
1170 _impl_.port_ = port;
1175inline bool Bounds::_internal_has_rudder()
const {
1176 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1177 PROTOBUF_ASSUME(!value || _impl_.rudder_ !=
nullptr);
1180inline bool Bounds::has_rudder()
const {
1181 return _internal_has_rudder();
1183inline void Bounds::clear_rudder() {
1184 if (_impl_.rudder_ !=
nullptr) _impl_.rudder_->Clear();
1185 _impl_._has_bits_[0] &= ~0x00000004u;
1187inline const ::jaiabot::protobuf::SurfaceBounds& Bounds::_internal_rudder()
const {
1188 const ::jaiabot::protobuf::SurfaceBounds* p = _impl_.rudder_;
1192inline const ::jaiabot::protobuf::SurfaceBounds& Bounds::rudder()
const {
1194 return _internal_rudder();
1196inline void Bounds::unsafe_arena_set_allocated_rudder(
1198 if (GetArenaForAllocation() ==
nullptr) {
1199 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.rudder_);
1201 _impl_.rudder_ = rudder;
1203 _impl_._has_bits_[0] |= 0x00000004u;
1205 _impl_._has_bits_[0] &= ~0x00000004u;
1209inline ::jaiabot::protobuf::SurfaceBounds* Bounds::release_rudder() {
1210 _impl_._has_bits_[0] &= ~0x00000004u;
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; }
1218 if (GetArenaForAllocation() !=
nullptr) {
1219 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1224inline ::jaiabot::protobuf::SurfaceBounds* Bounds::unsafe_arena_release_rudder() {
1226 _impl_._has_bits_[0] &= ~0x00000004u;
1228 _impl_.rudder_ =
nullptr;
1231inline ::jaiabot::protobuf::SurfaceBounds* Bounds::_internal_mutable_rudder() {
1232 _impl_._has_bits_[0] |= 0x00000004u;
1233 if (_impl_.rudder_ ==
nullptr) {
1237 return _impl_.rudder_;
1239inline ::jaiabot::protobuf::SurfaceBounds* Bounds::mutable_rudder() {
1245 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1246 if (message_arena ==
nullptr) {
1247 delete _impl_.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);
1256 _impl_._has_bits_[0] |= 0x00000004u;
1258 _impl_._has_bits_[0] &= ~0x00000004u;
1260 _impl_.rudder_ = rudder;
1265inline bool Bounds::_internal_has_motor()
const {
1266 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1267 PROTOBUF_ASSUME(!value || _impl_.motor_ !=
nullptr);
1270inline bool Bounds::has_motor()
const {
1271 return _internal_has_motor();
1273inline void Bounds::clear_motor() {
1274 if (_impl_.motor_ !=
nullptr) _impl_.motor_->Clear();
1275 _impl_._has_bits_[0] &= ~0x00000008u;
1277inline const ::jaiabot::protobuf::MotorBounds& Bounds::_internal_motor()
const {
1278 const ::jaiabot::protobuf::MotorBounds* p = _impl_.motor_;
1282inline const ::jaiabot::protobuf::MotorBounds& Bounds::motor()
const {
1284 return _internal_motor();
1286inline void Bounds::unsafe_arena_set_allocated_motor(
1288 if (GetArenaForAllocation() ==
nullptr) {
1289 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.motor_);
1291 _impl_.motor_ = motor;
1293 _impl_._has_bits_[0] |= 0x00000008u;
1295 _impl_._has_bits_[0] &= ~0x00000008u;
1299inline ::jaiabot::protobuf::MotorBounds* Bounds::release_motor() {
1300 _impl_._has_bits_[0] &= ~0x00000008u;
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; }
1308 if (GetArenaForAllocation() !=
nullptr) {
1309 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1314inline ::jaiabot::protobuf::MotorBounds* Bounds::unsafe_arena_release_motor() {
1316 _impl_._has_bits_[0] &= ~0x00000008u;
1318 _impl_.motor_ =
nullptr;
1321inline ::jaiabot::protobuf::MotorBounds* Bounds::_internal_mutable_motor() {
1322 _impl_._has_bits_[0] |= 0x00000008u;
1323 if (_impl_.motor_ ==
nullptr) {
1327 return _impl_.motor_;
1329inline ::jaiabot::protobuf::MotorBounds* Bounds::mutable_motor() {
1335 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1336 if (message_arena ==
nullptr) {
1337 delete _impl_.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);
1346 _impl_._has_bits_[0] |= 0x00000008u;
1348 _impl_._has_bits_[0] &= ~0x00000008u;
1350 _impl_.motor_ = motor;
1355 #pragma GCC diagnostic pop
1369#include <google/protobuf/port_undef.inc>
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()
static const ClassData _class_data_
PROTOBUF_CONSTEXPR Bounds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const Bounds & default_instance()
Bounds(const Bounds &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Bounds & operator=(const Bounds &from)
Bounds(Bounds &&from) noexcept
void UnsafeArenaSwap(Bounds *other)
friend void swap(Bounds &a, Bounds &b)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Bounds * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void MergeFrom(const Bounds &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Bounds & operator=(Bounds &&from) noexcept
void CopyFrom(const Bounds &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(MotorBounds *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const MotorBounds * internal_default_instance()
MotorBounds & operator=(MotorBounds &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void Swap(MotorBounds *other)
MotorBounds & operator=(const MotorBounds &from)
MotorBounds * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void CopyFrom(const MotorBounds &from)
MotorBounds(MotorBounds &&from) noexcept
static const MotorBounds & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
PROTOBUF_CONSTEXPR MotorBounds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
friend void swap(MotorBounds &a, MotorBounds &b)
MotorBounds(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ClassData _class_data_
MotorBounds(const MotorBounds &from)
void MergeFrom(const MotorBounds &from)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_upper(int32_t value)
static const ClassData _class_data_
SurfaceBounds(SurfaceBounds &&from) noexcept
SurfaceBounds(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_CONSTEXPR SurfaceBounds(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
~SurfaceBounds() override
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const SurfaceBounds * internal_default_instance()
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()
SurfaceBounds & operator=(SurfaceBounds &&from) noexcept
friend void swap(SurfaceBounds &a, SurfaceBounds &b)
static constexpr int kIndexInFileMessages
void CopyFrom(const SurfaceBounds &from)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
SurfaceBounds & operator=(const SurfaceBounds &from)
bool IsInitialized() const final
void set_lower(int32_t value)
void Swap(SurfaceBounds *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_center(int32_t value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void UnsafeArenaSwap(SurfaceBounds *other)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
int GetCachedSize() const final
SurfaceBounds * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void MergeFrom(const SurfaceBounds &from)
static const SurfaceBounds & default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
SurfaceBounds(const SurfaceBounds &from)
MotorBoundsDefaultTypeInternal _MotorBounds_default_instance_
SurfaceBoundsDefaultTypeInternal _SurfaceBounds_default_instance_
BoundsDefaultTypeInternal _Bounds_default_instance_
static const uint32_t offsets[]