4 #ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
36 #include "dccl/option_extensions.pb.h"
40 #include "goby/middleware/protobuf/coroner.pb.h"
44 #include <boost/units/quantity.hpp>
45 #include <boost/units/absolute.hpp>
46 #include <boost/units/dimensionless_type.hpp>
47 #include <boost/units/make_scaled_unit.hpp>
49 #include <boost/units/systems/angle/degrees.hpp>
51 #include <boost/units/systems/temperature/celsius.hpp>
53 #include <boost/units/systems/si.hpp>
55 #include <google/protobuf/port_def.inc>
56 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
57 PROTOBUF_NAMESPACE_OPEN
61 PROTOBUF_NAMESPACE_CLOSE
65 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
67 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
69 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[10]
71 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
73 static const ::PROTOBUF_NAMESPACE_ID::uint32
offsets[];
79 class BotStatusDefaultTypeInternal;
81 class BotStatus_Attitude;
82 class BotStatus_AttitudeDefaultTypeInternal;
84 class BotStatus_Speed;
85 class BotStatus_SpeedDefaultTypeInternal;
88 class CommandDefaultTypeInternal;
91 class CommandForHubDefaultTypeInternal;
94 class DivePacketDefaultTypeInternal;
96 class DivePacket_Measurements;
97 class DivePacket_MeasurementsDefaultTypeInternal;
100 class DriftPacketDefaultTypeInternal;
102 class DriftPacket_EstimatedDrift;
103 class DriftPacket_EstimatedDriftDefaultTypeInternal;
106 class TaskPacketDefaultTypeInternal;
110 PROTOBUF_NAMESPACE_OPEN
111 template<> ::jaiabot::protobuf::BotStatus* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus>(Arena*);
112 template<> ::jaiabot::protobuf::BotStatus_Attitude* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude>(Arena*);
113 template<> ::jaiabot::protobuf::BotStatus_Speed* Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed>(Arena*);
114 template<> ::jaiabot::protobuf::Command* Arena::CreateMaybeMessage<::jaiabot::protobuf::Command>(Arena*);
115 template<> ::jaiabot::protobuf::CommandForHub* Arena::CreateMaybeMessage<::jaiabot::protobuf::CommandForHub>(Arena*);
116 template<> ::jaiabot::protobuf::DivePacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket>(Arena*);
117 template<> ::jaiabot::protobuf::DivePacket_Measurements* Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket_Measurements>(Arena*);
118 template<> ::jaiabot::protobuf::DriftPacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket>(Arena*);
119 template<> ::jaiabot::protobuf::DriftPacket_EstimatedDrift* Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket_EstimatedDrift>(Arena*);
120 template<> ::jaiabot::protobuf::TaskPacket* Arena::CreateMaybeMessage<::jaiabot::protobuf::TaskPacket>(Arena*);
121 PROTOBUF_NAMESPACE_CLOSE
155 static_assert(::std::is_same<T, Command_CommandType>::value ||
156 ::std::is_integral<T>::value,
157 "Incorrect type passed to function Command_CommandType_Name.");
158 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
163 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Command_CommandType>(
181 static_assert(::std::is_same<T, CommandForHub_HubCommandType>::value ||
182 ::std::is_integral<T>::value,
183 "Incorrect type passed to function CommandForHub_HubCommandType_Name.");
184 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
189 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CommandForHub_HubCommandType>(
204 static_assert(::std::is_same<T, BotStatus_BotType>::value ||
205 ::std::is_integral<T>::value,
206 "Incorrect type passed to function BotStatus_BotType_Name.");
207 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
212 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<BotStatus_BotType>(
227 static_assert(::std::is_same<T, DivePacket_BottomType>::value ||
228 ::std::is_integral<T>::value,
229 "Incorrect type passed to function DivePacket_BottomType_Name.");
230 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
235 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<DivePacket_BottomType>(
240 class Command PROTOBUF_FINAL :
241 public ::PROTOBUF_NAMESPACE_ID::Message {
249 *
this = ::std::move(from);
257 if (GetArena() == from.GetArena()) {
258 if (
this != &from) InternalSwap(&from);
266 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
269 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
272 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
273 return GetDescriptor();
276 return GetMetadataStatic().descriptor;
279 return GetMetadataStatic().reflection;
287 COMMAND_DATA_NOT_SET = 0,
292 return reinterpret_cast<const Command*
>(
295 static constexpr
int kIndexInFileMessages =
298 friend void swap(Command& a, Command& b) {
301 inline void Swap(Command* other) {
302 if (other ==
this)
return;
303 if (GetArena() == other->GetArena()) {
306 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
310 if (other ==
this)
return;
311 GOOGLE_DCHECK(GetArena() == other->GetArena());
317 inline Command*
New() const final {
318 return CreateMaybeMessage<Command>(
nullptr);
321 Command*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
322 return CreateMaybeMessage<Command>(arena);
324 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
325 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
328 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
329 bool IsInitialized() const final;
331 size_t ByteSizeLong() const final;
332 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
333 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
334 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
335 int GetCachedSize() const final {
return _cached_size_.Get(); }
338 inline void SharedCtor();
339 inline void SharedDtor();
340 void SetCachedSize(
int size)
const final;
341 void InternalSwap(Command* other);
342 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
343 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
344 return "jaiabot.protobuf.Command";
347 explicit Command(::PROTOBUF_NAMESPACE_ID::Arena* arena);
349 static void ArenaDtor(
void*
object);
350 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
355 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
412 static constexpr
int CommandType_ARRAYSIZE =
414 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
420 static_assert(::std::is_same<T, CommandType>::value ||
421 ::std::is_integral<T>::value,
422 "Incorrect type passed to function CommandType_Name.");
433 kTimeFieldNumber = 2,
434 kBotIdFieldNumber = 1,
435 kTypeFieldNumber = 10,
436 kPlanFieldNumber = 20,
438 kRcTaskFieldNumber = 31,
443 bool _internal_has_time()
const;
446 ::PROTOBUF_NAMESPACE_ID::uint64
time()
const;
447 void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
449 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time()
const;
450 void _internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
456 bool _internal_has_bot_id()
const;
459 ::PROTOBUF_NAMESPACE_ID::uint32
bot_id()
const;
462 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_bot_id()
const;
463 void _internal_set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
469 bool _internal_has_type()
const;
482 bool _internal_has_plan()
const;
485 const ::jaiabot::protobuf::MissionPlan&
plan()
const;
490 const ::jaiabot::protobuf::MissionPlan& _internal_plan()
const;
491 ::jaiabot::protobuf::MissionPlan* _internal_mutable_plan();
494 ::jaiabot::protobuf::MissionPlan* plan);
500 bool _internal_has_rc()
const;
503 const ::jaiabot::protobuf::RemoteControl&
rc()
const;
508 const ::jaiabot::protobuf::RemoteControl& _internal_rc()
const;
509 ::jaiabot::protobuf::RemoteControl* _internal_mutable_rc();
512 ::jaiabot::protobuf::RemoteControl* rc);
518 bool _internal_has_rc_task()
const;
521 const ::jaiabot::protobuf::MissionTask&
rc_task()
const;
526 const ::jaiabot::protobuf::MissionTask& _internal_rc_task()
const;
527 ::jaiabot::protobuf::MissionTask* _internal_mutable_rc_task();
530 ::jaiabot::protobuf::MissionTask* rc_task);
538 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;
540 template<
typename Quantity >
542 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
544 template<
typename Quantity >
546 {
return Quantity(time() *
time_unit()); };
549 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
556 void set_has_rc_task();
558 inline bool has_command_data()
const;
559 inline void clear_has_command_data();
562 size_t RequiredFieldsByteSizeFallback()
const;
564 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
565 typedef void InternalArenaConstructable_;
566 typedef void DestructorSkippable_;
567 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
568 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
569 ::PROTOBUF_NAMESPACE_ID::uint64 time_;
570 ::PROTOBUF_NAMESPACE_ID::uint32 bot_id_;
572 union CommandDataUnion {
573 CommandDataUnion() {}
574 ::jaiabot::protobuf::MissionPlan* plan_;
575 ::jaiabot::protobuf::RemoteControl* rc_;
576 ::jaiabot::protobuf::MissionTask* rc_task_;
578 ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
580 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
585 public ::PROTOBUF_NAMESPACE_ID::Message {
593 *
this = ::std::move(from);
596 inline CommandForHub&
operator=(
const CommandForHub& from) {
600 inline CommandForHub&
operator=(CommandForHub&& from) noexcept {
601 if (GetArena() == from.GetArena()) {
602 if (
this != &from) InternalSwap(&from);
610 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
613 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
616 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
617 return GetDescriptor();
620 return GetMetadataStatic().descriptor;
623 return GetMetadataStatic().reflection;
629 return reinterpret_cast<const CommandForHub*
>(
632 static constexpr
int kIndexInFileMessages =
635 friend void swap(CommandForHub& a, CommandForHub& b) {
638 inline void Swap(CommandForHub* other) {
639 if (other ==
this)
return;
640 if (GetArena() == other->GetArena()) {
643 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
647 if (other ==
this)
return;
648 GOOGLE_DCHECK(GetArena() == other->GetArena());
654 inline CommandForHub*
New() const final {
655 return CreateMaybeMessage<CommandForHub>(
nullptr);
658 CommandForHub*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
659 return CreateMaybeMessage<CommandForHub>(arena);
661 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
662 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
665 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
666 bool IsInitialized() const final;
668 size_t ByteSizeLong() const final;
669 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
670 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
671 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
672 int GetCachedSize() const final {
return _cached_size_.Get(); }
675 inline void SharedCtor();
676 inline void SharedDtor();
677 void SetCachedSize(
int size)
const final;
678 void InternalSwap(CommandForHub* other);
679 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
680 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
681 return "jaiabot.protobuf.CommandForHub";
686 static void ArenaDtor(
void*
object);
687 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
692 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
719 static constexpr
int HubCommandType_ARRAYSIZE =
721 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
727 static_assert(::std::is_same<T, HubCommandType>::value ||
728 ::std::is_integral<T>::value,
729 "Incorrect type passed to function HubCommandType_Name.");
740 kHubLocationFieldNumber = 80,
741 kTimeFieldNumber = 2,
742 kHubIdFieldNumber = 1,
743 kScanForBotIdFieldNumber = 11,
744 kTypeFieldNumber = 10,
749 bool _internal_has_hub_location()
const;
757 const ::jaiabot::protobuf::GeographicCoordinate& _internal_hub_location()
const;
758 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_hub_location();
761 ::jaiabot::protobuf::GeographicCoordinate* hub_location);
767 bool _internal_has_time()
const;
770 ::PROTOBUF_NAMESPACE_ID::uint64
time()
const;
771 void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
773 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time()
const;
774 void _internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
780 bool _internal_has_hub_id()
const;
783 ::PROTOBUF_NAMESPACE_ID::uint32
hub_id()
const;
786 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_hub_id()
const;
787 void _internal_set_hub_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
793 bool _internal_has_scan_for_bot_id()
const;
799 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_scan_for_bot_id()
const;
800 void _internal_set_scan_for_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
806 bool _internal_has_type()
const;
818 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;
820 template<
typename Quantity >
822 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
824 template<
typename Quantity >
826 {
return Quantity(time() *
time_unit()); };
829 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
836 size_t RequiredFieldsByteSizeFallback()
const;
838 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
839 typedef void InternalArenaConstructable_;
840 typedef void DestructorSkippable_;
841 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
842 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
843 ::jaiabot::protobuf::GeographicCoordinate* hub_location_;
844 ::PROTOBUF_NAMESPACE_ID::uint64 time_;
845 ::PROTOBUF_NAMESPACE_ID::uint32 hub_id_;
846 ::PROTOBUF_NAMESPACE_ID::uint32 scan_for_bot_id_;
848 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
852 class BotStatus_Attitude PROTOBUF_FINAL :
853 public ::PROTOBUF_NAMESPACE_ID::Message {
860 : BotStatus_Attitude() {
861 *
this = ::std::move(from);
864 inline BotStatus_Attitude&
operator=(
const BotStatus_Attitude& from) {
868 inline BotStatus_Attitude&
operator=(BotStatus_Attitude&& from) noexcept {
869 if (GetArena() == from.GetArena()) {
870 if (
this != &from) InternalSwap(&from);
878 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
881 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
884 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
885 return GetDescriptor();
888 return GetMetadataStatic().descriptor;
891 return GetMetadataStatic().reflection;
897 return reinterpret_cast<const BotStatus_Attitude*
>(
900 static constexpr
int kIndexInFileMessages =
903 friend void swap(BotStatus_Attitude& a, BotStatus_Attitude& b) {
906 inline void Swap(BotStatus_Attitude* other) {
907 if (other ==
this)
return;
908 if (GetArena() == other->GetArena()) {
911 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
915 if (other ==
this)
return;
916 GOOGLE_DCHECK(GetArena() == other->GetArena());
922 inline BotStatus_Attitude*
New() const final {
923 return CreateMaybeMessage<BotStatus_Attitude>(
nullptr);
926 BotStatus_Attitude*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
927 return CreateMaybeMessage<BotStatus_Attitude>(arena);
929 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
930 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
933 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
934 bool IsInitialized() const final;
936 size_t ByteSizeLong() const final;
937 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
938 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
939 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
940 int GetCachedSize() const final {
return _cached_size_.Get(); }
943 inline void SharedCtor();
944 inline void SharedDtor();
945 void SetCachedSize(
int size)
const final;
946 void InternalSwap(BotStatus_Attitude* other);
947 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
948 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
949 return "jaiabot.protobuf.BotStatus.Attitude";
954 static void ArenaDtor(
void*
object);
955 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
960 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
972 kRollFieldNumber = 1,
973 kPitchFieldNumber = 2,
974 kHeadingFieldNumber = 3,
975 kCourseOverGroundFieldNumber = 4,
980 bool _internal_has_roll()
const;
986 double _internal_roll()
const;
987 void _internal_set_roll(
double value);
993 bool _internal_has_pitch()
const;
999 double _internal_pitch()
const;
1000 void _internal_set_pitch(
double value);
1006 bool _internal_has_heading()
const;
1012 double _internal_heading()
const;
1013 void _internal_set_heading(
double value);
1019 bool _internal_has_course_over_ground()
const;
1025 double _internal_course_over_ground()
const;
1026 void _internal_set_course_over_ground(
double value);
1031 typedef boost::units::unit<roll_dimension,boost::units::degree::system>
roll_unit;
1033 template<
typename Quantity >
1035 { set_roll(boost::units::quantity<roll_unit,double >(value_w_units).value() ); };
1037 template<
typename Quantity >
1039 {
return Quantity(roll() *
roll_unit()); };
1042 {
return roll_with_units<boost::units::quantity< roll_unit,double > >(); };
1046 typedef boost::units::unit<pitch_dimension,boost::units::degree::system>
pitch_unit;
1048 template<
typename Quantity >
1050 { set_pitch(boost::units::quantity<pitch_unit,double >(value_w_units).value() ); };
1052 template<
typename Quantity >
1054 {
return Quantity(pitch() *
pitch_unit()); };
1057 {
return pitch_with_units<boost::units::quantity< pitch_unit,double > >(); };
1061 typedef boost::units::unit<heading_dimension,boost::units::degree::system>
heading_unit;
1063 template<
typename Quantity >
1065 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
1067 template<
typename Quantity >
1072 {
return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
1078 template<
typename Quantity >
1080 { set_course_over_ground(boost::units::quantity<course_over_ground_unit,double >(value_w_units).value() ); };
1082 template<
typename Quantity >
1087 {
return course_over_ground_with_units<boost::units::quantity< course_over_ground_unit,double > >(); };
1093 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1094 typedef void InternalArenaConstructable_;
1095 typedef void DestructorSkippable_;
1096 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1097 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1101 double course_over_ground_;
1102 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1106 class BotStatus_Speed PROTOBUF_FINAL :
1107 public ::PROTOBUF_NAMESPACE_ID::Message {
1114 : BotStatus_Speed() {
1115 *
this = ::std::move(from);
1118 inline BotStatus_Speed&
operator=(
const BotStatus_Speed& from) {
1122 inline BotStatus_Speed&
operator=(BotStatus_Speed&& from) noexcept {
1123 if (GetArena() == from.GetArena()) {
1124 if (
this != &from) InternalSwap(&from);
1132 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1135 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1139 return GetDescriptor();
1142 return GetMetadataStatic().descriptor;
1145 return GetMetadataStatic().reflection;
1151 return reinterpret_cast<const BotStatus_Speed*
>(
1154 static constexpr
int kIndexInFileMessages =
1157 friend void swap(BotStatus_Speed& a, BotStatus_Speed& b) {
1160 inline void Swap(BotStatus_Speed* other) {
1161 if (other ==
this)
return;
1162 if (GetArena() == other->GetArena()) {
1163 InternalSwap(other);
1165 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1169 if (other ==
this)
return;
1170 GOOGLE_DCHECK(GetArena() == other->GetArena());
1171 InternalSwap(other);
1176 inline BotStatus_Speed*
New() const final {
1177 return CreateMaybeMessage<BotStatus_Speed>(
nullptr);
1180 BotStatus_Speed*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
1181 return CreateMaybeMessage<BotStatus_Speed>(arena);
1183 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
1184 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
1187 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1188 bool IsInitialized() const final;
1190 size_t ByteSizeLong() const final;
1191 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1192 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
1193 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1194 int GetCachedSize() const final {
return _cached_size_.Get(); }
1197 inline void SharedCtor();
1198 inline void SharedDtor();
1199 void SetCachedSize(
int size)
const final;
1200 void InternalSwap(BotStatus_Speed* other);
1201 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1202 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1203 return "jaiabot.protobuf.BotStatus.Speed";
1208 static void ArenaDtor(
void*
object);
1209 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1214 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1226 kOverGroundFieldNumber = 1,
1227 kOverWaterFieldNumber = 2,
1232 bool _internal_has_over_ground()
const;
1238 double _internal_over_ground()
const;
1239 void _internal_set_over_ground(
double value);
1245 bool _internal_has_over_water()
const;
1251 double _internal_over_water()
const;
1252 void _internal_set_over_water(
double value);
1259 template<
typename Quantity >
1261 { set_over_ground(boost::units::quantity<over_ground_unit,double >(value_w_units).value() ); };
1263 template<
typename Quantity >
1268 {
return over_ground_with_units<boost::units::quantity< over_ground_unit,double > >(); };
1272 typedef boost::units::unit<over_water_dimension,boost::units::si::system>
over_water_unit;
1274 template<
typename Quantity >
1276 { set_over_water(boost::units::quantity<over_water_unit,double >(value_w_units).value() ); };
1278 template<
typename Quantity >
1283 {
return over_water_with_units<boost::units::quantity< over_water_unit,double > >(); };
1289 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1290 typedef void InternalArenaConstructable_;
1291 typedef void DestructorSkippable_;
1292 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1293 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1294 double over_ground_;
1296 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1300 class BotStatus PROTOBUF_FINAL :
1301 public ::PROTOBUF_NAMESPACE_ID::Message {
1309 *
this = ::std::move(from);
1317 if (GetArena() == from.GetArena()) {
1318 if (
this != &from) InternalSwap(&from);
1326 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1329 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1333 return GetDescriptor();
1336 return GetMetadataStatic().descriptor;
1339 return GetMetadataStatic().reflection;
1345 return reinterpret_cast<const BotStatus*
>(
1348 static constexpr
int kIndexInFileMessages =
1351 friend void swap(BotStatus& a, BotStatus& b) {
1354 inline void Swap(BotStatus* other) {
1355 if (other ==
this)
return;
1356 if (GetArena() == other->GetArena()) {
1357 InternalSwap(other);
1359 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1363 if (other ==
this)
return;
1364 GOOGLE_DCHECK(GetArena() == other->GetArena());
1365 InternalSwap(other);
1370 inline BotStatus*
New() const final {
1371 return CreateMaybeMessage<BotStatus>(
nullptr);
1374 BotStatus*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
1375 return CreateMaybeMessage<BotStatus>(arena);
1377 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
1378 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
1381 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1382 bool IsInitialized() const final;
1384 size_t ByteSizeLong() const final;
1385 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1386 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
1387 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1388 int GetCachedSize() const final {
return _cached_size_.Get(); }
1391 inline void SharedCtor();
1392 inline void SharedDtor();
1393 void SetCachedSize(
int size)
const final;
1394 void InternalSwap(BotStatus* other);
1395 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1396 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1397 return "jaiabot.protobuf.BotStatus";
1402 static void ArenaDtor(
void*
object);
1403 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1408 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1432 static constexpr
int BotType_ARRAYSIZE =
1434 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1438 template<
typename T>
1440 static_assert(::std::is_same<T, BotType>::value ||
1441 ::std::is_integral<T>::value,
1442 "Incorrect type passed to function BotType_Name.");
1453 kErrorFieldNumber = 5,
1454 kWarningFieldNumber = 6,
1455 kLocationFieldNumber = 10,
1456 kAttitudeFieldNumber = 20,
1457 kSpeedFieldNumber = 30,
1458 kTimeFieldNumber = 2,
1459 kLastCommandTimeFieldNumber = 3,
1460 kDepthFieldNumber = 11,
1461 kBotIdFieldNumber = 1,
1462 kMissionStateFieldNumber = 40,
1463 kWifiLinkQualityPercentageFieldNumber = 62,
1464 kDistanceToActiveGoalFieldNumber = 42,
1465 kActiveGoalFieldNumber = 41,
1466 kActiveGoalTimeoutFieldNumber = 43,
1467 kSalinityFieldNumber = 51,
1468 kRepeatIndexFieldNumber = 44,
1469 kCalibrationStatusFieldNumber = 58,
1470 kTemperatureFieldNumber = 52,
1471 kThermocoupleTemperatureFieldNumber = 53,
1472 kVvCurrentFieldNumber = 54,
1473 kVccCurrentFieldNumber = 55,
1474 kVccVoltageFieldNumber = 56,
1475 kBatteryPercentFieldNumber = 57,
1476 kHdopFieldNumber = 60,
1477 kPdopFieldNumber = 61,
1478 kReceivedTimeFieldNumber = 63,
1479 kCalibrationStateFieldNumber = 59,
1480 kHealthStateFieldNumber = 4,
1481 kBotTypeFieldNumber = 7,
1486 int _internal_error_size()
const;
1492 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_error();
1497 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
error()
const;
1503 int _internal_warning_size()
const;
1509 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_warning();
1514 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
warning()
const;
1520 bool _internal_has_location()
const;
1523 const ::jaiabot::protobuf::GeographicCoordinate&
location()
const;
1528 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location()
const;
1529 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
1532 ::jaiabot::protobuf::GeographicCoordinate* location);
1538 bool _internal_has_attitude()
const;
1541 const ::jaiabot::protobuf::BotStatus_Attitude&
attitude()
const;
1546 const ::jaiabot::protobuf::BotStatus_Attitude& _internal_attitude()
const;
1547 ::jaiabot::protobuf::BotStatus_Attitude* _internal_mutable_attitude();
1550 ::jaiabot::protobuf::BotStatus_Attitude* attitude);
1556 bool _internal_has_speed()
const;
1559 const ::jaiabot::protobuf::BotStatus_Speed&
speed()
const;
1564 const ::jaiabot::protobuf::BotStatus_Speed& _internal_speed()
const;
1565 ::jaiabot::protobuf::BotStatus_Speed* _internal_mutable_speed();
1568 ::jaiabot::protobuf::BotStatus_Speed* speed);
1574 bool _internal_has_time()
const;
1577 ::PROTOBUF_NAMESPACE_ID::uint64
time()
const;
1580 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time()
const;
1581 void _internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
1587 bool _internal_has_last_command_time()
const;
1593 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_last_command_time()
const;
1594 void _internal_set_last_command_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
1600 bool _internal_has_depth()
const;
1606 double _internal_depth()
const;
1607 void _internal_set_depth(
double value);
1613 bool _internal_has_bot_id()
const;
1616 ::PROTOBUF_NAMESPACE_ID::uint32
bot_id()
const;
1619 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_bot_id()
const;
1620 void _internal_set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
1626 bool _internal_has_mission_state()
const;
1639 bool _internal_has_wifi_link_quality_percentage()
const;
1645 ::PROTOBUF_NAMESPACE_ID::int32 _internal_wifi_link_quality_percentage()
const;
1646 void _internal_set_wifi_link_quality_percentage(::PROTOBUF_NAMESPACE_ID::int32 value);
1652 bool _internal_has_distance_to_active_goal()
const;
1658 double _internal_distance_to_active_goal()
const;
1659 void _internal_set_distance_to_active_goal(
double value);
1665 bool _internal_has_active_goal()
const;
1671 ::PROTOBUF_NAMESPACE_ID::int32 _internal_active_goal()
const;
1672 void _internal_set_active_goal(::PROTOBUF_NAMESPACE_ID::int32 value);
1678 bool _internal_has_active_goal_timeout()
const;
1684 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_active_goal_timeout()
const;
1685 void _internal_set_active_goal_timeout(::PROTOBUF_NAMESPACE_ID::uint32 value);
1691 bool _internal_has_salinity()
const;
1697 double _internal_salinity()
const;
1698 void _internal_set_salinity(
double value);
1704 bool _internal_has_repeat_index()
const;
1710 ::PROTOBUF_NAMESPACE_ID::int32 _internal_repeat_index()
const;
1711 void _internal_set_repeat_index(::PROTOBUF_NAMESPACE_ID::int32 value);
1717 bool _internal_has_calibration_status()
const;
1723 ::PROTOBUF_NAMESPACE_ID::int32 _internal_calibration_status()
const;
1724 void _internal_set_calibration_status(::PROTOBUF_NAMESPACE_ID::int32 value);
1730 bool _internal_has_temperature()
const;
1736 double _internal_temperature()
const;
1737 void _internal_set_temperature(
double value);
1743 bool _internal_has_thermocouple_temperature()
const;
1749 double _internal_thermocouple_temperature()
const;
1750 void _internal_set_thermocouple_temperature(
double value);
1756 bool _internal_has_vv_current()
const;
1762 double _internal_vv_current()
const;
1763 void _internal_set_vv_current(
double value);
1769 bool _internal_has_vcc_current()
const;
1775 double _internal_vcc_current()
const;
1776 void _internal_set_vcc_current(
double value);
1782 bool _internal_has_vcc_voltage()
const;
1788 double _internal_vcc_voltage()
const;
1789 void _internal_set_vcc_voltage(
double value);
1795 bool _internal_has_battery_percent()
const;
1801 double _internal_battery_percent()
const;
1802 void _internal_set_battery_percent(
double value);
1808 bool _internal_has_hdop()
const;
1814 double _internal_hdop()
const;
1815 void _internal_set_hdop(
double value);
1821 bool _internal_has_pdop()
const;
1827 double _internal_pdop()
const;
1828 void _internal_set_pdop(
double value);
1834 bool _internal_has_received_time()
const;
1840 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_received_time()
const;
1841 void _internal_set_received_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
1847 bool _internal_has_calibration_state()
const;
1860 bool _internal_has_health_state()
const;
1866 ::goby::middleware::protobuf::HealthState _internal_health_state()
const;
1867 void _internal_set_health_state(::goby::middleware::protobuf::HealthState value);
1873 bool _internal_has_bot_type()
const;
1886 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;
1888 template<
typename Quantity >
1890 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1892 template<
typename Quantity >
1894 {
return Quantity(time() *
time_unit()); };
1897 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
1901 typedef boost::units::make_scaled_unit<boost::units::unit<last_command_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
last_command_time_unit;
1903 template<
typename Quantity >
1905 { set_last_command_time(boost::units::quantity<last_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1907 template<
typename Quantity >
1912 {
return last_command_time_with_units<boost::units::quantity< last_command_time_unit,google::protobuf::uint64 > >(); };
1916 typedef boost::units::unit<depth_dimension,boost::units::si::system>
depth_unit;
1918 template<
typename Quantity >
1920 { set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
1922 template<
typename Quantity >
1924 {
return Quantity(depth() *
depth_unit()); };
1927 {
return depth_with_units<boost::units::quantity< depth_unit,double > >(); };
1933 template<
typename Quantity >
1935 { set_distance_to_active_goal(boost::units::quantity<distance_to_active_goal_unit,double >(value_w_units).value() ); };
1937 template<
typename Quantity >
1942 {
return distance_to_active_goal_with_units<boost::units::quantity< distance_to_active_goal_unit,double > >(); };
1948 template<
typename Quantity >
1950 { set_active_goal_timeout(boost::units::quantity<active_goal_timeout_unit,google::protobuf::uint32 >(value_w_units).value() ); };
1952 template<
typename Quantity >
1957 {
return active_goal_timeout_with_units<boost::units::quantity< active_goal_timeout_unit,google::protobuf::uint32 > >(); };
1961 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> >
temperature_unit;
1963 template<
typename Quantity >
1965 { set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
1967 template<
typename Quantity >
1972 {
return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
1978 template<
typename Quantity >
1980 { set_thermocouple_temperature(boost::units::quantity<thermocouple_temperature_unit,double >(value_w_units).value() ); };
1982 template<
typename Quantity >
1987 {
return thermocouple_temperature_with_units<boost::units::quantity< thermocouple_temperature_unit,double > >(); };
1991 typedef boost::units::unit<vv_current_dimension,boost::units::si::system>
vv_current_unit;
1993 template<
typename Quantity >
1995 { set_vv_current(boost::units::quantity<vv_current_unit,double >(value_w_units).value() ); };
1997 template<
typename Quantity >
2002 {
return vv_current_with_units<boost::units::quantity< vv_current_unit,double > >(); };
2008 template<
typename Quantity >
2010 { set_vcc_current(boost::units::quantity<vcc_current_unit,double >(value_w_units).value() ); };
2012 template<
typename Quantity >
2017 {
return vcc_current_with_units<boost::units::quantity< vcc_current_unit,double > >(); };
2023 template<
typename Quantity >
2025 { set_vcc_voltage(boost::units::quantity<vcc_voltage_unit,double >(value_w_units).value() ); };
2027 template<
typename Quantity >
2032 {
return vcc_voltage_with_units<boost::units::quantity< vcc_voltage_unit,double > >(); };
2036 typedef boost::units::make_scaled_unit<boost::units::unit<received_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
received_time_unit;
2038 template<
typename Quantity >
2040 { set_received_time(boost::units::quantity<received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2042 template<
typename Quantity >
2047 {
return received_time_with_units<boost::units::quantity< received_time_unit,google::protobuf::uint64 > >(); };
2054 size_t RequiredFieldsByteSizeFallback()
const;
2056 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2057 typedef void InternalArenaConstructable_;
2058 typedef void DestructorSkippable_;
2059 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2060 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2061 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> error_;
2062 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> warning_;
2063 ::jaiabot::protobuf::GeographicCoordinate* location_;
2064 ::jaiabot::protobuf::BotStatus_Attitude* attitude_;
2065 ::jaiabot::protobuf::BotStatus_Speed* speed_;
2066 ::PROTOBUF_NAMESPACE_ID::uint64 time_;
2067 ::PROTOBUF_NAMESPACE_ID::uint64 last_command_time_;
2069 ::PROTOBUF_NAMESPACE_ID::uint32 bot_id_;
2071 ::PROTOBUF_NAMESPACE_ID::int32 wifi_link_quality_percentage_;
2072 double distance_to_active_goal_;
2073 ::PROTOBUF_NAMESPACE_ID::int32 active_goal_;
2074 ::PROTOBUF_NAMESPACE_ID::uint32 active_goal_timeout_;
2076 ::PROTOBUF_NAMESPACE_ID::int32 repeat_index_;
2077 ::PROTOBUF_NAMESPACE_ID::int32 calibration_status_;
2078 double temperature_;
2079 double thermocouple_temperature_;
2081 double vcc_current_;
2082 double vcc_voltage_;
2083 double battery_percent_;
2086 ::PROTOBUF_NAMESPACE_ID::uint64 received_time_;
2087 int calibration_state_;
2090 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2094 class DriftPacket_EstimatedDrift PROTOBUF_FINAL :
2095 public ::PROTOBUF_NAMESPACE_ID::Message {
2102 : DriftPacket_EstimatedDrift() {
2103 *
this = ::std::move(from);
2106 inline DriftPacket_EstimatedDrift&
operator=(
const DriftPacket_EstimatedDrift& from) {
2110 inline DriftPacket_EstimatedDrift&
operator=(DriftPacket_EstimatedDrift&& from) noexcept {
2111 if (GetArena() == from.GetArena()) {
2112 if (
this != &from) InternalSwap(&from);
2120 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2123 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2127 return GetDescriptor();
2130 return GetMetadataStatic().descriptor;
2133 return GetMetadataStatic().reflection;
2139 return reinterpret_cast<const DriftPacket_EstimatedDrift*
>(
2142 static constexpr
int kIndexInFileMessages =
2145 friend void swap(DriftPacket_EstimatedDrift& a, DriftPacket_EstimatedDrift& b) {
2148 inline void Swap(DriftPacket_EstimatedDrift* other) {
2149 if (other ==
this)
return;
2150 if (GetArena() == other->GetArena()) {
2151 InternalSwap(other);
2153 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
2157 if (other ==
this)
return;
2158 GOOGLE_DCHECK(GetArena() == other->GetArena());
2159 InternalSwap(other);
2164 inline DriftPacket_EstimatedDrift*
New() const final {
2165 return CreateMaybeMessage<DriftPacket_EstimatedDrift>(
nullptr);
2168 DriftPacket_EstimatedDrift*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
2169 return CreateMaybeMessage<DriftPacket_EstimatedDrift>(arena);
2171 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
2172 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
2175 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
2176 bool IsInitialized() const final;
2178 size_t ByteSizeLong() const final;
2179 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
2180 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
2181 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2182 int GetCachedSize() const final {
return _cached_size_.Get(); }
2185 inline void SharedCtor();
2186 inline void SharedDtor();
2187 void SetCachedSize(
int size)
const final;
2188 void InternalSwap(DriftPacket_EstimatedDrift* other);
2189 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2190 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2191 return "jaiabot.protobuf.DriftPacket.EstimatedDrift";
2196 static void ArenaDtor(
void*
object);
2197 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2202 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2214 kSpeedFieldNumber = 1,
2215 kHeadingFieldNumber = 3,
2220 bool _internal_has_speed()
const;
2226 double _internal_speed()
const;
2227 void _internal_set_speed(
double value);
2233 bool _internal_has_heading()
const;
2239 double _internal_heading()
const;
2240 void _internal_set_heading(
double value);
2245 typedef boost::units::unit<speed_dimension,boost::units::si::system>
speed_unit;
2247 template<
typename Quantity >
2249 { set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
2251 template<
typename Quantity >
2253 {
return Quantity(speed() *
speed_unit()); };
2256 {
return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
2260 typedef boost::units::unit<heading_dimension,boost::units::degree::system>
heading_unit;
2262 template<
typename Quantity >
2264 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
2266 template<
typename Quantity >
2271 {
return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
2277 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2278 typedef void InternalArenaConstructable_;
2279 typedef void DestructorSkippable_;
2280 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2281 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2284 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2288 class DriftPacket PROTOBUF_FINAL :
2289 public ::PROTOBUF_NAMESPACE_ID::Message {
2297 *
this = ::std::move(from);
2304 inline DriftPacket&
operator=(DriftPacket&& from) noexcept {
2305 if (GetArena() == from.GetArena()) {
2306 if (
this != &from) InternalSwap(&from);
2314 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2317 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2321 return GetDescriptor();
2324 return GetMetadataStatic().descriptor;
2327 return GetMetadataStatic().reflection;
2333 return reinterpret_cast<const DriftPacket*
>(
2336 static constexpr
int kIndexInFileMessages =
2339 friend void swap(DriftPacket& a, DriftPacket& b) {
2342 inline void Swap(DriftPacket* other) {
2343 if (other ==
this)
return;
2344 if (GetArena() == other->GetArena()) {
2345 InternalSwap(other);
2347 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
2351 if (other ==
this)
return;
2352 GOOGLE_DCHECK(GetArena() == other->GetArena());
2353 InternalSwap(other);
2358 inline DriftPacket*
New() const final {
2359 return CreateMaybeMessage<DriftPacket>(
nullptr);
2362 DriftPacket*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
2363 return CreateMaybeMessage<DriftPacket>(arena);
2365 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
2366 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
2369 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
2370 bool IsInitialized() const final;
2372 size_t ByteSizeLong() const final;
2373 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
2374 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
2375 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2376 int GetCachedSize() const final {
return _cached_size_.Get(); }
2379 inline void SharedCtor();
2380 inline void SharedDtor();
2381 void SetCachedSize(
int size)
const final;
2382 void InternalSwap(DriftPacket* other);
2383 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2384 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2385 return "jaiabot.protobuf.DriftPacket";
2390 static void ArenaDtor(
void*
object);
2391 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2396 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2410 kEstimatedDriftFieldNumber = 10,
2411 kStartLocationFieldNumber = 11,
2412 kEndLocationFieldNumber = 12,
2413 kDriftDurationFieldNumber = 1,
2414 kSignificantWaveHeightFieldNumber = 13,
2419 bool _internal_has_estimated_drift()
const;
2427 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& _internal_estimated_drift()
const;
2428 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* _internal_mutable_estimated_drift();
2431 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* estimated_drift);
2437 bool _internal_has_start_location()
const;
2445 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location()
const;
2446 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_start_location();
2449 ::jaiabot::protobuf::GeographicCoordinate* start_location);
2455 bool _internal_has_end_location()
const;
2463 const ::jaiabot::protobuf::GeographicCoordinate& _internal_end_location()
const;
2464 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_end_location();
2467 ::jaiabot::protobuf::GeographicCoordinate* end_location);
2473 bool _internal_has_drift_duration()
const;
2479 ::PROTOBUF_NAMESPACE_ID::int32 _internal_drift_duration()
const;
2480 void _internal_set_drift_duration(::PROTOBUF_NAMESPACE_ID::int32 value);
2486 bool _internal_has_significant_wave_height()
const;
2492 double _internal_significant_wave_height()
const;
2493 void _internal_set_significant_wave_height(
double value);
2500 template<
typename Quantity >
2502 { set_drift_duration(boost::units::quantity<drift_duration_unit,google::protobuf::int32 >(value_w_units).value() ); };
2504 template<
typename Quantity >
2509 {
return drift_duration_with_units<boost::units::quantity< drift_duration_unit,google::protobuf::int32 > >(); };
2515 template<
typename Quantity >
2517 { set_significant_wave_height(boost::units::quantity<significant_wave_height_unit,double >(value_w_units).value() ); };
2519 template<
typename Quantity >
2524 {
return significant_wave_height_with_units<boost::units::quantity< significant_wave_height_unit,double > >(); };
2530 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2531 typedef void InternalArenaConstructable_;
2532 typedef void DestructorSkippable_;
2533 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2534 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2535 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* estimated_drift_;
2536 ::jaiabot::protobuf::GeographicCoordinate* start_location_;
2537 ::jaiabot::protobuf::GeographicCoordinate* end_location_;
2538 ::PROTOBUF_NAMESPACE_ID::int32 drift_duration_;
2539 double significant_wave_height_;
2540 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2544 class DivePacket_Measurements PROTOBUF_FINAL :
2545 public ::PROTOBUF_NAMESPACE_ID::Message {
2552 : DivePacket_Measurements() {
2553 *
this = ::std::move(from);
2556 inline DivePacket_Measurements&
operator=(
const DivePacket_Measurements& from) {
2560 inline DivePacket_Measurements&
operator=(DivePacket_Measurements&& from) noexcept {
2561 if (GetArena() == from.GetArena()) {
2562 if (
this != &from) InternalSwap(&from);
2570 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2573 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2577 return GetDescriptor();
2580 return GetMetadataStatic().descriptor;
2583 return GetMetadataStatic().reflection;
2589 return reinterpret_cast<const DivePacket_Measurements*
>(
2592 static constexpr
int kIndexInFileMessages =
2595 friend void swap(DivePacket_Measurements& a, DivePacket_Measurements& b) {
2598 inline void Swap(DivePacket_Measurements* other) {
2599 if (other ==
this)
return;
2600 if (GetArena() == other->GetArena()) {
2601 InternalSwap(other);
2603 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
2607 if (other ==
this)
return;
2608 GOOGLE_DCHECK(GetArena() == other->GetArena());
2609 InternalSwap(other);
2614 inline DivePacket_Measurements*
New() const final {
2615 return CreateMaybeMessage<DivePacket_Measurements>(
nullptr);
2618 DivePacket_Measurements*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
2619 return CreateMaybeMessage<DivePacket_Measurements>(arena);
2621 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
2622 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
2625 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
2626 bool IsInitialized() const final;
2628 size_t ByteSizeLong() const final;
2629 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
2630 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
2631 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2632 int GetCachedSize() const final {
return _cached_size_.Get(); }
2635 inline void SharedCtor();
2636 inline void SharedDtor();
2637 void SetCachedSize(
int size)
const final;
2638 void InternalSwap(DivePacket_Measurements* other);
2639 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2640 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2641 return "jaiabot.protobuf.DivePacket.Measurements";
2646 static void ArenaDtor(
void*
object);
2647 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2652 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2664 kMeanDepthFieldNumber = 1,
2665 kMeanTemperatureFieldNumber = 2,
2666 kMeanSalinityFieldNumber = 3,
2671 bool _internal_has_mean_depth()
const;
2677 double _internal_mean_depth()
const;
2678 void _internal_set_mean_depth(
double value);
2684 bool _internal_has_mean_temperature()
const;
2690 double _internal_mean_temperature()
const;
2691 void _internal_set_mean_temperature(
double value);
2697 bool _internal_has_mean_salinity()
const;
2703 double _internal_mean_salinity()
const;
2704 void _internal_set_mean_salinity(
double value);
2709 typedef boost::units::unit<mean_depth_dimension,boost::units::si::system>
mean_depth_unit;
2711 template<
typename Quantity >
2713 { set_mean_depth(boost::units::quantity<mean_depth_unit,double >(value_w_units).value() ); };
2715 template<
typename Quantity >
2720 {
return mean_depth_with_units<boost::units::quantity< mean_depth_unit,double > >(); };
2724 typedef boost::units::absolute<boost::units::unit<mean_temperature_dimension,boost::units::celsius::system> >
mean_temperature_unit;
2726 template<
typename Quantity >
2728 { set_mean_temperature(boost::units::quantity<mean_temperature_unit,double >(value_w_units).value() ); };
2730 template<
typename Quantity >
2735 {
return mean_temperature_with_units<boost::units::quantity< mean_temperature_unit,double > >(); };
2741 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2742 typedef void InternalArenaConstructable_;
2743 typedef void DestructorSkippable_;
2744 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2745 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2747 double mean_temperature_;
2748 double mean_salinity_;
2749 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2753 class DivePacket PROTOBUF_FINAL :
2754 public ::PROTOBUF_NAMESPACE_ID::Message {
2762 *
this = ::std::move(from);
2770 if (GetArena() == from.GetArena()) {
2771 if (
this != &from) InternalSwap(&from);
2779 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2782 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2786 return GetDescriptor();
2789 return GetMetadataStatic().descriptor;
2792 return GetMetadataStatic().reflection;
2798 return reinterpret_cast<const DivePacket*
>(
2801 static constexpr
int kIndexInFileMessages =
2804 friend void swap(DivePacket& a, DivePacket& b) {
2807 inline void Swap(DivePacket* other) {
2808 if (other ==
this)
return;
2809 if (GetArena() == other->GetArena()) {
2810 InternalSwap(other);
2812 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
2816 if (other ==
this)
return;
2817 GOOGLE_DCHECK(GetArena() == other->GetArena());
2818 InternalSwap(other);
2823 inline DivePacket*
New() const final {
2824 return CreateMaybeMessage<DivePacket>(
nullptr);
2827 DivePacket*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
2828 return CreateMaybeMessage<DivePacket>(arena);
2830 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
2831 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
2834 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
2835 bool IsInitialized() const final;
2837 size_t ByteSizeLong() const final;
2838 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
2839 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
2840 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2841 int GetCachedSize() const final {
return _cached_size_.Get(); }
2844 inline void SharedCtor();
2845 inline void SharedDtor();
2846 void SetCachedSize(
int size)
const final;
2847 void InternalSwap(DivePacket* other);
2848 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2849 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2850 return "jaiabot.protobuf.DivePacket";
2855 static void ArenaDtor(
void*
object);
2856 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
2861 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
2884 static constexpr
int BottomType_ARRAYSIZE =
2886 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
2890 template<
typename T>
2892 static_assert(::std::is_same<T, BottomType>::value ||
2893 ::std::is_integral<T>::value,
2894 "Incorrect type passed to function BottomType_Name.");
2905 kMeasurementFieldNumber = 14,
2906 kStartLocationFieldNumber = 15,
2907 kDiveRateFieldNumber = 10,
2908 kUnpoweredRiseRateFieldNumber = 11,
2909 kPoweredRiseRateFieldNumber = 12,
2910 kBottomDiveFieldNumber = 17,
2911 kReachedMinDepthFieldNumber = 18,
2912 kDepthAchievedFieldNumber = 13,
2913 kDurationToAcquireGpsFieldNumber = 16,
2914 kMaxAccelerationFieldNumber = 20,
2915 kBottomTypeFieldNumber = 19,
2920 int _internal_measurement_size()
const;
2924 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
2927 const ::jaiabot::protobuf::DivePacket_Measurements& _internal_measurement(
int index)
const;
2928 ::jaiabot::protobuf::DivePacket_Measurements* _internal_add_measurement();
2930 const ::jaiabot::protobuf::DivePacket_Measurements&
measurement(
int index)
const;
2932 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
2938 bool _internal_has_start_location()
const;
2946 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location()
const;
2947 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_start_location();
2950 ::jaiabot::protobuf::GeographicCoordinate* start_location);
2956 bool _internal_has_dive_rate()
const;
2962 double _internal_dive_rate()
const;
2963 void _internal_set_dive_rate(
double value);
2969 bool _internal_has_unpowered_rise_rate()
const;
2975 double _internal_unpowered_rise_rate()
const;
2976 void _internal_set_unpowered_rise_rate(
double value);
2982 bool _internal_has_powered_rise_rate()
const;
2988 double _internal_powered_rise_rate()
const;
2989 void _internal_set_powered_rise_rate(
double value);
2995 bool _internal_has_bottom_dive()
const;
3001 bool _internal_bottom_dive()
const;
3002 void _internal_set_bottom_dive(
bool value);
3008 bool _internal_has_reached_min_depth()
const;
3014 bool _internal_reached_min_depth()
const;
3015 void _internal_set_reached_min_depth(
bool value);
3021 bool _internal_has_depth_achieved()
const;
3027 double _internal_depth_achieved()
const;
3028 void _internal_set_depth_achieved(
double value);
3034 bool _internal_has_duration_to_acquire_gps()
const;
3040 double _internal_duration_to_acquire_gps()
const;
3041 void _internal_set_duration_to_acquire_gps(
double value);
3047 bool _internal_has_max_acceleration()
const;
3053 double _internal_max_acceleration()
const;
3054 void _internal_set_max_acceleration(
double value);
3060 bool _internal_has_bottom_type()
const;
3072 typedef boost::units::unit<dive_rate_dimension,boost::units::si::system>
dive_rate_unit;
3074 template<
typename Quantity >
3076 { set_dive_rate(boost::units::quantity<dive_rate_unit,double >(value_w_units).value() ); };
3078 template<
typename Quantity >
3083 {
return dive_rate_with_units<boost::units::quantity< dive_rate_unit,double > >(); };
3089 template<
typename Quantity >
3091 { set_unpowered_rise_rate(boost::units::quantity<unpowered_rise_rate_unit,double >(value_w_units).value() ); };
3093 template<
typename Quantity >
3098 {
return unpowered_rise_rate_with_units<boost::units::quantity< unpowered_rise_rate_unit,double > >(); };
3104 template<
typename Quantity >
3106 { set_powered_rise_rate(boost::units::quantity<powered_rise_rate_unit,double >(value_w_units).value() ); };
3108 template<
typename Quantity >
3113 {
return powered_rise_rate_with_units<boost::units::quantity< powered_rise_rate_unit,double > >(); };
3119 template<
typename Quantity >
3121 { set_depth_achieved(boost::units::quantity<depth_achieved_unit,double >(value_w_units).value() ); };
3123 template<
typename Quantity >
3128 {
return depth_achieved_with_units<boost::units::quantity< depth_achieved_unit,double > >(); };
3134 template<
typename Quantity >
3136 { set_duration_to_acquire_gps(boost::units::quantity<duration_to_acquire_gps_unit,double >(value_w_units).value() ); };
3138 template<
typename Quantity >
3143 {
return duration_to_acquire_gps_with_units<boost::units::quantity< duration_to_acquire_gps_unit,double > >(); };
3149 template<
typename Quantity >
3151 { set_max_acceleration(boost::units::quantity<max_acceleration_unit,double >(value_w_units).value() ); };
3153 template<
typename Quantity >
3158 {
return max_acceleration_with_units<boost::units::quantity< max_acceleration_unit,double > >(); };
3165 size_t RequiredFieldsByteSizeFallback()
const;
3167 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3168 typedef void InternalArenaConstructable_;
3169 typedef void DestructorSkippable_;
3170 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3171 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3172 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements > measurement_;
3173 ::jaiabot::protobuf::GeographicCoordinate* start_location_;
3175 double unpowered_rise_rate_;
3176 double powered_rise_rate_;
3178 bool reached_min_depth_;
3179 double depth_achieved_;
3180 double duration_to_acquire_gps_;
3181 double max_acceleration_;
3183 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3187 class TaskPacket PROTOBUF_FINAL :
3188 public ::PROTOBUF_NAMESPACE_ID::Message {
3196 *
this = ::std::move(from);
3204 if (GetArena() == from.GetArena()) {
3205 if (
this != &from) InternalSwap(&from);
3213 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3216 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3220 return GetDescriptor();
3223 return GetMetadataStatic().descriptor;
3226 return GetMetadataStatic().reflection;
3232 return reinterpret_cast<const TaskPacket*
>(
3235 static constexpr
int kIndexInFileMessages =
3238 friend void swap(TaskPacket& a, TaskPacket& b) {
3241 inline void Swap(TaskPacket* other) {
3242 if (other ==
this)
return;
3243 if (GetArena() == other->GetArena()) {
3244 InternalSwap(other);
3246 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
3250 if (other ==
this)
return;
3251 GOOGLE_DCHECK(GetArena() == other->GetArena());
3252 InternalSwap(other);
3257 inline TaskPacket*
New() const final {
3258 return CreateMaybeMessage<TaskPacket>(
nullptr);
3261 TaskPacket*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
3262 return CreateMaybeMessage<TaskPacket>(arena);
3264 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
3265 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
3268 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
3269 bool IsInitialized() const final;
3271 size_t ByteSizeLong() const final;
3272 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
3273 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
3274 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3275 int GetCachedSize() const final {
return _cached_size_.Get(); }
3278 inline void SharedCtor();
3279 inline void SharedDtor();
3280 void SetCachedSize(
int size)
const final;
3281 void InternalSwap(TaskPacket* other);
3282 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3283 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3284 return "jaiabot.protobuf.TaskPacket";
3289 static void ArenaDtor(
void*
object);
3290 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
3295 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
3307 kDiveFieldNumber = 10,
3308 kDriftFieldNumber = 11,
3309 kStartTimeFieldNumber = 2,
3310 kBotIdFieldNumber = 1,
3311 kTypeFieldNumber = 4,
3312 kEndTimeFieldNumber = 3,
3317 bool _internal_has_dive()
const;
3320 const ::jaiabot::protobuf::DivePacket&
dive()
const;
3325 const ::jaiabot::protobuf::DivePacket& _internal_dive()
const;
3326 ::jaiabot::protobuf::DivePacket* _internal_mutable_dive();
3329 ::jaiabot::protobuf::DivePacket* dive);
3335 bool _internal_has_drift()
const;
3338 const ::jaiabot::protobuf::DriftPacket&
drift()
const;
3343 const ::jaiabot::protobuf::DriftPacket& _internal_drift()
const;
3344 ::jaiabot::protobuf::DriftPacket* _internal_mutable_drift();
3347 ::jaiabot::protobuf::DriftPacket* drift);
3353 bool _internal_has_start_time()
const;
3359 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_start_time()
const;
3360 void _internal_set_start_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
3366 bool _internal_has_bot_id()
const;
3369 ::PROTOBUF_NAMESPACE_ID::uint32
bot_id()
const;
3372 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_bot_id()
const;
3373 void _internal_set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
3379 bool _internal_has_type()
const;
3392 bool _internal_has_end_time()
const;
3398 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_end_time()
const;
3399 void _internal_set_end_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
3405 typedef boost::units::make_scaled_unit<boost::units::unit<start_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
start_time_unit;
3407 template<
typename Quantity >
3409 { set_start_time(boost::units::quantity<start_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
3411 template<
typename Quantity >
3416 {
return start_time_with_units<boost::units::quantity< start_time_unit,google::protobuf::uint64 > >(); };
3420 typedef boost::units::make_scaled_unit<boost::units::unit<end_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
end_time_unit;
3422 template<
typename Quantity >
3424 { set_end_time(boost::units::quantity<end_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
3426 template<
typename Quantity >
3431 {
return end_time_with_units<boost::units::quantity< end_time_unit,google::protobuf::uint64 > >(); };
3438 size_t RequiredFieldsByteSizeFallback()
const;
3440 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3441 typedef void InternalArenaConstructable_;
3442 typedef void DestructorSkippable_;
3443 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3444 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3445 ::jaiabot::protobuf::DivePacket* dive_;
3446 ::jaiabot::protobuf::DriftPacket* drift_;
3447 ::PROTOBUF_NAMESPACE_ID::uint64 start_time_;
3448 ::PROTOBUF_NAMESPACE_ID::uint32 bot_id_;
3450 ::PROTOBUF_NAMESPACE_ID::uint64 end_time_;
3451 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3459 #pragma GCC diagnostic push
3460 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
3465 inline bool Command::_internal_has_bot_id()
const {
3466 bool value = (_has_bits_[0] & 0x00000002u) != 0;
3469 inline bool Command::has_bot_id()
const {
3470 return _internal_has_bot_id();
3472 inline void Command::clear_bot_id() {
3474 _has_bits_[0] &= ~0x00000002u;
3476 inline ::PROTOBUF_NAMESPACE_ID::uint32 Command::_internal_bot_id()
const {
3479 inline ::PROTOBUF_NAMESPACE_ID::uint32 Command::bot_id()
const {
3481 return _internal_bot_id();
3483 inline void Command::_internal_set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
3484 _has_bits_[0] |= 0x00000002u;
3487 inline void Command::set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
3488 _internal_set_bot_id(value);
3493 inline bool Command::_internal_has_time()
const {
3494 bool value = (_has_bits_[0] & 0x00000001u) != 0;
3497 inline bool Command::has_time()
const {
3498 return _internal_has_time();
3500 inline void Command::clear_time() {
3501 time_ = PROTOBUF_ULONGLONG(0);
3502 _has_bits_[0] &= ~0x00000001u;
3504 inline ::PROTOBUF_NAMESPACE_ID::uint64 Command::_internal_time()
const {
3507 inline ::PROTOBUF_NAMESPACE_ID::uint64 Command::time()
const {
3509 return _internal_time();
3511 inline void Command::_internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
3512 _has_bits_[0] |= 0x00000001u;
3515 inline void Command::set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
3516 _internal_set_time(value);
3521 inline bool Command::_internal_has_type()
const {
3522 bool value = (_has_bits_[0] & 0x00000004u) != 0;
3525 inline bool Command::has_type()
const {
3526 return _internal_has_type();
3528 inline void Command::clear_type() {
3530 _has_bits_[0] &= ~0x00000004u;
3537 return _internal_type();
3541 _has_bits_[0] |= 0x00000004u;
3545 _internal_set_type(value);
3550 inline bool Command::_internal_has_plan()
const {
3551 return command_data_case() == kPlan;
3553 inline bool Command::has_plan()
const {
3554 return _internal_has_plan();
3556 inline void Command::set_has_plan() {
3557 _oneof_case_[0] = kPlan;
3559 inline ::jaiabot::protobuf::MissionPlan* Command::release_plan() {
3561 if (_internal_has_plan()) {
3562 clear_has_command_data();
3563 ::jaiabot::protobuf::MissionPlan* temp = command_data_.plan_;
3564 if (GetArena() !=
nullptr) {
3565 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3567 command_data_.plan_ =
nullptr;
3573 inline const ::jaiabot::protobuf::MissionPlan& Command::_internal_plan()
const {
3574 return _internal_has_plan()
3575 ? *command_data_.plan_
3578 inline const ::jaiabot::protobuf::MissionPlan& Command::plan()
const {
3580 return _internal_plan();
3582 inline ::jaiabot::protobuf::MissionPlan* Command::unsafe_arena_release_plan() {
3584 if (_internal_has_plan()) {
3585 clear_has_command_data();
3586 ::jaiabot::protobuf::MissionPlan* temp = command_data_.plan_;
3587 command_data_.plan_ =
nullptr;
3593 inline void Command::unsafe_arena_set_allocated_plan(::jaiabot::protobuf::MissionPlan* plan) {
3594 clear_command_data();
3597 command_data_.plan_ = plan;
3601 inline ::jaiabot::protobuf::MissionPlan* Command::_internal_mutable_plan() {
3602 if (!_internal_has_plan()) {
3603 clear_command_data();
3605 command_data_.plan_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionPlan >(GetArena());
3607 return command_data_.plan_;
3609 inline ::jaiabot::protobuf::MissionPlan* Command::mutable_plan() {
3611 return _internal_mutable_plan();
3615 inline bool Command::_internal_has_rc()
const {
3616 return command_data_case() == kRc;
3618 inline bool Command::has_rc()
const {
3619 return _internal_has_rc();
3621 inline void Command::set_has_rc() {
3622 _oneof_case_[0] = kRc;
3624 inline ::jaiabot::protobuf::RemoteControl* Command::release_rc() {
3626 if (_internal_has_rc()) {
3627 clear_has_command_data();
3628 ::jaiabot::protobuf::RemoteControl* temp = command_data_.rc_;
3629 if (GetArena() !=
nullptr) {
3630 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3632 command_data_.rc_ =
nullptr;
3638 inline const ::jaiabot::protobuf::RemoteControl& Command::_internal_rc()
const {
3639 return _internal_has_rc()
3640 ? *command_data_.rc_
3643 inline const ::jaiabot::protobuf::RemoteControl& Command::rc()
const {
3645 return _internal_rc();
3647 inline ::jaiabot::protobuf::RemoteControl* Command::unsafe_arena_release_rc() {
3649 if (_internal_has_rc()) {
3650 clear_has_command_data();
3651 ::jaiabot::protobuf::RemoteControl* temp = command_data_.rc_;
3652 command_data_.rc_ =
nullptr;
3658 inline void Command::unsafe_arena_set_allocated_rc(::jaiabot::protobuf::RemoteControl* rc) {
3659 clear_command_data();
3662 command_data_.rc_ = rc;
3666 inline ::jaiabot::protobuf::RemoteControl* Command::_internal_mutable_rc() {
3667 if (!_internal_has_rc()) {
3668 clear_command_data();
3670 command_data_.rc_ = CreateMaybeMessage< ::jaiabot::protobuf::RemoteControl >(GetArena());
3672 return command_data_.rc_;
3674 inline ::jaiabot::protobuf::RemoteControl* Command::mutable_rc() {
3676 return _internal_mutable_rc();
3680 inline bool Command::_internal_has_rc_task()
const {
3681 return command_data_case() == kRcTask;
3683 inline bool Command::has_rc_task()
const {
3684 return _internal_has_rc_task();
3686 inline void Command::set_has_rc_task() {
3687 _oneof_case_[0] = kRcTask;
3689 inline ::jaiabot::protobuf::MissionTask* Command::release_rc_task() {
3691 if (_internal_has_rc_task()) {
3692 clear_has_command_data();
3693 ::jaiabot::protobuf::MissionTask* temp = command_data_.rc_task_;
3694 if (GetArena() !=
nullptr) {
3695 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3697 command_data_.rc_task_ =
nullptr;
3703 inline const ::jaiabot::protobuf::MissionTask& Command::_internal_rc_task()
const {
3704 return _internal_has_rc_task()
3705 ? *command_data_.rc_task_
3708 inline const ::jaiabot::protobuf::MissionTask& Command::rc_task()
const {
3710 return _internal_rc_task();
3712 inline ::jaiabot::protobuf::MissionTask* Command::unsafe_arena_release_rc_task() {
3714 if (_internal_has_rc_task()) {
3715 clear_has_command_data();
3716 ::jaiabot::protobuf::MissionTask* temp = command_data_.rc_task_;
3717 command_data_.rc_task_ =
nullptr;
3723 inline void Command::unsafe_arena_set_allocated_rc_task(::jaiabot::protobuf::MissionTask* rc_task) {
3724 clear_command_data();
3727 command_data_.rc_task_ = rc_task;
3731 inline ::jaiabot::protobuf::MissionTask* Command::_internal_mutable_rc_task() {
3732 if (!_internal_has_rc_task()) {
3733 clear_command_data();
3735 command_data_.rc_task_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionTask >(GetArena());
3737 return command_data_.rc_task_;
3739 inline ::jaiabot::protobuf::MissionTask* Command::mutable_rc_task() {
3741 return _internal_mutable_rc_task();
3744 inline bool Command::has_command_data()
const {
3745 return command_data_case() != COMMAND_DATA_NOT_SET;
3747 inline void Command::clear_has_command_data() {
3748 _oneof_case_[0] = COMMAND_DATA_NOT_SET;
3750 inline Command::CommandDataCase Command::command_data_case()
const {
3751 return Command::CommandDataCase(_oneof_case_[0]);
3758 inline bool CommandForHub::_internal_has_hub_id()
const {
3759 bool value = (_has_bits_[0] & 0x00000004u) != 0;
3762 inline bool CommandForHub::has_hub_id()
const {
3763 return _internal_has_hub_id();
3765 inline void CommandForHub::clear_hub_id() {
3767 _has_bits_[0] &= ~0x00000004u;
3769 inline ::PROTOBUF_NAMESPACE_ID::uint32 CommandForHub::_internal_hub_id()
const {
3772 inline ::PROTOBUF_NAMESPACE_ID::uint32 CommandForHub::hub_id()
const {
3774 return _internal_hub_id();
3776 inline void CommandForHub::_internal_set_hub_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
3777 _has_bits_[0] |= 0x00000004u;
3780 inline void CommandForHub::set_hub_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
3781 _internal_set_hub_id(value);
3786 inline bool CommandForHub::_internal_has_time()
const {
3787 bool value = (_has_bits_[0] & 0x00000002u) != 0;
3790 inline bool CommandForHub::has_time()
const {
3791 return _internal_has_time();
3793 inline void CommandForHub::clear_time() {
3794 time_ = PROTOBUF_ULONGLONG(0);
3795 _has_bits_[0] &= ~0x00000002u;
3797 inline ::PROTOBUF_NAMESPACE_ID::uint64 CommandForHub::_internal_time()
const {
3800 inline ::PROTOBUF_NAMESPACE_ID::uint64 CommandForHub::time()
const {
3802 return _internal_time();
3804 inline void CommandForHub::_internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
3805 _has_bits_[0] |= 0x00000002u;
3808 inline void CommandForHub::set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
3809 _internal_set_time(value);
3814 inline bool CommandForHub::_internal_has_type()
const {
3815 bool value = (_has_bits_[0] & 0x00000010u) != 0;
3818 inline bool CommandForHub::has_type()
const {
3819 return _internal_has_type();
3821 inline void CommandForHub::clear_type() {
3823 _has_bits_[0] &= ~0x00000010u;
3830 return _internal_type();
3834 _has_bits_[0] |= 0x00000010u;
3838 _internal_set_type(value);
3843 inline bool CommandForHub::_internal_has_scan_for_bot_id()
const {
3844 bool value = (_has_bits_[0] & 0x00000008u) != 0;
3847 inline bool CommandForHub::has_scan_for_bot_id()
const {
3848 return _internal_has_scan_for_bot_id();
3850 inline void CommandForHub::clear_scan_for_bot_id() {
3851 scan_for_bot_id_ = 0u;
3852 _has_bits_[0] &= ~0x00000008u;
3854 inline ::PROTOBUF_NAMESPACE_ID::uint32 CommandForHub::_internal_scan_for_bot_id()
const {
3855 return scan_for_bot_id_;
3857 inline ::PROTOBUF_NAMESPACE_ID::uint32 CommandForHub::scan_for_bot_id()
const {
3859 return _internal_scan_for_bot_id();
3861 inline void CommandForHub::_internal_set_scan_for_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
3862 _has_bits_[0] |= 0x00000008u;
3863 scan_for_bot_id_ = value;
3865 inline void CommandForHub::set_scan_for_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
3866 _internal_set_scan_for_bot_id(value);
3871 inline bool CommandForHub::_internal_has_hub_location()
const {
3872 bool value = (_has_bits_[0] & 0x00000001u) != 0;
3873 PROTOBUF_ASSUME(!value || hub_location_ !=
nullptr);
3876 inline bool CommandForHub::has_hub_location()
const {
3877 return _internal_has_hub_location();
3879 inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::_internal_hub_location()
const {
3880 const ::jaiabot::protobuf::GeographicCoordinate* p = hub_location_;
3881 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate*
>(
3884 inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::hub_location()
const {
3886 return _internal_hub_location();
3888 inline void CommandForHub::unsafe_arena_set_allocated_hub_location(
3889 ::jaiabot::protobuf::GeographicCoordinate* hub_location) {
3890 if (GetArena() ==
nullptr) {
3891 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(hub_location_);
3893 hub_location_ = hub_location;
3895 _has_bits_[0] |= 0x00000001u;
3897 _has_bits_[0] &= ~0x00000001u;
3901 inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::release_hub_location() {
3902 auto temp = unsafe_arena_release_hub_location();
3903 if (GetArena() !=
nullptr) {
3904 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
3908 inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::unsafe_arena_release_hub_location() {
3910 _has_bits_[0] &= ~0x00000001u;
3911 ::jaiabot::protobuf::GeographicCoordinate* temp = hub_location_;
3912 hub_location_ =
nullptr;
3915 inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::_internal_mutable_hub_location() {
3916 _has_bits_[0] |= 0x00000001u;
3917 if (hub_location_ ==
nullptr) {
3918 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArena());
3921 return hub_location_;
3923 inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::mutable_hub_location() {
3925 return _internal_mutable_hub_location();
3927 inline void CommandForHub::set_allocated_hub_location(::jaiabot::protobuf::GeographicCoordinate* hub_location) {
3928 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
3929 if (message_arena ==
nullptr) {
3930 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(hub_location_);
3933 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
3934 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(hub_location)->GetArena();
3935 if (message_arena != submessage_arena) {
3936 hub_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
3937 message_arena, hub_location, submessage_arena);
3939 _has_bits_[0] |= 0x00000001u;
3941 _has_bits_[0] &= ~0x00000001u;
3943 hub_location_ = hub_location;
3952 inline bool BotStatus_Attitude::_internal_has_roll()
const {
3953 bool value = (_has_bits_[0] & 0x00000001u) != 0;
3956 inline bool BotStatus_Attitude::has_roll()
const {
3957 return _internal_has_roll();
3959 inline void BotStatus_Attitude::clear_roll() {
3961 _has_bits_[0] &= ~0x00000001u;
3963 inline double BotStatus_Attitude::_internal_roll()
const {
3966 inline double BotStatus_Attitude::roll()
const {
3968 return _internal_roll();
3970 inline void BotStatus_Attitude::_internal_set_roll(
double value) {
3971 _has_bits_[0] |= 0x00000001u;
3974 inline void BotStatus_Attitude::set_roll(
double value) {
3975 _internal_set_roll(value);
3980 inline bool BotStatus_Attitude::_internal_has_pitch()
const {
3981 bool value = (_has_bits_[0] & 0x00000002u) != 0;
3984 inline bool BotStatus_Attitude::has_pitch()
const {
3985 return _internal_has_pitch();
3987 inline void BotStatus_Attitude::clear_pitch() {
3989 _has_bits_[0] &= ~0x00000002u;
3991 inline double BotStatus_Attitude::_internal_pitch()
const {
3994 inline double BotStatus_Attitude::pitch()
const {
3996 return _internal_pitch();
3998 inline void BotStatus_Attitude::_internal_set_pitch(
double value) {
3999 _has_bits_[0] |= 0x00000002u;
4002 inline void BotStatus_Attitude::set_pitch(
double value) {
4003 _internal_set_pitch(value);
4008 inline bool BotStatus_Attitude::_internal_has_heading()
const {
4009 bool value = (_has_bits_[0] & 0x00000004u) != 0;
4012 inline bool BotStatus_Attitude::has_heading()
const {
4013 return _internal_has_heading();
4015 inline void BotStatus_Attitude::clear_heading() {
4017 _has_bits_[0] &= ~0x00000004u;
4019 inline double BotStatus_Attitude::_internal_heading()
const {
4022 inline double BotStatus_Attitude::heading()
const {
4024 return _internal_heading();
4026 inline void BotStatus_Attitude::_internal_set_heading(
double value) {
4027 _has_bits_[0] |= 0x00000004u;
4030 inline void BotStatus_Attitude::set_heading(
double value) {
4031 _internal_set_heading(value);
4036 inline bool BotStatus_Attitude::_internal_has_course_over_ground()
const {
4037 bool value = (_has_bits_[0] & 0x00000008u) != 0;
4040 inline bool BotStatus_Attitude::has_course_over_ground()
const {
4041 return _internal_has_course_over_ground();
4043 inline void BotStatus_Attitude::clear_course_over_ground() {
4044 course_over_ground_ = 0;
4045 _has_bits_[0] &= ~0x00000008u;
4047 inline double BotStatus_Attitude::_internal_course_over_ground()
const {
4048 return course_over_ground_;
4050 inline double BotStatus_Attitude::course_over_ground()
const {
4052 return _internal_course_over_ground();
4054 inline void BotStatus_Attitude::_internal_set_course_over_ground(
double value) {
4055 _has_bits_[0] |= 0x00000008u;
4056 course_over_ground_ = value;
4058 inline void BotStatus_Attitude::set_course_over_ground(
double value) {
4059 _internal_set_course_over_ground(value);
4068 inline bool BotStatus_Speed::_internal_has_over_ground()
const {
4069 bool value = (_has_bits_[0] & 0x00000001u) != 0;
4072 inline bool BotStatus_Speed::has_over_ground()
const {
4073 return _internal_has_over_ground();
4075 inline void BotStatus_Speed::clear_over_ground() {
4077 _has_bits_[0] &= ~0x00000001u;
4079 inline double BotStatus_Speed::_internal_over_ground()
const {
4080 return over_ground_;
4082 inline double BotStatus_Speed::over_ground()
const {
4084 return _internal_over_ground();
4086 inline void BotStatus_Speed::_internal_set_over_ground(
double value) {
4087 _has_bits_[0] |= 0x00000001u;
4088 over_ground_ = value;
4090 inline void BotStatus_Speed::set_over_ground(
double value) {
4091 _internal_set_over_ground(value);
4096 inline bool BotStatus_Speed::_internal_has_over_water()
const {
4097 bool value = (_has_bits_[0] & 0x00000002u) != 0;
4100 inline bool BotStatus_Speed::has_over_water()
const {
4101 return _internal_has_over_water();
4103 inline void BotStatus_Speed::clear_over_water() {
4105 _has_bits_[0] &= ~0x00000002u;
4107 inline double BotStatus_Speed::_internal_over_water()
const {
4110 inline double BotStatus_Speed::over_water()
const {
4112 return _internal_over_water();
4114 inline void BotStatus_Speed::_internal_set_over_water(
double value) {
4115 _has_bits_[0] |= 0x00000002u;
4116 over_water_ = value;
4118 inline void BotStatus_Speed::set_over_water(
double value) {
4119 _internal_set_over_water(value);
4128 inline bool BotStatus::_internal_has_bot_id()
const {
4129 bool value = (_has_bits_[0] & 0x00000040u) != 0;
4132 inline bool BotStatus::has_bot_id()
const {
4133 return _internal_has_bot_id();
4135 inline void BotStatus::clear_bot_id() {
4137 _has_bits_[0] &= ~0x00000040u;
4139 inline ::PROTOBUF_NAMESPACE_ID::uint32 BotStatus::_internal_bot_id()
const {
4142 inline ::PROTOBUF_NAMESPACE_ID::uint32 BotStatus::bot_id()
const {
4144 return _internal_bot_id();
4146 inline void BotStatus::_internal_set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
4147 _has_bits_[0] |= 0x00000040u;
4150 inline void BotStatus::set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
4151 _internal_set_bot_id(value);
4156 inline bool BotStatus::_internal_has_time()
const {
4157 bool value = (_has_bits_[0] & 0x00000008u) != 0;
4160 inline bool BotStatus::has_time()
const {
4161 return _internal_has_time();
4163 inline void BotStatus::clear_time() {
4164 time_ = PROTOBUF_ULONGLONG(0);
4165 _has_bits_[0] &= ~0x00000008u;
4167 inline ::PROTOBUF_NAMESPACE_ID::uint64 BotStatus::_internal_time()
const {
4170 inline ::PROTOBUF_NAMESPACE_ID::uint64 BotStatus::time()
const {
4172 return _internal_time();
4174 inline void BotStatus::_internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
4175 _has_bits_[0] |= 0x00000008u;
4178 inline void BotStatus::set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
4179 _internal_set_time(value);
4184 inline bool BotStatus::_internal_has_last_command_time()
const {
4185 bool value = (_has_bits_[0] & 0x00000010u) != 0;
4188 inline bool BotStatus::has_last_command_time()
const {
4189 return _internal_has_last_command_time();
4191 inline void BotStatus::clear_last_command_time() {
4192 last_command_time_ = PROTOBUF_ULONGLONG(0);
4193 _has_bits_[0] &= ~0x00000010u;
4195 inline ::PROTOBUF_NAMESPACE_ID::uint64 BotStatus::_internal_last_command_time()
const {
4196 return last_command_time_;
4198 inline ::PROTOBUF_NAMESPACE_ID::uint64 BotStatus::last_command_time()
const {
4200 return _internal_last_command_time();
4202 inline void BotStatus::_internal_set_last_command_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
4203 _has_bits_[0] |= 0x00000010u;
4204 last_command_time_ = value;
4206 inline void BotStatus::set_last_command_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
4207 _internal_set_last_command_time(value);
4212 inline bool BotStatus::_internal_has_health_state()
const {
4213 bool value = (_has_bits_[0] & 0x02000000u) != 0;
4216 inline bool BotStatus::has_health_state()
const {
4217 return _internal_has_health_state();
4219 inline void BotStatus::clear_health_state() {
4221 _has_bits_[0] &= ~0x02000000u;
4223 inline ::goby::middleware::protobuf::HealthState BotStatus::_internal_health_state()
const {
4224 return static_cast< ::goby::middleware::protobuf::HealthState
>(health_state_);
4226 inline ::goby::middleware::protobuf::HealthState BotStatus::health_state()
const {
4228 return _internal_health_state();
4230 inline void BotStatus::_internal_set_health_state(::goby::middleware::protobuf::HealthState value) {
4231 assert(::goby::middleware::protobuf::HealthState_IsValid(value));
4232 _has_bits_[0] |= 0x02000000u;
4233 health_state_ = value;
4235 inline void BotStatus::set_health_state(::goby::middleware::protobuf::HealthState value) {
4236 _internal_set_health_state(value);
4241 inline int BotStatus::_internal_error_size()
const {
4242 return error_.size();
4244 inline int BotStatus::error_size()
const {
4245 return _internal_error_size();
4247 inline void BotStatus::clear_error() {
4255 return _internal_error(index);
4259 error_.Set(index, value);
4268 _internal_add_error(value);
4270 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
4271 BotStatus::error()
const {
4275 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
4276 BotStatus::_internal_mutable_error() {
4279 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
4280 BotStatus::mutable_error() {
4282 return _internal_mutable_error();
4286 inline int BotStatus::_internal_warning_size()
const {
4287 return warning_.size();
4289 inline int BotStatus::warning_size()
const {
4290 return _internal_warning_size();
4292 inline void BotStatus::clear_warning() {
4300 return _internal_warning(index);
4304 warning_.Set(index, value);
4309 warning_.Add(value);
4313 _internal_add_warning(value);
4315 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
4316 BotStatus::warning()
const {
4320 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
4321 BotStatus::_internal_mutable_warning() {
4324 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
4325 BotStatus::mutable_warning() {
4327 return _internal_mutable_warning();
4331 inline bool BotStatus::_internal_has_bot_type()
const {
4332 bool value = (_has_bits_[0] & 0x04000000u) != 0;
4335 inline bool BotStatus::has_bot_type()
const {
4336 return _internal_has_bot_type();
4338 inline void BotStatus::clear_bot_type() {
4340 _has_bits_[0] &= ~0x04000000u;
4347 return _internal_bot_type();
4351 _has_bits_[0] |= 0x04000000u;
4355 _internal_set_bot_type(value);
4360 inline bool BotStatus::_internal_has_location()
const {
4361 bool value = (_has_bits_[0] & 0x00000001u) != 0;
4362 PROTOBUF_ASSUME(!value || location_ !=
nullptr);
4365 inline bool BotStatus::has_location()
const {
4366 return _internal_has_location();
4368 inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::_internal_location()
const {
4369 const ::jaiabot::protobuf::GeographicCoordinate* p = location_;
4370 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate*
>(
4373 inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::location()
const {
4375 return _internal_location();
4377 inline void BotStatus::unsafe_arena_set_allocated_location(
4378 ::jaiabot::protobuf::GeographicCoordinate* location) {
4379 if (GetArena() ==
nullptr) {
4380 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(location_);
4382 location_ = location;
4384 _has_bits_[0] |= 0x00000001u;
4386 _has_bits_[0] &= ~0x00000001u;
4390 inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::release_location() {
4391 auto temp = unsafe_arena_release_location();
4392 if (GetArena() !=
nullptr) {
4393 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4397 inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::unsafe_arena_release_location() {
4399 _has_bits_[0] &= ~0x00000001u;
4400 ::jaiabot::protobuf::GeographicCoordinate* temp = location_;
4401 location_ =
nullptr;
4404 inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::_internal_mutable_location() {
4405 _has_bits_[0] |= 0x00000001u;
4406 if (location_ ==
nullptr) {
4407 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArena());
4412 inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::mutable_location() {
4414 return _internal_mutable_location();
4416 inline void BotStatus::set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location) {
4417 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
4418 if (message_arena ==
nullptr) {
4419 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(location_);
4422 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4423 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(location)->GetArena();
4424 if (message_arena != submessage_arena) {
4425 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4426 message_arena, location, submessage_arena);
4428 _has_bits_[0] |= 0x00000001u;
4430 _has_bits_[0] &= ~0x00000001u;
4432 location_ = location;
4437 inline bool BotStatus::_internal_has_depth()
const {
4438 bool value = (_has_bits_[0] & 0x00000020u) != 0;
4441 inline bool BotStatus::has_depth()
const {
4442 return _internal_has_depth();
4444 inline void BotStatus::clear_depth() {
4446 _has_bits_[0] &= ~0x00000020u;
4448 inline double BotStatus::_internal_depth()
const {
4451 inline double BotStatus::depth()
const {
4453 return _internal_depth();
4455 inline void BotStatus::_internal_set_depth(
double value) {
4456 _has_bits_[0] |= 0x00000020u;
4459 inline void BotStatus::set_depth(
double value) {
4460 _internal_set_depth(value);
4465 inline bool BotStatus::_internal_has_attitude()
const {
4466 bool value = (_has_bits_[0] & 0x00000002u) != 0;
4467 PROTOBUF_ASSUME(!value || attitude_ !=
nullptr);
4470 inline bool BotStatus::has_attitude()
const {
4471 return _internal_has_attitude();
4473 inline void BotStatus::clear_attitude() {
4474 if (attitude_ !=
nullptr) attitude_->Clear();
4475 _has_bits_[0] &= ~0x00000002u;
4477 inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::_internal_attitude()
const {
4478 const ::jaiabot::protobuf::BotStatus_Attitude* p = attitude_;
4479 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::protobuf::BotStatus_Attitude*
>(
4482 inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::attitude()
const {
4484 return _internal_attitude();
4486 inline void BotStatus::unsafe_arena_set_allocated_attitude(
4487 ::jaiabot::protobuf::BotStatus_Attitude* attitude) {
4488 if (GetArena() ==
nullptr) {
4489 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(attitude_);
4491 attitude_ = attitude;
4493 _has_bits_[0] |= 0x00000002u;
4495 _has_bits_[0] &= ~0x00000002u;
4499 inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::release_attitude() {
4500 auto temp = unsafe_arena_release_attitude();
4501 if (GetArena() !=
nullptr) {
4502 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4506 inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::unsafe_arena_release_attitude() {
4508 _has_bits_[0] &= ~0x00000002u;
4509 ::jaiabot::protobuf::BotStatus_Attitude* temp = attitude_;
4510 attitude_ =
nullptr;
4513 inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::_internal_mutable_attitude() {
4514 _has_bits_[0] |= 0x00000002u;
4515 if (attitude_ ==
nullptr) {
4516 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude>(GetArena());
4521 inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::mutable_attitude() {
4523 return _internal_mutable_attitude();
4525 inline void BotStatus::set_allocated_attitude(::jaiabot::protobuf::BotStatus_Attitude* attitude) {
4526 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
4527 if (message_arena ==
nullptr) {
4531 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4532 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(attitude);
4533 if (message_arena != submessage_arena) {
4534 attitude = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4535 message_arena, attitude, submessage_arena);
4537 _has_bits_[0] |= 0x00000002u;
4539 _has_bits_[0] &= ~0x00000002u;
4541 attitude_ = attitude;
4546 inline bool BotStatus::_internal_has_speed()
const {
4547 bool value = (_has_bits_[0] & 0x00000004u) != 0;
4548 PROTOBUF_ASSUME(!value || speed_ !=
nullptr);
4551 inline bool BotStatus::has_speed()
const {
4552 return _internal_has_speed();
4554 inline void BotStatus::clear_speed() {
4555 if (speed_ !=
nullptr) speed_->Clear();
4556 _has_bits_[0] &= ~0x00000004u;
4558 inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::_internal_speed()
const {
4559 const ::jaiabot::protobuf::BotStatus_Speed* p = speed_;
4560 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::protobuf::BotStatus_Speed*
>(
4563 inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::speed()
const {
4565 return _internal_speed();
4567 inline void BotStatus::unsafe_arena_set_allocated_speed(
4568 ::jaiabot::protobuf::BotStatus_Speed* speed) {
4569 if (GetArena() ==
nullptr) {
4570 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(speed_);
4574 _has_bits_[0] |= 0x00000004u;
4576 _has_bits_[0] &= ~0x00000004u;
4580 inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::release_speed() {
4581 auto temp = unsafe_arena_release_speed();
4582 if (GetArena() !=
nullptr) {
4583 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
4587 inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::unsafe_arena_release_speed() {
4589 _has_bits_[0] &= ~0x00000004u;
4590 ::jaiabot::protobuf::BotStatus_Speed* temp = speed_;
4594 inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::_internal_mutable_speed() {
4595 _has_bits_[0] |= 0x00000004u;
4596 if (speed_ ==
nullptr) {
4597 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed>(GetArena());
4602 inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::mutable_speed() {
4604 return _internal_mutable_speed();
4606 inline void BotStatus::set_allocated_speed(::jaiabot::protobuf::BotStatus_Speed* speed) {
4607 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
4608 if (message_arena ==
nullptr) {
4612 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
4613 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(speed);
4614 if (message_arena != submessage_arena) {
4615 speed = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
4616 message_arena, speed, submessage_arena);
4618 _has_bits_[0] |= 0x00000004u;
4620 _has_bits_[0] &= ~0x00000004u;
4627 inline bool BotStatus::_internal_has_mission_state()
const {
4628 bool value = (_has_bits_[0] & 0x00000080u) != 0;
4631 inline bool BotStatus::has_mission_state()
const {
4632 return _internal_has_mission_state();
4634 inline void BotStatus::clear_mission_state() {
4636 _has_bits_[0] &= ~0x00000080u;
4643 return _internal_mission_state();
4647 _has_bits_[0] |= 0x00000080u;
4648 mission_state_ = value;
4651 _internal_set_mission_state(value);
4656 inline bool BotStatus::_internal_has_active_goal()
const {
4657 bool value = (_has_bits_[0] & 0x00000400u) != 0;
4660 inline bool BotStatus::has_active_goal()
const {
4661 return _internal_has_active_goal();
4663 inline void BotStatus::clear_active_goal() {
4665 _has_bits_[0] &= ~0x00000400u;
4667 inline ::PROTOBUF_NAMESPACE_ID::int32 BotStatus::_internal_active_goal()
const {
4668 return active_goal_;
4670 inline ::PROTOBUF_NAMESPACE_ID::int32 BotStatus::active_goal()
const {
4672 return _internal_active_goal();
4674 inline void BotStatus::_internal_set_active_goal(::PROTOBUF_NAMESPACE_ID::int32 value) {
4675 _has_bits_[0] |= 0x00000400u;
4676 active_goal_ = value;
4678 inline void BotStatus::set_active_goal(::PROTOBUF_NAMESPACE_ID::int32 value) {
4679 _internal_set_active_goal(value);
4684 inline bool BotStatus::_internal_has_distance_to_active_goal()
const {
4685 bool value = (_has_bits_[0] & 0x00000200u) != 0;
4688 inline bool BotStatus::has_distance_to_active_goal()
const {
4689 return _internal_has_distance_to_active_goal();
4691 inline void BotStatus::clear_distance_to_active_goal() {
4692 distance_to_active_goal_ = 0;
4693 _has_bits_[0] &= ~0x00000200u;
4695 inline double BotStatus::_internal_distance_to_active_goal()
const {
4696 return distance_to_active_goal_;
4698 inline double BotStatus::distance_to_active_goal()
const {
4700 return _internal_distance_to_active_goal();
4702 inline void BotStatus::_internal_set_distance_to_active_goal(
double value) {
4703 _has_bits_[0] |= 0x00000200u;
4704 distance_to_active_goal_ = value;
4706 inline void BotStatus::set_distance_to_active_goal(
double value) {
4707 _internal_set_distance_to_active_goal(value);
4712 inline bool BotStatus::_internal_has_active_goal_timeout()
const {
4713 bool value = (_has_bits_[0] & 0x00000800u) != 0;
4716 inline bool BotStatus::has_active_goal_timeout()
const {
4717 return _internal_has_active_goal_timeout();
4719 inline void BotStatus::clear_active_goal_timeout() {
4720 active_goal_timeout_ = 0u;
4721 _has_bits_[0] &= ~0x00000800u;
4723 inline ::PROTOBUF_NAMESPACE_ID::uint32 BotStatus::_internal_active_goal_timeout()
const {
4724 return active_goal_timeout_;
4726 inline ::PROTOBUF_NAMESPACE_ID::uint32 BotStatus::active_goal_timeout()
const {
4728 return _internal_active_goal_timeout();
4730 inline void BotStatus::_internal_set_active_goal_timeout(::PROTOBUF_NAMESPACE_ID::uint32 value) {
4731 _has_bits_[0] |= 0x00000800u;
4732 active_goal_timeout_ = value;
4734 inline void BotStatus::set_active_goal_timeout(::PROTOBUF_NAMESPACE_ID::uint32 value) {
4735 _internal_set_active_goal_timeout(value);
4740 inline bool BotStatus::_internal_has_repeat_index()
const {
4741 bool value = (_has_bits_[0] & 0x00002000u) != 0;
4744 inline bool BotStatus::has_repeat_index()
const {
4745 return _internal_has_repeat_index();
4747 inline void BotStatus::clear_repeat_index() {
4749 _has_bits_[0] &= ~0x00002000u;
4751 inline ::PROTOBUF_NAMESPACE_ID::int32 BotStatus::_internal_repeat_index()
const {
4752 return repeat_index_;
4754 inline ::PROTOBUF_NAMESPACE_ID::int32 BotStatus::repeat_index()
const {
4756 return _internal_repeat_index();
4758 inline void BotStatus::_internal_set_repeat_index(::PROTOBUF_NAMESPACE_ID::int32 value) {
4759 _has_bits_[0] |= 0x00002000u;
4760 repeat_index_ = value;
4762 inline void BotStatus::set_repeat_index(::PROTOBUF_NAMESPACE_ID::int32 value) {
4763 _internal_set_repeat_index(value);
4768 inline bool BotStatus::_internal_has_salinity()
const {
4769 bool value = (_has_bits_[0] & 0x00001000u) != 0;
4772 inline bool BotStatus::has_salinity()
const {
4773 return _internal_has_salinity();
4775 inline void BotStatus::clear_salinity() {
4777 _has_bits_[0] &= ~0x00001000u;
4779 inline double BotStatus::_internal_salinity()
const {
4784 return _internal_salinity();
4786 inline void BotStatus::_internal_set_salinity(
double value) {
4787 _has_bits_[0] |= 0x00001000u;
4790 inline void BotStatus::set_salinity(
double value) {
4791 _internal_set_salinity(value);
4796 inline bool BotStatus::_internal_has_temperature()
const {
4797 bool value = (_has_bits_[0] & 0x00008000u) != 0;
4800 inline bool BotStatus::has_temperature()
const {
4801 return _internal_has_temperature();
4803 inline void BotStatus::clear_temperature() {
4805 _has_bits_[0] &= ~0x00008000u;
4807 inline double BotStatus::_internal_temperature()
const {
4808 return temperature_;
4810 inline double BotStatus::temperature()
const {
4812 return _internal_temperature();
4814 inline void BotStatus::_internal_set_temperature(
double value) {
4815 _has_bits_[0] |= 0x00008000u;
4816 temperature_ = value;
4818 inline void BotStatus::set_temperature(
double value) {
4819 _internal_set_temperature(value);
4824 inline bool BotStatus::_internal_has_thermocouple_temperature()
const {
4825 bool value = (_has_bits_[0] & 0x00010000u) != 0;
4828 inline bool BotStatus::has_thermocouple_temperature()
const {
4829 return _internal_has_thermocouple_temperature();
4831 inline void BotStatus::clear_thermocouple_temperature() {
4832 thermocouple_temperature_ = 0;
4833 _has_bits_[0] &= ~0x00010000u;
4835 inline double BotStatus::_internal_thermocouple_temperature()
const {
4836 return thermocouple_temperature_;
4838 inline double BotStatus::thermocouple_temperature()
const {
4840 return _internal_thermocouple_temperature();
4842 inline void BotStatus::_internal_set_thermocouple_temperature(
double value) {
4843 _has_bits_[0] |= 0x00010000u;
4844 thermocouple_temperature_ = value;
4846 inline void BotStatus::set_thermocouple_temperature(
double value) {
4847 _internal_set_thermocouple_temperature(value);
4852 inline bool BotStatus::_internal_has_vv_current()
const {
4853 bool value = (_has_bits_[0] & 0x00020000u) != 0;
4856 inline bool BotStatus::has_vv_current()
const {
4857 return _internal_has_vv_current();
4859 inline void BotStatus::clear_vv_current() {
4861 _has_bits_[0] &= ~0x00020000u;
4863 inline double BotStatus::_internal_vv_current()
const {
4866 inline double BotStatus::vv_current()
const {
4868 return _internal_vv_current();
4870 inline void BotStatus::_internal_set_vv_current(
double value) {
4871 _has_bits_[0] |= 0x00020000u;
4872 vv_current_ = value;
4874 inline void BotStatus::set_vv_current(
double value) {
4875 _internal_set_vv_current(value);
4880 inline bool BotStatus::_internal_has_vcc_current()
const {
4881 bool value = (_has_bits_[0] & 0x00040000u) != 0;
4884 inline bool BotStatus::has_vcc_current()
const {
4885 return _internal_has_vcc_current();
4887 inline void BotStatus::clear_vcc_current() {
4889 _has_bits_[0] &= ~0x00040000u;
4891 inline double BotStatus::_internal_vcc_current()
const {
4892 return vcc_current_;
4894 inline double BotStatus::vcc_current()
const {
4896 return _internal_vcc_current();
4898 inline void BotStatus::_internal_set_vcc_current(
double value) {
4899 _has_bits_[0] |= 0x00040000u;
4900 vcc_current_ = value;
4902 inline void BotStatus::set_vcc_current(
double value) {
4903 _internal_set_vcc_current(value);
4908 inline bool BotStatus::_internal_has_vcc_voltage()
const {
4909 bool value = (_has_bits_[0] & 0x00080000u) != 0;
4912 inline bool BotStatus::has_vcc_voltage()
const {
4913 return _internal_has_vcc_voltage();
4915 inline void BotStatus::clear_vcc_voltage() {
4917 _has_bits_[0] &= ~0x00080000u;
4919 inline double BotStatus::_internal_vcc_voltage()
const {
4920 return vcc_voltage_;
4922 inline double BotStatus::vcc_voltage()
const {
4924 return _internal_vcc_voltage();
4926 inline void BotStatus::_internal_set_vcc_voltage(
double value) {
4927 _has_bits_[0] |= 0x00080000u;
4928 vcc_voltage_ = value;
4930 inline void BotStatus::set_vcc_voltage(
double value) {
4931 _internal_set_vcc_voltage(value);
4936 inline bool BotStatus::_internal_has_battery_percent()
const {
4937 bool value = (_has_bits_[0] & 0x00100000u) != 0;
4940 inline bool BotStatus::has_battery_percent()
const {
4941 return _internal_has_battery_percent();
4943 inline void BotStatus::clear_battery_percent() {
4944 battery_percent_ = 0;
4945 _has_bits_[0] &= ~0x00100000u;
4947 inline double BotStatus::_internal_battery_percent()
const {
4948 return battery_percent_;
4950 inline double BotStatus::battery_percent()
const {
4952 return _internal_battery_percent();
4954 inline void BotStatus::_internal_set_battery_percent(
double value) {
4955 _has_bits_[0] |= 0x00100000u;
4956 battery_percent_ = value;
4958 inline void BotStatus::set_battery_percent(
double value) {
4959 _internal_set_battery_percent(value);
4964 inline bool BotStatus::_internal_has_calibration_status()
const {
4965 bool value = (_has_bits_[0] & 0x00004000u) != 0;
4968 inline bool BotStatus::has_calibration_status()
const {
4969 return _internal_has_calibration_status();
4971 inline void BotStatus::clear_calibration_status() {
4972 calibration_status_ = 0;
4973 _has_bits_[0] &= ~0x00004000u;
4975 inline ::PROTOBUF_NAMESPACE_ID::int32 BotStatus::_internal_calibration_status()
const {
4976 return calibration_status_;
4978 inline ::PROTOBUF_NAMESPACE_ID::int32 BotStatus::calibration_status()
const {
4980 return _internal_calibration_status();
4982 inline void BotStatus::_internal_set_calibration_status(::PROTOBUF_NAMESPACE_ID::int32 value) {
4983 _has_bits_[0] |= 0x00004000u;
4984 calibration_status_ = value;
4986 inline void BotStatus::set_calibration_status(::PROTOBUF_NAMESPACE_ID::int32 value) {
4987 _internal_set_calibration_status(value);
4992 inline bool BotStatus::_internal_has_calibration_state()
const {
4993 bool value = (_has_bits_[0] & 0x01000000u) != 0;
4996 inline bool BotStatus::has_calibration_state()
const {
4997 return _internal_has_calibration_state();
4999 inline void BotStatus::clear_calibration_state() {
5000 calibration_state_ = 1;
5001 _has_bits_[0] &= ~0x01000000u;
5008 return _internal_calibration_state();
5012 _has_bits_[0] |= 0x01000000u;
5013 calibration_state_ = value;
5016 _internal_set_calibration_state(value);
5021 inline bool BotStatus::_internal_has_hdop()
const {
5022 bool value = (_has_bits_[0] & 0x00200000u) != 0;
5025 inline bool BotStatus::has_hdop()
const {
5026 return _internal_has_hdop();
5028 inline void BotStatus::clear_hdop() {
5030 _has_bits_[0] &= ~0x00200000u;
5032 inline double BotStatus::_internal_hdop()
const {
5035 inline double BotStatus::hdop()
const {
5037 return _internal_hdop();
5039 inline void BotStatus::_internal_set_hdop(
double value) {
5040 _has_bits_[0] |= 0x00200000u;
5043 inline void BotStatus::set_hdop(
double value) {
5044 _internal_set_hdop(value);
5049 inline bool BotStatus::_internal_has_pdop()
const {
5050 bool value = (_has_bits_[0] & 0x00400000u) != 0;
5053 inline bool BotStatus::has_pdop()
const {
5054 return _internal_has_pdop();
5056 inline void BotStatus::clear_pdop() {
5058 _has_bits_[0] &= ~0x00400000u;
5060 inline double BotStatus::_internal_pdop()
const {
5063 inline double BotStatus::pdop()
const {
5065 return _internal_pdop();
5067 inline void BotStatus::_internal_set_pdop(
double value) {
5068 _has_bits_[0] |= 0x00400000u;
5071 inline void BotStatus::set_pdop(
double value) {
5072 _internal_set_pdop(value);
5077 inline bool BotStatus::_internal_has_wifi_link_quality_percentage()
const {
5078 bool value = (_has_bits_[0] & 0x00000100u) != 0;
5081 inline bool BotStatus::has_wifi_link_quality_percentage()
const {
5082 return _internal_has_wifi_link_quality_percentage();
5084 inline void BotStatus::clear_wifi_link_quality_percentage() {
5085 wifi_link_quality_percentage_ = 0;
5086 _has_bits_[0] &= ~0x00000100u;
5088 inline ::PROTOBUF_NAMESPACE_ID::int32 BotStatus::_internal_wifi_link_quality_percentage()
const {
5089 return wifi_link_quality_percentage_;
5091 inline ::PROTOBUF_NAMESPACE_ID::int32 BotStatus::wifi_link_quality_percentage()
const {
5093 return _internal_wifi_link_quality_percentage();
5095 inline void BotStatus::_internal_set_wifi_link_quality_percentage(::PROTOBUF_NAMESPACE_ID::int32 value) {
5096 _has_bits_[0] |= 0x00000100u;
5097 wifi_link_quality_percentage_ = value;
5099 inline void BotStatus::set_wifi_link_quality_percentage(::PROTOBUF_NAMESPACE_ID::int32 value) {
5100 _internal_set_wifi_link_quality_percentage(value);
5105 inline bool BotStatus::_internal_has_received_time()
const {
5106 bool value = (_has_bits_[0] & 0x00800000u) != 0;
5109 inline bool BotStatus::has_received_time()
const {
5110 return _internal_has_received_time();
5112 inline void BotStatus::clear_received_time() {
5113 received_time_ = PROTOBUF_ULONGLONG(0);
5114 _has_bits_[0] &= ~0x00800000u;
5116 inline ::PROTOBUF_NAMESPACE_ID::uint64 BotStatus::_internal_received_time()
const {
5117 return received_time_;
5119 inline ::PROTOBUF_NAMESPACE_ID::uint64 BotStatus::received_time()
const {
5121 return _internal_received_time();
5123 inline void BotStatus::_internal_set_received_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
5124 _has_bits_[0] |= 0x00800000u;
5125 received_time_ = value;
5127 inline void BotStatus::set_received_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
5128 _internal_set_received_time(value);
5137 inline bool DriftPacket_EstimatedDrift::_internal_has_speed()
const {
5138 bool value = (_has_bits_[0] & 0x00000001u) != 0;
5141 inline bool DriftPacket_EstimatedDrift::has_speed()
const {
5142 return _internal_has_speed();
5144 inline void DriftPacket_EstimatedDrift::clear_speed() {
5146 _has_bits_[0] &= ~0x00000001u;
5148 inline double DriftPacket_EstimatedDrift::_internal_speed()
const {
5151 inline double DriftPacket_EstimatedDrift::speed()
const {
5153 return _internal_speed();
5155 inline void DriftPacket_EstimatedDrift::_internal_set_speed(
double value) {
5156 _has_bits_[0] |= 0x00000001u;
5159 inline void DriftPacket_EstimatedDrift::set_speed(
double value) {
5160 _internal_set_speed(value);
5165 inline bool DriftPacket_EstimatedDrift::_internal_has_heading()
const {
5166 bool value = (_has_bits_[0] & 0x00000002u) != 0;
5169 inline bool DriftPacket_EstimatedDrift::has_heading()
const {
5170 return _internal_has_heading();
5172 inline void DriftPacket_EstimatedDrift::clear_heading() {
5174 _has_bits_[0] &= ~0x00000002u;
5176 inline double DriftPacket_EstimatedDrift::_internal_heading()
const {
5179 inline double DriftPacket_EstimatedDrift::heading()
const {
5181 return _internal_heading();
5183 inline void DriftPacket_EstimatedDrift::_internal_set_heading(
double value) {
5184 _has_bits_[0] |= 0x00000002u;
5187 inline void DriftPacket_EstimatedDrift::set_heading(
double value) {
5188 _internal_set_heading(value);
5197 inline bool DriftPacket::_internal_has_drift_duration()
const {
5198 bool value = (_has_bits_[0] & 0x00000008u) != 0;
5201 inline bool DriftPacket::has_drift_duration()
const {
5202 return _internal_has_drift_duration();
5204 inline void DriftPacket::clear_drift_duration() {
5205 drift_duration_ = 0;
5206 _has_bits_[0] &= ~0x00000008u;
5208 inline ::PROTOBUF_NAMESPACE_ID::int32 DriftPacket::_internal_drift_duration()
const {
5209 return drift_duration_;
5211 inline ::PROTOBUF_NAMESPACE_ID::int32 DriftPacket::drift_duration()
const {
5213 return _internal_drift_duration();
5215 inline void DriftPacket::_internal_set_drift_duration(::PROTOBUF_NAMESPACE_ID::int32 value) {
5216 _has_bits_[0] |= 0x00000008u;
5217 drift_duration_ = value;
5219 inline void DriftPacket::set_drift_duration(::PROTOBUF_NAMESPACE_ID::int32 value) {
5220 _internal_set_drift_duration(value);
5225 inline bool DriftPacket::_internal_has_estimated_drift()
const {
5226 bool value = (_has_bits_[0] & 0x00000001u) != 0;
5227 PROTOBUF_ASSUME(!value || estimated_drift_ !=
nullptr);
5230 inline bool DriftPacket::has_estimated_drift()
const {
5231 return _internal_has_estimated_drift();
5233 inline void DriftPacket::clear_estimated_drift() {
5234 if (estimated_drift_ !=
nullptr) estimated_drift_->Clear();
5235 _has_bits_[0] &= ~0x00000001u;
5237 inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::_internal_estimated_drift()
const {
5238 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift* p = estimated_drift_;
5239 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::protobuf::DriftPacket_EstimatedDrift*
>(
5242 inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::estimated_drift()
const {
5244 return _internal_estimated_drift();
5246 inline void DriftPacket::unsafe_arena_set_allocated_estimated_drift(
5247 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* estimated_drift) {
5248 if (GetArena() ==
nullptr) {
5249 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(estimated_drift_);
5251 estimated_drift_ = estimated_drift;
5252 if (estimated_drift) {
5253 _has_bits_[0] |= 0x00000001u;
5255 _has_bits_[0] &= ~0x00000001u;
5259 inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::release_estimated_drift() {
5260 auto temp = unsafe_arena_release_estimated_drift();
5261 if (GetArena() !=
nullptr) {
5262 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5266 inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::unsafe_arena_release_estimated_drift() {
5268 _has_bits_[0] &= ~0x00000001u;
5269 ::jaiabot::protobuf::DriftPacket_EstimatedDrift* temp = estimated_drift_;
5270 estimated_drift_ =
nullptr;
5273 inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::_internal_mutable_estimated_drift() {
5274 _has_bits_[0] |= 0x00000001u;
5275 if (estimated_drift_ ==
nullptr) {
5276 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DriftPacket_EstimatedDrift>(GetArena());
5277 estimated_drift_ = p;
5279 return estimated_drift_;
5281 inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::mutable_estimated_drift() {
5283 return _internal_mutable_estimated_drift();
5285 inline void DriftPacket::set_allocated_estimated_drift(::jaiabot::protobuf::DriftPacket_EstimatedDrift* estimated_drift) {
5286 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
5287 if (message_arena ==
nullptr) {
5288 delete estimated_drift_;
5290 if (estimated_drift) {
5291 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5292 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(estimated_drift);
5293 if (message_arena != submessage_arena) {
5294 estimated_drift = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5295 message_arena, estimated_drift, submessage_arena);
5297 _has_bits_[0] |= 0x00000001u;
5299 _has_bits_[0] &= ~0x00000001u;
5301 estimated_drift_ = estimated_drift;
5306 inline bool DriftPacket::_internal_has_start_location()
const {
5307 bool value = (_has_bits_[0] & 0x00000002u) != 0;
5308 PROTOBUF_ASSUME(!value || start_location_ !=
nullptr);
5311 inline bool DriftPacket::has_start_location()
const {
5312 return _internal_has_start_location();
5314 inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_start_location()
const {
5315 const ::jaiabot::protobuf::GeographicCoordinate* p = start_location_;
5316 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate*
>(
5319 inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::start_location()
const {
5321 return _internal_start_location();
5323 inline void DriftPacket::unsafe_arena_set_allocated_start_location(
5324 ::jaiabot::protobuf::GeographicCoordinate* start_location) {
5325 if (GetArena() ==
nullptr) {
5326 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(start_location_);
5328 start_location_ = start_location;
5329 if (start_location) {
5330 _has_bits_[0] |= 0x00000002u;
5332 _has_bits_[0] &= ~0x00000002u;
5336 inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::release_start_location() {
5337 auto temp = unsafe_arena_release_start_location();
5338 if (GetArena() !=
nullptr) {
5339 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5343 inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::unsafe_arena_release_start_location() {
5345 _has_bits_[0] &= ~0x00000002u;
5346 ::jaiabot::protobuf::GeographicCoordinate* temp = start_location_;
5347 start_location_ =
nullptr;
5350 inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::_internal_mutable_start_location() {
5351 _has_bits_[0] |= 0x00000002u;
5352 if (start_location_ ==
nullptr) {
5353 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArena());
5354 start_location_ = p;
5356 return start_location_;
5358 inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::mutable_start_location() {
5360 return _internal_mutable_start_location();
5362 inline void DriftPacket::set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location) {
5363 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
5364 if (message_arena ==
nullptr) {
5365 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(start_location_);
5367 if (start_location) {
5368 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5369 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(start_location)->GetArena();
5370 if (message_arena != submessage_arena) {
5371 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5372 message_arena, start_location, submessage_arena);
5374 _has_bits_[0] |= 0x00000002u;
5376 _has_bits_[0] &= ~0x00000002u;
5378 start_location_ = start_location;
5383 inline bool DriftPacket::_internal_has_end_location()
const {
5384 bool value = (_has_bits_[0] & 0x00000004u) != 0;
5385 PROTOBUF_ASSUME(!value || end_location_ !=
nullptr);
5388 inline bool DriftPacket::has_end_location()
const {
5389 return _internal_has_end_location();
5391 inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_end_location()
const {
5392 const ::jaiabot::protobuf::GeographicCoordinate* p = end_location_;
5393 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate*
>(
5396 inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::end_location()
const {
5398 return _internal_end_location();
5400 inline void DriftPacket::unsafe_arena_set_allocated_end_location(
5401 ::jaiabot::protobuf::GeographicCoordinate* end_location) {
5402 if (GetArena() ==
nullptr) {
5403 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(end_location_);
5405 end_location_ = end_location;
5407 _has_bits_[0] |= 0x00000004u;
5409 _has_bits_[0] &= ~0x00000004u;
5413 inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::release_end_location() {
5414 auto temp = unsafe_arena_release_end_location();
5415 if (GetArena() !=
nullptr) {
5416 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5420 inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::unsafe_arena_release_end_location() {
5422 _has_bits_[0] &= ~0x00000004u;
5423 ::jaiabot::protobuf::GeographicCoordinate* temp = end_location_;
5424 end_location_ =
nullptr;
5427 inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::_internal_mutable_end_location() {
5428 _has_bits_[0] |= 0x00000004u;
5429 if (end_location_ ==
nullptr) {
5430 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArena());
5433 return end_location_;
5435 inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::mutable_end_location() {
5437 return _internal_mutable_end_location();
5439 inline void DriftPacket::set_allocated_end_location(::jaiabot::protobuf::GeographicCoordinate* end_location) {
5440 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
5441 if (message_arena ==
nullptr) {
5442 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(end_location_);
5445 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5446 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(end_location)->GetArena();
5447 if (message_arena != submessage_arena) {
5448 end_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5449 message_arena, end_location, submessage_arena);
5451 _has_bits_[0] |= 0x00000004u;
5453 _has_bits_[0] &= ~0x00000004u;
5455 end_location_ = end_location;
5460 inline bool DriftPacket::_internal_has_significant_wave_height()
const {
5461 bool value = (_has_bits_[0] & 0x00000010u) != 0;
5464 inline bool DriftPacket::has_significant_wave_height()
const {
5465 return _internal_has_significant_wave_height();
5467 inline void DriftPacket::clear_significant_wave_height() {
5468 significant_wave_height_ = 0;
5469 _has_bits_[0] &= ~0x00000010u;
5471 inline double DriftPacket::_internal_significant_wave_height()
const {
5472 return significant_wave_height_;
5474 inline double DriftPacket::significant_wave_height()
const {
5476 return _internal_significant_wave_height();
5478 inline void DriftPacket::_internal_set_significant_wave_height(
double value) {
5479 _has_bits_[0] |= 0x00000010u;
5480 significant_wave_height_ = value;
5482 inline void DriftPacket::set_significant_wave_height(
double value) {
5483 _internal_set_significant_wave_height(value);
5492 inline bool DivePacket_Measurements::_internal_has_mean_depth()
const {
5493 bool value = (_has_bits_[0] & 0x00000001u) != 0;
5496 inline bool DivePacket_Measurements::has_mean_depth()
const {
5497 return _internal_has_mean_depth();
5499 inline void DivePacket_Measurements::clear_mean_depth() {
5501 _has_bits_[0] &= ~0x00000001u;
5503 inline double DivePacket_Measurements::_internal_mean_depth()
const {
5506 inline double DivePacket_Measurements::mean_depth()
const {
5508 return _internal_mean_depth();
5510 inline void DivePacket_Measurements::_internal_set_mean_depth(
double value) {
5511 _has_bits_[0] |= 0x00000001u;
5512 mean_depth_ = value;
5514 inline void DivePacket_Measurements::set_mean_depth(
double value) {
5515 _internal_set_mean_depth(value);
5520 inline bool DivePacket_Measurements::_internal_has_mean_temperature()
const {
5521 bool value = (_has_bits_[0] & 0x00000002u) != 0;
5524 inline bool DivePacket_Measurements::has_mean_temperature()
const {
5525 return _internal_has_mean_temperature();
5527 inline void DivePacket_Measurements::clear_mean_temperature() {
5528 mean_temperature_ = 0;
5529 _has_bits_[0] &= ~0x00000002u;
5531 inline double DivePacket_Measurements::_internal_mean_temperature()
const {
5532 return mean_temperature_;
5534 inline double DivePacket_Measurements::mean_temperature()
const {
5536 return _internal_mean_temperature();
5538 inline void DivePacket_Measurements::_internal_set_mean_temperature(
double value) {
5539 _has_bits_[0] |= 0x00000002u;
5540 mean_temperature_ = value;
5542 inline void DivePacket_Measurements::set_mean_temperature(
double value) {
5543 _internal_set_mean_temperature(value);
5548 inline bool DivePacket_Measurements::_internal_has_mean_salinity()
const {
5549 bool value = (_has_bits_[0] & 0x00000004u) != 0;
5552 inline bool DivePacket_Measurements::has_mean_salinity()
const {
5553 return _internal_has_mean_salinity();
5555 inline void DivePacket_Measurements::clear_mean_salinity() {
5557 _has_bits_[0] &= ~0x00000004u;
5559 inline double DivePacket_Measurements::_internal_mean_salinity()
const {
5560 return mean_salinity_;
5562 inline double DivePacket_Measurements::mean_salinity()
const {
5564 return _internal_mean_salinity();
5566 inline void DivePacket_Measurements::_internal_set_mean_salinity(
double value) {
5567 _has_bits_[0] |= 0x00000004u;
5568 mean_salinity_ = value;
5570 inline void DivePacket_Measurements::set_mean_salinity(
double value) {
5571 _internal_set_mean_salinity(value);
5580 inline bool DivePacket::_internal_has_dive_rate()
const {
5581 bool value = (_has_bits_[0] & 0x00000002u) != 0;
5584 inline bool DivePacket::has_dive_rate()
const {
5585 return _internal_has_dive_rate();
5587 inline void DivePacket::clear_dive_rate() {
5589 _has_bits_[0] &= ~0x00000002u;
5591 inline double DivePacket::_internal_dive_rate()
const {
5594 inline double DivePacket::dive_rate()
const {
5596 return _internal_dive_rate();
5598 inline void DivePacket::_internal_set_dive_rate(
double value) {
5599 _has_bits_[0] |= 0x00000002u;
5602 inline void DivePacket::set_dive_rate(
double value) {
5603 _internal_set_dive_rate(value);
5608 inline bool DivePacket::_internal_has_unpowered_rise_rate()
const {
5609 bool value = (_has_bits_[0] & 0x00000004u) != 0;
5612 inline bool DivePacket::has_unpowered_rise_rate()
const {
5613 return _internal_has_unpowered_rise_rate();
5615 inline void DivePacket::clear_unpowered_rise_rate() {
5616 unpowered_rise_rate_ = 0;
5617 _has_bits_[0] &= ~0x00000004u;
5619 inline double DivePacket::_internal_unpowered_rise_rate()
const {
5620 return unpowered_rise_rate_;
5622 inline double DivePacket::unpowered_rise_rate()
const {
5624 return _internal_unpowered_rise_rate();
5626 inline void DivePacket::_internal_set_unpowered_rise_rate(
double value) {
5627 _has_bits_[0] |= 0x00000004u;
5628 unpowered_rise_rate_ = value;
5630 inline void DivePacket::set_unpowered_rise_rate(
double value) {
5631 _internal_set_unpowered_rise_rate(value);
5636 inline bool DivePacket::_internal_has_powered_rise_rate()
const {
5637 bool value = (_has_bits_[0] & 0x00000008u) != 0;
5640 inline bool DivePacket::has_powered_rise_rate()
const {
5641 return _internal_has_powered_rise_rate();
5643 inline void DivePacket::clear_powered_rise_rate() {
5644 powered_rise_rate_ = 0;
5645 _has_bits_[0] &= ~0x00000008u;
5647 inline double DivePacket::_internal_powered_rise_rate()
const {
5648 return powered_rise_rate_;
5650 inline double DivePacket::powered_rise_rate()
const {
5652 return _internal_powered_rise_rate();
5654 inline void DivePacket::_internal_set_powered_rise_rate(
double value) {
5655 _has_bits_[0] |= 0x00000008u;
5656 powered_rise_rate_ = value;
5658 inline void DivePacket::set_powered_rise_rate(
double value) {
5659 _internal_set_powered_rise_rate(value);
5664 inline bool DivePacket::_internal_has_depth_achieved()
const {
5665 bool value = (_has_bits_[0] & 0x00000040u) != 0;
5668 inline bool DivePacket::has_depth_achieved()
const {
5669 return _internal_has_depth_achieved();
5671 inline void DivePacket::clear_depth_achieved() {
5672 depth_achieved_ = 0;
5673 _has_bits_[0] &= ~0x00000040u;
5675 inline double DivePacket::_internal_depth_achieved()
const {
5676 return depth_achieved_;
5678 inline double DivePacket::depth_achieved()
const {
5680 return _internal_depth_achieved();
5682 inline void DivePacket::_internal_set_depth_achieved(
double value) {
5683 _has_bits_[0] |= 0x00000040u;
5684 depth_achieved_ = value;
5686 inline void DivePacket::set_depth_achieved(
double value) {
5687 _internal_set_depth_achieved(value);
5692 inline int DivePacket::_internal_measurement_size()
const {
5693 return measurement_.size();
5695 inline int DivePacket::measurement_size()
const {
5696 return _internal_measurement_size();
5698 inline void DivePacket::clear_measurement() {
5699 measurement_.Clear();
5701 inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::mutable_measurement(
int index) {
5703 return measurement_.Mutable(index);
5705 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
5706 DivePacket::mutable_measurement() {
5708 return &measurement_;
5710 inline const ::jaiabot::protobuf::DivePacket_Measurements& DivePacket::_internal_measurement(
int index)
const {
5711 return measurement_.Get(index);
5713 inline const ::jaiabot::protobuf::DivePacket_Measurements& DivePacket::measurement(
int index)
const {
5715 return _internal_measurement(index);
5717 inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::_internal_add_measurement() {
5718 return measurement_.Add();
5720 inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::add_measurement() {
5722 return _internal_add_measurement();
5724 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
5725 DivePacket::measurement()
const {
5727 return measurement_;
5731 inline bool DivePacket::_internal_has_start_location()
const {
5732 bool value = (_has_bits_[0] & 0x00000001u) != 0;
5733 PROTOBUF_ASSUME(!value || start_location_ !=
nullptr);
5736 inline bool DivePacket::has_start_location()
const {
5737 return _internal_has_start_location();
5739 inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::_internal_start_location()
const {
5740 const ::jaiabot::protobuf::GeographicCoordinate* p = start_location_;
5741 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate*
>(
5744 inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::start_location()
const {
5746 return _internal_start_location();
5748 inline void DivePacket::unsafe_arena_set_allocated_start_location(
5749 ::jaiabot::protobuf::GeographicCoordinate* start_location) {
5750 if (GetArena() ==
nullptr) {
5751 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(start_location_);
5753 start_location_ = start_location;
5754 if (start_location) {
5755 _has_bits_[0] |= 0x00000001u;
5757 _has_bits_[0] &= ~0x00000001u;
5761 inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::release_start_location() {
5762 auto temp = unsafe_arena_release_start_location();
5763 if (GetArena() !=
nullptr) {
5764 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5768 inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::unsafe_arena_release_start_location() {
5770 _has_bits_[0] &= ~0x00000001u;
5771 ::jaiabot::protobuf::GeographicCoordinate* temp = start_location_;
5772 start_location_ =
nullptr;
5775 inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::_internal_mutable_start_location() {
5776 _has_bits_[0] |= 0x00000001u;
5777 if (start_location_ ==
nullptr) {
5778 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArena());
5779 start_location_ = p;
5781 return start_location_;
5783 inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::mutable_start_location() {
5785 return _internal_mutable_start_location();
5787 inline void DivePacket::set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location) {
5788 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
5789 if (message_arena ==
nullptr) {
5790 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(start_location_);
5792 if (start_location) {
5793 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5794 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(start_location)->GetArena();
5795 if (message_arena != submessage_arena) {
5796 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5797 message_arena, start_location, submessage_arena);
5799 _has_bits_[0] |= 0x00000001u;
5801 _has_bits_[0] &= ~0x00000001u;
5803 start_location_ = start_location;
5808 inline bool DivePacket::_internal_has_duration_to_acquire_gps()
const {
5809 bool value = (_has_bits_[0] & 0x00000080u) != 0;
5812 inline bool DivePacket::has_duration_to_acquire_gps()
const {
5813 return _internal_has_duration_to_acquire_gps();
5815 inline void DivePacket::clear_duration_to_acquire_gps() {
5816 duration_to_acquire_gps_ = 0;
5817 _has_bits_[0] &= ~0x00000080u;
5819 inline double DivePacket::_internal_duration_to_acquire_gps()
const {
5820 return duration_to_acquire_gps_;
5822 inline double DivePacket::duration_to_acquire_gps()
const {
5824 return _internal_duration_to_acquire_gps();
5826 inline void DivePacket::_internal_set_duration_to_acquire_gps(
double value) {
5827 _has_bits_[0] |= 0x00000080u;
5828 duration_to_acquire_gps_ = value;
5830 inline void DivePacket::set_duration_to_acquire_gps(
double value) {
5831 _internal_set_duration_to_acquire_gps(value);
5836 inline bool DivePacket::_internal_has_bottom_dive()
const {
5837 bool value = (_has_bits_[0] & 0x00000010u) != 0;
5840 inline bool DivePacket::has_bottom_dive()
const {
5841 return _internal_has_bottom_dive();
5843 inline void DivePacket::clear_bottom_dive() {
5844 bottom_dive_ =
false;
5845 _has_bits_[0] &= ~0x00000010u;
5847 inline bool DivePacket::_internal_bottom_dive()
const {
5848 return bottom_dive_;
5850 inline bool DivePacket::bottom_dive()
const {
5852 return _internal_bottom_dive();
5854 inline void DivePacket::_internal_set_bottom_dive(
bool value) {
5855 _has_bits_[0] |= 0x00000010u;
5856 bottom_dive_ = value;
5858 inline void DivePacket::set_bottom_dive(
bool value) {
5859 _internal_set_bottom_dive(value);
5864 inline bool DivePacket::_internal_has_reached_min_depth()
const {
5865 bool value = (_has_bits_[0] & 0x00000020u) != 0;
5868 inline bool DivePacket::has_reached_min_depth()
const {
5869 return _internal_has_reached_min_depth();
5871 inline void DivePacket::clear_reached_min_depth() {
5872 reached_min_depth_ =
false;
5873 _has_bits_[0] &= ~0x00000020u;
5875 inline bool DivePacket::_internal_reached_min_depth()
const {
5876 return reached_min_depth_;
5878 inline bool DivePacket::reached_min_depth()
const {
5880 return _internal_reached_min_depth();
5882 inline void DivePacket::_internal_set_reached_min_depth(
bool value) {
5883 _has_bits_[0] |= 0x00000020u;
5884 reached_min_depth_ = value;
5886 inline void DivePacket::set_reached_min_depth(
bool value) {
5887 _internal_set_reached_min_depth(value);
5892 inline bool DivePacket::_internal_has_bottom_type()
const {
5893 bool value = (_has_bits_[0] & 0x00000200u) != 0;
5896 inline bool DivePacket::has_bottom_type()
const {
5897 return _internal_has_bottom_type();
5899 inline void DivePacket::clear_bottom_type() {
5901 _has_bits_[0] &= ~0x00000200u;
5908 return _internal_bottom_type();
5912 _has_bits_[0] |= 0x00000200u;
5913 bottom_type_ = value;
5916 _internal_set_bottom_type(value);
5921 inline bool DivePacket::_internal_has_max_acceleration()
const {
5922 bool value = (_has_bits_[0] & 0x00000100u) != 0;
5925 inline bool DivePacket::has_max_acceleration()
const {
5926 return _internal_has_max_acceleration();
5928 inline void DivePacket::clear_max_acceleration() {
5929 max_acceleration_ = 0;
5930 _has_bits_[0] &= ~0x00000100u;
5932 inline double DivePacket::_internal_max_acceleration()
const {
5933 return max_acceleration_;
5935 inline double DivePacket::max_acceleration()
const {
5937 return _internal_max_acceleration();
5939 inline void DivePacket::_internal_set_max_acceleration(
double value) {
5940 _has_bits_[0] |= 0x00000100u;
5941 max_acceleration_ = value;
5943 inline void DivePacket::set_max_acceleration(
double value) {
5944 _internal_set_max_acceleration(value);
5953 inline bool TaskPacket::_internal_has_bot_id()
const {
5954 bool value = (_has_bits_[0] & 0x00000008u) != 0;
5957 inline bool TaskPacket::has_bot_id()
const {
5958 return _internal_has_bot_id();
5960 inline void TaskPacket::clear_bot_id() {
5962 _has_bits_[0] &= ~0x00000008u;
5964 inline ::PROTOBUF_NAMESPACE_ID::uint32 TaskPacket::_internal_bot_id()
const {
5967 inline ::PROTOBUF_NAMESPACE_ID::uint32 TaskPacket::bot_id()
const {
5969 return _internal_bot_id();
5971 inline void TaskPacket::_internal_set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
5972 _has_bits_[0] |= 0x00000008u;
5975 inline void TaskPacket::set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
5976 _internal_set_bot_id(value);
5981 inline bool TaskPacket::_internal_has_start_time()
const {
5982 bool value = (_has_bits_[0] & 0x00000004u) != 0;
5985 inline bool TaskPacket::has_start_time()
const {
5986 return _internal_has_start_time();
5988 inline void TaskPacket::clear_start_time() {
5989 start_time_ = PROTOBUF_ULONGLONG(0);
5990 _has_bits_[0] &= ~0x00000004u;
5992 inline ::PROTOBUF_NAMESPACE_ID::uint64 TaskPacket::_internal_start_time()
const {
5995 inline ::PROTOBUF_NAMESPACE_ID::uint64 TaskPacket::start_time()
const {
5997 return _internal_start_time();
5999 inline void TaskPacket::_internal_set_start_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
6000 _has_bits_[0] |= 0x00000004u;
6001 start_time_ = value;
6003 inline void TaskPacket::set_start_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
6004 _internal_set_start_time(value);
6009 inline bool TaskPacket::_internal_has_end_time()
const {
6010 bool value = (_has_bits_[0] & 0x00000020u) != 0;
6013 inline bool TaskPacket::has_end_time()
const {
6014 return _internal_has_end_time();
6016 inline void TaskPacket::clear_end_time() {
6017 end_time_ = PROTOBUF_ULONGLONG(0);
6018 _has_bits_[0] &= ~0x00000020u;
6020 inline ::PROTOBUF_NAMESPACE_ID::uint64 TaskPacket::_internal_end_time()
const {
6023 inline ::PROTOBUF_NAMESPACE_ID::uint64 TaskPacket::end_time()
const {
6025 return _internal_end_time();
6027 inline void TaskPacket::_internal_set_end_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
6028 _has_bits_[0] |= 0x00000020u;
6031 inline void TaskPacket::set_end_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
6032 _internal_set_end_time(value);
6037 inline bool TaskPacket::_internal_has_type()
const {
6038 bool value = (_has_bits_[0] & 0x00000010u) != 0;
6041 inline bool TaskPacket::has_type()
const {
6042 return _internal_has_type();
6044 inline void TaskPacket::clear_type() {
6046 _has_bits_[0] &= ~0x00000010u;
6053 return _internal_type();
6057 _has_bits_[0] |= 0x00000010u;
6061 _internal_set_type(value);
6066 inline bool TaskPacket::_internal_has_dive()
const {
6067 bool value = (_has_bits_[0] & 0x00000001u) != 0;
6068 PROTOBUF_ASSUME(!value || dive_ !=
nullptr);
6071 inline bool TaskPacket::has_dive()
const {
6072 return _internal_has_dive();
6074 inline void TaskPacket::clear_dive() {
6075 if (dive_ !=
nullptr) dive_->Clear();
6076 _has_bits_[0] &= ~0x00000001u;
6078 inline const ::jaiabot::protobuf::DivePacket& TaskPacket::_internal_dive()
const {
6079 const ::jaiabot::protobuf::DivePacket* p = dive_;
6080 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::protobuf::DivePacket*
>(
6083 inline const ::jaiabot::protobuf::DivePacket& TaskPacket::dive()
const {
6085 return _internal_dive();
6087 inline void TaskPacket::unsafe_arena_set_allocated_dive(
6088 ::jaiabot::protobuf::DivePacket* dive) {
6089 if (GetArena() ==
nullptr) {
6090 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(dive_);
6094 _has_bits_[0] |= 0x00000001u;
6096 _has_bits_[0] &= ~0x00000001u;
6100 inline ::jaiabot::protobuf::DivePacket* TaskPacket::release_dive() {
6101 auto temp = unsafe_arena_release_dive();
6102 if (GetArena() !=
nullptr) {
6103 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6107 inline ::jaiabot::protobuf::DivePacket* TaskPacket::unsafe_arena_release_dive() {
6109 _has_bits_[0] &= ~0x00000001u;
6110 ::jaiabot::protobuf::DivePacket* temp = dive_;
6114 inline ::jaiabot::protobuf::DivePacket* TaskPacket::_internal_mutable_dive() {
6115 _has_bits_[0] |= 0x00000001u;
6116 if (dive_ ==
nullptr) {
6117 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DivePacket>(GetArena());
6122 inline ::jaiabot::protobuf::DivePacket* TaskPacket::mutable_dive() {
6124 return _internal_mutable_dive();
6126 inline void TaskPacket::set_allocated_dive(::jaiabot::protobuf::DivePacket* dive) {
6127 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
6128 if (message_arena ==
nullptr) {
6132 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6133 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(dive);
6134 if (message_arena != submessage_arena) {
6135 dive = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6136 message_arena, dive, submessage_arena);
6138 _has_bits_[0] |= 0x00000001u;
6140 _has_bits_[0] &= ~0x00000001u;
6147 inline bool TaskPacket::_internal_has_drift()
const {
6148 bool value = (_has_bits_[0] & 0x00000002u) != 0;
6149 PROTOBUF_ASSUME(!value || drift_ !=
nullptr);
6152 inline bool TaskPacket::has_drift()
const {
6153 return _internal_has_drift();
6155 inline void TaskPacket::clear_drift() {
6156 if (drift_ !=
nullptr) drift_->Clear();
6157 _has_bits_[0] &= ~0x00000002u;
6159 inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::_internal_drift()
const {
6160 const ::jaiabot::protobuf::DriftPacket* p = drift_;
6161 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::protobuf::DriftPacket*
>(
6164 inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::drift()
const {
6166 return _internal_drift();
6168 inline void TaskPacket::unsafe_arena_set_allocated_drift(
6169 ::jaiabot::protobuf::DriftPacket* drift) {
6170 if (GetArena() ==
nullptr) {
6171 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(drift_);
6175 _has_bits_[0] |= 0x00000002u;
6177 _has_bits_[0] &= ~0x00000002u;
6181 inline ::jaiabot::protobuf::DriftPacket* TaskPacket::release_drift() {
6182 auto temp = unsafe_arena_release_drift();
6183 if (GetArena() !=
nullptr) {
6184 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6188 inline ::jaiabot::protobuf::DriftPacket* TaskPacket::unsafe_arena_release_drift() {
6190 _has_bits_[0] &= ~0x00000002u;
6191 ::jaiabot::protobuf::DriftPacket* temp = drift_;
6195 inline ::jaiabot::protobuf::DriftPacket* TaskPacket::_internal_mutable_drift() {
6196 _has_bits_[0] |= 0x00000002u;
6197 if (drift_ ==
nullptr) {
6198 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DriftPacket>(GetArena());
6203 inline ::jaiabot::protobuf::DriftPacket* TaskPacket::mutable_drift() {
6205 return _internal_mutable_drift();
6207 inline void TaskPacket::set_allocated_drift(::jaiabot::protobuf::DriftPacket* drift) {
6208 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
6209 if (message_arena ==
nullptr) {
6213 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6214 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(drift);
6215 if (message_arena != submessage_arena) {
6216 drift = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6217 message_arena, drift, submessage_arena);
6219 _has_bits_[0] |= 0x00000002u;
6221 _has_bits_[0] &= ~0x00000002u;
6228 #pragma GCC diagnostic pop
6254 PROTOBUF_NAMESPACE_OPEN
6258 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::Command_CommandType>() {
6263 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::CommandForHub_HubCommandType>() {
6268 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::BotStatus_BotType>() {
6273 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::DivePacket_BottomType>() {
6277 PROTOBUF_NAMESPACE_CLOSE
6281 #include <google/protobuf/port_undef.inc>
bool has_vcc_current() const
void set_thermocouple_temperature_with_units(Quantity value_w_units)
boost::units::unit< mean_depth_dimension, boost::units::si::system > mean_depth_unit
TaskPacket(TaskPacket &&from) noexcept
double unpowered_rise_rate() const
boost::units::quantity< pitch_unit, double > pitch_with_units() const
boost::units::quantity< last_command_time_unit, google::protobuf::uint64 > last_command_time_with_units() const
static const Command & default_instance()
bool has_significant_wave_height() const
DivePacket * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const DivePacket_Measurements & default_instance()
Quantity unpowered_rise_rate_with_units() const
void clear_end_location()
boost::units::make_scaled_unit< boost::units::unit< received_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type received_time_unit
::jaiabot::protobuf::RemoteControl * unsafe_arena_release_rc()
Command(Command &&from) noexcept
Quantity vcc_current_with_units() const
void set_depth(double value)
void set_vcc_current_with_units(Quantity value_w_units)
boost::units::quantity< significant_wave_height_unit, double > significant_wave_height_with_units() const
void UnsafeArenaSwap(DivePacket_Measurements *other)
BotStatus_Speed & operator=(const BotStatus_Speed &from)
static const std::string & CommandType_Name(T enum_t_value)
void set_allocated_dive(::jaiabot::protobuf::DivePacket *dive)
void UnsafeArenaSwap(CommandForHub *other)
static const BotStatus_Attitude * internal_default_instance()
void MergeFrom(const DivePacket_Measurements &from)
DriftPacket_EstimatedDrift & operator=(DriftPacket_EstimatedDrift &&from) noexcept
Command & operator=(Command &&from) noexcept
void UnsafeArenaSwap(TaskPacket *other)
double significant_wave_height() const
void Swap(DivePacket *other)
bool has_depth_achieved() const
Quantity significant_wave_height_with_units() const
double vcc_voltage() const
boost::units::current_dimension vcc_current_dimension
void clear_calibration_status()
boost::units::quantity< vv_current_unit, double > vv_current_with_units() const
bool has_attitude() const
void set_allocated_plan(::jaiabot::protobuf::MissionPlan *plan)
void set_start_time_with_units(Quantity value_w_units)
Quantity dive_rate_with_units() const
void MergeFrom(const DriftPacket &from)
void set_type(::jaiabot::protobuf::CommandForHub_HubCommandType value)
void clear_powered_rise_rate()
::PROTOBUF_NAMESPACE_ID::uint64 received_time() const
::jaiabot::protobuf::Error error(int index) const
::PROTOBUF_NAMESPACE_ID::int32 drift_duration() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::make_scaled_unit< boost::units::unit< start_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type start_time_unit
::jaiabot::protobuf::Command_CommandType type() const
boost::units::length_dimension distance_to_active_goal_dimension
bool has_battery_percent() const
void MergeFrom(const BotStatus &from)
void MergeFrom(const BotStatus_Speed &from)
void Swap(Command *other)
::jaiabot::protobuf::BotStatus_Attitude * release_attitude()
void set_vcc_voltage(double value)
static bool HubCommandType_Parse(const std::string &name, HubCommandType *value)
void clear_reached_min_depth()
void UnsafeArenaSwap(DriftPacket_EstimatedDrift *other)
TaskPacket & operator=(TaskPacket &&from) noexcept
::jaiabot::protobuf::RemoteControl * mutable_rc()
const ::jaiabot::protobuf::DriftPacket_EstimatedDrift & estimated_drift() const
boost::units::make_scaled_unit< boost::units::unit< end_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type end_time_unit
DivePacket & operator=(DivePacket &&from) noexcept
void set_allocated_rc(::jaiabot::protobuf::RemoteControl *rc)
void set_dive_rate(double value)
bool has_start_location() const
DriftPacket(const DriftPacket &from)
void set_time_with_units(Quantity value_w_units)
void MergeFrom(const Command &from)
::jaiabot::protobuf::GeographicCoordinate * mutable_location()
void set_max_acceleration_with_units(Quantity value_w_units)
BotStatus_Attitude & operator=(const BotStatus_Attitude &from)
boost::units::quantity< heading_unit, double > heading_with_units() const
DivePacket_Measurements(DivePacket_Measurements &&from) noexcept
boost::units::velocity_dimension speed_dimension
bool has_over_ground() const
Command(const Command &from)
boost::units::quantity< start_time_unit, google::protobuf::uint64 > start_time_with_units() const
TaskPacket(const TaskPacket &from)
void Swap(BotStatus *other)
Quantity over_water_with_units() const
void CopyFrom(const DriftPacket &from)
void CopyFrom(const DriftPacket_EstimatedDrift &from)
void set_allocated_attitude(::jaiabot::protobuf::BotStatus_Attitude *attitude)
boost::units::length_dimension depth_dimension
double depth_achieved() const
boost::units::quantity< over_water_unit, double > over_water_with_units() const
double course_over_ground() const
boost::units::unit< powered_rise_rate_dimension, boost::units::si::system > powered_rise_rate_unit
void set_error(int index, ::jaiabot::protobuf::Error value)
boost::units::quantity< duration_to_acquire_gps_unit, double > duration_to_acquire_gps_with_units() const
bool has_mean_temperature() const
void set_allocated_end_location(::jaiabot::protobuf::GeographicCoordinate *end_location)
void add_warning(::jaiabot::protobuf::Warning value)
static const BotStatus & default_instance()
boost::units::unit< max_acceleration_dimension, boost::units::si::system > max_acceleration_unit
Quantity over_ground_with_units() const
friend void swap(Command &a, Command &b)
const ::jaiabot::protobuf::GeographicCoordinate & end_location() const
CommandForHub & operator=(CommandForHub &&from) noexcept
void clear_depth_achieved()
boost::units::current_dimension vv_current_dimension
Quantity roll_with_units() const
void clear_battery_percent()
static bool BotType_Parse(const std::string &name, BotType *value)
::PROTOBUF_NAMESPACE_ID::uint64 end_time() const
static const BotStatus_Speed * internal_default_instance()
Quantity start_time_with_units() const
bool has_distance_to_active_goal() const
const ::jaiabot::protobuf::BotStatus_Attitude & attitude() const
BotStatus_Attitude(const BotStatus_Attitude &from)
bool has_bottom_dive() const
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
void CopyFrom(const DivePacket &from)
void unsafe_arena_set_allocated_rc_task(::jaiabot::protobuf::MissionTask *rc_task)
void set_mean_depth_with_units(Quantity value_w_units)
void CopyFrom(const DivePacket_Measurements &from)
const ::jaiabot::protobuf::GeographicCoordinate & start_location() const
bool has_active_goal() const
friend void swap(BotStatus_Speed &a, BotStatus_Speed &b)
::jaiabot::protobuf::GeographicCoordinate * release_start_location()
void unsafe_arena_set_allocated_plan(::jaiabot::protobuf::MissionPlan *plan)
bool has_bot_type() const
boost::units::quantity< powered_rise_rate_unit, double > powered_rise_rate_with_units() const
boost::units::unit< distance_to_active_goal_dimension, boost::units::si::system > distance_to_active_goal_unit
::PROTOBUF_NAMESPACE_ID::uint64 last_command_time() const
DriftPacket_EstimatedDrift()
Quantity end_time_with_units() const
BotStatus_Speed * New() const final
const ::jaiabot::protobuf::DivePacket_Measurements & measurement(int index) const
void set_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
void unsafe_arena_set_allocated_hub_location(::jaiabot::protobuf::GeographicCoordinate *hub_location)
boost::units::time_dimension last_command_time_dimension
void clear_repeat_index()
friend void swap(BotStatus &a, BotStatus &b)
void set_bot_type(::jaiabot::protobuf::BotStatus_BotType value)
friend void swap(CommandForHub &a, CommandForHub &b)
static const DivePacket_Measurements * internal_default_instance()
DivePacket_Measurements Measurements
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * HubCommandType_descriptor()
::PROTOBUF_NAMESPACE_ID::int32 wifi_link_quality_percentage() const
::jaiabot::protobuf::DivePacket * release_dive()
double vcc_current() const
::jaiabot::protobuf::MissionState mission_state() const
boost::units::time_dimension time_dimension
void set_over_water_with_units(Quantity value_w_units)
void set_distance_to_active_goal(double value)
bool has_estimated_drift() const
DriftPacket(DriftPacket &&from) noexcept
static bool HubCommandType_IsValid(int value)
double battery_percent() const
friend void swap(BotStatus_Attitude &a, BotStatus_Attitude &b)
void set_distance_to_active_goal_with_units(Quantity value_w_units)
int measurement_size() const
double mean_temperature() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void clear_wifi_link_quality_percentage()
::jaiabot::protobuf::MissionTask * release_rc_task()
bool has_bottom_type() const
bool has_last_command_time() const
void set_heading_with_units(Quantity value_w_units)
DivePacket(::PROTOBUF_NAMESPACE_ID::Arena *arena)
CommandForHub(::PROTOBUF_NAMESPACE_ID::Arena *arena)
bool has_salinity() const
boost::units::temperature_dimension temperature_dimension
boost::units::quantity< received_time_unit, google::protobuf::uint64 > received_time_with_units() const
void clear_calibration_state()
::jaiabot::protobuf::RemoteControl * release_rc()
double over_ground() const
static const TaskPacket & default_instance()
BotStatus_Attitude(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_depth_with_units(Quantity value_w_units)
void set_repeat_index(::PROTOBUF_NAMESPACE_ID::int32 value)
Quantity depth_achieved_with_units() const
::PROTOBUF_NAMESPACE_ID::uint64 start_time() const
CommandForHub & operator=(const CommandForHub &from)
boost::units::time_dimension end_time_dimension
boost::units::quantity< vcc_voltage_unit, double > vcc_voltage_with_units() const
Quantity last_command_time_with_units() const
TaskPacket(::PROTOBUF_NAMESPACE_ID::Arena *arena)
BotStatus_Attitude * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static bool CommandType_IsValid(int value)
bool has_unpowered_rise_rate() const
boost::units::temperature_dimension thermocouple_temperature_dimension
void clear_estimated_drift()
bool has_health_state() const
void set_pdop(double value)
::jaiabot::protobuf::DriftPacket_EstimatedDrift * mutable_estimated_drift()
BotStatus_Speed(BotStatus_Speed &&from) noexcept
void set_vcc_voltage_with_units(Quantity value_w_units)
double max_acceleration() const
static const DriftPacket & default_instance()
void set_over_ground_with_units(Quantity value_w_units)
static const std::string & BottomType_Name(T enum_t_value)
static const DriftPacket * internal_default_instance()
Command * New() const final
boost::units::quantity< temperature_unit, double > temperature_with_units() const
::jaiabot::protobuf::DriftPacket_EstimatedDrift * unsafe_arena_release_estimated_drift()
bool has_mean_depth() const
void Swap(BotStatus_Attitude *other)
void Swap(CommandForHub *other)
boost::units::absolute< boost::units::unit< mean_temperature_dimension, boost::units::celsius::system > > mean_temperature_unit
virtual ~BotStatus_Attitude()
boost::units::length_dimension significant_wave_height_dimension
void set_duration_to_acquire_gps(double value)
boost::units::quantity< course_over_ground_unit, double > course_over_ground_with_units() const
void UnsafeArenaSwap(Command *other)
bool has_repeat_index() const
boost::units::time_dimension received_time_dimension
void set_allocated_rc_task(::jaiabot::protobuf::MissionTask *rc_task)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int > & error() const
bool has_scan_for_bot_id() const
bool reached_min_depth() const
void set_scan_for_bot_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
BotStatus_Speed & operator=(BotStatus_Speed &&from) noexcept
void unsafe_arena_set_allocated_rc(::jaiabot::protobuf::RemoteControl *rc)
::jaiabot::protobuf::BotStatus_BotType bot_type() const
void clear_health_state()
::jaiabot::protobuf::DivePacket_Measurements * mutable_measurement(int index)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_powered_rise_rate(double value)
void clear_significant_wave_height()
boost::units::velocity_dimension unpowered_rise_rate_dimension
void UnsafeArenaSwap(BotStatus *other)
bool has_duration_to_acquire_gps() const
Quantity depth_with_units() const
void set_course_over_ground_with_units(Quantity value_w_units)
boost::units::quantity< mean_temperature_unit, double > mean_temperature_with_units() const
boost::units::plane_angle_dimension pitch_dimension
void clear_duration_to_acquire_gps()
void set_depth_achieved(double value)
void MergeFrom(const CommandForHub &from)
static const DriftPacket_EstimatedDrift & default_instance()
boost::units::velocity_dimension powered_rise_rate_dimension
void set_vv_current_with_units(Quantity value_w_units)
void set_end_time(::PROTOBUF_NAMESPACE_ID::uint64 value)
boost::units::time_dimension start_time_dimension
void clear_thermocouple_temperature()
void set_active_goal_timeout(::PROTOBUF_NAMESPACE_ID::uint32 value)
void set_speed(double value)
static const std::string & BotType_Name(T enum_t_value)
const ::jaiabot::protobuf::GeographicCoordinate & location() const
void set_allocated_drift(::jaiabot::protobuf::DriftPacket *drift)
const ::jaiabot::protobuf::DivePacket & dive() const
static const BotStatus_Attitude & default_instance()
DriftPacket_EstimatedDrift(const DriftPacket_EstimatedDrift &from)
static const DriftPacket_EstimatedDrift * internal_default_instance()
boost::units::plane_angle_dimension heading_dimension
friend void swap(DriftPacket &a, DriftPacket &b)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements > & measurement() const
virtual ~BotStatus_Speed()
void set_last_command_time_with_units(Quantity value_w_units)
::jaiabot::protobuf::GeographicCoordinate * release_location()
::jaiabot::protobuf::MissionPlan * release_plan()
static const Command * internal_default_instance()
void set_unpowered_rise_rate(double value)
Quantity speed_with_units() const
virtual ~DriftPacket_EstimatedDrift()
TaskPacket * New() const final
boost::units::velocity_dimension over_ground_dimension
bool has_active_goal_timeout() const
void set_received_time(::PROTOBUF_NAMESPACE_ID::uint64 value)
::goby::middleware::protobuf::HealthState health_state() const
boost::units::quantity< depth_unit, double > depth_with_units() const
friend void swap(DriftPacket_EstimatedDrift &a, DriftPacket_EstimatedDrift &b)
Quantity mean_temperature_with_units() const
void unsafe_arena_set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate *start_location)
DriftPacket_EstimatedDrift & operator=(const DriftPacket_EstimatedDrift &from)
bool has_end_time() const
TaskPacket * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
DriftPacket & operator=(const DriftPacket &from)
void UnsafeArenaSwap(DivePacket *other)
boost::units::quantity< distance_to_active_goal_unit, double > distance_to_active_goal_with_units() const
::jaiabot::protobuf::DriftPacket * unsafe_arena_release_drift()
BotStatus_Speed(const BotStatus_Speed &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Quantity vcc_voltage_with_units() const
const ::jaiabot::protobuf::BotStatus_Speed & speed() const
double duration_to_acquire_gps() const
void clear_mean_temperature()
void set_battery_percent(double value)
::jaiabot::protobuf::DriftPacket_EstimatedDrift * release_estimated_drift()
void set_last_command_time(::PROTOBUF_NAMESPACE_ID::uint64 value)
boost::units::quantity< thermocouple_temperature_unit, double > thermocouple_temperature_with_units() const
boost::units::quantity< depth_achieved_unit, double > depth_achieved_with_units() const
BotStatus_Attitude Attitude
void MergeFrom(const TaskPacket &from)
::jaiabot::protobuf::MissionTask * unsafe_arena_release_rc_task()
friend void swap(TaskPacket &a, TaskPacket &b)
boost::units::unit< vcc_current_dimension, boost::units::si::system > vcc_current_unit
::jaiabot::protobuf::GeographicCoordinate * mutable_start_location()
boost::units::quantity< roll_unit, double > roll_with_units() const
DriftPacket * New() const final
void UnsafeArenaSwap(BotStatus_Attitude *other)
void clear_mean_salinity()
Quantity distance_to_active_goal_with_units() const
void set_salinity(double value)
static const CommandForHub * internal_default_instance()
void set_pitch(double value)
bool has_hub_location() const
void unsafe_arena_set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
DivePacket * New() const final
boost::units::plane_angle_dimension course_over_ground_dimension
::jaiabot::protobuf::BotStatus_Attitude * unsafe_arena_release_attitude()
void set_heading(double value)
void clear_distance_to_active_goal()
DivePacket_Measurements & operator=(const DivePacket_Measurements &from)
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type drift_duration_dimension
void clear_active_goal_timeout()
boost::units::unit< depth_achieved_dimension, boost::units::si::system > depth_achieved_unit
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_location()
::jaiabot::protobuf::BotStatus_Speed * unsafe_arena_release_speed()
void unsafe_arena_set_allocated_drift(::jaiabot::protobuf::DriftPacket *drift)
void set_received_time_with_units(Quantity value_w_units)
boost::units::unit< significant_wave_height_dimension, boost::units::si::system > significant_wave_height_unit
::PROTOBUF_NAMESPACE_ID::uint32 active_goal_timeout() const
BotStatus * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements > * mutable_measurement()
void set_mean_depth(double value)
void set_dive_rate_with_units(Quantity value_w_units)
const ::jaiabot::protobuf::DriftPacket & drift() const
boost::units::unit< vv_current_dimension, boost::units::si::system > vv_current_unit
::jaiabot::protobuf::IMUCalibrationState calibration_state() const
::jaiabot::protobuf::MissionTask * mutable_rc_task()
BotStatus * New() const final
void set_end_time_with_units(Quantity value_w_units)
DivePacket(DivePacket &&from) noexcept
void set_drift_duration_with_units(Quantity value_w_units)
boost::units::absolute< boost::units::unit< thermocouple_temperature_dimension, boost::units::celsius::system > > thermocouple_temperature_unit
bool has_vcc_voltage() const
void CopyFrom(const BotStatus_Attitude &from)
CommandDataCase command_data_case() const
void clear_max_acceleration()
void set_vv_current(double value)
void set_mean_temperature_with_units(Quantity value_w_units)
const ::jaiabot::protobuf::MissionTask & rc_task() const
virtual ~DivePacket_Measurements()
void set_pitch_with_units(Quantity value_w_units)
Quantity active_goal_timeout_with_units() const
void set_type(::jaiabot::protobuf::Command_CommandType value)
boost::units::make_scaled_unit< boost::units::unit< last_command_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type last_command_time_unit
void UnsafeArenaSwap(DriftPacket *other)
void set_allocated_hub_location(::jaiabot::protobuf::GeographicCoordinate *hub_location)
void set_significant_wave_height(double value)
Quantity heading_with_units() const
boost::units::length_dimension mean_depth_dimension
DivePacket_Measurements()
Quantity powered_rise_rate_with_units() const
void set_thermocouple_temperature(double value)
::jaiabot::protobuf::DivePacket * unsafe_arena_release_dive()
DivePacket_Measurements * New() const final
::jaiabot::protobuf::Warning warning(int index) const
boost::units::unit< duration_to_acquire_gps_dimension, boost::units::si::system > duration_to_acquire_gps_unit
CommandForHub * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
boost::units::plane_angle_dimension roll_dimension
boost::units::quantity< drift_duration_unit, google::protobuf::int32 > drift_duration_with_units() const
BotStatus(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_warning(int index, ::jaiabot::protobuf::Warning value)
boost::units::unit< drift_duration_dimension, boost::units::si::system > drift_duration_unit
double thermocouple_temperature() const
void set_significant_wave_height_with_units(Quantity value_w_units)
bool has_max_acceleration() const
void clear_course_over_ground()
CommandForHub * New() const final
::PROTOBUF_NAMESPACE_ID::uint64 time() const
BotStatus_Attitude * New() const final
void set_bottom_type(::jaiabot::protobuf::DivePacket_BottomType value)
void clear_unpowered_rise_rate()
Quantity thermocouple_temperature_with_units() const
bool has_end_location() const
void set_mean_salinity(double value)
void Swap(DivePacket_Measurements *other)
void CopyFrom(const TaskPacket &from)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CommandType_descriptor()
DivePacket_Measurements(const DivePacket_Measurements &from)
Quantity received_time_with_units() const
BotStatus_Attitude & operator=(BotStatus_Attitude &&from) noexcept
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
bool has_reached_min_depth() const
BotStatus & operator=(const BotStatus &from)
void set_roll_with_units(Quantity value_w_units)
::jaiabot::protobuf::GeographicCoordinate * release_end_location()
void CopyFrom(const BotStatus &from)
void MergeFrom(const DivePacket &from)
void set_duration_to_acquire_gps_with_units(Quantity value_w_units)
::jaiabot::protobuf::BotStatus_Attitude * mutable_attitude()
bool has_wifi_link_quality_percentage() const
::jaiabot::protobuf::DriftPacket * mutable_drift()
boost::units::quantity< active_goal_timeout_unit, google::protobuf::uint32 > active_goal_timeout_with_units() const
Command * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::PROTOBUF_NAMESPACE_ID::RepeatedField< int > * mutable_warning()
void set_mean_temperature(double value)
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type duration_to_acquire_gps_dimension
BotStatus(BotStatus &&from) noexcept
void set_wifi_link_quality_percentage(::PROTOBUF_NAMESPACE_ID::int32 value)
static bool BotType_IsValid(int value)
boost::units::unit< unpowered_rise_rate_dimension, boost::units::si::system > unpowered_rise_rate_unit
bool has_mean_salinity() const
boost::units::unit< roll_dimension, boost::units::degree::system > roll_unit
void set_course_over_ground(double value)
void CopyFrom(const CommandForHub &from)
friend void swap(DivePacket &a, DivePacket &b)
void set_unpowered_rise_rate_with_units(Quantity value_w_units)
static const BotStatus * internal_default_instance()
void Swap(BotStatus_Speed *other)
DivePacket_Measurements * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_start_location()
boost::units::unit< dive_rate_dimension, boost::units::si::system > dive_rate_unit
Quantity duration_to_acquire_gps_with_units() const
void MergeFrom(const BotStatus_Attitude &from)
static const BotStatus_Speed & default_instance()
void MergeFrom(const DriftPacket_EstimatedDrift &from)
Command(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value)
::jaiabot::protobuf::DivePacket_BottomType bottom_type() const
::PROTOBUF_NAMESPACE_ID::int32 active_goal() const
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type active_goal_timeout_dimension
static const std::string & HubCommandType_Name(T enum_t_value)
void set_type(::jaiabot::protobuf::MissionTask_TaskType value)
::jaiabot::protobuf::DivePacket_Measurements * add_measurement()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * BotType_descriptor()
TaskPacket & operator=(const TaskPacket &from)
const ::jaiabot::protobuf::GeographicCoordinate & hub_location() const
boost::units::electric_potential_dimension vcc_voltage_dimension
bool has_calibration_state() const
DriftPacket * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
double powered_rise_rate() const
void set_calibration_status(::PROTOBUF_NAMESPACE_ID::int32 value)
bool has_start_time() const
void set_max_acceleration(double value)
Quantity temperature_with_units() const
void set_hdop(double value)
DivePacket(const DivePacket &from)
BotStatus_Attitude(BotStatus_Attitude &&from) noexcept
void clear_drift_duration()
void set_roll(double value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int > & warning() const
::jaiabot::protobuf::MissionPlan * mutable_plan()
boost::units::quantity< vcc_current_unit, double > vcc_current_with_units() const
boost::units::length_dimension depth_achieved_dimension
CommandForHub_HubCommandType HubCommandType
void clear_start_location()
double distance_to_active_goal() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void Swap(DriftPacket_EstimatedDrift *other)
DriftPacket(::PROTOBUF_NAMESPACE_ID::Arena *arena)
CommandForHub(CommandForHub &&from) noexcept
bool has_drift_duration() const
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
BotStatus_Speed(::PROTOBUF_NAMESPACE_ID::Arena *arena)
boost::units::acceleration_dimension max_acceleration_dimension
void set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate *start_location)
BotStatus(const BotStatus &from)
bool has_calibration_status() const
const ::jaiabot::protobuf::MissionPlan & plan() const
void set_drift_duration(::PROTOBUF_NAMESPACE_ID::int32 value)
void set_over_water(double value)
void add_error(::jaiabot::protobuf::Error value)
static void InitAsDefaultInstance()
DriftPacket_EstimatedDrift(DriftPacket_EstimatedDrift &&from) noexcept
void set_reached_min_depth(bool value)
boost::units::velocity_dimension over_water_dimension
bool has_course_over_ground() const
static const CommandForHub & default_instance()
void set_vcc_current(double value)
static bool CommandType_Parse(const std::string &name, CommandType *value)
::PROTOBUF_NAMESPACE_ID::int32 calibration_status() const
DriftPacket_EstimatedDrift * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::jaiabot::protobuf::DriftPacket * release_drift()
DivePacket_Measurements & operator=(DivePacket_Measurements &&from) noexcept
void set_temperature(double value)
DivePacket_BottomType BottomType
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_end_location()
void set_active_goal_timeout_with_units(Quantity value_w_units)
void set_powered_rise_rate_with_units(Quantity value_w_units)
bool has_received_time() const
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * BottomType_descriptor()
void clear_received_time()
void set_temperature_with_units(Quantity value_w_units)
const ::jaiabot::protobuf::RemoteControl & rc() const
void set_health_state(::goby::middleware::protobuf::HealthState value)
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
::PROTOBUF_NAMESPACE_ID::uint32 scan_for_bot_id() const
double mean_depth() const
bool has_powered_rise_rate() const
Quantity mean_depth_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const DivePacket * internal_default_instance()
::jaiabot::protobuf::BotStatus_Speed * mutable_speed()
Quantity drift_duration_with_units() const
void set_allocated_speed(::jaiabot::protobuf::BotStatus_Speed *speed)
::jaiabot::protobuf::MissionTask_TaskType type() const
void set_calibration_state(::jaiabot::protobuf::IMUCalibrationState value)
boost::units::unit< over_water_dimension, boost::units::si::system > over_water_unit
boost::units::quantity< max_acceleration_unit, double > max_acceleration_with_units() const
::PROTOBUF_NAMESPACE_ID::uint32 bot_id() const
boost::units::unit< course_over_ground_dimension, boost::units::degree::system > course_over_ground_unit
void clear_hub_location()
::jaiabot::protobuf::DivePacket * mutable_dive()
double mean_salinity() const
Quantity course_over_ground_with_units() const
void set_over_ground(double value)
bool has_vv_current() const
::jaiabot::protobuf::GeographicCoordinate * mutable_end_location()
void set_active_goal(::PROTOBUF_NAMESPACE_ID::int32 value)
void clear_command_data()
void unsafe_arena_set_allocated_speed(::jaiabot::protobuf::BotStatus_Speed *speed)
BotStatus_BotType BotType
boost::units::unit< vcc_voltage_dimension, boost::units::si::system > vcc_voltage_unit
boost::units::quantity< end_time_unit, google::protobuf::uint64 > end_time_with_units() const
void set_bottom_dive(bool value)
boost::units::unit< speed_dimension, boost::units::si::system > speed_unit
void set_start_time(::PROTOBUF_NAMESPACE_ID::uint64 value)
bool has_location() const
static bool BottomType_Parse(const std::string &name, BottomType *value)
::jaiabot::protobuf::GeographicCoordinate * mutable_hub_location()
static bool BottomType_IsValid(int value)
void set_mission_state(::jaiabot::protobuf::MissionState value)
boost::units::unit< over_ground_dimension, boost::units::si::system > over_ground_unit
void CopyFrom(const Command &from)
Quantity max_acceleration_with_units() const
DriftPacket_EstimatedDrift * New() const final
boost::units::quantity< dive_rate_unit, double > dive_rate_with_units() const
boost::units::quantity< mean_depth_unit, double > mean_depth_with_units() const
Quantity time_with_units() const
static const TaskPacket * internal_default_instance()
::jaiabot::protobuf::MissionPlan * unsafe_arena_release_plan()
boost::units::temperature_dimension mean_temperature_dimension
void clear_mission_state()
void set_hub_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
void set_speed_with_units(Quantity value_w_units)
boost::units::quantity< unpowered_rise_rate_unit, double > unpowered_rise_rate_with_units() const
Command & operator=(const Command &from)
void unsafe_arena_set_allocated_end_location(::jaiabot::protobuf::GeographicCoordinate *end_location)
void Swap(TaskPacket *other)
void set_allocated_estimated_drift(::jaiabot::protobuf::DriftPacket_EstimatedDrift *estimated_drift)
void unsafe_arena_set_allocated_attitude(::jaiabot::protobuf::BotStatus_Attitude *attitude)
void set_depth_achieved_with_units(Quantity value_w_units)
boost::units::unit< pitch_dimension, boost::units::degree::system > pitch_unit
boost::units::unit< active_goal_timeout_dimension, boost::units::si::system > active_goal_timeout_unit
CommandForHub(const CommandForHub &from)
bool has_thermocouple_temperature() const
friend void swap(DivePacket_Measurements &a, DivePacket_Measurements &b)
Quantity pitch_with_units() const
DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void clear_last_command_time()
BotStatus_Speed * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
bool has_temperature() const
static const DivePacket & default_instance()
bool has_over_water() const
Quantity vv_current_with_units() const
boost::units::quantity< over_ground_unit, double > over_ground_with_units() const
void clear_scan_for_bot_id()
void unsafe_arena_set_allocated_estimated_drift(::jaiabot::protobuf::DriftPacket_EstimatedDrift *estimated_drift)
bool has_mission_state() const
::jaiabot::protobuf::BotStatus_Speed * release_speed()
boost::units::unit< depth_dimension, boost::units::si::system > depth_unit
::PROTOBUF_NAMESPACE_ID::RepeatedField< int > * mutable_error()
void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
::PROTOBUF_NAMESPACE_ID::int32 repeat_index() const
bool has_dive_rate() const
boost::units::velocity_dimension dive_rate_dimension
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_hub_location()
::jaiabot::protobuf::CommandForHub_HubCommandType type() const
void unsafe_arena_set_allocated_dive(::jaiabot::protobuf::DivePacket *dive)
BotStatus & operator=(BotStatus &&from) noexcept
void CopyFrom(const BotStatus_Speed &from)
double temperature() const
void Swap(DriftPacket *other)
DivePacket & operator=(const DivePacket &from)
Command_CommandType CommandType
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
DriftPacket_EstimatedDrift EstimatedDrift
DriftPacket & operator=(DriftPacket &&from) noexcept
boost::units::quantity< speed_unit, double > speed_with_units() const
double over_water() const
::PROTOBUF_NAMESPACE_ID::uint32 hub_id() const
void UnsafeArenaSwap(BotStatus_Speed *other)
::jaiabot::protobuf::GeographicCoordinate * release_hub_location()
DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
double vv_current() const
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
constexpr goby::middleware::Group salinity
MissionTaskDefaultTypeInternal _MissionTask_default_instance_
constexpr Command_CommandType Command_CommandType_CommandType_MAX
bool BotStatus_BotType_IsValid(int value)
constexpr DivePacket_BottomType DivePacket_BottomType_BottomType_MAX
const std::string & Command_CommandType_Name(T enum_t_value)
BotStatus_SpeedDefaultTypeInternal _BotStatus_Speed_default_instance_
bool CommandForHub_HubCommandType_IsValid(int value)
constexpr int CommandForHub_HubCommandType_HubCommandType_ARRAYSIZE
constexpr int DivePacket_BottomType_BottomType_ARRAYSIZE
constexpr BotStatus_BotType BotStatus_BotType_BotType_MAX
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * BotStatus_BotType_descriptor()
const std::string & BotStatus_BotType_Name(T enum_t_value)
MissionPlanDefaultTypeInternal _MissionPlan_default_instance_
bool DivePacket_BottomType_IsValid(int value)
@ BotStatus_BotType_HYDRO
bool Error_IsValid(int value)
constexpr int Command_CommandType_CommandType_ARRAYSIZE
DriftPacket_EstimatedDriftDefaultTypeInternal _DriftPacket_EstimatedDrift_default_instance_
const std::string & DivePacket_BottomType_Name(T enum_t_value)
constexpr CommandForHub_HubCommandType CommandForHub_HubCommandType_HubCommandType_MAX
bool BotStatus_BotType_Parse(const std::string &name, BotStatus_BotType *value)
TaskPacketDefaultTypeInternal _TaskPacket_default_instance_
RemoteControlDefaultTypeInternal _RemoteControl_default_instance_
CommandForHub_HubCommandType
@ CommandForHub_HubCommandType_RESTART_ALL_SERVICES
@ CommandForHub_HubCommandType_REBOOT_COMPUTER
@ CommandForHub_HubCommandType_SET_HUB_LOCATION
@ CommandForHub_HubCommandType_SCAN_FOR_BOTS
@ CommandForHub_HubCommandType_SHUTDOWN_COMPUTER
@ DivePacket_BottomType_HARD
@ DivePacket_BottomType_SOFT
CommandDefaultTypeInternal _Command_default_instance_
DivePacket_MeasurementsDefaultTypeInternal _DivePacket_Measurements_default_instance_
bool CommandForHub_HubCommandType_Parse(const std::string &name, CommandForHub_HubCommandType *value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CommandForHub_HubCommandType_descriptor()
constexpr int BotStatus_BotType_BotType_ARRAYSIZE
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * DivePacket_BottomType_descriptor()
DivePacketDefaultTypeInternal _DivePacket_default_instance_
bool MissionTask_TaskType_IsValid(int value)
bool DivePacket_BottomType_Parse(const std::string &name, DivePacket_BottomType *value)
DriftPacketDefaultTypeInternal _DriftPacket_default_instance_
GeographicCoordinateDefaultTypeInternal _GeographicCoordinate_default_instance_
@ Command_CommandType_REMOTE_CONTROL_TASK
@ Command_CommandType_PAUSE
@ Command_CommandType_RETRY_DATA_OFFLOAD
@ Command_CommandType_REBOOT_COMPUTER
@ Command_CommandType_SHUTDOWN
@ Command_CommandType_STOP
@ Command_CommandType_RETURN_TO_HOME
@ Command_CommandType_MISSION_PLAN_FRAGMENT
@ Command_CommandType_START_MISSION
@ Command_CommandType_NEXT_TASK
@ Command_CommandType_REMOTE_CONTROL_RESUME_MOVEMENT
@ Command_CommandType_RECOVERED
@ Command_CommandType_SHUTDOWN_COMPUTER
@ Command_CommandType_ACTIVATE
@ Command_CommandType_DATA_OFFLOAD_COMPLETE
@ Command_CommandType_RESUME
@ Command_CommandType_REMOTE_CONTROL_SETPOINT
@ Command_CommandType_MISSION_PLAN
@ Command_CommandType_DATA_OFFLOAD_FAILED
@ Command_CommandType_RESTART_ALL_SERVICES
constexpr DivePacket_BottomType DivePacket_BottomType_BottomType_MIN
bool Command_CommandType_Parse(const std::string &name, Command_CommandType *value)
constexpr BotStatus_BotType BotStatus_BotType_BotType_MIN
BotStatusDefaultTypeInternal _BotStatus_default_instance_
bool Command_CommandType_IsValid(int value)
bool Warning_IsValid(int value)
const std::string & CommandForHub_HubCommandType_Name(T enum_t_value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Command_CommandType_descriptor()
CommandForHubDefaultTypeInternal _CommandForHub_default_instance_
bool IMUCalibrationState_IsValid(int value)
bool MissionState_IsValid(int value)
constexpr CommandForHub_HubCommandType CommandForHub_HubCommandType_HubCommandType_MIN
BotStatus_AttitudeDefaultTypeInternal _BotStatus_Attitude_default_instance_
constexpr Command_CommandType Command_CommandType_CommandType_MIN
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[10] PROTOBUF_SECTION_VARIABLE(protodesc_cold)