4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2flow_5fcontrol_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2flow_5fcontrol_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>
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
41#include <boost/units/systems/si.hpp>
43#include <google/protobuf/port_def.inc>
44#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2flow_5fcontrol_2eproto
45PROTOBUF_NAMESPACE_OPEN
49PROTOBUF_NAMESPACE_CLOSE
59struct LowControlDefaultTypeInternal;
62struct LowControlAckDefaultTypeInternal;
66PROTOBUF_NAMESPACE_OPEN
69PROTOBUF_NAMESPACE_CLOSE
76 public ::PROTOBUF_NAMESPACE_ID::Message {
80 explicit PROTOBUF_CONSTEXPR
LowControl(::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());
156 LowControl*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
157 return CreateMaybeMessage<LowControl>(arena);
159 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
161 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
163 LowControl::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.LowControl";
190 bool is_message_owned =
false);
194 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
211 bool _internal_has_control_surfaces()
const;
219 const ::jaiabot::protobuf::ControlSurfaces& _internal_control_surfaces()
const;
229 bool _internal_has_id()
const;
233 void set_id(uint32_t value);
235 uint32_t _internal_id()
const;
236 void _internal_set_id(uint32_t value);
242 bool _internal_has_vehicle()
const;
248 uint32_t _internal_vehicle()
const;
249 void _internal_set_vehicle(uint32_t value);
255 bool _internal_has_time()
const;
258 uint64_t
time()
const;
261 uint64_t _internal_time()
const;
262 void _internal_set_time(uint64_t value);
267 typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
time_unit;
269 template<
typename Quantity >
271 {
set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
273 template<
typename Quantity >
278 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
285 size_t RequiredFieldsByteSizeFallback()
const;
287 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
288 typedef void InternalArenaConstructable_;
289 typedef void DestructorSkippable_;
291 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
292 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
299 friend struct ::TableStruct_jaiabot_2fmessages_2flow_5fcontrol_2eproto;
304 public ::PROTOBUF_NAMESPACE_ID::Message {
308 explicit PROTOBUF_CONSTEXPR
LowControlAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
313 *
this = ::std::move(from);
321 if (
this == &from)
return *
this;
322 if (GetOwningArena() == from.GetOwningArena()
323 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
324 && GetOwningArena() !=
nullptr
335 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
338 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
341 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
342 return GetDescriptor();
345 return default_instance().GetMetadata().descriptor;
348 return default_instance().GetMetadata().reflection;
351 return *internal_default_instance();
357 static constexpr int kIndexInFileMessages =
364 if (other ==
this)
return;
365 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
366 if (GetOwningArena() !=
nullptr &&
367 GetOwningArena() == other->GetOwningArena()) {
369 if (GetOwningArena() == other->GetOwningArena()) {
373 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
377 if (other ==
this)
return;
378 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
385 return CreateMaybeMessage<LowControlAck>(arena);
387 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
389 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
391 LowControlAck::MergeImpl(*
this, from);
394 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
396 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
397 bool IsInitialized() const final;
399 size_t ByteSizeLong() const final;
400 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
401 uint8_t* _InternalSerialize(
402 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
403 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
406 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
408 void SetCachedSize(
int size)
const final;
412 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
413 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
414 return "jaiabot.protobuf.LowControlAck";
418 bool is_message_owned =
false);
422 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
424 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
431 kLocationFieldNumber = 5,
433 kVehicleFieldNumber = 2,
434 kTimeFieldNumber = 3,
435 kCommandTimeFieldNumber = 4,
436 kRangeFieldNumber = 6,
437 kSpeedFieldNumber = 7,
438 kEpsFieldNumber = 12,
441 bool has_location()
const;
443 bool _internal_has_location()
const;
446 const ::jaiabot::protobuf::GeographicCoordinate& location()
const;
447 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_location();
451 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location()
const;
454 void unsafe_arena_set_allocated_location(
461 bool _internal_has_id()
const;
465 void set_id(uint32_t value);
467 uint32_t _internal_id()
const;
468 void _internal_set_id(uint32_t value);
472 bool has_vehicle()
const;
474 bool _internal_has_vehicle()
const;
476 void clear_vehicle();
477 uint32_t vehicle()
const;
478 void set_vehicle(uint32_t value);
480 uint32_t _internal_vehicle()
const;
481 void _internal_set_vehicle(uint32_t value);
485 bool has_time()
const;
487 bool _internal_has_time()
const;
490 uint64_t time()
const;
491 void set_time(uint64_t value);
493 uint64_t _internal_time()
const;
494 void _internal_set_time(uint64_t value);
498 bool has_command_time()
const;
500 bool _internal_has_command_time()
const;
502 void clear_command_time();
503 uint64_t command_time()
const;
504 void set_command_time(uint64_t value);
506 uint64_t _internal_command_time()
const;
507 void _internal_set_command_time(uint64_t value);
511 bool has_range()
const;
513 bool _internal_has_range()
const;
516 double range()
const;
517 void set_range(
double value);
519 double _internal_range()
const;
520 void _internal_set_range(
double value);
524 bool has_speed()
const;
526 bool _internal_has_speed()
const;
529 double speed()
const;
530 void set_speed(
double value);
532 double _internal_speed()
const;
533 void _internal_set_speed(
double value);
537 bool has_eps()
const;
539 bool _internal_has_eps()
const;
543 void set_eps(
double value);
545 double _internal_eps()
const;
546 void _internal_set_eps(
double value);
551 typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
time_unit;
553 template<
typename Quantity >
555 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
557 template<
typename Quantity >
559 {
return Quantity(time() *
time_unit()); };
562 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
566 typedef boost::units::make_scaled_unit<boost::units::unit<command_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
command_time_unit;
568 template<
typename Quantity >
570 { set_command_time(boost::units::quantity<command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
572 template<
typename Quantity >
577 {
return command_time_with_units<boost::units::quantity< command_time_unit,google::protobuf::uint64 > >(); };
579 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1 >::type
range_dimension;
581 typedef boost::units::unit<range_dimension,boost::units::si::system>
range_unit;
583 template<
typename Quantity >
585 { set_range(boost::units::quantity<range_unit,double >(value_w_units).value() ); };
587 template<
typename Quantity >
592 {
return range_with_units<boost::units::quantity< range_unit,double > >(); };
594 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type
speed_dimension;
596 typedef boost::units::unit<speed_dimension,boost::units::si::system>
speed_unit;
598 template<
typename Quantity >
600 { set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
602 template<
typename Quantity >
607 {
return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
609 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type
eps_dimension;
611 typedef boost::units::unit<eps_dimension,boost::units::si::system>
eps_unit;
613 template<
typename Quantity >
615 { set_eps(boost::units::quantity<eps_unit,double >(value_w_units).value() ); };
617 template<
typename Quantity >
619 {
return Quantity(eps() *
eps_unit()); };
622 {
return eps_with_units<boost::units::quantity< eps_unit,double > >(); };
629 size_t RequiredFieldsByteSizeFallback()
const;
631 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
632 typedef void InternalArenaConstructable_;
633 typedef void DestructorSkippable_;
635 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
636 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
641 uint64_t command_time_;
647 friend struct ::TableStruct_jaiabot_2fmessages_2flow_5fcontrol_2eproto;
655 #pragma GCC diagnostic push
656 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
661inline bool LowControl::_internal_has_id()
const {
662 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
665inline bool LowControl::has_id()
const {
666 return _internal_has_id();
668inline void LowControl::clear_id() {
670 _impl_._has_bits_[0] &= ~0x00000002u;
672inline uint32_t LowControl::_internal_id()
const {
675inline uint32_t LowControl::id()
const {
677 return _internal_id();
679inline void LowControl::_internal_set_id(uint32_t value) {
680 _impl_._has_bits_[0] |= 0x00000002u;
683inline void LowControl::set_id(uint32_t value) {
684 _internal_set_id(value);
689inline bool LowControl::_internal_has_vehicle()
const {
690 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
693inline bool LowControl::has_vehicle()
const {
694 return _internal_has_vehicle();
696inline void LowControl::clear_vehicle() {
697 _impl_.vehicle_ = 0u;
698 _impl_._has_bits_[0] &= ~0x00000004u;
700inline uint32_t LowControl::_internal_vehicle()
const {
701 return _impl_.vehicle_;
703inline uint32_t LowControl::vehicle()
const {
705 return _internal_vehicle();
707inline void LowControl::_internal_set_vehicle(uint32_t value) {
708 _impl_._has_bits_[0] |= 0x00000004u;
709 _impl_.vehicle_ = value;
711inline void LowControl::set_vehicle(uint32_t value) {
712 _internal_set_vehicle(value);
717inline bool LowControl::_internal_has_time()
const {
718 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
721inline bool LowControl::has_time()
const {
722 return _internal_has_time();
724inline void LowControl::clear_time() {
725 _impl_.time_ = uint64_t{0u};
726 _impl_._has_bits_[0] &= ~0x00000008u;
728inline uint64_t LowControl::_internal_time()
const {
731inline uint64_t LowControl::time()
const {
733 return _internal_time();
735inline void LowControl::_internal_set_time(uint64_t value) {
736 _impl_._has_bits_[0] |= 0x00000008u;
737 _impl_.time_ = value;
739inline void LowControl::set_time(uint64_t value) {
740 _internal_set_time(value);
745inline bool LowControl::_internal_has_control_surfaces()
const {
746 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
747 PROTOBUF_ASSUME(!value || _impl_.control_surfaces_ !=
nullptr);
750inline bool LowControl::has_control_surfaces()
const {
751 return _internal_has_control_surfaces();
753inline const ::jaiabot::protobuf::ControlSurfaces& LowControl::_internal_control_surfaces()
const {
754 const ::jaiabot::protobuf::ControlSurfaces* p = _impl_.control_surfaces_;
758inline const ::jaiabot::protobuf::ControlSurfaces& LowControl::control_surfaces()
const {
760 return _internal_control_surfaces();
762inline void LowControl::unsafe_arena_set_allocated_control_surfaces(
764 if (GetArenaForAllocation() ==
nullptr) {
765 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.control_surfaces_);
767 _impl_.control_surfaces_ = control_surfaces;
768 if (control_surfaces) {
769 _impl_._has_bits_[0] |= 0x00000001u;
771 _impl_._has_bits_[0] &= ~0x00000001u;
775inline ::jaiabot::protobuf::ControlSurfaces* LowControl::release_control_surfaces() {
776 _impl_._has_bits_[0] &= ~0x00000001u;
778 _impl_.control_surfaces_ =
nullptr;
779#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
780 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
781 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
782 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
784 if (GetArenaForAllocation() !=
nullptr) {
785 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
790inline ::jaiabot::protobuf::ControlSurfaces* LowControl::unsafe_arena_release_control_surfaces() {
792 _impl_._has_bits_[0] &= ~0x00000001u;
794 _impl_.control_surfaces_ =
nullptr;
797inline ::jaiabot::protobuf::ControlSurfaces* LowControl::_internal_mutable_control_surfaces() {
798 _impl_._has_bits_[0] |= 0x00000001u;
799 if (_impl_.control_surfaces_ ==
nullptr) {
801 _impl_.control_surfaces_ = p;
803 return _impl_.control_surfaces_;
805inline ::jaiabot::protobuf::ControlSurfaces* LowControl::mutable_control_surfaces() {
811 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
812 if (message_arena ==
nullptr) {
813 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.control_surfaces_);
815 if (control_surfaces) {
816 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
817 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
818 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(control_surfaces));
819 if (message_arena != submessage_arena) {
820 control_surfaces = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
821 message_arena, control_surfaces, submessage_arena);
823 _impl_._has_bits_[0] |= 0x00000001u;
825 _impl_._has_bits_[0] &= ~0x00000001u;
827 _impl_.control_surfaces_ = control_surfaces;
836inline bool LowControlAck::_internal_has_id()
const {
837 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
840inline bool LowControlAck::has_id()
const {
841 return _internal_has_id();
843inline void LowControlAck::clear_id() {
845 _impl_._has_bits_[0] &= ~0x00000002u;
847inline uint32_t LowControlAck::_internal_id()
const {
850inline uint32_t LowControlAck::id()
const {
852 return _internal_id();
854inline void LowControlAck::_internal_set_id(uint32_t value) {
855 _impl_._has_bits_[0] |= 0x00000002u;
858inline void LowControlAck::set_id(uint32_t value) {
859 _internal_set_id(value);
864inline bool LowControlAck::_internal_has_vehicle()
const {
865 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
868inline bool LowControlAck::has_vehicle()
const {
869 return _internal_has_vehicle();
871inline void LowControlAck::clear_vehicle() {
872 _impl_.vehicle_ = 0u;
873 _impl_._has_bits_[0] &= ~0x00000004u;
875inline uint32_t LowControlAck::_internal_vehicle()
const {
876 return _impl_.vehicle_;
878inline uint32_t LowControlAck::vehicle()
const {
880 return _internal_vehicle();
882inline void LowControlAck::_internal_set_vehicle(uint32_t value) {
883 _impl_._has_bits_[0] |= 0x00000004u;
884 _impl_.vehicle_ = value;
886inline void LowControlAck::set_vehicle(uint32_t value) {
887 _internal_set_vehicle(value);
892inline bool LowControlAck::_internal_has_time()
const {
893 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
896inline bool LowControlAck::has_time()
const {
897 return _internal_has_time();
899inline void LowControlAck::clear_time() {
900 _impl_.time_ = uint64_t{0u};
901 _impl_._has_bits_[0] &= ~0x00000008u;
903inline uint64_t LowControlAck::_internal_time()
const {
906inline uint64_t LowControlAck::time()
const {
908 return _internal_time();
910inline void LowControlAck::_internal_set_time(uint64_t value) {
911 _impl_._has_bits_[0] |= 0x00000008u;
912 _impl_.time_ = value;
914inline void LowControlAck::set_time(uint64_t value) {
915 _internal_set_time(value);
920inline bool LowControlAck::_internal_has_command_time()
const {
921 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
924inline bool LowControlAck::has_command_time()
const {
925 return _internal_has_command_time();
927inline void LowControlAck::clear_command_time() {
928 _impl_.command_time_ = uint64_t{0u};
929 _impl_._has_bits_[0] &= ~0x00000010u;
931inline uint64_t LowControlAck::_internal_command_time()
const {
932 return _impl_.command_time_;
934inline uint64_t LowControlAck::command_time()
const {
936 return _internal_command_time();
938inline void LowControlAck::_internal_set_command_time(uint64_t value) {
939 _impl_._has_bits_[0] |= 0x00000010u;
940 _impl_.command_time_ = value;
942inline void LowControlAck::set_command_time(uint64_t value) {
943 _internal_set_command_time(value);
948inline bool LowControlAck::_internal_has_location()
const {
949 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
950 PROTOBUF_ASSUME(!value || _impl_.location_ !=
nullptr);
953inline bool LowControlAck::has_location()
const {
954 return _internal_has_location();
956inline const ::jaiabot::protobuf::GeographicCoordinate& LowControlAck::_internal_location()
const {
957 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.location_;
961inline const ::jaiabot::protobuf::GeographicCoordinate& LowControlAck::location()
const {
963 return _internal_location();
965inline void LowControlAck::unsafe_arena_set_allocated_location(
967 if (GetArenaForAllocation() ==
nullptr) {
968 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.location_);
970 _impl_.location_ = location;
972 _impl_._has_bits_[0] |= 0x00000001u;
974 _impl_._has_bits_[0] &= ~0x00000001u;
978inline ::jaiabot::protobuf::GeographicCoordinate* LowControlAck::release_location() {
979 _impl_._has_bits_[0] &= ~0x00000001u;
981 _impl_.location_ =
nullptr;
982#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
983 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
984 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
985 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
987 if (GetArenaForAllocation() !=
nullptr) {
988 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
993inline ::jaiabot::protobuf::GeographicCoordinate* LowControlAck::unsafe_arena_release_location() {
995 _impl_._has_bits_[0] &= ~0x00000001u;
997 _impl_.location_ =
nullptr;
1000inline ::jaiabot::protobuf::GeographicCoordinate* LowControlAck::_internal_mutable_location() {
1001 _impl_._has_bits_[0] |= 0x00000001u;
1002 if (_impl_.location_ ==
nullptr) {
1004 _impl_.location_ = p;
1006 return _impl_.location_;
1008inline ::jaiabot::protobuf::GeographicCoordinate* LowControlAck::mutable_location() {
1014 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1015 if (message_arena ==
nullptr) {
1016 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.location_);
1019 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1020 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1021 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(location));
1022 if (message_arena != submessage_arena) {
1023 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1024 message_arena, location, submessage_arena);
1026 _impl_._has_bits_[0] |= 0x00000001u;
1028 _impl_._has_bits_[0] &= ~0x00000001u;
1030 _impl_.location_ = location;
1035inline bool LowControlAck::_internal_has_range()
const {
1036 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1039inline bool LowControlAck::has_range()
const {
1040 return _internal_has_range();
1042inline void LowControlAck::clear_range() {
1044 _impl_._has_bits_[0] &= ~0x00000020u;
1046inline double LowControlAck::_internal_range()
const {
1047 return _impl_.range_;
1049inline double LowControlAck::range()
const {
1051 return _internal_range();
1053inline void LowControlAck::_internal_set_range(
double value) {
1054 _impl_._has_bits_[0] |= 0x00000020u;
1055 _impl_.range_ = value;
1057inline void LowControlAck::set_range(
double value) {
1058 _internal_set_range(value);
1063inline bool LowControlAck::_internal_has_speed()
const {
1064 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1067inline bool LowControlAck::has_speed()
const {
1068 return _internal_has_speed();
1070inline void LowControlAck::clear_speed() {
1072 _impl_._has_bits_[0] &= ~0x00000040u;
1074inline double LowControlAck::_internal_speed()
const {
1075 return _impl_.speed_;
1077inline double LowControlAck::speed()
const {
1079 return _internal_speed();
1081inline void LowControlAck::_internal_set_speed(
double value) {
1082 _impl_._has_bits_[0] |= 0x00000040u;
1083 _impl_.speed_ = value;
1085inline void LowControlAck::set_speed(
double value) {
1086 _internal_set_speed(value);
1091inline bool LowControlAck::_internal_has_eps()
const {
1092 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1095inline bool LowControlAck::has_eps()
const {
1096 return _internal_has_eps();
1098inline void LowControlAck::clear_eps() {
1100 _impl_._has_bits_[0] &= ~0x00000080u;
1102inline double LowControlAck::_internal_eps()
const {
1105inline double LowControlAck::eps()
const {
1107 return _internal_eps();
1109inline void LowControlAck::_internal_set_eps(
double value) {
1110 _impl_._has_bits_[0] |= 0x00000080u;
1111 _impl_.eps_ = value;
1113inline void LowControlAck::set_eps(
double value) {
1114 _internal_set_eps(value);
1119 #pragma GCC diagnostic pop
1131#include <google/protobuf/port_undef.inc>
void CopyFrom(const LowControlAck &from)
Quantity eps_with_units() const
Quantity speed_with_units() const
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type speed_dimension
boost::units::time_dimension command_time_dimension
void set_eps_with_units(Quantity value_w_units)
static const LowControlAck * internal_default_instance()
PROTOBUF_CONSTEXPR LowControlAck(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
LowControlAck(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::unit< speed_dimension, boost::units::si::system > speed_unit
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type eps_dimension
LowControlAck(LowControlAck &&from) noexcept
LowControlAck(const LowControlAck &from)
void set_speed_with_units(Quantity value_w_units)
boost::units::quantity< command_time_unit, google::protobuf::uint64 > command_time_with_units() const
friend void swap(LowControlAck &a, LowControlAck &b)
static const ClassData _class_data_
boost::units::make_scaled_unit< boost::units::unit< command_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type command_time_unit
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
void UnsafeArenaSwap(LowControlAck *other)
LowControlAck * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_command_time_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
boost::units::time_dimension time_dimension
boost::units::derived_dimension< boost::units::length_base_dimension, 1 >::type range_dimension
static const LowControlAck & default_instance()
~LowControlAck() override
boost::units::quantity< speed_unit, double > speed_with_units() const
void set_time_with_units(Quantity value_w_units)
boost::units::unit< eps_dimension, boost::units::si::system > eps_unit
boost::units::quantity< range_unit, double > range_with_units() const
LowControlAck & operator=(const LowControlAck &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
LowControlAck & operator=(LowControlAck &&from) noexcept
void Swap(LowControlAck *other)
void MergeFrom(const LowControlAck &from)
Quantity command_time_with_units() const
boost::units::quantity< eps_unit, double > eps_with_units() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Quantity time_with_units() const
void set_range_with_units(Quantity value_w_units)
Quantity range_with_units() const
boost::units::unit< range_dimension, boost::units::si::system > range_unit
::jaiabot::protobuf::ControlSurfaces * mutable_control_surfaces()
PROTOBUF_NODISCARD::jaiabot::protobuf::ControlSurfaces * release_control_surfaces()
LowControl(LowControl &&from) noexcept
LowControl & operator=(const LowControl &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void CopyFrom(const LowControl &from)
PROTOBUF_CONSTEXPR LowControl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Quantity time_with_units() const
LowControl * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
bool IsInitialized() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_time_with_units(Quantity value_w_units)
::jaiabot::protobuf::ControlSurfaces * unsafe_arena_release_control_surfaces()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
boost::units::time_dimension time_dimension
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_allocated_control_surfaces(::jaiabot::protobuf::ControlSurfaces *control_surfaces)
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
size_t ByteSizeLong() const final
static constexpr int kIndexInFileMessages
void clear_control_surfaces()
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
void set_time(uint64_t value)
LowControl & operator=(LowControl &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
bool has_control_surfaces() const
void set_vehicle(uint32_t value)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const LowControl * internal_default_instance()
const ::jaiabot::protobuf::ControlSurfaces & control_surfaces() const
static const LowControl & default_instance()
void UnsafeArenaSwap(LowControl *other)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
int GetCachedSize() const final
friend void swap(LowControl &a, LowControl &b)
LowControl(const LowControl &from)
void set_id(uint32_t value)
void Swap(LowControl *other)
@ kControlSurfacesFieldNumber
LowControl(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ClassData _class_data_
void MergeFrom(const LowControl &from)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void unsafe_arena_set_allocated_control_surfaces(::jaiabot::protobuf::ControlSurfaces *control_surfaces)
PROTOBUF_NAMESPACE_OPEN ::jaiabot::protobuf::ControlSurfaces * Arena::CreateMaybeMessage<::jaiabot::protobuf::ControlSurfaces >(Arena *)
PROTOBUF_NAMESPACE_OPEN ::jaiabot::protobuf::GeographicCoordinate * Arena::CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2flow_5fcontrol_2eproto
LowControlDefaultTypeInternal _LowControl_default_instance_
LowControlAckDefaultTypeInternal _LowControlAck_default_instance_
ControlSurfacesDefaultTypeInternal _ControlSurfaces_default_instance_
GeographicCoordinateDefaultTypeInternal _GeographicCoordinate_default_instance_
static const uint32_t offsets[]