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 < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
38#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
57PROTOBUF_NAMESPACE_OPEN
61PROTOBUF_NAMESPACE_CLOSE
71struct BotStatusDefaultTypeInternal;
73class BotStatus_ActiveLink;
74struct BotStatus_ActiveLinkDefaultTypeInternal;
76class BotStatus_Attitude;
77struct BotStatus_AttitudeDefaultTypeInternal;
80struct BotStatus_SpeedDefaultTypeInternal;
83struct CommandDefaultTypeInternal;
85class CommandCommsResult;
86struct CommandCommsResultDefaultTypeInternal;
89struct CommandForHubDefaultTypeInternal;
92struct ContactUpdateDefaultTypeInternal;
95struct DivePacketDefaultTypeInternal;
97class DivePacket_Measurements;
98struct DivePacket_MeasurementsDefaultTypeInternal;
100class DivePacket_SubsurfaceCurrentVector;
101struct DivePacket_SubsurfaceCurrentVectorDefaultTypeInternal;
104struct DriftPacketDefaultTypeInternal;
106class DriftPacket_EstimatedDrift;
107struct DriftPacket_EstimatedDriftDefaultTypeInternal;
110struct Hub2HubDataDefaultTypeInternal;
113struct TaskPacketDefaultTypeInternal;
117PROTOBUF_NAMESPACE_OPEN
133PROTOBUF_NAMESPACE_CLOSE
167 static_assert(::std::is_same<T, Command_CommandType>::value ||
168 ::std::is_integral<T>::value,
169 "Incorrect type passed to function Command_CommandType_Name.");
170 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
175 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Command_CommandType>(
194 static_assert(::std::is_same<T, CommandForHub_HubCommandType>::value ||
195 ::std::is_integral<T>::value,
196 "Incorrect type passed to function CommandForHub_HubCommandType_Name.");
197 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
202 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CommandForHub_HubCommandType>(
218 static_assert(::std::is_same<T, BotStatus_BotType>::value ||
219 ::std::is_integral<T>::value,
220 "Incorrect type passed to function BotStatus_BotType_Name.");
221 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
226 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<BotStatus_BotType>(
241 static_assert(::std::is_same<T, DivePacket_BottomType>::value ||
242 ::std::is_integral<T>::value,
243 "Incorrect type passed to function DivePacket_BottomType_Name.");
244 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
249 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<DivePacket_BottomType>(
264 static_assert(::std::is_same<T, CommandCommsResult_CommsResult>::value ||
265 ::std::is_integral<T>::value,
266 "Incorrect type passed to function CommandCommsResult_CommsResult_Name.");
267 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
272 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CommandCommsResult_CommsResult>(
278 public ::PROTOBUF_NAMESPACE_ID::Message {
287 *
this = ::std::move(
from);
295 if (
this == &
from)
return *
this;
309 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
312 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
315 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
335 return reinterpret_cast<const Command*
>(
345 if (
other ==
this)
return;
346 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
354 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this,
other);
358 if (
other ==
this)
return;
368 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
370 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
372 Command::MergeImpl(*
this,
from);
375 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message&
to_msg, const ::PROTOBUF_NAMESPACE_ID::Message&
from_msg);
389 void SetCachedSize(
int size)
const final;
393 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
394 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
395 return "jaiabot.protobuf.Command";
459 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
465 static_assert(::std::is_same<T, CommandType>::value ||
466 ::std::is_integral<T>::value,
467 "Incorrect type passed to function CommandType_Name.");
490 bool _internal_has_time()
const;
497 void _internal_set_time(
uint64_t value);
503 bool _internal_has_bot_id()
const;
510 void _internal_set_bot_id(
uint32_t value);
516 bool _internal_has_from_hub_id()
const;
522 uint32_t _internal_from_hub_id()
const;
523 void _internal_set_from_hub_id(
uint32_t value);
529 bool _internal_has_link()
const;
542 bool _internal_has_type()
const;
555 bool _internal_has_plan()
const;
558 const ::jaiabot::protobuf::MissionPlan&
plan()
const;
559 PROTOBUF_NODISCARD ::jaiabot::protobuf::MissionPlan*
release_plan();
563 const ::jaiabot::protobuf::MissionPlan& _internal_plan()
const;
573 bool _internal_has_rc()
const;
576 const ::jaiabot::protobuf::RemoteControl&
rc()
const;
577 PROTOBUF_NODISCARD ::jaiabot::protobuf::RemoteControl*
release_rc();
581 const ::jaiabot::protobuf::RemoteControl& _internal_rc()
const;
591 bool _internal_has_rc_task()
const;
594 const ::jaiabot::protobuf::MissionTask&
rc_task()
const;
595 PROTOBUF_NODISCARD ::jaiabot::protobuf::MissionTask*
release_rc_task();
599 const ::jaiabot::protobuf::MissionTask& _internal_rc_task()
const;
611 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;
613 template<
typename Quantity >
617 template<
typename Quantity >
629 void set_has_rc_task();
631 inline bool has_command_data()
const;
632 inline void clear_has_command_data();
635 size_t RequiredFieldsByteSizeFallback()
const;
637 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
638 typedef void InternalArenaConstructable_;
639 typedef void DestructorSkippable_;
641 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
642 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
650 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized
_constinit_;
659 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
664 public ::PROTOBUF_NAMESPACE_ID::Message {
668 explicit PROTOBUF_CONSTEXPR
CommandForHub(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
673 *
this = ::std::move(from);
681 if (
this == &from)
return *
this;
682 if (GetOwningArena() == from.GetOwningArena()
683 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
684 && GetOwningArena() !=
nullptr
695 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
698 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
701 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
702 return GetDescriptor();
705 return default_instance().GetMetadata().descriptor;
708 return default_instance().GetMetadata().reflection;
711 return *internal_default_instance();
717 static constexpr int kIndexInFileMessages =
724 if (other ==
this)
return;
725 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
726 if (GetOwningArena() !=
nullptr &&
727 GetOwningArena() == other->GetOwningArena()) {
729 if (GetOwningArena() == other->GetOwningArena()) {
733 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
737 if (other ==
this)
return;
738 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
745 return CreateMaybeMessage<CommandForHub>(arena);
747 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
749 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
751 CommandForHub::MergeImpl(*
this, from);
754 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
756 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
757 bool IsInitialized() const final;
759 size_t ByteSizeLong() const final;
760 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
761 uint8_t* _InternalSerialize(
762 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
763 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
766 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
768 void SetCachedSize(
int size)
const final;
772 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
773 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
774 return "jaiabot.protobuf.CommandForHub";
778 bool is_message_owned =
false);
782 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
784 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
790 CommandForHub_HubCommandType_SCAN_FOR_BOTS;
792 CommandForHub_HubCommandType_CTD_DATA_OFFLOAD;
794 CommandForHub_HubCommandType_RESTART_ALL_SERVICES;
796 CommandForHub_HubCommandType_REBOOT_COMPUTER;
798 CommandForHub_HubCommandType_SHUTDOWN_COMPUTER;
800 CommandForHub_HubCommandType_SET_HUB_LOCATION;
801 static inline
bool HubCommandType_IsValid(
int value) {
808 static constexpr int HubCommandType_ARRAYSIZE =
810 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
816 static_assert(::std::is_same<T, HubCommandType>::value ||
817 ::std::is_integral<T>::value,
818 "Incorrect type passed to function HubCommandType_Name.");
829 kHubLocationFieldNumber = 80,
830 kTimeFieldNumber = 2,
831 kHubIdFieldNumber = 1,
832 kScanForBotIdFieldNumber = 11,
833 kTypeFieldNumber = 10,
836 bool has_hub_location()
const;
838 bool _internal_has_hub_location()
const;
841 const ::jaiabot::protobuf::GeographicCoordinate& hub_location()
const;
842 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_hub_location();
846 const ::jaiabot::protobuf::GeographicCoordinate& _internal_hub_location()
const;
849 void unsafe_arena_set_allocated_hub_location(
854 bool has_time()
const;
856 bool _internal_has_time()
const;
859 uint64_t time()
const;
860 void set_time(uint64_t value);
862 uint64_t _internal_time()
const;
863 void _internal_set_time(uint64_t value);
867 bool has_hub_id()
const;
869 bool _internal_has_hub_id()
const;
872 uint32_t hub_id()
const;
873 void set_hub_id(uint32_t value);
875 uint32_t _internal_hub_id()
const;
876 void _internal_set_hub_id(uint32_t value);
880 bool has_scan_for_bot_id()
const;
882 bool _internal_has_scan_for_bot_id()
const;
884 void clear_scan_for_bot_id();
885 uint32_t scan_for_bot_id()
const;
886 void set_scan_for_bot_id(uint32_t value);
888 uint32_t _internal_scan_for_bot_id()
const;
889 void _internal_set_scan_for_bot_id(uint32_t value);
893 bool has_type()
const;
895 bool _internal_has_type()
const;
907 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;
909 template<
typename Quantity >
911 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
913 template<
typename Quantity >
915 {
return Quantity(time() *
time_unit()); };
918 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
925 size_t RequiredFieldsByteSizeFallback()
const;
927 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
928 typedef void InternalArenaConstructable_;
929 typedef void DestructorSkippable_;
931 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
932 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
936 uint32_t scan_for_bot_id_;
940 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
945 public ::PROTOBUF_NAMESPACE_ID::Message {
954 *
this = ::std::move(from);
962 if (
this == &from)
return *
this;
963 if (GetOwningArena() == from.GetOwningArena()
964 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
965 && GetOwningArena() !=
nullptr
976 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
979 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
982 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
983 return GetDescriptor();
986 return default_instance().GetMetadata().descriptor;
989 return default_instance().GetMetadata().reflection;
992 return *internal_default_instance();
998 static constexpr int kIndexInFileMessages =
1005 if (other ==
this)
return;
1006 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1007 if (GetOwningArena() !=
nullptr &&
1008 GetOwningArena() == other->GetOwningArena()) {
1010 if (GetOwningArena() == other->GetOwningArena()) {
1012 InternalSwap(other);
1014 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1018 if (other ==
this)
return;
1019 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1020 InternalSwap(other);
1026 return CreateMaybeMessage<BotStatus_ActiveLink>(arena);
1028 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1030 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1032 BotStatus_ActiveLink::MergeImpl(*
this, from);
1035 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1037 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1038 bool IsInitialized() const final;
1040 size_t ByteSizeLong() const final;
1041 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1042 uint8_t* _InternalSerialize(
1043 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1044 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
1047 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
1049 void SetCachedSize(
int size)
const final;
1053 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1054 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1055 return "jaiabot.protobuf.BotStatus.ActiveLink";
1059 bool is_message_owned =
false);
1063 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
1065 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1072 kLastReceivedTimeFieldNumber = 2,
1073 kLinkFieldNumber = 1,
1076 bool has_last_received_time()
const;
1078 bool _internal_has_last_received_time()
const;
1080 void clear_last_received_time();
1081 uint64_t last_received_time()
const;
1082 void set_last_received_time(uint64_t value);
1084 uint64_t _internal_last_received_time()
const;
1085 void _internal_set_last_received_time(uint64_t value);
1089 bool has_link()
const;
1091 bool _internal_has_link()
const;
1103 typedef boost::units::make_scaled_unit<boost::units::unit<last_received_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
last_received_time_unit;
1105 template<
typename Quantity >
1107 { set_last_received_time(boost::units::quantity<last_received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1109 template<
typename Quantity >
1114 {
return last_received_time_with_units<boost::units::quantity< last_received_time_unit,google::protobuf::uint64 > >(); };
1120 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1121 typedef void InternalArenaConstructable_;
1122 typedef void DestructorSkippable_;
1124 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1125 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1126 uint64_t last_received_time_;
1130 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1135 public ::PROTOBUF_NAMESPACE_ID::Message {
1144 *
this = ::std::move(from);
1152 if (
this == &from)
return *
this;
1153 if (GetOwningArena() == from.GetOwningArena()
1154 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1155 && GetOwningArena() !=
nullptr
1158 InternalSwap(&from);
1166 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1169 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1173 return GetDescriptor();
1176 return default_instance().GetMetadata().descriptor;
1179 return default_instance().GetMetadata().reflection;
1182 return *internal_default_instance();
1188 static constexpr int kIndexInFileMessages =
1195 if (other ==
this)
return;
1196 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1197 if (GetOwningArena() !=
nullptr &&
1198 GetOwningArena() == other->GetOwningArena()) {
1200 if (GetOwningArena() == other->GetOwningArena()) {
1202 InternalSwap(other);
1204 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1208 if (other ==
this)
return;
1209 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1210 InternalSwap(other);
1216 return CreateMaybeMessage<BotStatus_Attitude>(arena);
1218 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1220 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1222 BotStatus_Attitude::MergeImpl(*
this, from);
1225 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1227 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1228 bool IsInitialized() const final;
1230 size_t ByteSizeLong() const final;
1231 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1232 uint8_t* _InternalSerialize(
1233 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1234 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
1237 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
1239 void SetCachedSize(
int size)
const final;
1243 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1244 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1245 return "jaiabot.protobuf.BotStatus.Attitude";
1249 bool is_message_owned =
false);
1253 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
1255 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1262 kRollFieldNumber = 1,
1263 kPitchFieldNumber = 2,
1264 kHeadingFieldNumber = 3,
1265 kCourseOverGroundFieldNumber = 4,
1268 bool has_roll()
const;
1270 bool _internal_has_roll()
const;
1273 double roll()
const;
1274 void set_roll(
double value);
1276 double _internal_roll()
const;
1277 void _internal_set_roll(
double value);
1281 bool has_pitch()
const;
1283 bool _internal_has_pitch()
const;
1286 double pitch()
const;
1287 void set_pitch(
double value);
1289 double _internal_pitch()
const;
1290 void _internal_set_pitch(
double value);
1294 bool has_heading()
const;
1296 bool _internal_has_heading()
const;
1298 void clear_heading();
1299 double heading()
const;
1300 void set_heading(
double value);
1302 double _internal_heading()
const;
1303 void _internal_set_heading(
double value);
1307 bool has_course_over_ground()
const;
1309 bool _internal_has_course_over_ground()
const;
1311 void clear_course_over_ground();
1312 double course_over_ground()
const;
1313 void set_course_over_ground(
double value);
1315 double _internal_course_over_ground()
const;
1316 void _internal_set_course_over_ground(
double value);
1321 typedef boost::units::unit<roll_dimension,boost::units::degree::system>
roll_unit;
1323 template<
typename Quantity >
1325 { set_roll(boost::units::quantity<roll_unit,double >(value_w_units).value() ); };
1327 template<
typename Quantity >
1329 {
return Quantity(roll() *
roll_unit()); };
1332 {
return roll_with_units<boost::units::quantity< roll_unit,double > >(); };
1336 typedef boost::units::unit<pitch_dimension,boost::units::degree::system>
pitch_unit;
1338 template<
typename Quantity >
1340 { set_pitch(boost::units::quantity<pitch_unit,double >(value_w_units).value() ); };
1342 template<
typename Quantity >
1344 {
return Quantity(pitch() *
pitch_unit()); };
1347 {
return pitch_with_units<boost::units::quantity< pitch_unit,double > >(); };
1351 typedef boost::units::unit<heading_dimension,boost::units::degree::system>
heading_unit;
1353 template<
typename Quantity >
1355 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
1357 template<
typename Quantity >
1362 {
return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
1368 template<
typename Quantity >
1370 { set_course_over_ground(boost::units::quantity<course_over_ground_unit,double >(value_w_units).value() ); };
1372 template<
typename Quantity >
1377 {
return course_over_ground_with_units<boost::units::quantity< course_over_ground_unit,double > >(); };
1383 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1384 typedef void InternalArenaConstructable_;
1385 typedef void DestructorSkippable_;
1387 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1388 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1392 double course_over_ground_;
1395 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1400 public ::PROTOBUF_NAMESPACE_ID::Message {
1404 explicit PROTOBUF_CONSTEXPR
BotStatus_Speed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1409 *
this = ::std::move(from);
1417 if (
this == &from)
return *
this;
1418 if (GetOwningArena() == from.GetOwningArena()
1419 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1420 && GetOwningArena() !=
nullptr
1423 InternalSwap(&from);
1431 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1434 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1438 return GetDescriptor();
1441 return default_instance().GetMetadata().descriptor;
1444 return default_instance().GetMetadata().reflection;
1447 return *internal_default_instance();
1453 static constexpr int kIndexInFileMessages =
1460 if (other ==
this)
return;
1461 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1462 if (GetOwningArena() !=
nullptr &&
1463 GetOwningArena() == other->GetOwningArena()) {
1465 if (GetOwningArena() == other->GetOwningArena()) {
1467 InternalSwap(other);
1469 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1473 if (other ==
this)
return;
1474 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1475 InternalSwap(other);
1481 return CreateMaybeMessage<BotStatus_Speed>(arena);
1483 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1485 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1487 BotStatus_Speed::MergeImpl(*
this, from);
1490 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1492 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1493 bool IsInitialized() const final;
1495 size_t ByteSizeLong() const final;
1496 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1497 uint8_t* _InternalSerialize(
1498 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1499 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
1502 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
1504 void SetCachedSize(
int size)
const final;
1508 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1509 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1510 return "jaiabot.protobuf.BotStatus.Speed";
1514 bool is_message_owned =
false);
1518 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
1520 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1527 kOverGroundFieldNumber = 1,
1528 kOverWaterFieldNumber = 2,
1531 bool has_over_ground()
const;
1533 bool _internal_has_over_ground()
const;
1535 void clear_over_ground();
1536 double over_ground()
const;
1537 void set_over_ground(
double value);
1539 double _internal_over_ground()
const;
1540 void _internal_set_over_ground(
double value);
1544 bool has_over_water()
const;
1546 bool _internal_has_over_water()
const;
1548 void clear_over_water();
1549 double over_water()
const;
1550 void set_over_water(
double value);
1552 double _internal_over_water()
const;
1553 void _internal_set_over_water(
double value);
1560 template<
typename Quantity >
1562 { set_over_ground(boost::units::quantity<over_ground_unit,double >(value_w_units).value() ); };
1564 template<
typename Quantity >
1569 {
return over_ground_with_units<boost::units::quantity< over_ground_unit,double > >(); };
1573 typedef boost::units::unit<over_water_dimension,boost::units::si::system>
over_water_unit;
1575 template<
typename Quantity >
1577 { set_over_water(boost::units::quantity<over_water_unit,double >(value_w_units).value() ); };
1579 template<
typename Quantity >
1584 {
return over_water_with_units<boost::units::quantity< over_water_unit,double > >(); };
1590 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1591 typedef void InternalArenaConstructable_;
1592 typedef void DestructorSkippable_;
1594 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1595 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1596 double over_ground_;
1600 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
1605 public ::PROTOBUF_NAMESPACE_ID::Message {
1609 explicit PROTOBUF_CONSTEXPR
BotStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1614 *
this = ::std::move(from);
1622 if (
this == &from)
return *
this;
1623 if (GetOwningArena() == from.GetOwningArena()
1624 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1625 && GetOwningArena() !=
nullptr
1628 InternalSwap(&from);
1636 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1639 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1643 return GetDescriptor();
1646 return default_instance().GetMetadata().descriptor;
1649 return default_instance().GetMetadata().reflection;
1652 return *internal_default_instance();
1655 return reinterpret_cast<const BotStatus*
>(
1658 static constexpr int kIndexInFileMessages =
1665 if (other ==
this)
return;
1666 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1667 if (GetOwningArena() !=
nullptr &&
1668 GetOwningArena() == other->GetOwningArena()) {
1670 if (GetOwningArena() == other->GetOwningArena()) {
1672 InternalSwap(other);
1674 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1678 if (other ==
this)
return;
1679 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1680 InternalSwap(other);
1685 BotStatus*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
1686 return CreateMaybeMessage<BotStatus>(arena);
1688 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1690 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1692 BotStatus::MergeImpl(*
this, from);
1695 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1697 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1698 bool IsInitialized() const final;
1700 size_t ByteSizeLong() const final;
1701 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1702 uint8_t* _InternalSerialize(
1703 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1704 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
1707 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
1709 void SetCachedSize(
int size)
const final;
1713 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1714 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1715 return "jaiabot.protobuf.BotStatus";
1719 bool is_message_owned =
false);
1723 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
1725 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1735 BotStatus_BotType_HYDRO;
1737 BotStatus_BotType_ECHO;
1739 BotStatus_BotType_BIO;
1740 static inline
bool BotType_IsValid(
int value) {
1747 static constexpr int BotType_ARRAYSIZE =
1749 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1753 template<
typename T>
1755 static_assert(::std::is_same<T, BotType>::value ||
1756 ::std::is_integral<T>::value,
1757 "Incorrect type passed to function BotType_Name.");
1760 static inline bool BotType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1768 kErrorFieldNumber = 5,
1769 kWarningFieldNumber = 6,
1770 kActiveLinksFieldNumber = 9,
1771 kMissionNameFieldNumber = 72,
1772 kLocationFieldNumber = 10,
1773 kAttitudeFieldNumber = 20,
1774 kSpeedFieldNumber = 30,
1775 kTimeFieldNumber = 2,
1776 kLastCommandTimeFieldNumber = 3,
1777 kSensorDepthFieldNumber = 11,
1778 kDepthFieldNumber = 12,
1779 kBotIdFieldNumber = 1,
1780 kMissionStateFieldNumber = 40,
1781 kDistanceToActiveGoalFieldNumber = 42,
1782 kActiveGoalFieldNumber = 41,
1783 kActiveGoalTimeoutFieldNumber = 43,
1784 kRepeatIndexFieldNumber = 44,
1785 kCalibrationStatusFieldNumber = 54,
1786 kSalinityFieldNumber = 51,
1787 kTemperatureFieldNumber = 52,
1788 kBatteryPercentFieldNumber = 53,
1789 kHdopFieldNumber = 56,
1790 kPdopFieldNumber = 57,
1791 kReceivedTimeFieldNumber = 59,
1792 kMissionCommandTimeFieldNumber = 71,
1793 kWifiLinkQualityPercentageFieldNumber = 58,
1794 kHealthStateFieldNumber = 4,
1795 kBotTypeFieldNumber = 7,
1796 kLinkFieldNumber = 8,
1797 kCalibrationStateFieldNumber = 55,
1800 int error_size()
const;
1802 int _internal_error_size()
const;
1808 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_error();
1813 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& error()
const;
1814 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_error();
1817 int warning_size()
const;
1819 int _internal_warning_size()
const;
1821 void clear_warning();
1825 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_warning();
1830 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& warning()
const;
1831 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_warning();
1834 int active_links_size()
const;
1836 int _internal_active_links_size()
const;
1838 void clear_active_links();
1840 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink >*
1841 mutable_active_links();
1843 const ::jaiabot::protobuf::BotStatus_ActiveLink& _internal_active_links(
int index)
const;
1846 const ::jaiabot::protobuf::BotStatus_ActiveLink& active_links(
int index)
const;
1848 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink >&
1849 active_links()
const;
1852 bool has_mission_name()
const;
1854 bool _internal_has_mission_name()
const;
1856 void clear_mission_name();
1857 const std::string& mission_name()
const;
1858 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
1860 std::string* mutable_mission_name();
1861 PROTOBUF_NODISCARD std::string* release_mission_name();
1862 void set_allocated_mission_name(std::string* mission_name);
1864 const std::string& _internal_mission_name()
const;
1865 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_mission_name(
const std::string& value);
1866 std::string* _internal_mutable_mission_name();
1870 bool has_location()
const;
1872 bool _internal_has_location()
const;
1875 const ::jaiabot::protobuf::GeographicCoordinate& location()
const;
1876 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_location();
1880 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location()
const;
1883 void unsafe_arena_set_allocated_location(
1888 bool has_attitude()
const;
1890 bool _internal_has_attitude()
const;
1892 void clear_attitude();
1893 const ::jaiabot::protobuf::BotStatus_Attitude& attitude()
const;
1894 PROTOBUF_NODISCARD ::jaiabot::protobuf::BotStatus_Attitude* release_attitude();
1898 const ::jaiabot::protobuf::BotStatus_Attitude& _internal_attitude()
const;
1901 void unsafe_arena_set_allocated_attitude(
1906 bool has_speed()
const;
1908 bool _internal_has_speed()
const;
1911 const ::jaiabot::protobuf::BotStatus_Speed& speed()
const;
1912 PROTOBUF_NODISCARD ::jaiabot::protobuf::BotStatus_Speed* release_speed();
1916 const ::jaiabot::protobuf::BotStatus_Speed& _internal_speed()
const;
1919 void unsafe_arena_set_allocated_speed(
1924 bool has_time()
const;
1926 bool _internal_has_time()
const;
1929 uint64_t time()
const;
1930 void set_time(uint64_t value);
1932 uint64_t _internal_time()
const;
1933 void _internal_set_time(uint64_t value);
1937 bool has_last_command_time()
const;
1939 bool _internal_has_last_command_time()
const;
1941 void clear_last_command_time();
1942 uint64_t last_command_time()
const;
1943 void set_last_command_time(uint64_t value);
1945 uint64_t _internal_last_command_time()
const;
1946 void _internal_set_last_command_time(uint64_t value);
1950 bool has_sensor_depth()
const;
1952 bool _internal_has_sensor_depth()
const;
1954 void clear_sensor_depth();
1955 double sensor_depth()
const;
1956 void set_sensor_depth(
double value);
1958 double _internal_sensor_depth()
const;
1959 void _internal_set_sensor_depth(
double value);
1963 bool has_depth()
const;
1965 bool _internal_has_depth()
const;
1968 double depth()
const;
1969 void set_depth(
double value);
1971 double _internal_depth()
const;
1972 void _internal_set_depth(
double value);
1976 bool has_bot_id()
const;
1978 bool _internal_has_bot_id()
const;
1980 void clear_bot_id();
1981 uint32_t bot_id()
const;
1982 void set_bot_id(uint32_t value);
1984 uint32_t _internal_bot_id()
const;
1985 void _internal_set_bot_id(uint32_t value);
1989 bool has_mission_state()
const;
1991 bool _internal_has_mission_state()
const;
1993 void clear_mission_state();
2002 bool has_distance_to_active_goal()
const;
2004 bool _internal_has_distance_to_active_goal()
const;
2006 void clear_distance_to_active_goal();
2007 double distance_to_active_goal()
const;
2008 void set_distance_to_active_goal(
double value);
2010 double _internal_distance_to_active_goal()
const;
2011 void _internal_set_distance_to_active_goal(
double value);
2015 bool has_active_goal()
const;
2017 bool _internal_has_active_goal()
const;
2019 void clear_active_goal();
2020 int32_t active_goal()
const;
2021 void set_active_goal(int32_t value);
2023 int32_t _internal_active_goal()
const;
2024 void _internal_set_active_goal(int32_t value);
2028 bool has_active_goal_timeout()
const;
2030 bool _internal_has_active_goal_timeout()
const;
2032 void clear_active_goal_timeout();
2033 uint32_t active_goal_timeout()
const;
2034 void set_active_goal_timeout(uint32_t value);
2036 uint32_t _internal_active_goal_timeout()
const;
2037 void _internal_set_active_goal_timeout(uint32_t value);
2041 bool has_repeat_index()
const;
2043 bool _internal_has_repeat_index()
const;
2045 void clear_repeat_index();
2046 int32_t repeat_index()
const;
2047 void set_repeat_index(int32_t value);
2049 int32_t _internal_repeat_index()
const;
2050 void _internal_set_repeat_index(int32_t value);
2054 bool has_calibration_status()
const;
2056 bool _internal_has_calibration_status()
const;
2058 void clear_calibration_status();
2059 int32_t calibration_status()
const;
2060 void set_calibration_status(int32_t value);
2062 int32_t _internal_calibration_status()
const;
2063 void _internal_set_calibration_status(int32_t value);
2067 bool has_salinity()
const;
2069 bool _internal_has_salinity()
const;
2071 void clear_salinity();
2072 double salinity()
const;
2073 void set_salinity(
double value);
2075 double _internal_salinity()
const;
2076 void _internal_set_salinity(
double value);
2080 bool has_temperature()
const;
2082 bool _internal_has_temperature()
const;
2084 void clear_temperature();
2085 double temperature()
const;
2086 void set_temperature(
double value);
2088 double _internal_temperature()
const;
2089 void _internal_set_temperature(
double value);
2093 bool has_battery_percent()
const;
2095 bool _internal_has_battery_percent()
const;
2097 void clear_battery_percent();
2098 double battery_percent()
const;
2099 void set_battery_percent(
double value);
2101 double _internal_battery_percent()
const;
2102 void _internal_set_battery_percent(
double value);
2106 bool has_hdop()
const;
2108 bool _internal_has_hdop()
const;
2111 double hdop()
const;
2112 void set_hdop(
double value);
2114 double _internal_hdop()
const;
2115 void _internal_set_hdop(
double value);
2119 bool has_pdop()
const;
2121 bool _internal_has_pdop()
const;
2124 double pdop()
const;
2125 void set_pdop(
double value);
2127 double _internal_pdop()
const;
2128 void _internal_set_pdop(
double value);
2132 bool has_received_time()
const;
2134 bool _internal_has_received_time()
const;
2136 void clear_received_time();
2137 uint64_t received_time()
const;
2138 void set_received_time(uint64_t value);
2140 uint64_t _internal_received_time()
const;
2141 void _internal_set_received_time(uint64_t value);
2145 bool has_mission_command_time()
const;
2147 bool _internal_has_mission_command_time()
const;
2149 void clear_mission_command_time();
2150 uint64_t mission_command_time()
const;
2151 void set_mission_command_time(uint64_t value);
2153 uint64_t _internal_mission_command_time()
const;
2154 void _internal_set_mission_command_time(uint64_t value);
2158 bool has_wifi_link_quality_percentage()
const;
2160 bool _internal_has_wifi_link_quality_percentage()
const;
2162 void clear_wifi_link_quality_percentage();
2163 int32_t wifi_link_quality_percentage()
const;
2164 void set_wifi_link_quality_percentage(int32_t value);
2166 int32_t _internal_wifi_link_quality_percentage()
const;
2167 void _internal_set_wifi_link_quality_percentage(int32_t value);
2171 bool has_health_state()
const;
2173 bool _internal_has_health_state()
const;
2175 void clear_health_state();
2176 ::goby::middleware::protobuf::HealthState health_state()
const;
2177 void set_health_state(::goby::middleware::protobuf::HealthState value);
2179 ::goby::middleware::protobuf::HealthState _internal_health_state()
const;
2180 void _internal_set_health_state(::goby::middleware::protobuf::HealthState value);
2184 bool has_bot_type()
const;
2186 bool _internal_has_bot_type()
const;
2188 void clear_bot_type();
2197 bool has_link()
const;
2199 bool _internal_has_link()
const;
2210 bool has_calibration_state()
const;
2212 bool _internal_has_calibration_state()
const;
2214 void clear_calibration_state();
2225 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;
2227 template<
typename Quantity >
2229 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2231 template<
typename Quantity >
2233 {
return Quantity(time() *
time_unit()); };
2236 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
2240 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;
2242 template<
typename Quantity >
2244 { set_last_command_time(boost::units::quantity<last_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2246 template<
typename Quantity >
2251 {
return last_command_time_with_units<boost::units::quantity< last_command_time_unit,google::protobuf::uint64 > >(); };
2257 template<
typename Quantity >
2259 { set_sensor_depth(boost::units::quantity<sensor_depth_unit,double >(value_w_units).value() ); };
2261 template<
typename Quantity >
2266 {
return sensor_depth_with_units<boost::units::quantity< sensor_depth_unit,double > >(); };
2270 typedef boost::units::unit<depth_dimension,boost::units::si::system>
depth_unit;
2272 template<
typename Quantity >
2274 { set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
2276 template<
typename Quantity >
2278 {
return Quantity(depth() *
depth_unit()); };
2281 {
return depth_with_units<boost::units::quantity< depth_unit,double > >(); };
2287 template<
typename Quantity >
2289 { set_distance_to_active_goal(boost::units::quantity<distance_to_active_goal_unit,double >(value_w_units).value() ); };
2291 template<
typename Quantity >
2296 {
return distance_to_active_goal_with_units<boost::units::quantity< distance_to_active_goal_unit,double > >(); };
2302 template<
typename Quantity >
2304 { set_active_goal_timeout(boost::units::quantity<active_goal_timeout_unit,google::protobuf::uint32 >(value_w_units).value() ); };
2306 template<
typename Quantity >
2311 {
return active_goal_timeout_with_units<boost::units::quantity< active_goal_timeout_unit,google::protobuf::uint32 > >(); };
2315 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> >
temperature_unit;
2317 template<
typename Quantity >
2319 { set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
2321 template<
typename Quantity >
2326 {
return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
2330 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;
2332 template<
typename Quantity >
2334 { set_received_time(boost::units::quantity<received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2336 template<
typename Quantity >
2341 {
return received_time_with_units<boost::units::quantity< received_time_unit,google::protobuf::uint64 > >(); };
2345 typedef boost::units::make_scaled_unit<boost::units::unit<mission_command_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
mission_command_time_unit;
2347 template<
typename Quantity >
2349 { set_mission_command_time(boost::units::quantity<mission_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2351 template<
typename Quantity >
2356 {
return mission_command_time_with_units<boost::units::quantity< mission_command_time_unit,google::protobuf::uint64 > >(); };
2363 size_t RequiredFieldsByteSizeFallback()
const;
2365 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2366 typedef void InternalArenaConstructable_;
2367 typedef void DestructorSkippable_;
2369 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2370 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2371 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> error_;
2372 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> warning_;
2373 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink > active_links_;
2374 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mission_name_;
2379 uint64_t last_command_time_;
2380 double sensor_depth_;
2384 double distance_to_active_goal_;
2385 int32_t active_goal_;
2386 uint32_t active_goal_timeout_;
2387 int32_t repeat_index_;
2388 int32_t calibration_status_;
2390 double temperature_;
2391 double battery_percent_;
2394 uint64_t received_time_;
2395 uint64_t mission_command_time_;
2396 int32_t wifi_link_quality_percentage_;
2400 int calibration_state_;
2403 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2408 public ::PROTOBUF_NAMESPACE_ID::Message {
2417 *
this = ::std::move(from);
2425 if (
this == &from)
return *
this;
2426 if (GetOwningArena() == from.GetOwningArena()
2427 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2428 && GetOwningArena() !=
nullptr
2431 InternalSwap(&from);
2439 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2442 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2446 return GetDescriptor();
2449 return default_instance().GetMetadata().descriptor;
2452 return default_instance().GetMetadata().reflection;
2455 return *internal_default_instance();
2461 static constexpr int kIndexInFileMessages =
2468 if (other ==
this)
return;
2469 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2470 if (GetOwningArena() !=
nullptr &&
2471 GetOwningArena() == other->GetOwningArena()) {
2473 if (GetOwningArena() == other->GetOwningArena()) {
2475 InternalSwap(other);
2477 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
2481 if (other ==
this)
return;
2482 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2483 InternalSwap(other);
2489 return CreateMaybeMessage<DriftPacket_EstimatedDrift>(arena);
2491 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2493 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2495 DriftPacket_EstimatedDrift::MergeImpl(*
this, from);
2498 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2500 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
2501 bool IsInitialized() const final;
2503 size_t ByteSizeLong() const final;
2504 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
2505 uint8_t* _InternalSerialize(
2506 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2507 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
2510 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
2512 void SetCachedSize(
int size)
const final;
2516 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2517 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2518 return "jaiabot.protobuf.DriftPacket.EstimatedDrift";
2522 bool is_message_owned =
false);
2526 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
2528 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2535 kSpeedFieldNumber = 1,
2536 kHeadingFieldNumber = 3,
2539 bool has_speed()
const;
2541 bool _internal_has_speed()
const;
2544 double speed()
const;
2545 void set_speed(
double value);
2547 double _internal_speed()
const;
2548 void _internal_set_speed(
double value);
2552 bool has_heading()
const;
2554 bool _internal_has_heading()
const;
2556 void clear_heading();
2557 double heading()
const;
2558 void set_heading(
double value);
2560 double _internal_heading()
const;
2561 void _internal_set_heading(
double value);
2566 typedef boost::units::unit<speed_dimension,boost::units::si::system>
speed_unit;
2568 template<
typename Quantity >
2570 { set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
2572 template<
typename Quantity >
2574 {
return Quantity(speed() *
speed_unit()); };
2577 {
return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
2581 typedef boost::units::unit<heading_dimension,boost::units::degree::system>
heading_unit;
2583 template<
typename Quantity >
2585 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
2587 template<
typename Quantity >
2592 {
return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
2598 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2599 typedef void InternalArenaConstructable_;
2600 typedef void DestructorSkippable_;
2602 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2603 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2608 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2613 public ::PROTOBUF_NAMESPACE_ID::Message {
2617 explicit PROTOBUF_CONSTEXPR
DriftPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2622 *
this = ::std::move(from);
2630 if (
this == &from)
return *
this;
2631 if (GetOwningArena() == from.GetOwningArena()
2632 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2633 && GetOwningArena() !=
nullptr
2636 InternalSwap(&from);
2644 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2647 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2651 return GetDescriptor();
2654 return default_instance().GetMetadata().descriptor;
2657 return default_instance().GetMetadata().reflection;
2660 return *internal_default_instance();
2666 static constexpr int kIndexInFileMessages =
2673 if (other ==
this)
return;
2674 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2675 if (GetOwningArena() !=
nullptr &&
2676 GetOwningArena() == other->GetOwningArena()) {
2678 if (GetOwningArena() == other->GetOwningArena()) {
2680 InternalSwap(other);
2682 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
2686 if (other ==
this)
return;
2687 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2688 InternalSwap(other);
2694 return CreateMaybeMessage<DriftPacket>(arena);
2696 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2698 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2700 DriftPacket::MergeImpl(*
this, from);
2703 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2705 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
2706 bool IsInitialized() const final;
2708 size_t ByteSizeLong() const final;
2709 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
2710 uint8_t* _InternalSerialize(
2711 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2712 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
2715 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
2717 void SetCachedSize(
int size)
const final;
2721 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2722 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2723 return "jaiabot.protobuf.DriftPacket";
2727 bool is_message_owned =
false);
2731 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
2733 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2742 kEstimatedDriftFieldNumber = 10,
2743 kStartLocationFieldNumber = 11,
2744 kEndLocationFieldNumber = 12,
2745 kSignificantWaveHeightFieldNumber = 13,
2746 kDriftDurationFieldNumber = 1,
2749 bool has_estimated_drift()
const;
2751 bool _internal_has_estimated_drift()
const;
2753 void clear_estimated_drift();
2754 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& estimated_drift()
const;
2755 PROTOBUF_NODISCARD ::jaiabot::protobuf::DriftPacket_EstimatedDrift* release_estimated_drift();
2759 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& _internal_estimated_drift()
const;
2762 void unsafe_arena_set_allocated_estimated_drift(
2767 bool has_start_location()
const;
2769 bool _internal_has_start_location()
const;
2772 const ::jaiabot::protobuf::GeographicCoordinate& start_location()
const;
2773 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_start_location();
2777 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location()
const;
2780 void unsafe_arena_set_allocated_start_location(
2785 bool has_end_location()
const;
2787 bool _internal_has_end_location()
const;
2790 const ::jaiabot::protobuf::GeographicCoordinate& end_location()
const;
2791 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_end_location();
2795 const ::jaiabot::protobuf::GeographicCoordinate& _internal_end_location()
const;
2798 void unsafe_arena_set_allocated_end_location(
2803 bool has_significant_wave_height()
const;
2805 bool _internal_has_significant_wave_height()
const;
2807 void clear_significant_wave_height();
2808 double significant_wave_height()
const;
2809 void set_significant_wave_height(
double value);
2811 double _internal_significant_wave_height()
const;
2812 void _internal_set_significant_wave_height(
double value);
2816 bool has_drift_duration()
const;
2818 bool _internal_has_drift_duration()
const;
2820 void clear_drift_duration();
2821 int32_t drift_duration()
const;
2822 void set_drift_duration(int32_t value);
2824 int32_t _internal_drift_duration()
const;
2825 void _internal_set_drift_duration(int32_t value);
2832 template<
typename Quantity >
2834 { set_drift_duration(boost::units::quantity<drift_duration_unit,google::protobuf::int32 >(value_w_units).value() ); };
2836 template<
typename Quantity >
2841 {
return drift_duration_with_units<boost::units::quantity< drift_duration_unit,google::protobuf::int32 > >(); };
2847 template<
typename Quantity >
2849 { set_significant_wave_height(boost::units::quantity<significant_wave_height_unit,double >(value_w_units).value() ); };
2851 template<
typename Quantity >
2856 {
return significant_wave_height_with_units<boost::units::quantity< significant_wave_height_unit,double > >(); };
2862 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2863 typedef void InternalArenaConstructable_;
2864 typedef void DestructorSkippable_;
2866 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2867 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2871 double significant_wave_height_;
2872 int32_t drift_duration_;
2875 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
2880 public ::PROTOBUF_NAMESPACE_ID::Message {
2889 *
this = ::std::move(from);
2897 if (
this == &from)
return *
this;
2898 if (GetOwningArena() == from.GetOwningArena()
2899 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2900 && GetOwningArena() !=
nullptr
2903 InternalSwap(&from);
2911 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2914 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2918 return GetDescriptor();
2921 return default_instance().GetMetadata().descriptor;
2924 return default_instance().GetMetadata().reflection;
2927 return *internal_default_instance();
2933 static constexpr int kIndexInFileMessages =
2940 if (other ==
this)
return;
2941 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2942 if (GetOwningArena() !=
nullptr &&
2943 GetOwningArena() == other->GetOwningArena()) {
2945 if (GetOwningArena() == other->GetOwningArena()) {
2947 InternalSwap(other);
2949 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
2953 if (other ==
this)
return;
2954 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2955 InternalSwap(other);
2961 return CreateMaybeMessage<DivePacket_Measurements>(arena);
2963 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2965 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2967 DivePacket_Measurements::MergeImpl(*
this, from);
2970 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2972 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
2973 bool IsInitialized() const final;
2975 size_t ByteSizeLong() const final;
2976 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
2977 uint8_t* _InternalSerialize(
2978 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2979 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
2982 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
2984 void SetCachedSize(
int size)
const final;
2988 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2989 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2990 return "jaiabot.protobuf.DivePacket.Measurements";
2994 bool is_message_owned =
false);
2998 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
3000 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3007 kMeanDepthFieldNumber = 1,
3008 kMeanTemperatureFieldNumber = 2,
3009 kMeanSalinityFieldNumber = 3,
3012 bool has_mean_depth()
const;
3014 bool _internal_has_mean_depth()
const;
3016 void clear_mean_depth();
3017 double mean_depth()
const;
3018 void set_mean_depth(
double value);
3020 double _internal_mean_depth()
const;
3021 void _internal_set_mean_depth(
double value);
3025 bool has_mean_temperature()
const;
3027 bool _internal_has_mean_temperature()
const;
3029 void clear_mean_temperature();
3030 double mean_temperature()
const;
3031 void set_mean_temperature(
double value);
3033 double _internal_mean_temperature()
const;
3034 void _internal_set_mean_temperature(
double value);
3038 bool has_mean_salinity()
const;
3040 bool _internal_has_mean_salinity()
const;
3042 void clear_mean_salinity();
3043 double mean_salinity()
const;
3044 void set_mean_salinity(
double value);
3046 double _internal_mean_salinity()
const;
3047 void _internal_set_mean_salinity(
double value);
3052 typedef boost::units::unit<mean_depth_dimension,boost::units::si::system>
mean_depth_unit;
3054 template<
typename Quantity >
3056 { set_mean_depth(boost::units::quantity<mean_depth_unit,double >(value_w_units).value() ); };
3058 template<
typename Quantity >
3063 {
return mean_depth_with_units<boost::units::quantity< mean_depth_unit,double > >(); };
3067 typedef boost::units::absolute<boost::units::unit<mean_temperature_dimension,boost::units::celsius::system> >
mean_temperature_unit;
3069 template<
typename Quantity >
3071 { set_mean_temperature(boost::units::quantity<mean_temperature_unit,double >(value_w_units).value() ); };
3073 template<
typename Quantity >
3078 {
return mean_temperature_with_units<boost::units::quantity< mean_temperature_unit,double > >(); };
3084 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3085 typedef void InternalArenaConstructable_;
3086 typedef void DestructorSkippable_;
3088 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3089 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3091 double mean_temperature_;
3092 double mean_salinity_;
3095 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3100 public ::PROTOBUF_NAMESPACE_ID::Message {
3109 *
this = ::std::move(from);
3117 if (
this == &from)
return *
this;
3118 if (GetOwningArena() == from.GetOwningArena()
3119 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3120 && GetOwningArena() !=
nullptr
3123 InternalSwap(&from);
3131 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3134 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3138 return GetDescriptor();
3141 return default_instance().GetMetadata().descriptor;
3144 return default_instance().GetMetadata().reflection;
3147 return *internal_default_instance();
3153 static constexpr int kIndexInFileMessages =
3160 if (other ==
this)
return;
3161 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3162 if (GetOwningArena() !=
nullptr &&
3163 GetOwningArena() == other->GetOwningArena()) {
3165 if (GetOwningArena() == other->GetOwningArena()) {
3167 InternalSwap(other);
3169 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
3173 if (other ==
this)
return;
3174 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3175 InternalSwap(other);
3181 return CreateMaybeMessage<DivePacket_SubsurfaceCurrentVector>(arena);
3183 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3185 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3187 DivePacket_SubsurfaceCurrentVector::MergeImpl(*
this, from);
3190 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3192 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
3193 bool IsInitialized() const final;
3195 size_t ByteSizeLong() const final;
3196 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
3197 uint8_t* _InternalSerialize(
3198 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3199 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
3202 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
3204 void SetCachedSize(
int size)
const final;
3208 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3209 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3210 return "jaiabot.protobuf.DivePacket.SubsurfaceCurrentVector";
3214 bool is_message_owned =
false);
3218 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
3220 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3227 kVelocityFieldNumber = 1,
3228 kHeadingFieldNumber = 2,
3231 bool has_velocity()
const;
3233 bool _internal_has_velocity()
const;
3235 void clear_velocity();
3236 double velocity()
const;
3237 void set_velocity(
double value);
3239 double _internal_velocity()
const;
3240 void _internal_set_velocity(
double value);
3244 bool has_heading()
const;
3246 bool _internal_has_heading()
const;
3248 void clear_heading();
3249 double heading()
const;
3250 void set_heading(
double value);
3252 double _internal_heading()
const;
3253 void _internal_set_heading(
double value);
3258 typedef boost::units::unit<velocity_dimension,boost::units::si::system>
velocity_unit;
3260 template<
typename Quantity >
3262 { set_velocity(boost::units::quantity<velocity_unit,double >(value_w_units).value() ); };
3264 template<
typename Quantity >
3269 {
return velocity_with_units<boost::units::quantity< velocity_unit,double > >(); };
3273 typedef boost::units::unit<heading_dimension,boost::units::degree::system>
heading_unit;
3275 template<
typename Quantity >
3277 { set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
3279 template<
typename Quantity >
3284 {
return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
3291 size_t RequiredFieldsByteSizeFallback()
const;
3293 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3294 typedef void InternalArenaConstructable_;
3295 typedef void DestructorSkippable_;
3297 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3298 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3303 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3308 public ::PROTOBUF_NAMESPACE_ID::Message {
3312 explicit PROTOBUF_CONSTEXPR
DivePacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3317 *
this = ::std::move(from);
3325 if (
this == &from)
return *
this;
3326 if (GetOwningArena() == from.GetOwningArena()
3327 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3328 && GetOwningArena() !=
nullptr
3331 InternalSwap(&from);
3339 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3342 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3346 return GetDescriptor();
3349 return default_instance().GetMetadata().descriptor;
3352 return default_instance().GetMetadata().reflection;
3355 return *internal_default_instance();
3361 static constexpr int kIndexInFileMessages =
3368 if (other ==
this)
return;
3369 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3370 if (GetOwningArena() !=
nullptr &&
3371 GetOwningArena() == other->GetOwningArena()) {
3373 if (GetOwningArena() == other->GetOwningArena()) {
3375 InternalSwap(other);
3377 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
3381 if (other ==
this)
return;
3382 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3383 InternalSwap(other);
3389 return CreateMaybeMessage<DivePacket>(arena);
3391 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3393 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3395 DivePacket::MergeImpl(*
this, from);
3398 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3400 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
3401 bool IsInitialized() const final;
3403 size_t ByteSizeLong() const final;
3404 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
3405 uint8_t* _InternalSerialize(
3406 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3407 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
3410 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
3412 void SetCachedSize(
int size)
const final;
3416 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3417 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3418 return "jaiabot.protobuf.DivePacket";
3422 bool is_message_owned =
false);
3426 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
3428 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3437 DivePacket_BottomType_HARD;
3439 DivePacket_BottomType_SOFT;
3440 static inline
bool BottomType_IsValid(
int value) {
3447 static constexpr int BottomType_ARRAYSIZE =
3449 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
3453 template<
typename T>
3455 static_assert(::std::is_same<T, BottomType>::value ||
3456 ::std::is_integral<T>::value,
3457 "Incorrect type passed to function BottomType_Name.");
3468 kMeasurementFieldNumber = 14,
3469 kStartLocationFieldNumber = 15,
3470 kSubsurfaceCurrentFieldNumber = 21,
3471 kDiveRateFieldNumber = 10,
3472 kUnpoweredRiseRateFieldNumber = 11,
3473 kPoweredRiseRateFieldNumber = 12,
3474 kDepthAchievedFieldNumber = 13,
3475 kDurationToAcquireGpsFieldNumber = 16,
3476 kMaxAccelerationFieldNumber = 20,
3477 kBottomDiveFieldNumber = 17,
3478 kReachedMinDepthFieldNumber = 18,
3479 kBottomTypeFieldNumber = 19,
3482 int measurement_size()
const;
3484 int _internal_measurement_size()
const;
3486 void clear_measurement();
3488 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
3489 mutable_measurement();
3491 const ::jaiabot::protobuf::DivePacket_Measurements& _internal_measurement(
int index)
const;
3494 const ::jaiabot::protobuf::DivePacket_Measurements& measurement(
int index)
const;
3496 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
3497 measurement()
const;
3500 bool has_start_location()
const;
3502 bool _internal_has_start_location()
const;
3505 const ::jaiabot::protobuf::GeographicCoordinate& start_location()
const;
3506 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_start_location();
3510 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location()
const;
3513 void unsafe_arena_set_allocated_start_location(
3518 bool has_subsurface_current()
const;
3520 bool _internal_has_subsurface_current()
const;
3522 void clear_subsurface_current();
3523 const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& subsurface_current()
const;
3524 PROTOBUF_NODISCARD ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* release_subsurface_current();
3528 const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& _internal_subsurface_current()
const;
3531 void unsafe_arena_set_allocated_subsurface_current(
3536 bool has_dive_rate()
const;
3538 bool _internal_has_dive_rate()
const;
3540 void clear_dive_rate();
3541 double dive_rate()
const;
3542 void set_dive_rate(
double value);
3544 double _internal_dive_rate()
const;
3545 void _internal_set_dive_rate(
double value);
3549 bool has_unpowered_rise_rate()
const;
3551 bool _internal_has_unpowered_rise_rate()
const;
3553 void clear_unpowered_rise_rate();
3554 double unpowered_rise_rate()
const;
3555 void set_unpowered_rise_rate(
double value);
3557 double _internal_unpowered_rise_rate()
const;
3558 void _internal_set_unpowered_rise_rate(
double value);
3562 bool has_powered_rise_rate()
const;
3564 bool _internal_has_powered_rise_rate()
const;
3566 void clear_powered_rise_rate();
3567 double powered_rise_rate()
const;
3568 void set_powered_rise_rate(
double value);
3570 double _internal_powered_rise_rate()
const;
3571 void _internal_set_powered_rise_rate(
double value);
3575 bool has_depth_achieved()
const;
3577 bool _internal_has_depth_achieved()
const;
3579 void clear_depth_achieved();
3580 double depth_achieved()
const;
3581 void set_depth_achieved(
double value);
3583 double _internal_depth_achieved()
const;
3584 void _internal_set_depth_achieved(
double value);
3588 bool has_duration_to_acquire_gps()
const;
3590 bool _internal_has_duration_to_acquire_gps()
const;
3592 void clear_duration_to_acquire_gps();
3593 double duration_to_acquire_gps()
const;
3594 void set_duration_to_acquire_gps(
double value);
3596 double _internal_duration_to_acquire_gps()
const;
3597 void _internal_set_duration_to_acquire_gps(
double value);
3601 bool has_max_acceleration()
const;
3603 bool _internal_has_max_acceleration()
const;
3605 void clear_max_acceleration();
3606 double max_acceleration()
const;
3607 void set_max_acceleration(
double value);
3609 double _internal_max_acceleration()
const;
3610 void _internal_set_max_acceleration(
double value);
3614 bool has_bottom_dive()
const;
3616 bool _internal_has_bottom_dive()
const;
3618 void clear_bottom_dive();
3619 bool bottom_dive()
const;
3620 void set_bottom_dive(
bool value);
3622 bool _internal_bottom_dive()
const;
3623 void _internal_set_bottom_dive(
bool value);
3627 bool has_reached_min_depth()
const;
3629 bool _internal_has_reached_min_depth()
const;
3631 void clear_reached_min_depth();
3632 bool reached_min_depth()
const;
3633 void set_reached_min_depth(
bool value);
3635 bool _internal_reached_min_depth()
const;
3636 void _internal_set_reached_min_depth(
bool value);
3640 bool has_bottom_type()
const;
3642 bool _internal_has_bottom_type()
const;
3644 void clear_bottom_type();
3654 typedef boost::units::unit<dive_rate_dimension,boost::units::si::system>
dive_rate_unit;
3656 template<
typename Quantity >
3658 { set_dive_rate(boost::units::quantity<dive_rate_unit,double >(value_w_units).value() ); };
3660 template<
typename Quantity >
3665 {
return dive_rate_with_units<boost::units::quantity< dive_rate_unit,double > >(); };
3671 template<
typename Quantity >
3673 { set_unpowered_rise_rate(boost::units::quantity<unpowered_rise_rate_unit,double >(value_w_units).value() ); };
3675 template<
typename Quantity >
3680 {
return unpowered_rise_rate_with_units<boost::units::quantity< unpowered_rise_rate_unit,double > >(); };
3686 template<
typename Quantity >
3688 { set_powered_rise_rate(boost::units::quantity<powered_rise_rate_unit,double >(value_w_units).value() ); };
3690 template<
typename Quantity >
3695 {
return powered_rise_rate_with_units<boost::units::quantity< powered_rise_rate_unit,double > >(); };
3701 template<
typename Quantity >
3703 { set_depth_achieved(boost::units::quantity<depth_achieved_unit,double >(value_w_units).value() ); };
3705 template<
typename Quantity >
3710 {
return depth_achieved_with_units<boost::units::quantity< depth_achieved_unit,double > >(); };
3716 template<
typename Quantity >
3718 { set_duration_to_acquire_gps(boost::units::quantity<duration_to_acquire_gps_unit,double >(value_w_units).value() ); };
3720 template<
typename Quantity >
3725 {
return duration_to_acquire_gps_with_units<boost::units::quantity< duration_to_acquire_gps_unit,double > >(); };
3731 template<
typename Quantity >
3733 { set_max_acceleration(boost::units::quantity<max_acceleration_unit,double >(value_w_units).value() ); };
3735 template<
typename Quantity >
3740 {
return max_acceleration_with_units<boost::units::quantity< max_acceleration_unit,double > >(); };
3747 size_t RequiredFieldsByteSizeFallback()
const;
3749 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3750 typedef void InternalArenaConstructable_;
3751 typedef void DestructorSkippable_;
3753 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3754 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3755 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements > measurement_;
3759 double unpowered_rise_rate_;
3760 double powered_rise_rate_;
3761 double depth_achieved_;
3762 double duration_to_acquire_gps_;
3763 double max_acceleration_;
3765 bool reached_min_depth_;
3769 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
3774 public ::PROTOBUF_NAMESPACE_ID::Message {
3778 explicit PROTOBUF_CONSTEXPR
TaskPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3783 *
this = ::std::move(from);
3791 if (
this == &from)
return *
this;
3792 if (GetOwningArena() == from.GetOwningArena()
3793 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3794 && GetOwningArena() !=
nullptr
3797 InternalSwap(&from);
3805 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3808 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3812 return GetDescriptor();
3815 return default_instance().GetMetadata().descriptor;
3818 return default_instance().GetMetadata().reflection;
3821 return *internal_default_instance();
3827 static constexpr int kIndexInFileMessages =
3834 if (other ==
this)
return;
3835 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3836 if (GetOwningArena() !=
nullptr &&
3837 GetOwningArena() == other->GetOwningArena()) {
3839 if (GetOwningArena() == other->GetOwningArena()) {
3841 InternalSwap(other);
3843 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
3847 if (other ==
this)
return;
3848 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3849 InternalSwap(other);
3855 return CreateMaybeMessage<TaskPacket>(arena);
3857 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3859 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3861 TaskPacket::MergeImpl(*
this, from);
3864 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3866 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
3867 bool IsInitialized() const final;
3869 size_t ByteSizeLong() const final;
3870 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
3871 uint8_t* _InternalSerialize(
3872 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3873 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
3876 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
3878 void SetCachedSize(
int size)
const final;
3882 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3883 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3884 return "jaiabot.protobuf.TaskPacket";
3888 bool is_message_owned =
false);
3892 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
3894 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3901 kMissionNameFieldNumber = 72,
3902 kDiveFieldNumber = 10,
3903 kDriftFieldNumber = 11,
3904 kStartTimeFieldNumber = 2,
3905 kBotIdFieldNumber = 1,
3906 kTypeFieldNumber = 4,
3907 kEndTimeFieldNumber = 3,
3908 kMissionCommandTimeFieldNumber = 71,
3909 kLinkFieldNumber = 5,
3912 bool has_mission_name()
const;
3914 bool _internal_has_mission_name()
const;
3916 void clear_mission_name();
3917 const std::string& mission_name()
const;
3918 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
3920 std::string* mutable_mission_name();
3921 PROTOBUF_NODISCARD std::string* release_mission_name();
3922 void set_allocated_mission_name(std::string* mission_name);
3924 const std::string& _internal_mission_name()
const;
3925 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_mission_name(
const std::string& value);
3926 std::string* _internal_mutable_mission_name();
3930 bool has_dive()
const;
3932 bool _internal_has_dive()
const;
3935 const ::jaiabot::protobuf::DivePacket& dive()
const;
3936 PROTOBUF_NODISCARD ::jaiabot::protobuf::DivePacket* release_dive();
3940 const ::jaiabot::protobuf::DivePacket& _internal_dive()
const;
3943 void unsafe_arena_set_allocated_dive(
3948 bool has_drift()
const;
3950 bool _internal_has_drift()
const;
3953 const ::jaiabot::protobuf::DriftPacket& drift()
const;
3954 PROTOBUF_NODISCARD ::jaiabot::protobuf::DriftPacket* release_drift();
3958 const ::jaiabot::protobuf::DriftPacket& _internal_drift()
const;
3961 void unsafe_arena_set_allocated_drift(
3966 bool has_start_time()
const;
3968 bool _internal_has_start_time()
const;
3970 void clear_start_time();
3971 uint64_t start_time()
const;
3972 void set_start_time(uint64_t value);
3974 uint64_t _internal_start_time()
const;
3975 void _internal_set_start_time(uint64_t value);
3979 bool has_bot_id()
const;
3981 bool _internal_has_bot_id()
const;
3983 void clear_bot_id();
3984 uint32_t bot_id()
const;
3985 void set_bot_id(uint32_t value);
3987 uint32_t _internal_bot_id()
const;
3988 void _internal_set_bot_id(uint32_t value);
3992 bool has_type()
const;
3994 bool _internal_has_type()
const;
4005 bool has_end_time()
const;
4007 bool _internal_has_end_time()
const;
4009 void clear_end_time();
4010 uint64_t end_time()
const;
4011 void set_end_time(uint64_t value);
4013 uint64_t _internal_end_time()
const;
4014 void _internal_set_end_time(uint64_t value);
4018 bool has_mission_command_time()
const;
4020 bool _internal_has_mission_command_time()
const;
4022 void clear_mission_command_time();
4023 uint64_t mission_command_time()
const;
4024 void set_mission_command_time(uint64_t value);
4026 uint64_t _internal_mission_command_time()
const;
4027 void _internal_set_mission_command_time(uint64_t value);
4031 bool has_link()
const;
4033 bool _internal_has_link()
const;
4046 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;
4048 template<
typename Quantity >
4050 { set_start_time(boost::units::quantity<start_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
4052 template<
typename Quantity >
4057 {
return start_time_with_units<boost::units::quantity< start_time_unit,google::protobuf::uint64 > >(); };
4061 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;
4063 template<
typename Quantity >
4065 { set_end_time(boost::units::quantity<end_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
4067 template<
typename Quantity >
4072 {
return end_time_with_units<boost::units::quantity< end_time_unit,google::protobuf::uint64 > >(); };
4076 typedef boost::units::make_scaled_unit<boost::units::unit<mission_command_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
mission_command_time_unit;
4078 template<
typename Quantity >
4080 { set_mission_command_time(boost::units::quantity<mission_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
4082 template<
typename Quantity >
4087 {
return mission_command_time_with_units<boost::units::quantity< mission_command_time_unit,google::protobuf::uint64 > >(); };
4094 size_t RequiredFieldsByteSizeFallback()
const;
4096 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4097 typedef void InternalArenaConstructable_;
4098 typedef void DestructorSkippable_;
4100 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4101 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4102 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr mission_name_;
4105 uint64_t start_time_;
4109 uint64_t mission_command_time_;
4113 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
4118 public ::PROTOBUF_NAMESPACE_ID::Message {
4122 explicit PROTOBUF_CONSTEXPR
ContactUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4127 *
this = ::std::move(from);
4135 if (
this == &from)
return *
this;
4136 if (GetOwningArena() == from.GetOwningArena()
4137 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4138 && GetOwningArena() !=
nullptr
4141 InternalSwap(&from);
4149 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
4152 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4156 return GetDescriptor();
4159 return default_instance().GetMetadata().descriptor;
4162 return default_instance().GetMetadata().reflection;
4165 return *internal_default_instance();
4171 static constexpr int kIndexInFileMessages =
4178 if (other ==
this)
return;
4179 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4180 if (GetOwningArena() !=
nullptr &&
4181 GetOwningArena() == other->GetOwningArena()) {
4183 if (GetOwningArena() == other->GetOwningArena()) {
4185 InternalSwap(other);
4187 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
4191 if (other ==
this)
return;
4192 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4193 InternalSwap(other);
4199 return CreateMaybeMessage<ContactUpdate>(arena);
4201 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
4203 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
4205 ContactUpdate::MergeImpl(*
this, from);
4208 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
4210 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
4211 bool IsInitialized() const final;
4213 size_t ByteSizeLong() const final;
4214 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
4215 uint8_t* _InternalSerialize(
4216 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4217 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
4220 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
4222 void SetCachedSize(
int size)
const final;
4226 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4227 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4228 return "jaiabot.protobuf.ContactUpdate";
4232 bool is_message_owned =
false);
4236 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
4238 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4245 kLocationFieldNumber = 2,
4246 kSpeedOverGroundFieldNumber = 3,
4247 kHeadingOrCogFieldNumber = 5,
4248 kContactFieldNumber = 1,
4251 bool has_location()
const;
4253 bool _internal_has_location()
const;
4256 const ::jaiabot::protobuf::GeographicCoordinate& location()
const;
4257 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_location();
4261 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location()
const;
4264 void unsafe_arena_set_allocated_location(
4269 bool has_speed_over_ground()
const;
4271 bool _internal_has_speed_over_ground()
const;
4273 void clear_speed_over_ground();
4274 double speed_over_ground()
const;
4275 void set_speed_over_ground(
double value);
4277 double _internal_speed_over_ground()
const;
4278 void _internal_set_speed_over_ground(
double value);
4282 bool has_heading_or_cog()
const;
4284 bool _internal_has_heading_or_cog()
const;
4286 void clear_heading_or_cog();
4287 double heading_or_cog()
const;
4288 void set_heading_or_cog(
double value);
4290 double _internal_heading_or_cog()
const;
4291 void _internal_set_heading_or_cog(
double value);
4295 bool has_contact()
const;
4297 bool _internal_has_contact()
const;
4299 void clear_contact();
4300 int32_t contact()
const;
4301 void set_contact(int32_t value);
4303 int32_t _internal_contact()
const;
4304 void _internal_set_contact(int32_t value);
4312 template<
typename Quantity >
4314 { set_speed_over_ground(boost::units::quantity<speed_over_ground_unit,double >(value_w_units).value() ); };
4316 template<
typename Quantity >
4321 {
return speed_over_ground_with_units<boost::units::quantity< speed_over_ground_unit,double > >(); };
4327 template<
typename Quantity >
4329 { set_heading_or_cog(boost::units::quantity<heading_or_cog_unit,double >(value_w_units).value() ); };
4331 template<
typename Quantity >
4336 {
return heading_or_cog_with_units<boost::units::quantity< heading_or_cog_unit,double > >(); };
4342 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4343 typedef void InternalArenaConstructable_;
4344 typedef void DestructorSkippable_;
4346 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4347 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4349 double speed_over_ground_;
4350 double heading_or_cog_;
4354 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
4359 public ::PROTOBUF_NAMESPACE_ID::Message {
4363 explicit PROTOBUF_CONSTEXPR
Hub2HubData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4368 *
this = ::std::move(from);
4376 if (
this == &from)
return *
this;
4377 if (GetOwningArena() == from.GetOwningArena()
4378 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4379 && GetOwningArena() !=
nullptr
4382 InternalSwap(&from);
4390 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
4393 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4397 return GetDescriptor();
4400 return default_instance().GetMetadata().descriptor;
4403 return default_instance().GetMetadata().reflection;
4406 return *internal_default_instance();
4411 kCommandForBot = 12,
4412 kCommandCommsResult = 13,
4414 CONTENTS_NOT_SET = 0,
4421 static constexpr int kIndexInFileMessages =
4428 if (other ==
this)
return;
4429 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4430 if (GetOwningArena() !=
nullptr &&
4431 GetOwningArena() == other->GetOwningArena()) {
4433 if (GetOwningArena() == other->GetOwningArena()) {
4435 InternalSwap(other);
4437 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
4441 if (other ==
this)
return;
4442 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4443 InternalSwap(other);
4449 return CreateMaybeMessage<Hub2HubData>(arena);
4451 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
4453 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
4455 Hub2HubData::MergeImpl(*
this, from);
4458 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
4460 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
4461 bool IsInitialized() const final;
4463 size_t ByteSizeLong() const final;
4464 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
4465 uint8_t* _InternalSerialize(
4466 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4467 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
4470 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
4472 void SetCachedSize(
int size)
const final;
4476 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4477 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4478 return "jaiabot.protobuf.Hub2HubData";
4482 bool is_message_owned =
false);
4486 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
4488 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4495 kTimeFieldNumber = 2,
4496 kHubIdFieldNumber = 1,
4497 kBotLinkFieldNumber = 3,
4498 kBotStatusFieldNumber = 10,
4499 kTaskPacketFieldNumber = 11,
4500 kCommandForBotFieldNumber = 12,
4501 kCommandCommsResultFieldNumber = 13,
4502 kHubStatusFieldNumber = 14,
4505 bool has_time()
const;
4507 bool _internal_has_time()
const;
4510 uint64_t time()
const;
4511 void set_time(uint64_t value);
4513 uint64_t _internal_time()
const;
4514 void _internal_set_time(uint64_t value);
4518 bool has_hub_id()
const;
4520 bool _internal_has_hub_id()
const;
4522 void clear_hub_id();
4523 uint32_t hub_id()
const;
4524 void set_hub_id(uint32_t value);
4526 uint32_t _internal_hub_id()
const;
4527 void _internal_set_hub_id(uint32_t value);
4531 bool has_bot_link()
const;
4533 bool _internal_has_bot_link()
const;
4535 void clear_bot_link();
4544 bool has_bot_status()
const;
4546 bool _internal_has_bot_status()
const;
4548 void clear_bot_status();
4549 const ::jaiabot::protobuf::BotStatus& bot_status()
const;
4550 PROTOBUF_NODISCARD ::jaiabot::protobuf::BotStatus* release_bot_status();
4554 const ::jaiabot::protobuf::BotStatus& _internal_bot_status()
const;
4557 void unsafe_arena_set_allocated_bot_status(
4562 bool has_task_packet()
const;
4564 bool _internal_has_task_packet()
const;
4566 void clear_task_packet();
4567 const ::jaiabot::protobuf::TaskPacket& task_packet()
const;
4568 PROTOBUF_NODISCARD ::jaiabot::protobuf::TaskPacket* release_task_packet();
4572 const ::jaiabot::protobuf::TaskPacket& _internal_task_packet()
const;
4575 void unsafe_arena_set_allocated_task_packet(
4580 bool has_command_for_bot()
const;
4582 bool _internal_has_command_for_bot()
const;
4584 void clear_command_for_bot();
4585 const ::jaiabot::protobuf::Command& command_for_bot()
const;
4586 PROTOBUF_NODISCARD ::jaiabot::protobuf::Command* release_command_for_bot();
4590 const ::jaiabot::protobuf::Command& _internal_command_for_bot()
const;
4593 void unsafe_arena_set_allocated_command_for_bot(
4598 bool has_command_comms_result()
const;
4600 bool _internal_has_command_comms_result()
const;
4602 void clear_command_comms_result();
4603 const ::jaiabot::protobuf::CommandCommsResult& command_comms_result()
const;
4604 PROTOBUF_NODISCARD ::jaiabot::protobuf::CommandCommsResult* release_command_comms_result();
4608 const ::jaiabot::protobuf::CommandCommsResult& _internal_command_comms_result()
const;
4611 void unsafe_arena_set_allocated_command_comms_result(
4616 bool has_hub_status()
const;
4618 bool _internal_has_hub_status()
const;
4621 const ::jaiabot::protobuf::HubStatus& hub_status()
const;
4622 PROTOBUF_NODISCARD ::jaiabot::protobuf::HubStatus* release_hub_status();
4626 const ::jaiabot::protobuf::HubStatus& _internal_hub_status()
const;
4629 void unsafe_arena_set_allocated_hub_status(
4638 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;
4640 template<
typename Quantity >
4642 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
4644 template<
typename Quantity >
4646 {
return Quantity(time() *
time_unit()); };
4649 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
4654 void set_has_bot_status();
4655 void set_has_task_packet();
4656 void set_has_command_for_bot();
4657 void set_has_command_comms_result();
4658 void set_has_hub_status();
4660 inline bool has_contents()
const;
4661 inline void clear_has_contents();
4664 size_t RequiredFieldsByteSizeFallback()
const;
4666 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4667 typedef void InternalArenaConstructable_;
4668 typedef void DestructorSkippable_;
4670 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4671 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4684 uint32_t _oneof_case_[1];
4688 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
4693 public ::PROTOBUF_NAMESPACE_ID::Message {
4702 *
this = ::std::move(from);
4710 if (
this == &from)
return *
this;
4711 if (GetOwningArena() == from.GetOwningArena()
4712 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4713 && GetOwningArena() !=
nullptr
4716 InternalSwap(&from);
4724 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
4727 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
4731 return GetDescriptor();
4734 return default_instance().GetMetadata().descriptor;
4737 return default_instance().GetMetadata().reflection;
4740 return *internal_default_instance();
4746 static constexpr int kIndexInFileMessages =
4753 if (other ==
this)
return;
4754 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4755 if (GetOwningArena() !=
nullptr &&
4756 GetOwningArena() == other->GetOwningArena()) {
4758 if (GetOwningArena() == other->GetOwningArena()) {
4760 InternalSwap(other);
4762 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
4766 if (other ==
this)
return;
4767 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4768 InternalSwap(other);
4774 return CreateMaybeMessage<CommandCommsResult>(arena);
4776 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
4778 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
4780 CommandCommsResult::MergeImpl(*
this, from);
4783 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
4785 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
4786 bool IsInitialized() const final;
4788 size_t ByteSizeLong() const final;
4789 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
4790 uint8_t* _InternalSerialize(
4791 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4792 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
4795 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
4797 void SetCachedSize(
int size)
const final;
4801 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4802 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4803 return "jaiabot.protobuf.CommandCommsResult";
4807 bool is_message_owned =
false);
4811 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
4813 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
4819 CommandCommsResult_CommsResult_SUCCESS;
4821 CommandCommsResult_CommsResult_FAILURE;
4822 static inline
bool CommsResult_IsValid(
int value) {
4829 static constexpr int CommsResult_ARRAYSIZE =
4831 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
4835 template<
typename T>
4837 static_assert(::std::is_same<T, CommsResult>::value ||
4838 ::std::is_integral<T>::value,
4839 "Incorrect type passed to function CommsResult_Name.");
4850 kOrigCommandFieldNumber = 3,
4851 kResultFieldNumber = 1,
4852 kLinkFieldNumber = 2,
4855 bool has_orig_command()
const;
4857 bool _internal_has_orig_command()
const;
4859 void clear_orig_command();
4860 const ::jaiabot::protobuf::Command& orig_command()
const;
4861 PROTOBUF_NODISCARD ::jaiabot::protobuf::Command* release_orig_command();
4865 const ::jaiabot::protobuf::Command& _internal_orig_command()
const;
4868 void unsafe_arena_set_allocated_orig_command(
4873 bool has_result()
const;
4875 bool _internal_has_result()
const;
4877 void clear_result();
4886 bool has_link()
const;
4888 bool _internal_has_link()
const;
4903 size_t RequiredFieldsByteSizeFallback()
const;
4905 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4906 typedef void InternalArenaConstructable_;
4907 typedef void DestructorSkippable_;
4909 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4910 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4916 friend struct ::TableStruct_jaiabot_2fmessages_2fjaia_5fdccl_2eproto;
4924 #pragma GCC diagnostic push
4925 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
4930inline bool Command::_internal_has_bot_id()
const {
4931 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4934inline bool Command::has_bot_id()
const {
4935 return _internal_has_bot_id();
4937inline void Command::clear_bot_id() {
4938 _impl_.bot_id_ = 0u;
4939 _impl_._has_bits_[0] &= ~0x00000002u;
4941inline uint32_t Command::_internal_bot_id()
const {
4942 return _impl_.bot_id_;
4944inline uint32_t Command::bot_id()
const {
4946 return _internal_bot_id();
4948inline void Command::_internal_set_bot_id(uint32_t value) {
4949 _impl_._has_bits_[0] |= 0x00000002u;
4950 _impl_.bot_id_ = value;
4952inline void Command::set_bot_id(uint32_t value) {
4953 _internal_set_bot_id(value);
4958inline bool Command::_internal_has_time()
const {
4959 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4962inline bool Command::has_time()
const {
4963 return _internal_has_time();
4965inline void Command::clear_time() {
4966 _impl_.time_ = uint64_t{0u};
4967 _impl_._has_bits_[0] &= ~0x00000001u;
4969inline uint64_t Command::_internal_time()
const {
4970 return _impl_.time_;
4972inline uint64_t Command::time()
const {
4974 return _internal_time();
4976inline void Command::_internal_set_time(uint64_t value) {
4977 _impl_._has_bits_[0] |= 0x00000001u;
4978 _impl_.time_ = value;
4980inline void Command::set_time(uint64_t value) {
4981 _internal_set_time(value);
4986inline bool Command::_internal_has_link()
const {
4987 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
4990inline bool Command::has_link()
const {
4991 return _internal_has_link();
4993inline void Command::clear_link() {
4995 _impl_._has_bits_[0] &= ~0x00000008u;
4997inline ::jaiabot::protobuf::Link Command::_internal_link()
const {
5000inline ::jaiabot::protobuf::Link Command::link()
const {
5002 return _internal_link();
5006 _impl_._has_bits_[0] |= 0x00000008u;
5007 _impl_.link_ = value;
5010 _internal_set_link(value);
5015inline bool Command::_internal_has_from_hub_id()
const {
5016 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5019inline bool Command::has_from_hub_id()
const {
5020 return _internal_has_from_hub_id();
5022inline void Command::clear_from_hub_id() {
5023 _impl_.from_hub_id_ = 0u;
5024 _impl_._has_bits_[0] &= ~0x00000004u;
5026inline uint32_t Command::_internal_from_hub_id()
const {
5027 return _impl_.from_hub_id_;
5029inline uint32_t Command::from_hub_id()
const {
5031 return _internal_from_hub_id();
5033inline void Command::_internal_set_from_hub_id(uint32_t value) {
5034 _impl_._has_bits_[0] |= 0x00000004u;
5035 _impl_.from_hub_id_ = value;
5037inline void Command::set_from_hub_id(uint32_t value) {
5038 _internal_set_from_hub_id(value);
5043inline bool Command::_internal_has_type()
const {
5044 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5047inline bool Command::has_type()
const {
5048 return _internal_has_type();
5050inline void Command::clear_type() {
5052 _impl_._has_bits_[0] &= ~0x00000010u;
5054inline ::jaiabot::protobuf::Command_CommandType Command::_internal_type()
const {
5057inline ::jaiabot::protobuf::Command_CommandType Command::type()
const {
5059 return _internal_type();
5063 _impl_._has_bits_[0] |= 0x00000010u;
5064 _impl_.type_ = value;
5067 _internal_set_type(value);
5072inline bool Command::_internal_has_plan()
const {
5073 return command_data_case() == kPlan;
5075inline bool Command::has_plan()
const {
5076 return _internal_has_plan();
5078inline void Command::set_has_plan() {
5079 _impl_._oneof_case_[0] = kPlan;
5081inline ::jaiabot::protobuf::MissionPlan* Command::release_plan() {
5083 if (_internal_has_plan()) {
5084 clear_has_command_data();
5086 if (GetArenaForAllocation() !=
nullptr) {
5087 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5089 _impl_.command_data_.plan_ =
nullptr;
5095inline const ::jaiabot::protobuf::MissionPlan& Command::_internal_plan()
const {
5096 return _internal_has_plan()
5097 ? *_impl_.command_data_.plan_
5100inline const ::jaiabot::protobuf::MissionPlan& Command::plan()
const {
5102 return _internal_plan();
5104inline ::jaiabot::protobuf::MissionPlan* Command::unsafe_arena_release_plan() {
5106 if (_internal_has_plan()) {
5107 clear_has_command_data();
5109 _impl_.command_data_.plan_ =
nullptr;
5116 clear_command_data();
5119 _impl_.command_data_.plan_ = plan;
5123inline ::jaiabot::protobuf::MissionPlan* Command::_internal_mutable_plan() {
5124 if (!_internal_has_plan()) {
5125 clear_command_data();
5127 _impl_.command_data_.plan_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionPlan >(GetArenaForAllocation());
5129 return _impl_.command_data_.plan_;
5131inline ::jaiabot::protobuf::MissionPlan* Command::mutable_plan() {
5138inline bool Command::_internal_has_rc()
const {
5139 return command_data_case() == kRc;
5141inline bool Command::has_rc()
const {
5142 return _internal_has_rc();
5144inline void Command::set_has_rc() {
5145 _impl_._oneof_case_[0] = kRc;
5147inline ::jaiabot::protobuf::RemoteControl* Command::release_rc() {
5149 if (_internal_has_rc()) {
5150 clear_has_command_data();
5152 if (GetArenaForAllocation() !=
nullptr) {
5153 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5155 _impl_.command_data_.rc_ =
nullptr;
5161inline const ::jaiabot::protobuf::RemoteControl& Command::_internal_rc()
const {
5162 return _internal_has_rc()
5163 ? *_impl_.command_data_.rc_
5166inline const ::jaiabot::protobuf::RemoteControl& Command::rc()
const {
5168 return _internal_rc();
5170inline ::jaiabot::protobuf::RemoteControl* Command::unsafe_arena_release_rc() {
5172 if (_internal_has_rc()) {
5173 clear_has_command_data();
5175 _impl_.command_data_.rc_ =
nullptr;
5182 clear_command_data();
5185 _impl_.command_data_.rc_ = rc;
5189inline ::jaiabot::protobuf::RemoteControl* Command::_internal_mutable_rc() {
5190 if (!_internal_has_rc()) {
5191 clear_command_data();
5193 _impl_.command_data_.rc_ = CreateMaybeMessage< ::jaiabot::protobuf::RemoteControl >(GetArenaForAllocation());
5195 return _impl_.command_data_.rc_;
5197inline ::jaiabot::protobuf::RemoteControl* Command::mutable_rc() {
5204inline bool Command::_internal_has_rc_task()
const {
5205 return command_data_case() == kRcTask;
5207inline bool Command::has_rc_task()
const {
5208 return _internal_has_rc_task();
5210inline void Command::set_has_rc_task() {
5211 _impl_._oneof_case_[0] = kRcTask;
5213inline ::jaiabot::protobuf::MissionTask* Command::release_rc_task() {
5215 if (_internal_has_rc_task()) {
5216 clear_has_command_data();
5218 if (GetArenaForAllocation() !=
nullptr) {
5219 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5221 _impl_.command_data_.rc_task_ =
nullptr;
5227inline const ::jaiabot::protobuf::MissionTask& Command::_internal_rc_task()
const {
5228 return _internal_has_rc_task()
5229 ? *_impl_.command_data_.rc_task_
5232inline const ::jaiabot::protobuf::MissionTask& Command::rc_task()
const {
5234 return _internal_rc_task();
5236inline ::jaiabot::protobuf::MissionTask* Command::unsafe_arena_release_rc_task() {
5238 if (_internal_has_rc_task()) {
5239 clear_has_command_data();
5241 _impl_.command_data_.rc_task_ =
nullptr;
5248 clear_command_data();
5251 _impl_.command_data_.rc_task_ = rc_task;
5255inline ::jaiabot::protobuf::MissionTask* Command::_internal_mutable_rc_task() {
5256 if (!_internal_has_rc_task()) {
5257 clear_command_data();
5259 _impl_.command_data_.rc_task_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionTask >(GetArenaForAllocation());
5261 return _impl_.command_data_.rc_task_;
5263inline ::jaiabot::protobuf::MissionTask* Command::mutable_rc_task() {
5269inline bool Command::has_command_data()
const {
5270 return command_data_case() != COMMAND_DATA_NOT_SET;
5272inline void Command::clear_has_command_data() {
5273 _impl_._oneof_case_[0] = COMMAND_DATA_NOT_SET;
5283inline bool CommandForHub::_internal_has_hub_id()
const {
5284 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5287inline bool CommandForHub::has_hub_id()
const {
5288 return _internal_has_hub_id();
5290inline void CommandForHub::clear_hub_id() {
5291 _impl_.hub_id_ = 0u;
5292 _impl_._has_bits_[0] &= ~0x00000004u;
5294inline uint32_t CommandForHub::_internal_hub_id()
const {
5295 return _impl_.hub_id_;
5297inline uint32_t CommandForHub::hub_id()
const {
5299 return _internal_hub_id();
5301inline void CommandForHub::_internal_set_hub_id(uint32_t value) {
5302 _impl_._has_bits_[0] |= 0x00000004u;
5303 _impl_.hub_id_ = value;
5305inline void CommandForHub::set_hub_id(uint32_t value) {
5306 _internal_set_hub_id(value);
5311inline bool CommandForHub::_internal_has_time()
const {
5312 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5315inline bool CommandForHub::has_time()
const {
5316 return _internal_has_time();
5318inline void CommandForHub::clear_time() {
5319 _impl_.time_ = uint64_t{0u};
5320 _impl_._has_bits_[0] &= ~0x00000002u;
5322inline uint64_t CommandForHub::_internal_time()
const {
5323 return _impl_.time_;
5325inline uint64_t CommandForHub::time()
const {
5327 return _internal_time();
5329inline void CommandForHub::_internal_set_time(uint64_t value) {
5330 _impl_._has_bits_[0] |= 0x00000002u;
5331 _impl_.time_ = value;
5333inline void CommandForHub::set_time(uint64_t value) {
5334 _internal_set_time(value);
5339inline bool CommandForHub::_internal_has_type()
const {
5340 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5343inline bool CommandForHub::has_type()
const {
5344 return _internal_has_type();
5346inline void CommandForHub::clear_type() {
5348 _impl_._has_bits_[0] &= ~0x00000010u;
5350inline ::jaiabot::protobuf::CommandForHub_HubCommandType CommandForHub::_internal_type()
const {
5353inline ::jaiabot::protobuf::CommandForHub_HubCommandType CommandForHub::type()
const {
5355 return _internal_type();
5359 _impl_._has_bits_[0] |= 0x00000010u;
5360 _impl_.type_ = value;
5363 _internal_set_type(value);
5368inline bool CommandForHub::_internal_has_scan_for_bot_id()
const {
5369 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
5372inline bool CommandForHub::has_scan_for_bot_id()
const {
5373 return _internal_has_scan_for_bot_id();
5375inline void CommandForHub::clear_scan_for_bot_id() {
5376 _impl_.scan_for_bot_id_ = 0u;
5377 _impl_._has_bits_[0] &= ~0x00000008u;
5379inline uint32_t CommandForHub::_internal_scan_for_bot_id()
const {
5380 return _impl_.scan_for_bot_id_;
5382inline uint32_t CommandForHub::scan_for_bot_id()
const {
5384 return _internal_scan_for_bot_id();
5386inline void CommandForHub::_internal_set_scan_for_bot_id(uint32_t value) {
5387 _impl_._has_bits_[0] |= 0x00000008u;
5388 _impl_.scan_for_bot_id_ = value;
5390inline void CommandForHub::set_scan_for_bot_id(uint32_t value) {
5391 _internal_set_scan_for_bot_id(value);
5396inline bool CommandForHub::_internal_has_hub_location()
const {
5397 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5398 PROTOBUF_ASSUME(!value || _impl_.hub_location_ !=
nullptr);
5401inline bool CommandForHub::has_hub_location()
const {
5402 return _internal_has_hub_location();
5404inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::_internal_hub_location()
const {
5405 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.hub_location_;
5409inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::hub_location()
const {
5411 return _internal_hub_location();
5413inline void CommandForHub::unsafe_arena_set_allocated_hub_location(
5415 if (GetArenaForAllocation() ==
nullptr) {
5416 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.hub_location_);
5418 _impl_.hub_location_ = hub_location;
5420 _impl_._has_bits_[0] |= 0x00000001u;
5422 _impl_._has_bits_[0] &= ~0x00000001u;
5426inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::release_hub_location() {
5427 _impl_._has_bits_[0] &= ~0x00000001u;
5429 _impl_.hub_location_ =
nullptr;
5430#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
5431 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
5432 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5433 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
5435 if (GetArenaForAllocation() !=
nullptr) {
5436 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
5441inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::unsafe_arena_release_hub_location() {
5443 _impl_._has_bits_[0] &= ~0x00000001u;
5445 _impl_.hub_location_ =
nullptr;
5448inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::_internal_mutable_hub_location() {
5449 _impl_._has_bits_[0] |= 0x00000001u;
5450 if (_impl_.hub_location_ ==
nullptr) {
5452 _impl_.hub_location_ = p;
5454 return _impl_.hub_location_;
5456inline ::jaiabot::protobuf::GeographicCoordinate* CommandForHub::mutable_hub_location() {
5462 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
5463 if (message_arena ==
nullptr) {
5464 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.hub_location_);
5467 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
5468 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
5469 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(hub_location));
5470 if (message_arena != submessage_arena) {
5471 hub_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
5472 message_arena, hub_location, submessage_arena);
5474 _impl_._has_bits_[0] |= 0x00000001u;
5476 _impl_._has_bits_[0] &= ~0x00000001u;
5478 _impl_.hub_location_ = hub_location;
5487inline bool BotStatus_ActiveLink::_internal_has_link()
const {
5488 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5491inline bool BotStatus_ActiveLink::has_link()
const {
5492 return _internal_has_link();
5494inline void BotStatus_ActiveLink::clear_link() {
5496 _impl_._has_bits_[0] &= ~0x00000002u;
5498inline ::jaiabot::protobuf::Link BotStatus_ActiveLink::_internal_link()
const {
5501inline ::jaiabot::protobuf::Link BotStatus_ActiveLink::link()
const {
5503 return _internal_link();
5507 _impl_._has_bits_[0] |= 0x00000002u;
5508 _impl_.link_ = value;
5511 _internal_set_link(value);
5516inline bool BotStatus_ActiveLink::_internal_has_last_received_time()
const {
5517 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5520inline bool BotStatus_ActiveLink::has_last_received_time()
const {
5521 return _internal_has_last_received_time();
5523inline void BotStatus_ActiveLink::clear_last_received_time() {
5524 _impl_.last_received_time_ = uint64_t{0u};
5525 _impl_._has_bits_[0] &= ~0x00000001u;
5527inline uint64_t BotStatus_ActiveLink::_internal_last_received_time()
const {
5528 return _impl_.last_received_time_;
5530inline uint64_t BotStatus_ActiveLink::last_received_time()
const {
5532 return _internal_last_received_time();
5534inline void BotStatus_ActiveLink::_internal_set_last_received_time(uint64_t value) {
5535 _impl_._has_bits_[0] |= 0x00000001u;
5536 _impl_.last_received_time_ = value;
5538inline void BotStatus_ActiveLink::set_last_received_time(uint64_t value) {
5539 _internal_set_last_received_time(value);
5548inline bool BotStatus_Attitude::_internal_has_roll()
const {
5549 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5552inline bool BotStatus_Attitude::has_roll()
const {
5553 return _internal_has_roll();
5555inline void BotStatus_Attitude::clear_roll() {
5557 _impl_._has_bits_[0] &= ~0x00000001u;
5559inline double BotStatus_Attitude::_internal_roll()
const {
5560 return _impl_.roll_;
5562inline double BotStatus_Attitude::roll()
const {
5564 return _internal_roll();
5566inline void BotStatus_Attitude::_internal_set_roll(
double value) {
5567 _impl_._has_bits_[0] |= 0x00000001u;
5568 _impl_.roll_ = value;
5570inline void BotStatus_Attitude::set_roll(
double value) {
5571 _internal_set_roll(value);
5576inline bool BotStatus_Attitude::_internal_has_pitch()
const {
5577 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5580inline bool BotStatus_Attitude::has_pitch()
const {
5581 return _internal_has_pitch();
5583inline void BotStatus_Attitude::clear_pitch() {
5585 _impl_._has_bits_[0] &= ~0x00000002u;
5587inline double BotStatus_Attitude::_internal_pitch()
const {
5588 return _impl_.pitch_;
5590inline double BotStatus_Attitude::pitch()
const {
5592 return _internal_pitch();
5594inline void BotStatus_Attitude::_internal_set_pitch(
double value) {
5595 _impl_._has_bits_[0] |= 0x00000002u;
5596 _impl_.pitch_ = value;
5598inline void BotStatus_Attitude::set_pitch(
double value) {
5599 _internal_set_pitch(value);
5604inline bool BotStatus_Attitude::_internal_has_heading()
const {
5605 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
5608inline bool BotStatus_Attitude::has_heading()
const {
5609 return _internal_has_heading();
5611inline void BotStatus_Attitude::clear_heading() {
5612 _impl_.heading_ = 0;
5613 _impl_._has_bits_[0] &= ~0x00000004u;
5615inline double BotStatus_Attitude::_internal_heading()
const {
5616 return _impl_.heading_;
5618inline double BotStatus_Attitude::heading()
const {
5620 return _internal_heading();
5622inline void BotStatus_Attitude::_internal_set_heading(
double value) {
5623 _impl_._has_bits_[0] |= 0x00000004u;
5624 _impl_.heading_ = value;
5626inline void BotStatus_Attitude::set_heading(
double value) {
5627 _internal_set_heading(value);
5632inline bool BotStatus_Attitude::_internal_has_course_over_ground()
const {
5633 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
5636inline bool BotStatus_Attitude::has_course_over_ground()
const {
5637 return _internal_has_course_over_ground();
5639inline void BotStatus_Attitude::clear_course_over_ground() {
5640 _impl_.course_over_ground_ = 0;
5641 _impl_._has_bits_[0] &= ~0x00000008u;
5643inline double BotStatus_Attitude::_internal_course_over_ground()
const {
5644 return _impl_.course_over_ground_;
5646inline double BotStatus_Attitude::course_over_ground()
const {
5648 return _internal_course_over_ground();
5650inline void BotStatus_Attitude::_internal_set_course_over_ground(
double value) {
5651 _impl_._has_bits_[0] |= 0x00000008u;
5652 _impl_.course_over_ground_ = value;
5654inline void BotStatus_Attitude::set_course_over_ground(
double value) {
5655 _internal_set_course_over_ground(value);
5664inline bool BotStatus_Speed::_internal_has_over_ground()
const {
5665 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
5668inline bool BotStatus_Speed::has_over_ground()
const {
5669 return _internal_has_over_ground();
5671inline void BotStatus_Speed::clear_over_ground() {
5672 _impl_.over_ground_ = 0;
5673 _impl_._has_bits_[0] &= ~0x00000001u;
5675inline double BotStatus_Speed::_internal_over_ground()
const {
5676 return _impl_.over_ground_;
5678inline double BotStatus_Speed::over_ground()
const {
5680 return _internal_over_ground();
5682inline void BotStatus_Speed::_internal_set_over_ground(
double value) {
5683 _impl_._has_bits_[0] |= 0x00000001u;
5684 _impl_.over_ground_ = value;
5686inline void BotStatus_Speed::set_over_ground(
double value) {
5687 _internal_set_over_ground(value);
5692inline bool BotStatus_Speed::_internal_has_over_water()
const {
5693 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
5696inline bool BotStatus_Speed::has_over_water()
const {
5697 return _internal_has_over_water();
5699inline void BotStatus_Speed::clear_over_water() {
5700 _impl_.over_water_ = 0;
5701 _impl_._has_bits_[0] &= ~0x00000002u;
5703inline double BotStatus_Speed::_internal_over_water()
const {
5704 return _impl_.over_water_;
5706inline double BotStatus_Speed::over_water()
const {
5708 return _internal_over_water();
5710inline void BotStatus_Speed::_internal_set_over_water(
double value) {
5711 _impl_._has_bits_[0] |= 0x00000002u;
5712 _impl_.over_water_ = value;
5714inline void BotStatus_Speed::set_over_water(
double value) {
5715 _internal_set_over_water(value);
5724inline bool BotStatus::_internal_has_bot_id()
const {
5725 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
5728inline bool BotStatus::has_bot_id()
const {
5729 return _internal_has_bot_id();
5731inline void BotStatus::clear_bot_id() {
5732 _impl_.bot_id_ = 0u;
5733 _impl_._has_bits_[0] &= ~0x00000100u;
5735inline uint32_t BotStatus::_internal_bot_id()
const {
5736 return _impl_.bot_id_;
5738inline uint32_t BotStatus::bot_id()
const {
5740 return _internal_bot_id();
5742inline void BotStatus::_internal_set_bot_id(uint32_t value) {
5743 _impl_._has_bits_[0] |= 0x00000100u;
5744 _impl_.bot_id_ = value;
5746inline void BotStatus::set_bot_id(uint32_t value) {
5747 _internal_set_bot_id(value);
5752inline bool BotStatus::_internal_has_time()
const {
5753 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
5756inline bool BotStatus::has_time()
const {
5757 return _internal_has_time();
5759inline void BotStatus::clear_time() {
5760 _impl_.time_ = uint64_t{0u};
5761 _impl_._has_bits_[0] &= ~0x00000010u;
5763inline uint64_t BotStatus::_internal_time()
const {
5764 return _impl_.time_;
5766inline uint64_t BotStatus::time()
const {
5768 return _internal_time();
5770inline void BotStatus::_internal_set_time(uint64_t value) {
5771 _impl_._has_bits_[0] |= 0x00000010u;
5772 _impl_.time_ = value;
5774inline void BotStatus::set_time(uint64_t value) {
5775 _internal_set_time(value);
5780inline bool BotStatus::_internal_has_last_command_time()
const {
5781 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
5784inline bool BotStatus::has_last_command_time()
const {
5785 return _internal_has_last_command_time();
5787inline void BotStatus::clear_last_command_time() {
5788 _impl_.last_command_time_ = uint64_t{0u};
5789 _impl_._has_bits_[0] &= ~0x00000020u;
5791inline uint64_t BotStatus::_internal_last_command_time()
const {
5792 return _impl_.last_command_time_;
5794inline uint64_t BotStatus::last_command_time()
const {
5796 return _internal_last_command_time();
5798inline void BotStatus::_internal_set_last_command_time(uint64_t value) {
5799 _impl_._has_bits_[0] |= 0x00000020u;
5800 _impl_.last_command_time_ = value;
5802inline void BotStatus::set_last_command_time(uint64_t value) {
5803 _internal_set_last_command_time(value);
5808inline bool BotStatus::_internal_has_health_state()
const {
5809 bool value = (_impl_._has_bits_[0] & 0x00800000u) != 0;
5812inline bool BotStatus::has_health_state()
const {
5813 return _internal_has_health_state();
5815inline void BotStatus::clear_health_state() {
5816 _impl_.health_state_ = 1;
5817 _impl_._has_bits_[0] &= ~0x00800000u;
5819inline ::goby::middleware::protobuf::HealthState BotStatus::_internal_health_state()
const {
5820 return static_cast< ::goby::middleware::protobuf::HealthState
>(_impl_.health_state_);
5822inline ::goby::middleware::protobuf::HealthState BotStatus::health_state()
const {
5824 return _internal_health_state();
5826inline void BotStatus::_internal_set_health_state(::goby::middleware::protobuf::HealthState value) {
5827 assert(::goby::middleware::protobuf::HealthState_IsValid(value));
5828 _impl_._has_bits_[0] |= 0x00800000u;
5829 _impl_.health_state_ = value;
5831inline void BotStatus::set_health_state(::goby::middleware::protobuf::HealthState value) {
5832 _internal_set_health_state(value);
5837inline int BotStatus::_internal_error_size()
const {
5838 return _impl_.error_.size();
5840inline int BotStatus::error_size()
const {
5841 return _internal_error_size();
5843inline void BotStatus::clear_error() {
5844 _impl_.error_.Clear();
5846inline ::jaiabot::protobuf::Error BotStatus::_internal_error(
int index)
const {
5849inline ::jaiabot::protobuf::Error BotStatus::error(
int index)
const {
5851 return _internal_error(index);
5855 _impl_.error_.Set(index, value);
5860 _impl_.error_.Add(value);
5863 _internal_add_error(value);
5866inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
5867BotStatus::error()
const {
5869 return _impl_.error_;
5871inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
5872BotStatus::_internal_mutable_error() {
5873 return &_impl_.error_;
5875inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
5876BotStatus::mutable_error() {
5878 return _internal_mutable_error();
5882inline int BotStatus::_internal_warning_size()
const {
5883 return _impl_.warning_.size();
5885inline int BotStatus::warning_size()
const {
5886 return _internal_warning_size();
5888inline void BotStatus::clear_warning() {
5889 _impl_.warning_.Clear();
5891inline ::jaiabot::protobuf::Warning BotStatus::_internal_warning(
int index)
const {
5894inline ::jaiabot::protobuf::Warning BotStatus::warning(
int index)
const {
5896 return _internal_warning(index);
5900 _impl_.warning_.Set(index, value);
5905 _impl_.warning_.Add(value);
5908 _internal_add_warning(value);
5911inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
5912BotStatus::warning()
const {
5914 return _impl_.warning_;
5916inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
5917BotStatus::_internal_mutable_warning() {
5918 return &_impl_.warning_;
5920inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
5921BotStatus::mutable_warning() {
5923 return _internal_mutable_warning();
5927inline bool BotStatus::_internal_has_bot_type()
const {
5928 bool value = (_impl_._has_bits_[0] & 0x01000000u) != 0;
5931inline bool BotStatus::has_bot_type()
const {
5932 return _internal_has_bot_type();
5934inline void BotStatus::clear_bot_type() {
5935 _impl_.bot_type_ = 1;
5936 _impl_._has_bits_[0] &= ~0x01000000u;
5938inline ::jaiabot::protobuf::BotStatus_BotType BotStatus::_internal_bot_type()
const {
5941inline ::jaiabot::protobuf::BotStatus_BotType BotStatus::bot_type()
const {
5943 return _internal_bot_type();
5947 _impl_._has_bits_[0] |= 0x01000000u;
5948 _impl_.bot_type_ = value;
5951 _internal_set_bot_type(value);
5956inline bool BotStatus::_internal_has_link()
const {
5957 bool value = (_impl_._has_bits_[0] & 0x02000000u) != 0;
5960inline bool BotStatus::has_link()
const {
5961 return _internal_has_link();
5963inline void BotStatus::clear_link() {
5965 _impl_._has_bits_[0] &= ~0x02000000u;
5967inline ::jaiabot::protobuf::Link BotStatus::_internal_link()
const {
5970inline ::jaiabot::protobuf::Link BotStatus::link()
const {
5972 return _internal_link();
5976 _impl_._has_bits_[0] |= 0x02000000u;
5977 _impl_.link_ = value;
5980 _internal_set_link(value);
5985inline int BotStatus::_internal_active_links_size()
const {
5986 return _impl_.active_links_.size();
5988inline int BotStatus::active_links_size()
const {
5989 return _internal_active_links_size();
5991inline void BotStatus::clear_active_links() {
5992 _impl_.active_links_.Clear();
5994inline ::jaiabot::protobuf::BotStatus_ActiveLink* BotStatus::mutable_active_links(
int index) {
5996 return _impl_.active_links_.Mutable(index);
5998inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink >*
5999BotStatus::mutable_active_links() {
6001 return &_impl_.active_links_;
6003inline const ::jaiabot::protobuf::BotStatus_ActiveLink& BotStatus::_internal_active_links(
int index)
const {
6004 return _impl_.active_links_.Get(index);
6006inline const ::jaiabot::protobuf::BotStatus_ActiveLink& BotStatus::active_links(
int index)
const {
6008 return _internal_active_links(index);
6010inline ::jaiabot::protobuf::BotStatus_ActiveLink* BotStatus::_internal_add_active_links() {
6011 return _impl_.active_links_.Add();
6013inline ::jaiabot::protobuf::BotStatus_ActiveLink* BotStatus::add_active_links() {
6018inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::BotStatus_ActiveLink >&
6019BotStatus::active_links()
const {
6021 return _impl_.active_links_;
6025inline bool BotStatus::_internal_has_location()
const {
6026 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6027 PROTOBUF_ASSUME(!value || _impl_.location_ !=
nullptr);
6030inline bool BotStatus::has_location()
const {
6031 return _internal_has_location();
6033inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::_internal_location()
const {
6034 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.location_;
6038inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::location()
const {
6040 return _internal_location();
6042inline void BotStatus::unsafe_arena_set_allocated_location(
6044 if (GetArenaForAllocation() ==
nullptr) {
6045 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.location_);
6047 _impl_.location_ = location;
6049 _impl_._has_bits_[0] |= 0x00000002u;
6051 _impl_._has_bits_[0] &= ~0x00000002u;
6055inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::release_location() {
6056 _impl_._has_bits_[0] &= ~0x00000002u;
6058 _impl_.location_ =
nullptr;
6059#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6060 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
6061 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6062 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
6064 if (GetArenaForAllocation() !=
nullptr) {
6065 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6070inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::unsafe_arena_release_location() {
6072 _impl_._has_bits_[0] &= ~0x00000002u;
6074 _impl_.location_ =
nullptr;
6077inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::_internal_mutable_location() {
6078 _impl_._has_bits_[0] |= 0x00000002u;
6079 if (_impl_.location_ ==
nullptr) {
6081 _impl_.location_ = p;
6083 return _impl_.location_;
6085inline ::jaiabot::protobuf::GeographicCoordinate* BotStatus::mutable_location() {
6091 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6092 if (message_arena ==
nullptr) {
6093 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.location_);
6096 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6097 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
6098 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(location));
6099 if (message_arena != submessage_arena) {
6100 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6101 message_arena, location, submessage_arena);
6103 _impl_._has_bits_[0] |= 0x00000002u;
6105 _impl_._has_bits_[0] &= ~0x00000002u;
6107 _impl_.location_ = location;
6112inline bool BotStatus::_internal_has_sensor_depth()
const {
6113 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
6116inline bool BotStatus::has_sensor_depth()
const {
6117 return _internal_has_sensor_depth();
6119inline void BotStatus::clear_sensor_depth() {
6120 _impl_.sensor_depth_ = 0;
6121 _impl_._has_bits_[0] &= ~0x00000040u;
6123inline double BotStatus::_internal_sensor_depth()
const {
6124 return _impl_.sensor_depth_;
6126inline double BotStatus::sensor_depth()
const {
6128 return _internal_sensor_depth();
6130inline void BotStatus::_internal_set_sensor_depth(
double value) {
6131 _impl_._has_bits_[0] |= 0x00000040u;
6132 _impl_.sensor_depth_ = value;
6134inline void BotStatus::set_sensor_depth(
double value) {
6135 _internal_set_sensor_depth(value);
6140inline bool BotStatus::_internal_has_depth()
const {
6141 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
6144inline bool BotStatus::has_depth()
const {
6145 return _internal_has_depth();
6147inline void BotStatus::clear_depth() {
6149 _impl_._has_bits_[0] &= ~0x00000080u;
6151inline double BotStatus::_internal_depth()
const {
6152 return _impl_.depth_;
6154inline double BotStatus::depth()
const {
6156 return _internal_depth();
6158inline void BotStatus::_internal_set_depth(
double value) {
6159 _impl_._has_bits_[0] |= 0x00000080u;
6160 _impl_.depth_ = value;
6162inline void BotStatus::set_depth(
double value) {
6163 _internal_set_depth(value);
6168inline bool BotStatus::_internal_has_attitude()
const {
6169 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
6170 PROTOBUF_ASSUME(!value || _impl_.attitude_ !=
nullptr);
6173inline bool BotStatus::has_attitude()
const {
6174 return _internal_has_attitude();
6176inline void BotStatus::clear_attitude() {
6177 if (_impl_.attitude_ !=
nullptr) _impl_.attitude_->Clear();
6178 _impl_._has_bits_[0] &= ~0x00000004u;
6180inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::_internal_attitude()
const {
6181 const ::jaiabot::protobuf::BotStatus_Attitude* p = _impl_.attitude_;
6185inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::attitude()
const {
6187 return _internal_attitude();
6189inline void BotStatus::unsafe_arena_set_allocated_attitude(
6191 if (GetArenaForAllocation() ==
nullptr) {
6192 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.attitude_);
6194 _impl_.attitude_ = attitude;
6196 _impl_._has_bits_[0] |= 0x00000004u;
6198 _impl_._has_bits_[0] &= ~0x00000004u;
6202inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::release_attitude() {
6203 _impl_._has_bits_[0] &= ~0x00000004u;
6205 _impl_.attitude_ =
nullptr;
6206#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6207 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
6208 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6209 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
6211 if (GetArenaForAllocation() !=
nullptr) {
6212 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6217inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::unsafe_arena_release_attitude() {
6219 _impl_._has_bits_[0] &= ~0x00000004u;
6221 _impl_.attitude_ =
nullptr;
6224inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::_internal_mutable_attitude() {
6225 _impl_._has_bits_[0] |= 0x00000004u;
6226 if (_impl_.attitude_ ==
nullptr) {
6228 _impl_.attitude_ = p;
6230 return _impl_.attitude_;
6232inline ::jaiabot::protobuf::BotStatus_Attitude* BotStatus::mutable_attitude() {
6238 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6239 if (message_arena ==
nullptr) {
6240 delete _impl_.attitude_;
6243 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6244 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(attitude);
6245 if (message_arena != submessage_arena) {
6246 attitude = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6247 message_arena, attitude, submessage_arena);
6249 _impl_._has_bits_[0] |= 0x00000004u;
6251 _impl_._has_bits_[0] &= ~0x00000004u;
6253 _impl_.attitude_ = attitude;
6258inline bool BotStatus::_internal_has_speed()
const {
6259 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
6260 PROTOBUF_ASSUME(!value || _impl_.speed_ !=
nullptr);
6263inline bool BotStatus::has_speed()
const {
6264 return _internal_has_speed();
6266inline void BotStatus::clear_speed() {
6267 if (_impl_.speed_ !=
nullptr) _impl_.speed_->Clear();
6268 _impl_._has_bits_[0] &= ~0x00000008u;
6270inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::_internal_speed()
const {
6271 const ::jaiabot::protobuf::BotStatus_Speed* p = _impl_.speed_;
6275inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::speed()
const {
6277 return _internal_speed();
6279inline void BotStatus::unsafe_arena_set_allocated_speed(
6281 if (GetArenaForAllocation() ==
nullptr) {
6282 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.speed_);
6284 _impl_.speed_ = speed;
6286 _impl_._has_bits_[0] |= 0x00000008u;
6288 _impl_._has_bits_[0] &= ~0x00000008u;
6292inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::release_speed() {
6293 _impl_._has_bits_[0] &= ~0x00000008u;
6295 _impl_.speed_ =
nullptr;
6296#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6297 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
6298 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6299 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
6301 if (GetArenaForAllocation() !=
nullptr) {
6302 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6307inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::unsafe_arena_release_speed() {
6309 _impl_._has_bits_[0] &= ~0x00000008u;
6311 _impl_.speed_ =
nullptr;
6314inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::_internal_mutable_speed() {
6315 _impl_._has_bits_[0] |= 0x00000008u;
6316 if (_impl_.speed_ ==
nullptr) {
6320 return _impl_.speed_;
6322inline ::jaiabot::protobuf::BotStatus_Speed* BotStatus::mutable_speed() {
6328 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
6329 if (message_arena ==
nullptr) {
6330 delete _impl_.speed_;
6333 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
6334 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(speed);
6335 if (message_arena != submessage_arena) {
6336 speed = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
6337 message_arena, speed, submessage_arena);
6339 _impl_._has_bits_[0] |= 0x00000008u;
6341 _impl_._has_bits_[0] &= ~0x00000008u;
6343 _impl_.speed_ = speed;
6348inline bool BotStatus::_internal_has_mission_state()
const {
6349 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
6352inline bool BotStatus::has_mission_state()
const {
6353 return _internal_has_mission_state();
6355inline void BotStatus::clear_mission_state() {
6356 _impl_.mission_state_ = 0;
6357 _impl_._has_bits_[0] &= ~0x00000200u;
6359inline ::jaiabot::protobuf::MissionState BotStatus::_internal_mission_state()
const {
6362inline ::jaiabot::protobuf::MissionState BotStatus::mission_state()
const {
6364 return _internal_mission_state();
6368 _impl_._has_bits_[0] |= 0x00000200u;
6369 _impl_.mission_state_ = value;
6372 _internal_set_mission_state(value);
6377inline bool BotStatus::_internal_has_active_goal()
const {
6378 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
6381inline bool BotStatus::has_active_goal()
const {
6382 return _internal_has_active_goal();
6384inline void BotStatus::clear_active_goal() {
6385 _impl_.active_goal_ = 0;
6386 _impl_._has_bits_[0] &= ~0x00000800u;
6388inline int32_t BotStatus::_internal_active_goal()
const {
6389 return _impl_.active_goal_;
6391inline int32_t BotStatus::active_goal()
const {
6393 return _internal_active_goal();
6395inline void BotStatus::_internal_set_active_goal(int32_t value) {
6396 _impl_._has_bits_[0] |= 0x00000800u;
6397 _impl_.active_goal_ = value;
6399inline void BotStatus::set_active_goal(int32_t value) {
6400 _internal_set_active_goal(value);
6405inline bool BotStatus::_internal_has_distance_to_active_goal()
const {
6406 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
6409inline bool BotStatus::has_distance_to_active_goal()
const {
6410 return _internal_has_distance_to_active_goal();
6412inline void BotStatus::clear_distance_to_active_goal() {
6413 _impl_.distance_to_active_goal_ = 0;
6414 _impl_._has_bits_[0] &= ~0x00000400u;
6416inline double BotStatus::_internal_distance_to_active_goal()
const {
6417 return _impl_.distance_to_active_goal_;
6419inline double BotStatus::distance_to_active_goal()
const {
6421 return _internal_distance_to_active_goal();
6423inline void BotStatus::_internal_set_distance_to_active_goal(
double value) {
6424 _impl_._has_bits_[0] |= 0x00000400u;
6425 _impl_.distance_to_active_goal_ = value;
6427inline void BotStatus::set_distance_to_active_goal(
double value) {
6428 _internal_set_distance_to_active_goal(value);
6433inline bool BotStatus::_internal_has_active_goal_timeout()
const {
6434 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
6437inline bool BotStatus::has_active_goal_timeout()
const {
6438 return _internal_has_active_goal_timeout();
6440inline void BotStatus::clear_active_goal_timeout() {
6441 _impl_.active_goal_timeout_ = 0u;
6442 _impl_._has_bits_[0] &= ~0x00001000u;
6444inline uint32_t BotStatus::_internal_active_goal_timeout()
const {
6445 return _impl_.active_goal_timeout_;
6447inline uint32_t BotStatus::active_goal_timeout()
const {
6449 return _internal_active_goal_timeout();
6451inline void BotStatus::_internal_set_active_goal_timeout(uint32_t value) {
6452 _impl_._has_bits_[0] |= 0x00001000u;
6453 _impl_.active_goal_timeout_ = value;
6455inline void BotStatus::set_active_goal_timeout(uint32_t value) {
6456 _internal_set_active_goal_timeout(value);
6461inline bool BotStatus::_internal_has_repeat_index()
const {
6462 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
6465inline bool BotStatus::has_repeat_index()
const {
6466 return _internal_has_repeat_index();
6468inline void BotStatus::clear_repeat_index() {
6469 _impl_.repeat_index_ = 0;
6470 _impl_._has_bits_[0] &= ~0x00002000u;
6472inline int32_t BotStatus::_internal_repeat_index()
const {
6473 return _impl_.repeat_index_;
6475inline int32_t BotStatus::repeat_index()
const {
6477 return _internal_repeat_index();
6479inline void BotStatus::_internal_set_repeat_index(int32_t value) {
6480 _impl_._has_bits_[0] |= 0x00002000u;
6481 _impl_.repeat_index_ = value;
6483inline void BotStatus::set_repeat_index(int32_t value) {
6484 _internal_set_repeat_index(value);
6489inline bool BotStatus::_internal_has_salinity()
const {
6490 bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
6493inline bool BotStatus::has_salinity()
const {
6494 return _internal_has_salinity();
6496inline void BotStatus::clear_salinity() {
6497 _impl_.salinity_ = 0;
6498 _impl_._has_bits_[0] &= ~0x00008000u;
6500inline double BotStatus::_internal_salinity()
const {
6501 return _impl_.salinity_;
6503inline double BotStatus::salinity()
const {
6505 return _internal_salinity();
6507inline void BotStatus::_internal_set_salinity(
double value) {
6508 _impl_._has_bits_[0] |= 0x00008000u;
6509 _impl_.salinity_ = value;
6511inline void BotStatus::set_salinity(
double value) {
6512 _internal_set_salinity(value);
6517inline bool BotStatus::_internal_has_temperature()
const {
6518 bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
6521inline bool BotStatus::has_temperature()
const {
6522 return _internal_has_temperature();
6524inline void BotStatus::clear_temperature() {
6525 _impl_.temperature_ = 0;
6526 _impl_._has_bits_[0] &= ~0x00010000u;
6528inline double BotStatus::_internal_temperature()
const {
6529 return _impl_.temperature_;
6531inline double BotStatus::temperature()
const {
6533 return _internal_temperature();
6535inline void BotStatus::_internal_set_temperature(
double value) {
6536 _impl_._has_bits_[0] |= 0x00010000u;
6537 _impl_.temperature_ = value;
6539inline void BotStatus::set_temperature(
double value) {
6540 _internal_set_temperature(value);
6545inline bool BotStatus::_internal_has_battery_percent()
const {
6546 bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
6549inline bool BotStatus::has_battery_percent()
const {
6550 return _internal_has_battery_percent();
6552inline void BotStatus::clear_battery_percent() {
6553 _impl_.battery_percent_ = 0;
6554 _impl_._has_bits_[0] &= ~0x00020000u;
6556inline double BotStatus::_internal_battery_percent()
const {
6557 return _impl_.battery_percent_;
6559inline double BotStatus::battery_percent()
const {
6561 return _internal_battery_percent();
6563inline void BotStatus::_internal_set_battery_percent(
double value) {
6564 _impl_._has_bits_[0] |= 0x00020000u;
6565 _impl_.battery_percent_ = value;
6567inline void BotStatus::set_battery_percent(
double value) {
6568 _internal_set_battery_percent(value);
6573inline bool BotStatus::_internal_has_calibration_status()
const {
6574 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
6577inline bool BotStatus::has_calibration_status()
const {
6578 return _internal_has_calibration_status();
6580inline void BotStatus::clear_calibration_status() {
6581 _impl_.calibration_status_ = 0;
6582 _impl_._has_bits_[0] &= ~0x00004000u;
6584inline int32_t BotStatus::_internal_calibration_status()
const {
6585 return _impl_.calibration_status_;
6587inline int32_t BotStatus::calibration_status()
const {
6589 return _internal_calibration_status();
6591inline void BotStatus::_internal_set_calibration_status(int32_t value) {
6592 _impl_._has_bits_[0] |= 0x00004000u;
6593 _impl_.calibration_status_ = value;
6595inline void BotStatus::set_calibration_status(int32_t value) {
6596 _internal_set_calibration_status(value);
6601inline bool BotStatus::_internal_has_calibration_state()
const {
6602 bool value = (_impl_._has_bits_[0] & 0x04000000u) != 0;
6605inline bool BotStatus::has_calibration_state()
const {
6606 return _internal_has_calibration_state();
6608inline void BotStatus::clear_calibration_state() {
6609 _impl_.calibration_state_ = 1;
6610 _impl_._has_bits_[0] &= ~0x04000000u;
6612inline ::jaiabot::protobuf::IMUCalibrationState BotStatus::_internal_calibration_state()
const {
6615inline ::jaiabot::protobuf::IMUCalibrationState BotStatus::calibration_state()
const {
6617 return _internal_calibration_state();
6621 _impl_._has_bits_[0] |= 0x04000000u;
6622 _impl_.calibration_state_ = value;
6625 _internal_set_calibration_state(value);
6630inline bool BotStatus::_internal_has_hdop()
const {
6631 bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
6634inline bool BotStatus::has_hdop()
const {
6635 return _internal_has_hdop();
6637inline void BotStatus::clear_hdop() {
6639 _impl_._has_bits_[0] &= ~0x00040000u;
6641inline double BotStatus::_internal_hdop()
const {
6642 return _impl_.hdop_;
6644inline double BotStatus::hdop()
const {
6646 return _internal_hdop();
6648inline void BotStatus::_internal_set_hdop(
double value) {
6649 _impl_._has_bits_[0] |= 0x00040000u;
6650 _impl_.hdop_ = value;
6652inline void BotStatus::set_hdop(
double value) {
6653 _internal_set_hdop(value);
6658inline bool BotStatus::_internal_has_pdop()
const {
6659 bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
6662inline bool BotStatus::has_pdop()
const {
6663 return _internal_has_pdop();
6665inline void BotStatus::clear_pdop() {
6667 _impl_._has_bits_[0] &= ~0x00080000u;
6669inline double BotStatus::_internal_pdop()
const {
6670 return _impl_.pdop_;
6672inline double BotStatus::pdop()
const {
6674 return _internal_pdop();
6676inline void BotStatus::_internal_set_pdop(
double value) {
6677 _impl_._has_bits_[0] |= 0x00080000u;
6678 _impl_.pdop_ = value;
6680inline void BotStatus::set_pdop(
double value) {
6681 _internal_set_pdop(value);
6686inline bool BotStatus::_internal_has_wifi_link_quality_percentage()
const {
6687 bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
6690inline bool BotStatus::has_wifi_link_quality_percentage()
const {
6691 return _internal_has_wifi_link_quality_percentage();
6693inline void BotStatus::clear_wifi_link_quality_percentage() {
6694 _impl_.wifi_link_quality_percentage_ = 0;
6695 _impl_._has_bits_[0] &= ~0x00400000u;
6697inline int32_t BotStatus::_internal_wifi_link_quality_percentage()
const {
6698 return _impl_.wifi_link_quality_percentage_;
6700inline int32_t BotStatus::wifi_link_quality_percentage()
const {
6702 return _internal_wifi_link_quality_percentage();
6704inline void BotStatus::_internal_set_wifi_link_quality_percentage(int32_t value) {
6705 _impl_._has_bits_[0] |= 0x00400000u;
6706 _impl_.wifi_link_quality_percentage_ = value;
6708inline void BotStatus::set_wifi_link_quality_percentage(int32_t value) {
6709 _internal_set_wifi_link_quality_percentage(value);
6714inline bool BotStatus::_internal_has_received_time()
const {
6715 bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
6718inline bool BotStatus::has_received_time()
const {
6719 return _internal_has_received_time();
6721inline void BotStatus::clear_received_time() {
6722 _impl_.received_time_ = uint64_t{0u};
6723 _impl_._has_bits_[0] &= ~0x00100000u;
6725inline uint64_t BotStatus::_internal_received_time()
const {
6726 return _impl_.received_time_;
6728inline uint64_t BotStatus::received_time()
const {
6730 return _internal_received_time();
6732inline void BotStatus::_internal_set_received_time(uint64_t value) {
6733 _impl_._has_bits_[0] |= 0x00100000u;
6734 _impl_.received_time_ = value;
6736inline void BotStatus::set_received_time(uint64_t value) {
6737 _internal_set_received_time(value);
6742inline bool BotStatus::_internal_has_mission_command_time()
const {
6743 bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
6746inline bool BotStatus::has_mission_command_time()
const {
6747 return _internal_has_mission_command_time();
6749inline void BotStatus::clear_mission_command_time() {
6750 _impl_.mission_command_time_ = uint64_t{0u};
6751 _impl_._has_bits_[0] &= ~0x00200000u;
6753inline uint64_t BotStatus::_internal_mission_command_time()
const {
6754 return _impl_.mission_command_time_;
6756inline uint64_t BotStatus::mission_command_time()
const {
6758 return _internal_mission_command_time();
6760inline void BotStatus::_internal_set_mission_command_time(uint64_t value) {
6761 _impl_._has_bits_[0] |= 0x00200000u;
6762 _impl_.mission_command_time_ = value;
6764inline void BotStatus::set_mission_command_time(uint64_t value) {
6765 _internal_set_mission_command_time(value);
6770inline bool BotStatus::_internal_has_mission_name()
const {
6771 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6774inline bool BotStatus::has_mission_name()
const {
6775 return _internal_has_mission_name();
6777inline void BotStatus::clear_mission_name() {
6778 _impl_.mission_name_.ClearToEmpty();
6779 _impl_._has_bits_[0] &= ~0x00000001u;
6781inline const std::string& BotStatus::mission_name()
const {
6783 return _internal_mission_name();
6785template <
typename ArgT0,
typename... ArgT>
6786inline PROTOBUF_ALWAYS_INLINE
6787void BotStatus::set_mission_name(ArgT0&& arg0, ArgT... args) {
6788 _impl_._has_bits_[0] |= 0x00000001u;
6789 _impl_.mission_name_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
6792inline std::string* BotStatus::mutable_mission_name() {
6793 std::string* _s = _internal_mutable_mission_name();
6797inline const std::string& BotStatus::_internal_mission_name()
const {
6798 return _impl_.mission_name_.Get();
6800inline void BotStatus::_internal_set_mission_name(
const std::string& value) {
6801 _impl_._has_bits_[0] |= 0x00000001u;
6802 _impl_.mission_name_.Set(value, GetArenaForAllocation());
6804inline std::string* BotStatus::_internal_mutable_mission_name() {
6805 _impl_._has_bits_[0] |= 0x00000001u;
6806 return _impl_.mission_name_.Mutable(GetArenaForAllocation());
6808inline std::string* BotStatus::release_mission_name() {
6810 if (!_internal_has_mission_name()) {
6813 _impl_._has_bits_[0] &= ~0x00000001u;
6814 auto* p = _impl_.mission_name_.Release();
6815#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6816 if (_impl_.mission_name_.IsDefault()) {
6817 _impl_.mission_name_.Set(
"", GetArenaForAllocation());
6822inline void BotStatus::set_allocated_mission_name(std::string* mission_name) {
6823 if (mission_name !=
nullptr) {
6824 _impl_._has_bits_[0] |= 0x00000001u;
6826 _impl_._has_bits_[0] &= ~0x00000001u;
6828 _impl_.mission_name_.SetAllocated(mission_name, GetArenaForAllocation());
6829#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
6830 if (_impl_.mission_name_.IsDefault()) {
6831 _impl_.mission_name_.Set(
"", GetArenaForAllocation());
6842inline bool DriftPacket_EstimatedDrift::_internal_has_speed()
const {
6843 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6846inline bool DriftPacket_EstimatedDrift::has_speed()
const {
6847 return _internal_has_speed();
6849inline void DriftPacket_EstimatedDrift::clear_speed() {
6851 _impl_._has_bits_[0] &= ~0x00000001u;
6853inline double DriftPacket_EstimatedDrift::_internal_speed()
const {
6854 return _impl_.speed_;
6856inline double DriftPacket_EstimatedDrift::speed()
const {
6858 return _internal_speed();
6860inline void DriftPacket_EstimatedDrift::_internal_set_speed(
double value) {
6861 _impl_._has_bits_[0] |= 0x00000001u;
6862 _impl_.speed_ = value;
6864inline void DriftPacket_EstimatedDrift::set_speed(
double value) {
6865 _internal_set_speed(value);
6870inline bool DriftPacket_EstimatedDrift::_internal_has_heading()
const {
6871 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
6874inline bool DriftPacket_EstimatedDrift::has_heading()
const {
6875 return _internal_has_heading();
6877inline void DriftPacket_EstimatedDrift::clear_heading() {
6878 _impl_.heading_ = 0;
6879 _impl_._has_bits_[0] &= ~0x00000002u;
6881inline double DriftPacket_EstimatedDrift::_internal_heading()
const {
6882 return _impl_.heading_;
6884inline double DriftPacket_EstimatedDrift::heading()
const {
6886 return _internal_heading();
6888inline void DriftPacket_EstimatedDrift::_internal_set_heading(
double value) {
6889 _impl_._has_bits_[0] |= 0x00000002u;
6890 _impl_.heading_ = value;
6892inline void DriftPacket_EstimatedDrift::set_heading(
double value) {
6893 _internal_set_heading(value);
6902inline bool DriftPacket::_internal_has_drift_duration()
const {
6903 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
6906inline bool DriftPacket::has_drift_duration()
const {
6907 return _internal_has_drift_duration();
6909inline void DriftPacket::clear_drift_duration() {
6910 _impl_.drift_duration_ = 0;
6911 _impl_._has_bits_[0] &= ~0x00000010u;
6913inline int32_t DriftPacket::_internal_drift_duration()
const {
6914 return _impl_.drift_duration_;
6916inline int32_t DriftPacket::drift_duration()
const {
6918 return _internal_drift_duration();
6920inline void DriftPacket::_internal_set_drift_duration(int32_t value) {
6921 _impl_._has_bits_[0] |= 0x00000010u;
6922 _impl_.drift_duration_ = value;
6924inline void DriftPacket::set_drift_duration(int32_t value) {
6925 _internal_set_drift_duration(value);
6930inline bool DriftPacket::_internal_has_estimated_drift()
const {
6931 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
6932 PROTOBUF_ASSUME(!value || _impl_.estimated_drift_ !=
nullptr);
6935inline bool DriftPacket::has_estimated_drift()
const {
6936 return _internal_has_estimated_drift();
6938inline void DriftPacket::clear_estimated_drift() {
6939 if (_impl_.estimated_drift_ !=
nullptr) _impl_.estimated_drift_->Clear();
6940 _impl_._has_bits_[0] &= ~0x00000001u;
6942inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::_internal_estimated_drift()
const {
6943 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift* p = _impl_.estimated_drift_;
6947inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::estimated_drift()
const {
6949 return _internal_estimated_drift();
6951inline void DriftPacket::unsafe_arena_set_allocated_estimated_drift(
6953 if (GetArenaForAllocation() ==
nullptr) {
6954 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.estimated_drift_);
6956 _impl_.estimated_drift_ = estimated_drift;
6957 if (estimated_drift) {
6958 _impl_._has_bits_[0] |= 0x00000001u;
6960 _impl_._has_bits_[0] &= ~0x00000001u;
6964inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::release_estimated_drift() {
6965 _impl_._has_bits_[0] &= ~0x00000001u;
6967 _impl_.estimated_drift_ =
nullptr;
6968#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
6969 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
6970 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6971 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
6973 if (GetArenaForAllocation() !=
nullptr) {
6974 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
6979inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::unsafe_arena_release_estimated_drift() {
6981 _impl_._has_bits_[0] &= ~0x00000001u;
6983 _impl_.estimated_drift_ =
nullptr;
6986inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::_internal_mutable_estimated_drift() {
6987 _impl_._has_bits_[0] |= 0x00000001u;
6988 if (_impl_.estimated_drift_ ==
nullptr) {
6990 _impl_.estimated_drift_ = p;
6992 return _impl_.estimated_drift_;
6994inline ::jaiabot::protobuf::DriftPacket_EstimatedDrift* DriftPacket::mutable_estimated_drift() {
7000 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7001 if (message_arena ==
nullptr) {
7002 delete _impl_.estimated_drift_;
7004 if (estimated_drift) {
7005 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7006 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(estimated_drift);
7007 if (message_arena != submessage_arena) {
7008 estimated_drift = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7009 message_arena, estimated_drift, submessage_arena);
7011 _impl_._has_bits_[0] |= 0x00000001u;
7013 _impl_._has_bits_[0] &= ~0x00000001u;
7015 _impl_.estimated_drift_ = estimated_drift;
7020inline bool DriftPacket::_internal_has_start_location()
const {
7021 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7022 PROTOBUF_ASSUME(!value || _impl_.start_location_ !=
nullptr);
7025inline bool DriftPacket::has_start_location()
const {
7026 return _internal_has_start_location();
7028inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_start_location()
const {
7029 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.start_location_;
7033inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::start_location()
const {
7035 return _internal_start_location();
7037inline void DriftPacket::unsafe_arena_set_allocated_start_location(
7039 if (GetArenaForAllocation() ==
nullptr) {
7040 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.start_location_);
7042 _impl_.start_location_ = start_location;
7043 if (start_location) {
7044 _impl_._has_bits_[0] |= 0x00000002u;
7046 _impl_._has_bits_[0] &= ~0x00000002u;
7050inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::release_start_location() {
7051 _impl_._has_bits_[0] &= ~0x00000002u;
7053 _impl_.start_location_ =
nullptr;
7054#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7055 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
7056 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7057 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
7059 if (GetArenaForAllocation() !=
nullptr) {
7060 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7065inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::unsafe_arena_release_start_location() {
7067 _impl_._has_bits_[0] &= ~0x00000002u;
7069 _impl_.start_location_ =
nullptr;
7072inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::_internal_mutable_start_location() {
7073 _impl_._has_bits_[0] |= 0x00000002u;
7074 if (_impl_.start_location_ ==
nullptr) {
7076 _impl_.start_location_ = p;
7078 return _impl_.start_location_;
7080inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::mutable_start_location() {
7086 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7087 if (message_arena ==
nullptr) {
7088 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.start_location_);
7090 if (start_location) {
7091 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7092 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
7093 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(start_location));
7094 if (message_arena != submessage_arena) {
7095 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7096 message_arena, start_location, submessage_arena);
7098 _impl_._has_bits_[0] |= 0x00000002u;
7100 _impl_._has_bits_[0] &= ~0x00000002u;
7102 _impl_.start_location_ = start_location;
7107inline bool DriftPacket::_internal_has_end_location()
const {
7108 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
7109 PROTOBUF_ASSUME(!value || _impl_.end_location_ !=
nullptr);
7112inline bool DriftPacket::has_end_location()
const {
7113 return _internal_has_end_location();
7115inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_end_location()
const {
7116 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.end_location_;
7120inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::end_location()
const {
7122 return _internal_end_location();
7124inline void DriftPacket::unsafe_arena_set_allocated_end_location(
7126 if (GetArenaForAllocation() ==
nullptr) {
7127 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.end_location_);
7129 _impl_.end_location_ = end_location;
7131 _impl_._has_bits_[0] |= 0x00000004u;
7133 _impl_._has_bits_[0] &= ~0x00000004u;
7137inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::release_end_location() {
7138 _impl_._has_bits_[0] &= ~0x00000004u;
7140 _impl_.end_location_ =
nullptr;
7141#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7142 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
7143 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7144 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
7146 if (GetArenaForAllocation() !=
nullptr) {
7147 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7152inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::unsafe_arena_release_end_location() {
7154 _impl_._has_bits_[0] &= ~0x00000004u;
7156 _impl_.end_location_ =
nullptr;
7159inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::_internal_mutable_end_location() {
7160 _impl_._has_bits_[0] |= 0x00000004u;
7161 if (_impl_.end_location_ ==
nullptr) {
7163 _impl_.end_location_ = p;
7165 return _impl_.end_location_;
7167inline ::jaiabot::protobuf::GeographicCoordinate* DriftPacket::mutable_end_location() {
7173 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7174 if (message_arena ==
nullptr) {
7175 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.end_location_);
7178 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7179 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
7180 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(end_location));
7181 if (message_arena != submessage_arena) {
7182 end_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7183 message_arena, end_location, submessage_arena);
7185 _impl_._has_bits_[0] |= 0x00000004u;
7187 _impl_._has_bits_[0] &= ~0x00000004u;
7189 _impl_.end_location_ = end_location;
7194inline bool DriftPacket::_internal_has_significant_wave_height()
const {
7195 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
7198inline bool DriftPacket::has_significant_wave_height()
const {
7199 return _internal_has_significant_wave_height();
7201inline void DriftPacket::clear_significant_wave_height() {
7202 _impl_.significant_wave_height_ = 0;
7203 _impl_._has_bits_[0] &= ~0x00000008u;
7205inline double DriftPacket::_internal_significant_wave_height()
const {
7206 return _impl_.significant_wave_height_;
7208inline double DriftPacket::significant_wave_height()
const {
7210 return _internal_significant_wave_height();
7212inline void DriftPacket::_internal_set_significant_wave_height(
double value) {
7213 _impl_._has_bits_[0] |= 0x00000008u;
7214 _impl_.significant_wave_height_ = value;
7216inline void DriftPacket::set_significant_wave_height(
double value) {
7217 _internal_set_significant_wave_height(value);
7226inline bool DivePacket_Measurements::_internal_has_mean_depth()
const {
7227 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7230inline bool DivePacket_Measurements::has_mean_depth()
const {
7231 return _internal_has_mean_depth();
7233inline void DivePacket_Measurements::clear_mean_depth() {
7234 _impl_.mean_depth_ = 0;
7235 _impl_._has_bits_[0] &= ~0x00000001u;
7237inline double DivePacket_Measurements::_internal_mean_depth()
const {
7238 return _impl_.mean_depth_;
7240inline double DivePacket_Measurements::mean_depth()
const {
7242 return _internal_mean_depth();
7244inline void DivePacket_Measurements::_internal_set_mean_depth(
double value) {
7245 _impl_._has_bits_[0] |= 0x00000001u;
7246 _impl_.mean_depth_ = value;
7248inline void DivePacket_Measurements::set_mean_depth(
double value) {
7249 _internal_set_mean_depth(value);
7254inline bool DivePacket_Measurements::_internal_has_mean_temperature()
const {
7255 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7258inline bool DivePacket_Measurements::has_mean_temperature()
const {
7259 return _internal_has_mean_temperature();
7261inline void DivePacket_Measurements::clear_mean_temperature() {
7262 _impl_.mean_temperature_ = 0;
7263 _impl_._has_bits_[0] &= ~0x00000002u;
7265inline double DivePacket_Measurements::_internal_mean_temperature()
const {
7266 return _impl_.mean_temperature_;
7268inline double DivePacket_Measurements::mean_temperature()
const {
7270 return _internal_mean_temperature();
7272inline void DivePacket_Measurements::_internal_set_mean_temperature(
double value) {
7273 _impl_._has_bits_[0] |= 0x00000002u;
7274 _impl_.mean_temperature_ = value;
7276inline void DivePacket_Measurements::set_mean_temperature(
double value) {
7277 _internal_set_mean_temperature(value);
7282inline bool DivePacket_Measurements::_internal_has_mean_salinity()
const {
7283 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
7286inline bool DivePacket_Measurements::has_mean_salinity()
const {
7287 return _internal_has_mean_salinity();
7289inline void DivePacket_Measurements::clear_mean_salinity() {
7290 _impl_.mean_salinity_ = 0;
7291 _impl_._has_bits_[0] &= ~0x00000004u;
7293inline double DivePacket_Measurements::_internal_mean_salinity()
const {
7294 return _impl_.mean_salinity_;
7296inline double DivePacket_Measurements::mean_salinity()
const {
7298 return _internal_mean_salinity();
7300inline void DivePacket_Measurements::_internal_set_mean_salinity(
double value) {
7301 _impl_._has_bits_[0] |= 0x00000004u;
7302 _impl_.mean_salinity_ = value;
7304inline void DivePacket_Measurements::set_mean_salinity(
double value) {
7305 _internal_set_mean_salinity(value);
7314inline bool DivePacket_SubsurfaceCurrentVector::_internal_has_velocity()
const {
7315 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7318inline bool DivePacket_SubsurfaceCurrentVector::has_velocity()
const {
7319 return _internal_has_velocity();
7321inline void DivePacket_SubsurfaceCurrentVector::clear_velocity() {
7322 _impl_.velocity_ = 0;
7323 _impl_._has_bits_[0] &= ~0x00000001u;
7325inline double DivePacket_SubsurfaceCurrentVector::_internal_velocity()
const {
7326 return _impl_.velocity_;
7328inline double DivePacket_SubsurfaceCurrentVector::velocity()
const {
7330 return _internal_velocity();
7332inline void DivePacket_SubsurfaceCurrentVector::_internal_set_velocity(
double value) {
7333 _impl_._has_bits_[0] |= 0x00000001u;
7334 _impl_.velocity_ = value;
7336inline void DivePacket_SubsurfaceCurrentVector::set_velocity(
double value) {
7337 _internal_set_velocity(value);
7342inline bool DivePacket_SubsurfaceCurrentVector::_internal_has_heading()
const {
7343 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7346inline bool DivePacket_SubsurfaceCurrentVector::has_heading()
const {
7347 return _internal_has_heading();
7349inline void DivePacket_SubsurfaceCurrentVector::clear_heading() {
7350 _impl_.heading_ = 0;
7351 _impl_._has_bits_[0] &= ~0x00000002u;
7353inline double DivePacket_SubsurfaceCurrentVector::_internal_heading()
const {
7354 return _impl_.heading_;
7356inline double DivePacket_SubsurfaceCurrentVector::heading()
const {
7358 return _internal_heading();
7360inline void DivePacket_SubsurfaceCurrentVector::_internal_set_heading(
double value) {
7361 _impl_._has_bits_[0] |= 0x00000002u;
7362 _impl_.heading_ = value;
7364inline void DivePacket_SubsurfaceCurrentVector::set_heading(
double value) {
7365 _internal_set_heading(value);
7374inline bool DivePacket::_internal_has_dive_rate()
const {
7375 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
7378inline bool DivePacket::has_dive_rate()
const {
7379 return _internal_has_dive_rate();
7381inline void DivePacket::clear_dive_rate() {
7382 _impl_.dive_rate_ = 0;
7383 _impl_._has_bits_[0] &= ~0x00000004u;
7385inline double DivePacket::_internal_dive_rate()
const {
7386 return _impl_.dive_rate_;
7388inline double DivePacket::dive_rate()
const {
7390 return _internal_dive_rate();
7392inline void DivePacket::_internal_set_dive_rate(
double value) {
7393 _impl_._has_bits_[0] |= 0x00000004u;
7394 _impl_.dive_rate_ = value;
7396inline void DivePacket::set_dive_rate(
double value) {
7397 _internal_set_dive_rate(value);
7402inline bool DivePacket::_internal_has_unpowered_rise_rate()
const {
7403 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
7406inline bool DivePacket::has_unpowered_rise_rate()
const {
7407 return _internal_has_unpowered_rise_rate();
7409inline void DivePacket::clear_unpowered_rise_rate() {
7410 _impl_.unpowered_rise_rate_ = 0;
7411 _impl_._has_bits_[0] &= ~0x00000008u;
7413inline double DivePacket::_internal_unpowered_rise_rate()
const {
7414 return _impl_.unpowered_rise_rate_;
7416inline double DivePacket::unpowered_rise_rate()
const {
7418 return _internal_unpowered_rise_rate();
7420inline void DivePacket::_internal_set_unpowered_rise_rate(
double value) {
7421 _impl_._has_bits_[0] |= 0x00000008u;
7422 _impl_.unpowered_rise_rate_ = value;
7424inline void DivePacket::set_unpowered_rise_rate(
double value) {
7425 _internal_set_unpowered_rise_rate(value);
7430inline bool DivePacket::_internal_has_powered_rise_rate()
const {
7431 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
7434inline bool DivePacket::has_powered_rise_rate()
const {
7435 return _internal_has_powered_rise_rate();
7437inline void DivePacket::clear_powered_rise_rate() {
7438 _impl_.powered_rise_rate_ = 0;
7439 _impl_._has_bits_[0] &= ~0x00000010u;
7441inline double DivePacket::_internal_powered_rise_rate()
const {
7442 return _impl_.powered_rise_rate_;
7444inline double DivePacket::powered_rise_rate()
const {
7446 return _internal_powered_rise_rate();
7448inline void DivePacket::_internal_set_powered_rise_rate(
double value) {
7449 _impl_._has_bits_[0] |= 0x00000010u;
7450 _impl_.powered_rise_rate_ = value;
7452inline void DivePacket::set_powered_rise_rate(
double value) {
7453 _internal_set_powered_rise_rate(value);
7458inline bool DivePacket::_internal_has_depth_achieved()
const {
7459 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
7462inline bool DivePacket::has_depth_achieved()
const {
7463 return _internal_has_depth_achieved();
7465inline void DivePacket::clear_depth_achieved() {
7466 _impl_.depth_achieved_ = 0;
7467 _impl_._has_bits_[0] &= ~0x00000020u;
7469inline double DivePacket::_internal_depth_achieved()
const {
7470 return _impl_.depth_achieved_;
7472inline double DivePacket::depth_achieved()
const {
7474 return _internal_depth_achieved();
7476inline void DivePacket::_internal_set_depth_achieved(
double value) {
7477 _impl_._has_bits_[0] |= 0x00000020u;
7478 _impl_.depth_achieved_ = value;
7480inline void DivePacket::set_depth_achieved(
double value) {
7481 _internal_set_depth_achieved(value);
7486inline int DivePacket::_internal_measurement_size()
const {
7487 return _impl_.measurement_.size();
7489inline int DivePacket::measurement_size()
const {
7490 return _internal_measurement_size();
7492inline void DivePacket::clear_measurement() {
7493 _impl_.measurement_.Clear();
7495inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::mutable_measurement(
int index) {
7497 return _impl_.measurement_.Mutable(index);
7499inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
7500DivePacket::mutable_measurement() {
7502 return &_impl_.measurement_;
7504inline const ::jaiabot::protobuf::DivePacket_Measurements& DivePacket::_internal_measurement(
int index)
const {
7505 return _impl_.measurement_.Get(index);
7507inline const ::jaiabot::protobuf::DivePacket_Measurements& DivePacket::measurement(
int index)
const {
7509 return _internal_measurement(index);
7511inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::_internal_add_measurement() {
7512 return _impl_.measurement_.Add();
7514inline ::jaiabot::protobuf::DivePacket_Measurements* DivePacket::add_measurement() {
7519inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
7520DivePacket::measurement()
const {
7522 return _impl_.measurement_;
7526inline bool DivePacket::_internal_has_start_location()
const {
7527 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7528 PROTOBUF_ASSUME(!value || _impl_.start_location_ !=
nullptr);
7531inline bool DivePacket::has_start_location()
const {
7532 return _internal_has_start_location();
7534inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::_internal_start_location()
const {
7535 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.start_location_;
7539inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::start_location()
const {
7541 return _internal_start_location();
7543inline void DivePacket::unsafe_arena_set_allocated_start_location(
7545 if (GetArenaForAllocation() ==
nullptr) {
7546 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.start_location_);
7548 _impl_.start_location_ = start_location;
7549 if (start_location) {
7550 _impl_._has_bits_[0] |= 0x00000001u;
7552 _impl_._has_bits_[0] &= ~0x00000001u;
7556inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::release_start_location() {
7557 _impl_._has_bits_[0] &= ~0x00000001u;
7559 _impl_.start_location_ =
nullptr;
7560#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7561 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
7562 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7563 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
7565 if (GetArenaForAllocation() !=
nullptr) {
7566 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7571inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::unsafe_arena_release_start_location() {
7573 _impl_._has_bits_[0] &= ~0x00000001u;
7575 _impl_.start_location_ =
nullptr;
7578inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::_internal_mutable_start_location() {
7579 _impl_._has_bits_[0] |= 0x00000001u;
7580 if (_impl_.start_location_ ==
nullptr) {
7582 _impl_.start_location_ = p;
7584 return _impl_.start_location_;
7586inline ::jaiabot::protobuf::GeographicCoordinate* DivePacket::mutable_start_location() {
7592 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7593 if (message_arena ==
nullptr) {
7594 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.start_location_);
7596 if (start_location) {
7597 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7598 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
7599 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(start_location));
7600 if (message_arena != submessage_arena) {
7601 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7602 message_arena, start_location, submessage_arena);
7604 _impl_._has_bits_[0] |= 0x00000001u;
7606 _impl_._has_bits_[0] &= ~0x00000001u;
7608 _impl_.start_location_ = start_location;
7613inline bool DivePacket::_internal_has_duration_to_acquire_gps()
const {
7614 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
7617inline bool DivePacket::has_duration_to_acquire_gps()
const {
7618 return _internal_has_duration_to_acquire_gps();
7620inline void DivePacket::clear_duration_to_acquire_gps() {
7621 _impl_.duration_to_acquire_gps_ = 0;
7622 _impl_._has_bits_[0] &= ~0x00000040u;
7624inline double DivePacket::_internal_duration_to_acquire_gps()
const {
7625 return _impl_.duration_to_acquire_gps_;
7627inline double DivePacket::duration_to_acquire_gps()
const {
7629 return _internal_duration_to_acquire_gps();
7631inline void DivePacket::_internal_set_duration_to_acquire_gps(
double value) {
7632 _impl_._has_bits_[0] |= 0x00000040u;
7633 _impl_.duration_to_acquire_gps_ = value;
7635inline void DivePacket::set_duration_to_acquire_gps(
double value) {
7636 _internal_set_duration_to_acquire_gps(value);
7641inline bool DivePacket::_internal_has_bottom_dive()
const {
7642 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
7645inline bool DivePacket::has_bottom_dive()
const {
7646 return _internal_has_bottom_dive();
7648inline void DivePacket::clear_bottom_dive() {
7649 _impl_.bottom_dive_ =
false;
7650 _impl_._has_bits_[0] &= ~0x00000100u;
7652inline bool DivePacket::_internal_bottom_dive()
const {
7653 return _impl_.bottom_dive_;
7655inline bool DivePacket::bottom_dive()
const {
7657 return _internal_bottom_dive();
7659inline void DivePacket::_internal_set_bottom_dive(
bool value) {
7660 _impl_._has_bits_[0] |= 0x00000100u;
7661 _impl_.bottom_dive_ = value;
7663inline void DivePacket::set_bottom_dive(
bool value) {
7664 _internal_set_bottom_dive(value);
7669inline bool DivePacket::_internal_has_reached_min_depth()
const {
7670 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
7673inline bool DivePacket::has_reached_min_depth()
const {
7674 return _internal_has_reached_min_depth();
7676inline void DivePacket::clear_reached_min_depth() {
7677 _impl_.reached_min_depth_ =
false;
7678 _impl_._has_bits_[0] &= ~0x00000200u;
7680inline bool DivePacket::_internal_reached_min_depth()
const {
7681 return _impl_.reached_min_depth_;
7683inline bool DivePacket::reached_min_depth()
const {
7685 return _internal_reached_min_depth();
7687inline void DivePacket::_internal_set_reached_min_depth(
bool value) {
7688 _impl_._has_bits_[0] |= 0x00000200u;
7689 _impl_.reached_min_depth_ = value;
7691inline void DivePacket::set_reached_min_depth(
bool value) {
7692 _internal_set_reached_min_depth(value);
7697inline bool DivePacket::_internal_has_bottom_type()
const {
7698 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
7701inline bool DivePacket::has_bottom_type()
const {
7702 return _internal_has_bottom_type();
7704inline void DivePacket::clear_bottom_type() {
7705 _impl_.bottom_type_ = 1;
7706 _impl_._has_bits_[0] &= ~0x00000400u;
7708inline ::jaiabot::protobuf::DivePacket_BottomType DivePacket::_internal_bottom_type()
const {
7711inline ::jaiabot::protobuf::DivePacket_BottomType DivePacket::bottom_type()
const {
7713 return _internal_bottom_type();
7717 _impl_._has_bits_[0] |= 0x00000400u;
7718 _impl_.bottom_type_ = value;
7721 _internal_set_bottom_type(value);
7726inline bool DivePacket::_internal_has_max_acceleration()
const {
7727 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
7730inline bool DivePacket::has_max_acceleration()
const {
7731 return _internal_has_max_acceleration();
7733inline void DivePacket::clear_max_acceleration() {
7734 _impl_.max_acceleration_ = 0;
7735 _impl_._has_bits_[0] &= ~0x00000080u;
7737inline double DivePacket::_internal_max_acceleration()
const {
7738 return _impl_.max_acceleration_;
7740inline double DivePacket::max_acceleration()
const {
7742 return _internal_max_acceleration();
7744inline void DivePacket::_internal_set_max_acceleration(
double value) {
7745 _impl_._has_bits_[0] |= 0x00000080u;
7746 _impl_.max_acceleration_ = value;
7748inline void DivePacket::set_max_acceleration(
double value) {
7749 _internal_set_max_acceleration(value);
7754inline bool DivePacket::_internal_has_subsurface_current()
const {
7755 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7756 PROTOBUF_ASSUME(!value || _impl_.subsurface_current_ !=
nullptr);
7759inline bool DivePacket::has_subsurface_current()
const {
7760 return _internal_has_subsurface_current();
7762inline void DivePacket::clear_subsurface_current() {
7763 if (_impl_.subsurface_current_ !=
nullptr) _impl_.subsurface_current_->Clear();
7764 _impl_._has_bits_[0] &= ~0x00000002u;
7766inline const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& DivePacket::_internal_subsurface_current()
const {
7767 const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* p = _impl_.subsurface_current_;
7771inline const ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector& DivePacket::subsurface_current()
const {
7773 return _internal_subsurface_current();
7775inline void DivePacket::unsafe_arena_set_allocated_subsurface_current(
7777 if (GetArenaForAllocation() ==
nullptr) {
7778 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.subsurface_current_);
7780 _impl_.subsurface_current_ = subsurface_current;
7781 if (subsurface_current) {
7782 _impl_._has_bits_[0] |= 0x00000002u;
7784 _impl_._has_bits_[0] &= ~0x00000002u;
7788inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::release_subsurface_current() {
7789 _impl_._has_bits_[0] &= ~0x00000002u;
7791 _impl_.subsurface_current_ =
nullptr;
7792#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7793 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
7794 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7795 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
7797 if (GetArenaForAllocation() !=
nullptr) {
7798 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
7803inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::unsafe_arena_release_subsurface_current() {
7805 _impl_._has_bits_[0] &= ~0x00000002u;
7807 _impl_.subsurface_current_ =
nullptr;
7810inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::_internal_mutable_subsurface_current() {
7811 _impl_._has_bits_[0] |= 0x00000002u;
7812 if (_impl_.subsurface_current_ ==
nullptr) {
7814 _impl_.subsurface_current_ = p;
7816 return _impl_.subsurface_current_;
7818inline ::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector* DivePacket::mutable_subsurface_current() {
7824 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
7825 if (message_arena ==
nullptr) {
7826 delete _impl_.subsurface_current_;
7828 if (subsurface_current) {
7829 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
7830 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(subsurface_current);
7831 if (message_arena != submessage_arena) {
7832 subsurface_current = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
7833 message_arena, subsurface_current, submessage_arena);
7835 _impl_._has_bits_[0] |= 0x00000002u;
7837 _impl_._has_bits_[0] &= ~0x00000002u;
7839 _impl_.subsurface_current_ = subsurface_current;
7848inline bool TaskPacket::_internal_has_bot_id()
const {
7849 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
7852inline bool TaskPacket::has_bot_id()
const {
7853 return _internal_has_bot_id();
7855inline void TaskPacket::clear_bot_id() {
7856 _impl_.bot_id_ = 0u;
7857 _impl_._has_bits_[0] &= ~0x00000010u;
7859inline uint32_t TaskPacket::_internal_bot_id()
const {
7860 return _impl_.bot_id_;
7862inline uint32_t TaskPacket::bot_id()
const {
7864 return _internal_bot_id();
7866inline void TaskPacket::_internal_set_bot_id(uint32_t value) {
7867 _impl_._has_bits_[0] |= 0x00000010u;
7868 _impl_.bot_id_ = value;
7870inline void TaskPacket::set_bot_id(uint32_t value) {
7871 _internal_set_bot_id(value);
7876inline bool TaskPacket::_internal_has_start_time()
const {
7877 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
7880inline bool TaskPacket::has_start_time()
const {
7881 return _internal_has_start_time();
7883inline void TaskPacket::clear_start_time() {
7884 _impl_.start_time_ = uint64_t{0u};
7885 _impl_._has_bits_[0] &= ~0x00000008u;
7887inline uint64_t TaskPacket::_internal_start_time()
const {
7888 return _impl_.start_time_;
7890inline uint64_t TaskPacket::start_time()
const {
7892 return _internal_start_time();
7894inline void TaskPacket::_internal_set_start_time(uint64_t value) {
7895 _impl_._has_bits_[0] |= 0x00000008u;
7896 _impl_.start_time_ = value;
7898inline void TaskPacket::set_start_time(uint64_t value) {
7899 _internal_set_start_time(value);
7904inline bool TaskPacket::_internal_has_end_time()
const {
7905 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
7908inline bool TaskPacket::has_end_time()
const {
7909 return _internal_has_end_time();
7911inline void TaskPacket::clear_end_time() {
7912 _impl_.end_time_ = uint64_t{0u};
7913 _impl_._has_bits_[0] &= ~0x00000040u;
7915inline uint64_t TaskPacket::_internal_end_time()
const {
7916 return _impl_.end_time_;
7918inline uint64_t TaskPacket::end_time()
const {
7920 return _internal_end_time();
7922inline void TaskPacket::_internal_set_end_time(uint64_t value) {
7923 _impl_._has_bits_[0] |= 0x00000040u;
7924 _impl_.end_time_ = value;
7926inline void TaskPacket::set_end_time(uint64_t value) {
7927 _internal_set_end_time(value);
7932inline bool TaskPacket::_internal_has_type()
const {
7933 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
7936inline bool TaskPacket::has_type()
const {
7937 return _internal_has_type();
7939inline void TaskPacket::clear_type() {
7941 _impl_._has_bits_[0] &= ~0x00000020u;
7943inline ::jaiabot::protobuf::MissionTask_TaskType TaskPacket::_internal_type()
const {
7946inline ::jaiabot::protobuf::MissionTask_TaskType TaskPacket::type()
const {
7948 return _internal_type();
7952 _impl_._has_bits_[0] |= 0x00000020u;
7953 _impl_.type_ = value;
7956 _internal_set_type(value);
7961inline bool TaskPacket::_internal_has_link()
const {
7962 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
7965inline bool TaskPacket::has_link()
const {
7966 return _internal_has_link();
7968inline void TaskPacket::clear_link() {
7970 _impl_._has_bits_[0] &= ~0x00000100u;
7972inline ::jaiabot::protobuf::Link TaskPacket::_internal_link()
const {
7975inline ::jaiabot::protobuf::Link TaskPacket::link()
const {
7977 return _internal_link();
7981 _impl_._has_bits_[0] |= 0x00000100u;
7982 _impl_.link_ = value;
7985 _internal_set_link(value);
7990inline bool TaskPacket::_internal_has_dive()
const {
7991 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
7992 PROTOBUF_ASSUME(!value || _impl_.dive_ !=
nullptr);
7995inline bool TaskPacket::has_dive()
const {
7996 return _internal_has_dive();
7998inline void TaskPacket::clear_dive() {
7999 if (_impl_.dive_ !=
nullptr) _impl_.dive_->Clear();
8000 _impl_._has_bits_[0] &= ~0x00000002u;
8002inline const ::jaiabot::protobuf::DivePacket& TaskPacket::_internal_dive()
const {
8003 const ::jaiabot::protobuf::DivePacket* p = _impl_.dive_;
8007inline const ::jaiabot::protobuf::DivePacket& TaskPacket::dive()
const {
8009 return _internal_dive();
8011inline void TaskPacket::unsafe_arena_set_allocated_dive(
8013 if (GetArenaForAllocation() ==
nullptr) {
8014 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.dive_);
8016 _impl_.dive_ = dive;
8018 _impl_._has_bits_[0] |= 0x00000002u;
8020 _impl_._has_bits_[0] &= ~0x00000002u;
8024inline ::jaiabot::protobuf::DivePacket* TaskPacket::release_dive() {
8025 _impl_._has_bits_[0] &= ~0x00000002u;
8027 _impl_.dive_ =
nullptr;
8028#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
8029 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
8030 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8031 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
8033 if (GetArenaForAllocation() !=
nullptr) {
8034 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8039inline ::jaiabot::protobuf::DivePacket* TaskPacket::unsafe_arena_release_dive() {
8041 _impl_._has_bits_[0] &= ~0x00000002u;
8043 _impl_.dive_ =
nullptr;
8046inline ::jaiabot::protobuf::DivePacket* TaskPacket::_internal_mutable_dive() {
8047 _impl_._has_bits_[0] |= 0x00000002u;
8048 if (_impl_.dive_ ==
nullptr) {
8052 return _impl_.dive_;
8054inline ::jaiabot::protobuf::DivePacket* TaskPacket::mutable_dive() {
8060 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8061 if (message_arena ==
nullptr) {
8062 delete _impl_.dive_;
8065 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8066 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(dive);
8067 if (message_arena != submessage_arena) {
8068 dive = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8069 message_arena, dive, submessage_arena);
8071 _impl_._has_bits_[0] |= 0x00000002u;
8073 _impl_._has_bits_[0] &= ~0x00000002u;
8075 _impl_.dive_ = dive;
8080inline bool TaskPacket::_internal_has_drift()
const {
8081 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8082 PROTOBUF_ASSUME(!value || _impl_.drift_ !=
nullptr);
8085inline bool TaskPacket::has_drift()
const {
8086 return _internal_has_drift();
8088inline void TaskPacket::clear_drift() {
8089 if (_impl_.drift_ !=
nullptr) _impl_.drift_->Clear();
8090 _impl_._has_bits_[0] &= ~0x00000004u;
8092inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::_internal_drift()
const {
8093 const ::jaiabot::protobuf::DriftPacket* p = _impl_.drift_;
8097inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::drift()
const {
8099 return _internal_drift();
8101inline void TaskPacket::unsafe_arena_set_allocated_drift(
8103 if (GetArenaForAllocation() ==
nullptr) {
8104 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.drift_);
8106 _impl_.drift_ = drift;
8108 _impl_._has_bits_[0] |= 0x00000004u;
8110 _impl_._has_bits_[0] &= ~0x00000004u;
8114inline ::jaiabot::protobuf::DriftPacket* TaskPacket::release_drift() {
8115 _impl_._has_bits_[0] &= ~0x00000004u;
8117 _impl_.drift_ =
nullptr;
8118#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
8119 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
8120 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8121 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
8123 if (GetArenaForAllocation() !=
nullptr) {
8124 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8129inline ::jaiabot::protobuf::DriftPacket* TaskPacket::unsafe_arena_release_drift() {
8131 _impl_._has_bits_[0] &= ~0x00000004u;
8133 _impl_.drift_ =
nullptr;
8136inline ::jaiabot::protobuf::DriftPacket* TaskPacket::_internal_mutable_drift() {
8137 _impl_._has_bits_[0] |= 0x00000004u;
8138 if (_impl_.drift_ ==
nullptr) {
8142 return _impl_.drift_;
8144inline ::jaiabot::protobuf::DriftPacket* TaskPacket::mutable_drift() {
8150 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8151 if (message_arena ==
nullptr) {
8152 delete _impl_.drift_;
8155 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8156 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(drift);
8157 if (message_arena != submessage_arena) {
8158 drift = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8159 message_arena, drift, submessage_arena);
8161 _impl_._has_bits_[0] |= 0x00000004u;
8163 _impl_._has_bits_[0] &= ~0x00000004u;
8165 _impl_.drift_ = drift;
8170inline bool TaskPacket::_internal_has_mission_command_time()
const {
8171 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
8174inline bool TaskPacket::has_mission_command_time()
const {
8175 return _internal_has_mission_command_time();
8177inline void TaskPacket::clear_mission_command_time() {
8178 _impl_.mission_command_time_ = uint64_t{0u};
8179 _impl_._has_bits_[0] &= ~0x00000080u;
8181inline uint64_t TaskPacket::_internal_mission_command_time()
const {
8182 return _impl_.mission_command_time_;
8184inline uint64_t TaskPacket::mission_command_time()
const {
8186 return _internal_mission_command_time();
8188inline void TaskPacket::_internal_set_mission_command_time(uint64_t value) {
8189 _impl_._has_bits_[0] |= 0x00000080u;
8190 _impl_.mission_command_time_ = value;
8192inline void TaskPacket::set_mission_command_time(uint64_t value) {
8193 _internal_set_mission_command_time(value);
8198inline bool TaskPacket::_internal_has_mission_name()
const {
8199 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8202inline bool TaskPacket::has_mission_name()
const {
8203 return _internal_has_mission_name();
8205inline void TaskPacket::clear_mission_name() {
8206 _impl_.mission_name_.ClearToEmpty();
8207 _impl_._has_bits_[0] &= ~0x00000001u;
8209inline const std::string& TaskPacket::mission_name()
const {
8211 return _internal_mission_name();
8213template <
typename ArgT0,
typename... ArgT>
8214inline PROTOBUF_ALWAYS_INLINE
8215void TaskPacket::set_mission_name(ArgT0&& arg0, ArgT... args) {
8216 _impl_._has_bits_[0] |= 0x00000001u;
8217 _impl_.mission_name_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
8220inline std::string* TaskPacket::mutable_mission_name() {
8221 std::string* _s = _internal_mutable_mission_name();
8225inline const std::string& TaskPacket::_internal_mission_name()
const {
8226 return _impl_.mission_name_.Get();
8228inline void TaskPacket::_internal_set_mission_name(
const std::string& value) {
8229 _impl_._has_bits_[0] |= 0x00000001u;
8230 _impl_.mission_name_.Set(value, GetArenaForAllocation());
8232inline std::string* TaskPacket::_internal_mutable_mission_name() {
8233 _impl_._has_bits_[0] |= 0x00000001u;
8234 return _impl_.mission_name_.Mutable(GetArenaForAllocation());
8236inline std::string* TaskPacket::release_mission_name() {
8238 if (!_internal_has_mission_name()) {
8241 _impl_._has_bits_[0] &= ~0x00000001u;
8242 auto* p = _impl_.mission_name_.Release();
8243#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8244 if (_impl_.mission_name_.IsDefault()) {
8245 _impl_.mission_name_.Set(
"", GetArenaForAllocation());
8250inline void TaskPacket::set_allocated_mission_name(std::string* mission_name) {
8251 if (mission_name !=
nullptr) {
8252 _impl_._has_bits_[0] |= 0x00000001u;
8254 _impl_._has_bits_[0] &= ~0x00000001u;
8256 _impl_.mission_name_.SetAllocated(mission_name, GetArenaForAllocation());
8257#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8258 if (_impl_.mission_name_.IsDefault()) {
8259 _impl_.mission_name_.Set(
"", GetArenaForAllocation());
8270inline bool ContactUpdate::_internal_has_contact()
const {
8271 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
8274inline bool ContactUpdate::has_contact()
const {
8275 return _internal_has_contact();
8277inline void ContactUpdate::clear_contact() {
8278 _impl_.contact_ = 0;
8279 _impl_._has_bits_[0] &= ~0x00000008u;
8281inline int32_t ContactUpdate::_internal_contact()
const {
8282 return _impl_.contact_;
8284inline int32_t ContactUpdate::contact()
const {
8286 return _internal_contact();
8288inline void ContactUpdate::_internal_set_contact(int32_t value) {
8289 _impl_._has_bits_[0] |= 0x00000008u;
8290 _impl_.contact_ = value;
8292inline void ContactUpdate::set_contact(int32_t value) {
8293 _internal_set_contact(value);
8298inline bool ContactUpdate::_internal_has_location()
const {
8299 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8300 PROTOBUF_ASSUME(!value || _impl_.location_ !=
nullptr);
8303inline bool ContactUpdate::has_location()
const {
8304 return _internal_has_location();
8306inline const ::jaiabot::protobuf::GeographicCoordinate& ContactUpdate::_internal_location()
const {
8307 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.location_;
8311inline const ::jaiabot::protobuf::GeographicCoordinate& ContactUpdate::location()
const {
8313 return _internal_location();
8315inline void ContactUpdate::unsafe_arena_set_allocated_location(
8317 if (GetArenaForAllocation() ==
nullptr) {
8318 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.location_);
8320 _impl_.location_ = location;
8322 _impl_._has_bits_[0] |= 0x00000001u;
8324 _impl_._has_bits_[0] &= ~0x00000001u;
8328inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::release_location() {
8329 _impl_._has_bits_[0] &= ~0x00000001u;
8331 _impl_.location_ =
nullptr;
8332#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
8333 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
8334 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8335 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
8337 if (GetArenaForAllocation() !=
nullptr) {
8338 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8343inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::unsafe_arena_release_location() {
8345 _impl_._has_bits_[0] &= ~0x00000001u;
8347 _impl_.location_ =
nullptr;
8350inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::_internal_mutable_location() {
8351 _impl_._has_bits_[0] |= 0x00000001u;
8352 if (_impl_.location_ ==
nullptr) {
8354 _impl_.location_ = p;
8356 return _impl_.location_;
8358inline ::jaiabot::protobuf::GeographicCoordinate* ContactUpdate::mutable_location() {
8364 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8365 if (message_arena ==
nullptr) {
8366 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.location_);
8369 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8370 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
8371 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(location));
8372 if (message_arena != submessage_arena) {
8373 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8374 message_arena, location, submessage_arena);
8376 _impl_._has_bits_[0] |= 0x00000001u;
8378 _impl_._has_bits_[0] &= ~0x00000001u;
8380 _impl_.location_ = location;
8385inline bool ContactUpdate::_internal_has_speed_over_ground()
const {
8386 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8389inline bool ContactUpdate::has_speed_over_ground()
const {
8390 return _internal_has_speed_over_ground();
8392inline void ContactUpdate::clear_speed_over_ground() {
8393 _impl_.speed_over_ground_ = 0;
8394 _impl_._has_bits_[0] &= ~0x00000002u;
8396inline double ContactUpdate::_internal_speed_over_ground()
const {
8397 return _impl_.speed_over_ground_;
8399inline double ContactUpdate::speed_over_ground()
const {
8401 return _internal_speed_over_ground();
8403inline void ContactUpdate::_internal_set_speed_over_ground(
double value) {
8404 _impl_._has_bits_[0] |= 0x00000002u;
8405 _impl_.speed_over_ground_ = value;
8407inline void ContactUpdate::set_speed_over_ground(
double value) {
8408 _internal_set_speed_over_ground(value);
8413inline bool ContactUpdate::_internal_has_heading_or_cog()
const {
8414 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8417inline bool ContactUpdate::has_heading_or_cog()
const {
8418 return _internal_has_heading_or_cog();
8420inline void ContactUpdate::clear_heading_or_cog() {
8421 _impl_.heading_or_cog_ = 0;
8422 _impl_._has_bits_[0] &= ~0x00000004u;
8424inline double ContactUpdate::_internal_heading_or_cog()
const {
8425 return _impl_.heading_or_cog_;
8427inline double ContactUpdate::heading_or_cog()
const {
8429 return _internal_heading_or_cog();
8431inline void ContactUpdate::_internal_set_heading_or_cog(
double value) {
8432 _impl_._has_bits_[0] |= 0x00000004u;
8433 _impl_.heading_or_cog_ = value;
8435inline void ContactUpdate::set_heading_or_cog(
double value) {
8436 _internal_set_heading_or_cog(value);
8445inline bool Hub2HubData::_internal_has_hub_id()
const {
8446 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8449inline bool Hub2HubData::has_hub_id()
const {
8450 return _internal_has_hub_id();
8452inline void Hub2HubData::clear_hub_id() {
8453 _impl_.hub_id_ = 0u;
8454 _impl_._has_bits_[0] &= ~0x00000002u;
8456inline uint32_t Hub2HubData::_internal_hub_id()
const {
8457 return _impl_.hub_id_;
8459inline uint32_t Hub2HubData::hub_id()
const {
8461 return _internal_hub_id();
8463inline void Hub2HubData::_internal_set_hub_id(uint32_t value) {
8464 _impl_._has_bits_[0] |= 0x00000002u;
8465 _impl_.hub_id_ = value;
8467inline void Hub2HubData::set_hub_id(uint32_t value) {
8468 _internal_set_hub_id(value);
8473inline bool Hub2HubData::_internal_has_time()
const {
8474 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8477inline bool Hub2HubData::has_time()
const {
8478 return _internal_has_time();
8480inline void Hub2HubData::clear_time() {
8481 _impl_.time_ = uint64_t{0u};
8482 _impl_._has_bits_[0] &= ~0x00000001u;
8484inline uint64_t Hub2HubData::_internal_time()
const {
8485 return _impl_.time_;
8487inline uint64_t Hub2HubData::time()
const {
8489 return _internal_time();
8491inline void Hub2HubData::_internal_set_time(uint64_t value) {
8492 _impl_._has_bits_[0] |= 0x00000001u;
8493 _impl_.time_ = value;
8495inline void Hub2HubData::set_time(uint64_t value) {
8496 _internal_set_time(value);
8501inline bool Hub2HubData::_internal_has_bot_link()
const {
8502 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8505inline bool Hub2HubData::has_bot_link()
const {
8506 return _internal_has_bot_link();
8508inline void Hub2HubData::clear_bot_link() {
8509 _impl_.bot_link_ = -1;
8510 _impl_._has_bits_[0] &= ~0x00000004u;
8512inline ::jaiabot::protobuf::Link Hub2HubData::_internal_bot_link()
const {
8515inline ::jaiabot::protobuf::Link Hub2HubData::bot_link()
const {
8517 return _internal_bot_link();
8521 _impl_._has_bits_[0] |= 0x00000004u;
8522 _impl_.bot_link_ = value;
8525 _internal_set_bot_link(value);
8530inline bool Hub2HubData::_internal_has_bot_status()
const {
8531 return contents_case() == kBotStatus;
8533inline bool Hub2HubData::has_bot_status()
const {
8534 return _internal_has_bot_status();
8536inline void Hub2HubData::set_has_bot_status() {
8537 _impl_._oneof_case_[0] = kBotStatus;
8539inline void Hub2HubData::clear_bot_status() {
8540 if (_internal_has_bot_status()) {
8541 if (GetArenaForAllocation() ==
nullptr) {
8542 delete _impl_.contents_.bot_status_;
8544 clear_has_contents();
8547inline ::jaiabot::protobuf::BotStatus* Hub2HubData::release_bot_status() {
8549 if (_internal_has_bot_status()) {
8550 clear_has_contents();
8552 if (GetArenaForAllocation() !=
nullptr) {
8553 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8555 _impl_.contents_.bot_status_ =
nullptr;
8561inline const ::jaiabot::protobuf::BotStatus& Hub2HubData::_internal_bot_status()
const {
8562 return _internal_has_bot_status()
8563 ? *_impl_.contents_.bot_status_
8566inline const ::jaiabot::protobuf::BotStatus& Hub2HubData::bot_status()
const {
8568 return _internal_bot_status();
8570inline ::jaiabot::protobuf::BotStatus* Hub2HubData::unsafe_arena_release_bot_status() {
8572 if (_internal_has_bot_status()) {
8573 clear_has_contents();
8575 _impl_.contents_.bot_status_ =
nullptr;
8584 set_has_bot_status();
8585 _impl_.contents_.bot_status_ = bot_status;
8589inline ::jaiabot::protobuf::BotStatus* Hub2HubData::_internal_mutable_bot_status() {
8590 if (!_internal_has_bot_status()) {
8592 set_has_bot_status();
8593 _impl_.contents_.bot_status_ = CreateMaybeMessage< ::jaiabot::protobuf::BotStatus >(GetArenaForAllocation());
8595 return _impl_.contents_.bot_status_;
8597inline ::jaiabot::protobuf::BotStatus* Hub2HubData::mutable_bot_status() {
8604inline bool Hub2HubData::_internal_has_task_packet()
const {
8605 return contents_case() == kTaskPacket;
8607inline bool Hub2HubData::has_task_packet()
const {
8608 return _internal_has_task_packet();
8610inline void Hub2HubData::set_has_task_packet() {
8611 _impl_._oneof_case_[0] = kTaskPacket;
8613inline void Hub2HubData::clear_task_packet() {
8614 if (_internal_has_task_packet()) {
8615 if (GetArenaForAllocation() ==
nullptr) {
8616 delete _impl_.contents_.task_packet_;
8618 clear_has_contents();
8621inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::release_task_packet() {
8623 if (_internal_has_task_packet()) {
8624 clear_has_contents();
8626 if (GetArenaForAllocation() !=
nullptr) {
8627 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8629 _impl_.contents_.task_packet_ =
nullptr;
8635inline const ::jaiabot::protobuf::TaskPacket& Hub2HubData::_internal_task_packet()
const {
8636 return _internal_has_task_packet()
8637 ? *_impl_.contents_.task_packet_
8640inline const ::jaiabot::protobuf::TaskPacket& Hub2HubData::task_packet()
const {
8642 return _internal_task_packet();
8644inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::unsafe_arena_release_task_packet() {
8646 if (_internal_has_task_packet()) {
8647 clear_has_contents();
8649 _impl_.contents_.task_packet_ =
nullptr;
8658 set_has_task_packet();
8659 _impl_.contents_.task_packet_ = task_packet;
8663inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::_internal_mutable_task_packet() {
8664 if (!_internal_has_task_packet()) {
8666 set_has_task_packet();
8667 _impl_.contents_.task_packet_ = CreateMaybeMessage< ::jaiabot::protobuf::TaskPacket >(GetArenaForAllocation());
8669 return _impl_.contents_.task_packet_;
8671inline ::jaiabot::protobuf::TaskPacket* Hub2HubData::mutable_task_packet() {
8678inline bool Hub2HubData::_internal_has_command_for_bot()
const {
8679 return contents_case() == kCommandForBot;
8681inline bool Hub2HubData::has_command_for_bot()
const {
8682 return _internal_has_command_for_bot();
8684inline void Hub2HubData::set_has_command_for_bot() {
8685 _impl_._oneof_case_[0] = kCommandForBot;
8687inline void Hub2HubData::clear_command_for_bot() {
8688 if (_internal_has_command_for_bot()) {
8689 if (GetArenaForAllocation() ==
nullptr) {
8690 delete _impl_.contents_.command_for_bot_;
8692 clear_has_contents();
8695inline ::jaiabot::protobuf::Command* Hub2HubData::release_command_for_bot() {
8697 if (_internal_has_command_for_bot()) {
8698 clear_has_contents();
8700 if (GetArenaForAllocation() !=
nullptr) {
8701 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8703 _impl_.contents_.command_for_bot_ =
nullptr;
8709inline const ::jaiabot::protobuf::Command& Hub2HubData::_internal_command_for_bot()
const {
8710 return _internal_has_command_for_bot()
8711 ? *_impl_.contents_.command_for_bot_
8714inline const ::jaiabot::protobuf::Command& Hub2HubData::command_for_bot()
const {
8716 return _internal_command_for_bot();
8718inline ::jaiabot::protobuf::Command* Hub2HubData::unsafe_arena_release_command_for_bot() {
8720 if (_internal_has_command_for_bot()) {
8721 clear_has_contents();
8723 _impl_.contents_.command_for_bot_ =
nullptr;
8731 if (command_for_bot) {
8732 set_has_command_for_bot();
8733 _impl_.contents_.command_for_bot_ = command_for_bot;
8737inline ::jaiabot::protobuf::Command* Hub2HubData::_internal_mutable_command_for_bot() {
8738 if (!_internal_has_command_for_bot()) {
8740 set_has_command_for_bot();
8741 _impl_.contents_.command_for_bot_ = CreateMaybeMessage< ::jaiabot::protobuf::Command >(GetArenaForAllocation());
8743 return _impl_.contents_.command_for_bot_;
8745inline ::jaiabot::protobuf::Command* Hub2HubData::mutable_command_for_bot() {
8752inline bool Hub2HubData::_internal_has_command_comms_result()
const {
8753 return contents_case() == kCommandCommsResult;
8755inline bool Hub2HubData::has_command_comms_result()
const {
8756 return _internal_has_command_comms_result();
8758inline void Hub2HubData::set_has_command_comms_result() {
8759 _impl_._oneof_case_[0] = kCommandCommsResult;
8761inline void Hub2HubData::clear_command_comms_result() {
8762 if (_internal_has_command_comms_result()) {
8763 if (GetArenaForAllocation() ==
nullptr) {
8764 delete _impl_.contents_.command_comms_result_;
8766 clear_has_contents();
8769inline ::jaiabot::protobuf::CommandCommsResult* Hub2HubData::release_command_comms_result() {
8771 if (_internal_has_command_comms_result()) {
8772 clear_has_contents();
8774 if (GetArenaForAllocation() !=
nullptr) {
8775 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8777 _impl_.contents_.command_comms_result_ =
nullptr;
8783inline const ::jaiabot::protobuf::CommandCommsResult& Hub2HubData::_internal_command_comms_result()
const {
8784 return _internal_has_command_comms_result()
8785 ? *_impl_.contents_.command_comms_result_
8788inline const ::jaiabot::protobuf::CommandCommsResult& Hub2HubData::command_comms_result()
const {
8790 return _internal_command_comms_result();
8792inline ::jaiabot::protobuf::CommandCommsResult* Hub2HubData::unsafe_arena_release_command_comms_result() {
8794 if (_internal_has_command_comms_result()) {
8795 clear_has_contents();
8797 _impl_.contents_.command_comms_result_ =
nullptr;
8805 if (command_comms_result) {
8806 set_has_command_comms_result();
8807 _impl_.contents_.command_comms_result_ = command_comms_result;
8811inline ::jaiabot::protobuf::CommandCommsResult* Hub2HubData::_internal_mutable_command_comms_result() {
8812 if (!_internal_has_command_comms_result()) {
8814 set_has_command_comms_result();
8815 _impl_.contents_.command_comms_result_ = CreateMaybeMessage< ::jaiabot::protobuf::CommandCommsResult >(GetArenaForAllocation());
8817 return _impl_.contents_.command_comms_result_;
8819inline ::jaiabot::protobuf::CommandCommsResult* Hub2HubData::mutable_command_comms_result() {
8826inline bool Hub2HubData::_internal_has_hub_status()
const {
8827 return contents_case() == kHubStatus;
8829inline bool Hub2HubData::has_hub_status()
const {
8830 return _internal_has_hub_status();
8832inline void Hub2HubData::set_has_hub_status() {
8833 _impl_._oneof_case_[0] = kHubStatus;
8835inline ::jaiabot::protobuf::HubStatus* Hub2HubData::release_hub_status() {
8837 if (_internal_has_hub_status()) {
8838 clear_has_contents();
8840 if (GetArenaForAllocation() !=
nullptr) {
8841 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8843 _impl_.contents_.hub_status_ =
nullptr;
8849inline const ::jaiabot::protobuf::HubStatus& Hub2HubData::_internal_hub_status()
const {
8850 return _internal_has_hub_status()
8851 ? *_impl_.contents_.hub_status_
8854inline const ::jaiabot::protobuf::HubStatus& Hub2HubData::hub_status()
const {
8856 return _internal_hub_status();
8858inline ::jaiabot::protobuf::HubStatus* Hub2HubData::unsafe_arena_release_hub_status() {
8860 if (_internal_has_hub_status()) {
8861 clear_has_contents();
8863 _impl_.contents_.hub_status_ =
nullptr;
8872 set_has_hub_status();
8873 _impl_.contents_.hub_status_ = hub_status;
8877inline ::jaiabot::protobuf::HubStatus* Hub2HubData::_internal_mutable_hub_status() {
8878 if (!_internal_has_hub_status()) {
8880 set_has_hub_status();
8881 _impl_.contents_.hub_status_ = CreateMaybeMessage< ::jaiabot::protobuf::HubStatus >(GetArenaForAllocation());
8883 return _impl_.contents_.hub_status_;
8885inline ::jaiabot::protobuf::HubStatus* Hub2HubData::mutable_hub_status() {
8891inline bool Hub2HubData::has_contents()
const {
8892 return contents_case() != CONTENTS_NOT_SET;
8894inline void Hub2HubData::clear_has_contents() {
8895 _impl_._oneof_case_[0] = CONTENTS_NOT_SET;
8905inline bool CommandCommsResult::_internal_has_result()
const {
8906 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8909inline bool CommandCommsResult::has_result()
const {
8910 return _internal_has_result();
8912inline void CommandCommsResult::clear_result() {
8914 _impl_._has_bits_[0] &= ~0x00000002u;
8916inline ::jaiabot::protobuf::CommandCommsResult_CommsResult CommandCommsResult::_internal_result()
const {
8919inline ::jaiabot::protobuf::CommandCommsResult_CommsResult CommandCommsResult::result()
const {
8921 return _internal_result();
8925 _impl_._has_bits_[0] |= 0x00000002u;
8926 _impl_.result_ = value;
8929 _internal_set_result(value);
8934inline bool CommandCommsResult::_internal_has_link()
const {
8935 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8938inline bool CommandCommsResult::has_link()
const {
8939 return _internal_has_link();
8941inline void CommandCommsResult::clear_link() {
8943 _impl_._has_bits_[0] &= ~0x00000004u;
8945inline ::jaiabot::protobuf::Link CommandCommsResult::_internal_link()
const {
8948inline ::jaiabot::protobuf::Link CommandCommsResult::link()
const {
8950 return _internal_link();
8954 _impl_._has_bits_[0] |= 0x00000004u;
8955 _impl_.link_ = value;
8958 _internal_set_link(value);
8963inline bool CommandCommsResult::_internal_has_orig_command()
const {
8964 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8965 PROTOBUF_ASSUME(!value || _impl_.orig_command_ !=
nullptr);
8968inline bool CommandCommsResult::has_orig_command()
const {
8969 return _internal_has_orig_command();
8971inline void CommandCommsResult::clear_orig_command() {
8972 if (_impl_.orig_command_ !=
nullptr) _impl_.orig_command_->Clear();
8973 _impl_._has_bits_[0] &= ~0x00000001u;
8975inline const ::jaiabot::protobuf::Command& CommandCommsResult::_internal_orig_command()
const {
8976 const ::jaiabot::protobuf::Command* p = _impl_.orig_command_;
8980inline const ::jaiabot::protobuf::Command& CommandCommsResult::orig_command()
const {
8982 return _internal_orig_command();
8984inline void CommandCommsResult::unsafe_arena_set_allocated_orig_command(
8986 if (GetArenaForAllocation() ==
nullptr) {
8987 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.orig_command_);
8989 _impl_.orig_command_ = orig_command;
8991 _impl_._has_bits_[0] |= 0x00000001u;
8993 _impl_._has_bits_[0] &= ~0x00000001u;
8997inline ::jaiabot::protobuf::Command* CommandCommsResult::release_orig_command() {
8998 _impl_._has_bits_[0] &= ~0x00000001u;
9000 _impl_.orig_command_ =
nullptr;
9001#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
9002 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
9003 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9004 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
9006 if (GetArenaForAllocation() !=
nullptr) {
9007 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
9012inline ::jaiabot::protobuf::Command* CommandCommsResult::unsafe_arena_release_orig_command() {
9014 _impl_._has_bits_[0] &= ~0x00000001u;
9016 _impl_.orig_command_ =
nullptr;
9019inline ::jaiabot::protobuf::Command* CommandCommsResult::_internal_mutable_orig_command() {
9020 _impl_._has_bits_[0] |= 0x00000001u;
9021 if (_impl_.orig_command_ ==
nullptr) {
9023 _impl_.orig_command_ = p;
9025 return _impl_.orig_command_;
9027inline ::jaiabot::protobuf::Command* CommandCommsResult::mutable_orig_command() {
9033 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
9034 if (message_arena ==
nullptr) {
9035 delete _impl_.orig_command_;
9038 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
9039 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(orig_command);
9040 if (message_arena != submessage_arena) {
9041 orig_command = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
9042 message_arena, orig_command, submessage_arena);
9044 _impl_._has_bits_[0] |= 0x00000001u;
9046 _impl_._has_bits_[0] &= ~0x00000001u;
9048 _impl_.orig_command_ = orig_command;
9053 #pragma GCC diagnostic pop
9089PROTOBUF_NAMESPACE_OPEN
9094 return ::jaiabot::protobuf::Command_CommandType_descriptor();
9099 return ::jaiabot::protobuf::CommandForHub_HubCommandType_descriptor();
9104 return ::jaiabot::protobuf::BotStatus_BotType_descriptor();
9109 return ::jaiabot::protobuf::DivePacket_BottomType_descriptor();
9114 return ::jaiabot::protobuf::CommandCommsResult_CommsResult_descriptor();
9117PROTOBUF_NAMESPACE_CLOSE
9121#include <google/protobuf/port_undef.inc>
static const ClassData _class_data_
void set_last_received_time_with_units(Quantity value_w_units)
Quantity last_received_time_with_units() const
void Swap(BotStatus_ActiveLink *other)
void UnsafeArenaSwap(BotStatus_ActiveLink *other)
~BotStatus_ActiveLink() override
BotStatus_ActiveLink(BotStatus_ActiveLink &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
BotStatus_ActiveLink(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::make_scaled_unit< boost::units::unit< last_received_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type last_received_time_unit
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
BotStatus_ActiveLink & operator=(const BotStatus_ActiveLink &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
boost::units::time_dimension last_received_time_dimension
BotStatus_ActiveLink * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void MergeFrom(const BotStatus_ActiveLink &from)
BotStatus_ActiveLink & operator=(BotStatus_ActiveLink &&from) noexcept
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_CONSTEXPR BotStatus_ActiveLink(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
friend void swap(BotStatus_ActiveLink &a, BotStatus_ActiveLink &b)
static const BotStatus_ActiveLink * internal_default_instance()
boost::units::quantity< last_received_time_unit, google::protobuf::uint64 > last_received_time_with_units() const
BotStatus_ActiveLink(const BotStatus_ActiveLink &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const BotStatus_ActiveLink & default_instance()
void CopyFrom(const BotStatus_ActiveLink &from)
Quantity course_over_ground_with_units() const
boost::units::unit< pitch_dimension, boost::units::degree::system > pitch_unit
BotStatus_Attitude(const BotStatus_Attitude &from)
static const BotStatus_Attitude * internal_default_instance()
PROTOBUF_CONSTEXPR BotStatus_Attitude(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
boost::units::unit< roll_dimension, boost::units::degree::system > roll_unit
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
boost::units::quantity< roll_unit, double > roll_with_units() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_heading_with_units(Quantity value_w_units)
static const BotStatus_Attitude & default_instance()
BotStatus_Attitude & operator=(BotStatus_Attitude &&from) noexcept
void set_roll_with_units(Quantity value_w_units)
void set_pitch_with_units(Quantity value_w_units)
friend void swap(BotStatus_Attitude &a, BotStatus_Attitude &b)
void UnsafeArenaSwap(BotStatus_Attitude *other)
BotStatus_Attitude(BotStatus_Attitude &&from) noexcept
BotStatus_Attitude & operator=(const BotStatus_Attitude &from)
boost::units::plane_angle_dimension roll_dimension
boost::units::quantity< course_over_ground_unit, double > course_over_ground_with_units() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_course_over_ground_with_units(Quantity value_w_units)
Quantity roll_with_units() const
boost::units::quantity< pitch_unit, double > pitch_with_units() const
void MergeFrom(const BotStatus_Attitude &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
BotStatus_Attitude * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
BotStatus_Attitude(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ClassData _class_data_
boost::units::plane_angle_dimension course_over_ground_dimension
void CopyFrom(const BotStatus_Attitude &from)
Quantity heading_with_units() const
boost::units::plane_angle_dimension pitch_dimension
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void Swap(BotStatus_Attitude *other)
boost::units::quantity< heading_unit, double > heading_with_units() const
~BotStatus_Attitude() override
boost::units::plane_angle_dimension heading_dimension
Quantity pitch_with_units() const
boost::units::unit< course_over_ground_dimension, boost::units::degree::system > course_over_ground_unit
BotStatus_Speed(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::velocity_dimension over_ground_dimension
boost::units::velocity_dimension over_water_dimension
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
boost::units::unit< over_water_dimension, boost::units::si::system > over_water_unit
boost::units::quantity< over_water_unit, double > over_water_with_units() const
PROTOBUF_CONSTEXPR BotStatus_Speed(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const BotStatus_Speed * internal_default_instance()
friend void swap(BotStatus_Speed &a, BotStatus_Speed &b)
void MergeFrom(const BotStatus_Speed &from)
void Swap(BotStatus_Speed *other)
void set_over_water_with_units(Quantity value_w_units)
BotStatus_Speed * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
BotStatus_Speed(const BotStatus_Speed &from)
boost::units::quantity< over_ground_unit, double > over_ground_with_units() const
~BotStatus_Speed() override
void set_over_ground_with_units(Quantity value_w_units)
Quantity over_water_with_units() const
boost::units::unit< over_ground_dimension, boost::units::si::system > over_ground_unit
static const ClassData _class_data_
void CopyFrom(const BotStatus_Speed &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Quantity over_ground_with_units() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void UnsafeArenaSwap(BotStatus_Speed *other)
static const BotStatus_Speed & default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
BotStatus_Speed(BotStatus_Speed &&from) noexcept
BotStatus_Speed & operator=(BotStatus_Speed &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
BotStatus_Speed & operator=(const BotStatus_Speed &from)
boost::units::make_scaled_unit< boost::units::unit< mission_command_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type mission_command_time_unit
static bool BotType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BotType *value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Quantity last_command_time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
BotStatus(const BotStatus &from)
boost::units::time_dimension time_dimension
boost::units::quantity< depth_unit, double > depth_with_units() const
boost::units::unit< sensor_depth_dimension, boost::units::si::system > sensor_depth_unit
Quantity sensor_depth_with_units() const
boost::units::quantity< active_goal_timeout_unit, google::protobuf::uint32 > active_goal_timeout_with_units() const
Quantity depth_with_units() const
Quantity temperature_with_units() const
void set_temperature_with_units(Quantity value_w_units)
boost::units::quantity< distance_to_active_goal_unit, double > distance_to_active_goal_with_units() const
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
boost::units::time_dimension received_time_dimension
BotStatus * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::quantity< temperature_unit, double > temperature_with_units() const
boost::units::temperature_dimension temperature_dimension
Quantity distance_to_active_goal_with_units() const
friend void swap(BotStatus &a, BotStatus &b)
boost::units::unit< active_goal_timeout_dimension, boost::units::si::system > active_goal_timeout_unit
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const std::string & BotType_Name(T enum_t_value)
void set_mission_name(ArgT0 &&arg0, ArgT... args)
void Swap(BotStatus *other)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * BotType_descriptor()
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
boost::units::quantity< received_time_unit, google::protobuf::uint64 > received_time_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
boost::units::time_dimension mission_command_time_dimension
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
boost::units::length_dimension distance_to_active_goal_dimension
static const BotStatus & default_instance()
boost::units::quantity< sensor_depth_unit, double > sensor_depth_with_units() const
void set_sensor_depth_with_units(Quantity value_w_units)
void set_last_command_time_with_units(Quantity value_w_units)
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type active_goal_timeout_dimension
BotStatus(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ClassData _class_data_
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
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
boost::units::quantity< last_command_time_unit, google::protobuf::uint64 > last_command_time_with_units() const
BotStatus & operator=(const BotStatus &from)
Quantity received_time_with_units() const
boost::units::length_dimension sensor_depth_dimension
void set_mission_command_time_with_units(Quantity value_w_units)
void set_active_goal_timeout_with_units(Quantity value_w_units)
void set_received_time_with_units(Quantity value_w_units)
static const BotStatus * internal_default_instance()
void set_depth_with_units(Quantity value_w_units)
void CopyFrom(const BotStatus &from)
BotStatus(BotStatus &&from) noexcept
boost::units::unit< distance_to_active_goal_dimension, boost::units::si::system > distance_to_active_goal_unit
Quantity active_goal_timeout_with_units() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::time_dimension last_command_time_dimension
void set_distance_to_active_goal_with_units(Quantity value_w_units)
Quantity time_with_units() const
boost::units::quantity< mission_command_time_unit, google::protobuf::uint64 > mission_command_time_with_units() const
Quantity mission_command_time_with_units() const
void MergeFrom(const BotStatus &from)
boost::units::length_dimension depth_dimension
PROTOBUF_CONSTEXPR BotStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
BotStatus & operator=(BotStatus &&from) noexcept
void set_time_with_units(Quantity value_w_units)
boost::units::unit< depth_dimension, boost::units::si::system > depth_unit
void UnsafeArenaSwap(BotStatus *other)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
~CommandCommsResult() override
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void MergeFrom(const CommandCommsResult &from)
PROTOBUF_CONSTEXPR CommandCommsResult(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static bool CommsResult_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommsResult *value)
void Swap(CommandCommsResult *other)
static const std::string & CommsResult_Name(T enum_t_value)
static const ClassData _class_data_
CommandCommsResult(const CommandCommsResult &from)
CommandCommsResult(CommandCommsResult &&from) noexcept
void CopyFrom(const CommandCommsResult &from)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CommsResult_descriptor()
void UnsafeArenaSwap(CommandCommsResult *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
CommandCommsResult & operator=(const CommandCommsResult &from)
static const CommandCommsResult & default_instance()
static const CommandCommsResult * internal_default_instance()
CommandCommsResult(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
friend void swap(CommandCommsResult &a, CommandCommsResult &b)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
CommandCommsResult * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
CommandCommsResult & operator=(CommandCommsResult &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
CommandForHub * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * HubCommandType_descriptor()
void CopyFrom(const CommandForHub &from)
CommandForHub(const CommandForHub &from)
boost::units::time_dimension time_dimension
~CommandForHub() override
static const CommandForHub * internal_default_instance()
friend void swap(CommandForHub &a, CommandForHub &b)
static const std::string & HubCommandType_Name(T enum_t_value)
static const ClassData _class_data_
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
void UnsafeArenaSwap(CommandForHub *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR CommandForHub(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
CommandForHub(CommandForHub &&from) noexcept
CommandForHub & operator=(const CommandForHub &from)
void set_time_with_units(Quantity value_w_units)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
CommandForHub & operator=(CommandForHub &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void clear_hub_location()
Quantity time_with_units() const
void Swap(CommandForHub *other)
static const CommandForHub & default_instance()
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
void MergeFrom(const CommandForHub &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static bool HubCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, HubCommandType *value)
CommandForHub(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_NODISCARD::jaiabot::protobuf::MissionPlan * release_plan()
void clear_command_data()
PROTOBUF_NODISCARD::jaiabot::protobuf::RemoteControl * release_rc()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::jaiabot::protobuf::RemoteControl & rc() const
void unsafe_arena_set_allocated_rc_task(::jaiabot::protobuf::MissionTask *rc_task)
Command(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static constexpr CommandType DATA_OFFLOAD_COMPLETE
static constexpr CommandType SHUTDOWN_COMPUTER
static constexpr CommandType STOP
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
void set_allocated_rc_task(::jaiabot::protobuf::MissionTask *rc_task)
bool has_from_hub_id() const
friend void swap(Command &a, Command &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void MergeFrom(const Command &from)
static constexpr CommandType START_MISSION
static constexpr CommandType RETRY_DATA_OFFLOAD
static const Command * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static constexpr int kIndexInFileMessages
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static bool CommandType_IsValid(int value)
Command(Command &&from) noexcept
::jaiabot::protobuf::MissionPlan * unsafe_arena_release_plan()
static constexpr CommandType CommandType_MIN
void set_type(::jaiabot::protobuf::Command_CommandType value)
static constexpr CommandType ACTIVATE
::jaiabot::protobuf::Command_CommandType type() const
int GetCachedSize() const final
static constexpr CommandType NEXT_TASK
void set_allocated_rc(::jaiabot::protobuf::RemoteControl *rc)
static const std::string & CommandType_Name(T enum_t_value)
static constexpr CommandType CommandType_MAX
static bool CommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandType *value)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void UnsafeArenaSwap(Command *other)
static constexpr CommandType REBOOT_COMPUTER
PROTOBUF_NODISCARD::jaiabot::protobuf::MissionTask * release_rc_task()
::jaiabot::protobuf::MissionTask * unsafe_arena_release_rc_task()
static constexpr CommandType RESTART_ALL_SERVICES
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const Command & default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const ::jaiabot::protobuf::MissionTask & rc_task() const
void set_bot_id(uint32_t value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CommandType_descriptor()
static constexpr CommandType REMOTE_CONTROL_TASK
Command(const Command &from)
Command * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Quantity time_with_units() const
void set_allocated_plan(::jaiabot::protobuf::MissionPlan *plan)
void CopyFrom(const Command &from)
void set_time_with_units(Quantity value_w_units)
boost::units::time_dimension time_dimension
void set_time(uint64_t value)
::jaiabot::protobuf::RemoteControl * mutable_rc()
void set_link(::jaiabot::protobuf::Link value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static constexpr CommandType PAUSE
void unsafe_arena_set_allocated_rc(::jaiabot::protobuf::RemoteControl *rc)
::jaiabot::protobuf::RemoteControl * unsafe_arena_release_rc()
static constexpr CommandType REMOTE_CONTROL_SETPOINT
static constexpr CommandType RECOVERED
static constexpr CommandType MISSION_PLAN
static constexpr CommandType DATA_OFFLOAD_FAILED
size_t ByteSizeLong() const final
bool IsInitialized() const final
void Swap(Command *other)
void set_from_hub_id(uint32_t value)
::jaiabot::protobuf::MissionPlan * mutable_plan()
static constexpr CommandType RESUME
::jaiabot::protobuf::MissionTask * mutable_rc_task()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
CommandDataCase command_data_case() const
::jaiabot::protobuf::Link link() const
const ::jaiabot::protobuf::MissionPlan & plan() const
static constexpr int CommandType_ARRAYSIZE
void unsafe_arena_set_allocated_plan(::jaiabot::protobuf::MissionPlan *plan)
static constexpr CommandType RETURN_TO_HOME
Command & operator=(Command &&from) noexcept
uint32_t from_hub_id() const
static const ClassData _class_data_
static constexpr CommandType REMOTE_CONTROL_RESUME_MOVEMENT
static constexpr CommandType SHUTDOWN
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
static constexpr CommandType MISSION_PLAN_FRAGMENT
Command & operator=(const Command &from)
PROTOBUF_CONSTEXPR Command(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
DivePacket_Measurements & operator=(const DivePacket_Measurements &from)
static const DivePacket_Measurements * internal_default_instance()
void set_mean_temperature_with_units(Quantity value_w_units)
DivePacket_Measurements(const DivePacket_Measurements &from)
void UnsafeArenaSwap(DivePacket_Measurements *other)
DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_mean_depth_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ClassData _class_data_
static const DivePacket_Measurements & default_instance()
DivePacket_Measurements * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void Swap(DivePacket_Measurements *other)
~DivePacket_Measurements() override
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::unit< mean_depth_dimension, boost::units::si::system > mean_depth_unit
boost::units::temperature_dimension mean_temperature_dimension
Quantity mean_temperature_with_units() const
Quantity mean_depth_with_units() const
boost::units::absolute< boost::units::unit< mean_temperature_dimension, boost::units::celsius::system > > mean_temperature_unit
DivePacket_Measurements(DivePacket_Measurements &&from) noexcept
boost::units::quantity< mean_temperature_unit, double > mean_temperature_with_units() const
DivePacket_Measurements & operator=(DivePacket_Measurements &&from) noexcept
void MergeFrom(const DivePacket_Measurements &from)
boost::units::quantity< mean_depth_unit, double > mean_depth_with_units() const
void CopyFrom(const DivePacket_Measurements &from)
boost::units::length_dimension mean_depth_dimension
DivePacket_Measurements()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
friend void swap(DivePacket_Measurements &a, DivePacket_Measurements &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR DivePacket_Measurements(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void CopyFrom(const DivePacket_SubsurfaceCurrentVector &from)
Quantity heading_with_units() const
void Swap(DivePacket_SubsurfaceCurrentVector *other)
DivePacket_SubsurfaceCurrentVector(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const DivePacket_SubsurfaceCurrentVector * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::plane_angle_dimension heading_dimension
boost::units::quantity< heading_unit, double > heading_with_units() const
boost::units::unit< velocity_dimension, boost::units::si::system > velocity_unit
DivePacket_SubsurfaceCurrentVector(const DivePacket_SubsurfaceCurrentVector &from)
DivePacket_SubsurfaceCurrentVector * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::velocity_dimension velocity_dimension
friend void swap(DivePacket_SubsurfaceCurrentVector &a, DivePacket_SubsurfaceCurrentVector &b)
PROTOBUF_CONSTEXPR DivePacket_SubsurfaceCurrentVector(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ClassData _class_data_
boost::units::quantity< velocity_unit, double > velocity_with_units() const
Quantity velocity_with_units() const
DivePacket_SubsurfaceCurrentVector & operator=(DivePacket_SubsurfaceCurrentVector &&from) noexcept
~DivePacket_SubsurfaceCurrentVector() override
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(DivePacket_SubsurfaceCurrentVector *other)
DivePacket_SubsurfaceCurrentVector(DivePacket_SubsurfaceCurrentVector &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const DivePacket_SubsurfaceCurrentVector & default_instance()
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
DivePacket_SubsurfaceCurrentVector & operator=(const DivePacket_SubsurfaceCurrentVector &from)
void MergeFrom(const DivePacket_SubsurfaceCurrentVector &from)
void set_heading_with_units(Quantity value_w_units)
DivePacket_SubsurfaceCurrentVector()
void set_velocity_with_units(Quantity value_w_units)
boost::units::quantity< dive_rate_unit, double > dive_rate_with_units() const
void Swap(DivePacket *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const DivePacket * internal_default_instance()
DivePacket(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void clear_start_location()
void set_dive_rate_with_units(Quantity value_w_units)
boost::units::quantity< powered_rise_rate_unit, double > powered_rise_rate_with_units() const
DivePacket * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::unit< duration_to_acquire_gps_dimension, boost::units::si::system > duration_to_acquire_gps_unit
Quantity duration_to_acquire_gps_with_units() const
void set_max_acceleration_with_units(Quantity value_w_units)
DivePacket(const DivePacket &from)
DivePacket & operator=(DivePacket &&from) noexcept
boost::units::acceleration_dimension max_acceleration_dimension
void set_unpowered_rise_rate_with_units(Quantity value_w_units)
void set_depth_achieved_with_units(Quantity value_w_units)
static bool BottomType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BottomType *value)
static const ClassData _class_data_
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
boost::units::length_dimension depth_achieved_dimension
Quantity dive_rate_with_units() const
boost::units::unit< max_acceleration_dimension, boost::units::si::system > max_acceleration_unit
boost::units::unit< dive_rate_dimension, boost::units::si::system > dive_rate_unit
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type duration_to_acquire_gps_dimension
void CopyFrom(const DivePacket &from)
static const DivePacket & default_instance()
boost::units::unit< unpowered_rise_rate_dimension, boost::units::si::system > unpowered_rise_rate_unit
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::unit< powered_rise_rate_dimension, boost::units::si::system > powered_rise_rate_unit
static const std::string & BottomType_Name(T enum_t_value)
boost::units::quantity< depth_achieved_unit, double > depth_achieved_with_units() const
boost::units::quantity< unpowered_rise_rate_unit, double > unpowered_rise_rate_with_units() const
void MergeFrom(const DivePacket &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::velocity_dimension unpowered_rise_rate_dimension
void UnsafeArenaSwap(DivePacket *other)
boost::units::quantity< max_acceleration_unit, double > max_acceleration_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * BottomType_descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
DivePacket(DivePacket &&from) noexcept
friend void swap(DivePacket &a, DivePacket &b)
Quantity unpowered_rise_rate_with_units() const
boost::units::quantity< duration_to_acquire_gps_unit, double > duration_to_acquire_gps_with_units() const
DivePacket & operator=(const DivePacket &from)
Quantity max_acceleration_with_units() const
void set_powered_rise_rate_with_units(Quantity value_w_units)
Quantity powered_rise_rate_with_units() const
void set_duration_to_acquire_gps_with_units(Quantity value_w_units)
boost::units::velocity_dimension dive_rate_dimension
PROTOBUF_CONSTEXPR DivePacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Quantity depth_achieved_with_units() const
boost::units::unit< depth_achieved_dimension, boost::units::si::system > depth_achieved_unit
boost::units::velocity_dimension powered_rise_rate_dimension
void set_heading_with_units(Quantity value_w_units)
DriftPacket_EstimatedDrift(DriftPacket_EstimatedDrift &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
DriftPacket_EstimatedDrift & operator=(const DriftPacket_EstimatedDrift &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ClassData _class_data_
DriftPacket_EstimatedDrift & operator=(DriftPacket_EstimatedDrift &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::quantity< heading_unit, double > heading_with_units() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Quantity heading_with_units() const
friend void swap(DriftPacket_EstimatedDrift &a, DriftPacket_EstimatedDrift &b)
boost::units::quantity< speed_unit, double > speed_with_units() const
static const DriftPacket_EstimatedDrift * internal_default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
DriftPacket_EstimatedDrift(const DriftPacket_EstimatedDrift &from)
PROTOBUF_CONSTEXPR DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::velocity_dimension speed_dimension
DriftPacket_EstimatedDrift()
void CopyFrom(const DriftPacket_EstimatedDrift &from)
Quantity speed_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void MergeFrom(const DriftPacket_EstimatedDrift &from)
boost::units::unit< speed_dimension, boost::units::si::system > speed_unit
boost::units::plane_angle_dimension heading_dimension
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
static const DriftPacket_EstimatedDrift & default_instance()
~DriftPacket_EstimatedDrift() override
DriftPacket_EstimatedDrift(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void Swap(DriftPacket_EstimatedDrift *other)
void UnsafeArenaSwap(DriftPacket_EstimatedDrift *other)
void set_speed_with_units(Quantity value_w_units)
DriftPacket_EstimatedDrift * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const DriftPacket * internal_default_instance()
void clear_end_location()
DriftPacket & operator=(DriftPacket &&from) noexcept
DriftPacket(const DriftPacket &from)
void Swap(DriftPacket *other)
PROTOBUF_CONSTEXPR DriftPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Quantity significant_wave_height_with_units() const
void set_significant_wave_height_with_units(Quantity value_w_units)
boost::units::quantity< significant_wave_height_unit, double > significant_wave_height_with_units() const
DriftPacket * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
DriftPacket(DriftPacket &&from) noexcept
void set_drift_duration_with_units(Quantity value_w_units)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
DriftPacket & operator=(const DriftPacket &from)
friend void swap(DriftPacket &a, DriftPacket &b)
boost::units::length_dimension significant_wave_height_dimension
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void UnsafeArenaSwap(DriftPacket *other)
static const ClassData _class_data_
boost::units::unit< significant_wave_height_dimension, boost::units::si::system > significant_wave_height_unit
void clear_start_location()
void CopyFrom(const DriftPacket &from)
void MergeFrom(const DriftPacket &from)
boost::units::unit< drift_duration_dimension, boost::units::si::system > drift_duration_unit
boost::units::quantity< drift_duration_unit, google::protobuf::int32 > drift_duration_with_units() const
DriftPacket(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const DriftPacket & default_instance()
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type drift_duration_dimension
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Quantity drift_duration_with_units() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_CONSTEXPR Hub2HubData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Quantity time_with_units() const
Hub2HubData(Hub2HubData &&from) noexcept
Hub2HubData(const Hub2HubData &from)
boost::units::time_dimension time_dimension
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
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
friend void swap(Hub2HubData &a, Hub2HubData &b)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Hub2HubData * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_allocated_bot_status(::jaiabot::protobuf::BotStatus *bot_status)
void MergeFrom(const Hub2HubData &from)
void set_allocated_hub_status(::jaiabot::protobuf::HubStatus *hub_status)
Hub2HubData(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_allocated_command_comms_result(::jaiabot::protobuf::CommandCommsResult *command_comms_result)
Hub2HubData & operator=(const Hub2HubData &from)
void Swap(Hub2HubData *other)
static const ClassData _class_data_
void set_allocated_task_packet(::jaiabot::protobuf::TaskPacket *task_packet)
void set_allocated_command_for_bot(::jaiabot::protobuf::Command *command_for_bot)
static const Hub2HubData * internal_default_instance()
static const Hub2HubData & default_instance()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Hub2HubData & operator=(Hub2HubData &&from) noexcept
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
void UnsafeArenaSwap(Hub2HubData *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void CopyFrom(const Hub2HubData &from)
void set_time_with_units(Quantity value_w_units)
boost::units::time_dimension end_time_dimension
boost::units::make_scaled_unit< boost::units::unit< mission_command_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type mission_command_time_unit
Quantity start_time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
TaskPacket & operator=(TaskPacket &&from) noexcept
boost::units::quantity< end_time_unit, google::protobuf::uint64 > end_time_with_units() const
void set_mission_command_time_with_units(Quantity value_w_units)
Quantity mission_command_time_with_units() const
Quantity end_time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::time_dimension mission_command_time_dimension
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
TaskPacket(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_CONSTEXPR TaskPacket(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_mission_name(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
TaskPacket(const TaskPacket &from)
void MergeFrom(const TaskPacket &from)
static const TaskPacket * internal_default_instance()
boost::units::quantity< start_time_unit, google::protobuf::uint64 > start_time_with_units() const
friend void swap(TaskPacket &a, TaskPacket &b)
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
boost::units::quantity< mission_command_time_unit, google::protobuf::uint64 > mission_command_time_with_units() 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
static const ClassData _class_data_
static const TaskPacket & default_instance()
void Swap(TaskPacket *other)
void UnsafeArenaSwap(TaskPacket *other)
void CopyFrom(const TaskPacket &from)
TaskPacket * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_end_time_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
TaskPacket(TaskPacket &&from) noexcept
boost::units::time_dimension start_time_dimension
void set_start_time_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
TaskPacket & operator=(const TaskPacket &from)
PROTOBUF_NAMESPACE_OPEN ::jaiabot::protobuf::GeographicCoordinate * Arena::CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate >(Arena *)
::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector * Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket_SubsurfaceCurrentVector >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::DivePacket_BottomType >()
::jaiabot::protobuf::DriftPacket * Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::CommandCommsResult_CommsResult >()
::jaiabot::protobuf::DivePacket * Arena::CreateMaybeMessage<::jaiabot::protobuf::DivePacket >(Arena *)
::jaiabot::protobuf::Command * Arena::CreateMaybeMessage<::jaiabot::protobuf::Command >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::Command_CommandType >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
::jaiabot::protobuf::BotStatus_Attitude * Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude >(Arena *)
::jaiabot::protobuf::DriftPacket_EstimatedDrift * Arena::CreateMaybeMessage<::jaiabot::protobuf::DriftPacket_EstimatedDrift >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::BotStatus_BotType >()
::jaiabot::protobuf::BotStatus_Speed * Arena::CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed >(Arena *)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::CommandForHub_HubCommandType >()
MissionTaskDefaultTypeInternal _MissionTask_default_instance_
constexpr Command_CommandType Command_CommandType_CommandType_MAX
bool BotStatus_BotType_IsValid(int value)
constexpr DivePacket_BottomType DivePacket_BottomType_BottomType_MAX
BotStatus_SpeedDefaultTypeInternal _BotStatus_Speed_default_instance_
bool CommandForHub_HubCommandType_IsValid(int value)
BotStatus_ActiveLinkDefaultTypeInternal _BotStatus_ActiveLink_default_instance_
constexpr CommandCommsResult_CommsResult CommandCommsResult_CommsResult_CommsResult_MAX
constexpr int CommandCommsResult_CommsResult_CommsResult_ARRAYSIZE
constexpr int CommandForHub_HubCommandType_HubCommandType_ARRAYSIZE
constexpr int DivePacket_BottomType_BottomType_ARRAYSIZE
constexpr BotStatus_BotType BotStatus_BotType_BotType_MAX
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CommandForHub_HubCommandType_descriptor()
MissionPlanDefaultTypeInternal _MissionPlan_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CommandCommsResult_CommsResult_descriptor()
bool Command_CommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Command_CommandType *value)
constexpr CommandCommsResult_CommsResult CommandCommsResult_CommsResult_CommsResult_MIN
bool DivePacket_BottomType_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * DivePacket_BottomType_descriptor()
Hub2HubDataDefaultTypeInternal _Hub2HubData_default_instance_
@ BotStatus_BotType_HYDRO
bool BotStatus_BotType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, BotStatus_BotType *value)
bool Error_IsValid(int value)
bool CommandCommsResult_CommsResult_IsValid(int value)
const std::string & CommandCommsResult_CommsResult_Name(T enum_t_value)
const std::string & BotStatus_BotType_Name(T enum_t_value)
constexpr int Command_CommandType_CommandType_ARRAYSIZE
DriftPacket_EstimatedDriftDefaultTypeInternal _DriftPacket_EstimatedDrift_default_instance_
bool CommandCommsResult_CommsResult_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandCommsResult_CommsResult *value)
constexpr CommandForHub_HubCommandType CommandForHub_HubCommandType_HubCommandType_MAX
bool DivePacket_BottomType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DivePacket_BottomType *value)
DivePacket_SubsurfaceCurrentVectorDefaultTypeInternal _DivePacket_SubsurfaceCurrentVector_default_instance_
TaskPacketDefaultTypeInternal _TaskPacket_default_instance_
RemoteControlDefaultTypeInternal _RemoteControl_default_instance_
bool CommandForHub_HubCommandType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommandForHub_HubCommandType *value)
const std::string & Command_CommandType_Name(T enum_t_value)
ContactUpdateDefaultTypeInternal _ContactUpdate_default_instance_
CommandCommsResultDefaultTypeInternal _CommandCommsResult_default_instance_
const std::string & DivePacket_BottomType_Name(T enum_t_value)
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
@ CommandForHub_HubCommandType_CTD_DATA_OFFLOAD
@ DivePacket_BottomType_HARD
@ DivePacket_BottomType_SOFT
CommandDefaultTypeInternal _Command_default_instance_
DivePacket_MeasurementsDefaultTypeInternal _DivePacket_Measurements_default_instance_
constexpr int BotStatus_BotType_BotType_ARRAYSIZE
DivePacketDefaultTypeInternal _DivePacket_default_instance_
bool MissionTask_TaskType_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * BotStatus_BotType_descriptor()
DriftPacketDefaultTypeInternal _DriftPacket_default_instance_
bool Link_IsValid(int value)
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
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Command_CommandType_descriptor()
const std::string & CommandForHub_HubCommandType_Name(T enum_t_value)
constexpr BotStatus_BotType BotStatus_BotType_BotType_MIN
CommandCommsResult_CommsResult
@ CommandCommsResult_CommsResult_FAILURE
@ CommandCommsResult_CommsResult_SUCCESS
BotStatusDefaultTypeInternal _BotStatus_default_instance_
bool Command_CommandType_IsValid(int value)
bool Warning_IsValid(int value)
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_
HubStatusDefaultTypeInternal _HubStatus_default_instance_
constexpr Command_CommandType Command_CommandType_CommandType_MIN
static const uint32_t offsets[]
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_
constexpr CommandDataUnion()
::jaiabot::protobuf::MissionPlan * plan_
::jaiabot::protobuf::MissionTask * rc_task_
::jaiabot::protobuf::RemoteControl * rc_
::jaiabot::protobuf::HubStatus * hub_status_
::jaiabot::protobuf::TaskPacket * task_packet_
constexpr ContentsUnion()
::jaiabot::protobuf::BotStatus * bot_status_
::jaiabot::protobuf::Command * command_for_bot_
::jaiabot::protobuf::CommandCommsResult * command_comms_result_
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_