4 #ifndef PROTOBUF_INCLUDED_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
5 #define PROTOBUF_INCLUDED_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.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>
34 #include "dccl/option_extensions.pb.h"
38 #include "goby/middleware/protobuf/coroner.pb.h"
43 #include <boost/units/quantity.hpp>
44 #include <boost/units/absolute.hpp>
45 #include <boost/units/dimensionless_type.hpp>
46 #include <boost/units/make_scaled_unit.hpp>
48 #include <boost/units/systems/angle/degrees.hpp>
50 #include <boost/units/systems/temperature/celsius.hpp>
52 #include <boost/units/systems/si.hpp>
54 #define PROTOBUF_INTERNAL_EXPORT_protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
59 static const ::google::protobuf::internal::ParseTableField
entries[];
60 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
61 static const ::google::protobuf::internal::ParseTable
schema[11];
64 static const ::google::protobuf::uint32
offsets[];
71 class BotStatusDefaultTypeInternal;
73 class BotStatus_Attitude;
74 class BotStatus_AttitudeDefaultTypeInternal;
76 class BotStatus_Speed;
77 class BotStatus_SpeedDefaultTypeInternal;
80 class CommandDefaultTypeInternal;
83 class CommandForHubDefaultTypeInternal;
86 class ContactUpdateDefaultTypeInternal;
89 class DivePacketDefaultTypeInternal;
91 class DivePacket_Measurements;
92 class DivePacket_MeasurementsDefaultTypeInternal;
95 class DriftPacketDefaultTypeInternal;
97 class DriftPacket_EstimatedDrift;
98 class DriftPacket_EstimatedDriftDefaultTypeInternal;
101 class TaskPacketDefaultTypeInternal;
152 return ::google::protobuf::internal::NameOfEnum(
157 return ::google::protobuf::internal::ParseNamedEnum<Command_CommandType>(
174 return ::google::protobuf::internal::NameOfEnum(
179 return ::google::protobuf::internal::ParseNamedEnum<CommandForHub_HubCommandType>(
193 return ::google::protobuf::internal::NameOfEnum(
198 return ::google::protobuf::internal::ParseNamedEnum<BotStatus_BotType>(
212 return ::google::protobuf::internal::NameOfEnum(
217 return ::google::protobuf::internal::ParseNamedEnum<DivePacket_BottomType>(
222 class Command :
public ::google::protobuf::Message {
236 *
this = ::std::move(from);
240 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
241 if (
this != &from) InternalSwap(&from);
249 return _internal_metadata_.unknown_fields();
252 return _internal_metadata_.mutable_unknown_fields();
255 static const ::google::protobuf::Descriptor*
descriptor();
267 return reinterpret_cast<const Command*
>(
281 return CreateMaybeMessage<Command>(NULL);
285 return CreateMaybeMessage<Command>(arena);
287 void CopyFrom(const ::google::protobuf::Message& from)
final;
288 void MergeFrom(const ::google::protobuf::Message& from)
final;
296 ::
google::protobuf::io::CodedInputStream* input) final;
298 ::
google::protobuf::io::CodedOutputStream* output) const final;
300 bool deterministic, ::
google::protobuf::uint8* target) const final;
306 void SetCachedSize(
int size)
const final;
307 void InternalSwap(
Command* other);
309 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
312 inline void* MaybeArenaPtr()
const {
317 ::google::protobuf::Metadata
GetMetadata() const final;
371 static inline const ::google::protobuf::EnumDescriptor*
389 ::google::protobuf::uint64
time()
const;
390 void set_time(::google::protobuf::uint64 value);
396 ::google::protobuf::uint32
bot_id()
const;
397 void set_bot_id(::google::protobuf::uint32 value);
418 const ::jaiabot::protobuf::MissionPlan& _internal_plan()
const;
420 const ::jaiabot::protobuf::MissionPlan&
plan()
const;
430 const ::jaiabot::protobuf::RemoteControl& _internal_rc()
const;
432 const ::jaiabot::protobuf::RemoteControl&
rc()
const;
442 const ::jaiabot::protobuf::MissionTask& _internal_rc_task()
const;
444 const ::jaiabot::protobuf::MissionTask&
rc_task()
const;
454 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;
456 template<
typename Quantity >
458 {
set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
460 template<
typename Quantity >
465 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
469 void set_has_bot_id();
470 void clear_has_bot_id();
472 void clear_has_time();
474 void clear_has_link();
476 void clear_has_type();
479 void set_has_rc_task();
481 inline bool has_command_data()
const;
482 inline void clear_has_command_data();
485 size_t RequiredFieldsByteSizeFallback()
const;
487 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
488 ::google::protobuf::internal::HasBits<1> _has_bits_;
489 mutable ::google::protobuf::internal::CachedSize _cached_size_;
490 ::google::protobuf::uint64 time_;
491 ::google::protobuf::uint32 bot_id_;
494 union CommandDataUnion {
495 CommandDataUnion() {}
500 ::google::protobuf::uint32 _oneof_case_[1];
502 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
520 *
this = ::std::move(from);
524 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
525 if (
this != &from) InternalSwap(&from);
533 return _internal_metadata_.unknown_fields();
536 return _internal_metadata_.mutable_unknown_fields();
539 static const ::google::protobuf::Descriptor*
descriptor();
558 return CreateMaybeMessage<CommandForHub>(NULL);
562 return CreateMaybeMessage<CommandForHub>(arena);
564 void CopyFrom(const ::google::protobuf::Message& from)
final;
565 void MergeFrom(const ::google::protobuf::Message& from)
final;
573 ::
google::protobuf::io::CodedInputStream* input) final;
575 ::
google::protobuf::io::CodedOutputStream* output) const final;
577 bool deterministic, ::
google::protobuf::uint8* target) const final;
583 void SetCachedSize(
int size)
const final;
586 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
589 inline void* MaybeArenaPtr()
const {
594 ::google::protobuf::Metadata
GetMetadata() const final;
618 static inline const ::google::protobuf::EnumDescriptor*
637 const ::jaiabot::protobuf::GeographicCoordinate& _internal_hub_location()
const;
639 const ::jaiabot::protobuf::GeographicCoordinate&
hub_location()
const;
648 ::google::protobuf::uint64
time()
const;
649 void set_time(::google::protobuf::uint64 value);
655 ::google::protobuf::uint32
hub_id()
const;
656 void set_hub_id(::google::protobuf::uint32 value);
674 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;
676 template<
typename Quantity >
678 {
set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
680 template<
typename Quantity >
685 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
689 void set_has_hub_id();
690 void clear_has_hub_id();
692 void clear_has_time();
694 void clear_has_type();
695 void set_has_scan_for_bot_id();
696 void clear_has_scan_for_bot_id();
697 void set_has_hub_location();
698 void clear_has_hub_location();
701 size_t RequiredFieldsByteSizeFallback()
const;
703 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
704 ::google::protobuf::internal::HasBits<1> _has_bits_;
705 mutable ::google::protobuf::internal::CachedSize _cached_size_;
707 ::google::protobuf::uint64 time_;
708 ::google::protobuf::uint32 hub_id_;
709 ::google::protobuf::uint32 scan_for_bot_id_;
711 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
729 *
this = ::std::move(from);
733 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
734 if (
this != &from) InternalSwap(&from);
742 return _internal_metadata_.unknown_fields();
745 return _internal_metadata_.mutable_unknown_fields();
748 static const ::google::protobuf::Descriptor*
descriptor();
767 return CreateMaybeMessage<BotStatus_Attitude>(NULL);
771 return CreateMaybeMessage<BotStatus_Attitude>(arena);
773 void CopyFrom(const ::google::protobuf::Message& from)
final;
774 void MergeFrom(const ::google::protobuf::Message& from)
final;
782 ::
google::protobuf::io::CodedInputStream* input) final;
784 ::
google::protobuf::io::CodedOutputStream* output) const final;
786 bool deterministic, ::
google::protobuf::uint8* target) const final;
792 void SetCachedSize(
int size)
const final;
795 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
798 inline void* MaybeArenaPtr()
const {
803 ::google::protobuf::Metadata
GetMetadata() const final;
820 double pitch() const;
841 template<typename Quantity >
843 {
set_roll(boost::units::quantity<roll_unit,double >(value_w_units).value() ); };
845 template<
typename Quantity >
850 {
return roll_with_units<boost::units::quantity< roll_unit,double > >(); };
854 typedef boost::units::unit<pitch_dimension,boost::units::degree::system>
pitch_unit;
856 template<
typename Quantity >
858 {
set_pitch(boost::units::quantity<pitch_unit,double >(value_w_units).value() ); };
860 template<
typename Quantity >
865 {
return pitch_with_units<boost::units::quantity< pitch_unit,double > >(); };
869 typedef boost::units::unit<heading_dimension,boost::units::degree::system>
heading_unit;
871 template<
typename Quantity >
873 {
set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
875 template<
typename Quantity >
880 {
return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
886 template<
typename Quantity >
888 {
set_course_over_ground(boost::units::quantity<course_over_ground_unit,double >(value_w_units).value() ); };
890 template<
typename Quantity >
895 {
return course_over_ground_with_units<boost::units::quantity< course_over_ground_unit,double > >(); };
900 void clear_has_roll();
901 void set_has_pitch();
902 void clear_has_pitch();
903 void set_has_heading();
904 void clear_has_heading();
905 void set_has_course_over_ground();
906 void clear_has_course_over_ground();
908 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
909 ::google::protobuf::internal::HasBits<1> _has_bits_;
910 mutable ::google::protobuf::internal::CachedSize _cached_size_;
914 double course_over_ground_;
915 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
933 *
this = ::std::move(from);
937 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
938 if (
this != &from) InternalSwap(&from);
946 return _internal_metadata_.unknown_fields();
949 return _internal_metadata_.mutable_unknown_fields();
952 static const ::google::protobuf::Descriptor*
descriptor();
971 return CreateMaybeMessage<BotStatus_Speed>(NULL);
975 return CreateMaybeMessage<BotStatus_Speed>(arena);
977 void CopyFrom(const ::google::protobuf::Message& from)
final;
978 void MergeFrom(const ::google::protobuf::Message& from)
final;
986 ::
google::protobuf::io::CodedInputStream* input) final;
988 ::
google::protobuf::io::CodedOutputStream* output) const final;
990 bool deterministic, ::
google::protobuf::uint8* target) const final;
996 void SetCachedSize(
int size)
const final;
999 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1002 inline void* MaybeArenaPtr()
const {
1007 ::google::protobuf::Metadata
GetMetadata() const final;
1031 template<typename Quantity >
1033 {
set_over_ground(boost::units::quantity<over_ground_unit,double >(value_w_units).value() ); };
1035 template<
typename Quantity >
1040 {
return over_ground_with_units<boost::units::quantity< over_ground_unit,double > >(); };
1044 typedef boost::units::unit<over_water_dimension,boost::units::si::system>
over_water_unit;
1046 template<
typename Quantity >
1048 {
set_over_water(boost::units::quantity<over_water_unit,double >(value_w_units).value() ); };
1050 template<
typename Quantity >
1055 {
return over_water_with_units<boost::units::quantity< over_water_unit,double > >(); };
1059 void set_has_over_ground();
1060 void clear_has_over_ground();
1061 void set_has_over_water();
1062 void clear_has_over_water();
1064 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1065 ::google::protobuf::internal::HasBits<1> _has_bits_;
1066 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1067 double over_ground_;
1069 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
1087 *
this = ::std::move(from);
1091 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1092 if (
this != &from) InternalSwap(&from);
1100 return _internal_metadata_.unknown_fields();
1103 return _internal_metadata_.mutable_unknown_fields();
1106 static const ::google::protobuf::Descriptor*
descriptor();
1111 return reinterpret_cast<const BotStatus*
>(
1125 return CreateMaybeMessage<BotStatus>(NULL);
1129 return CreateMaybeMessage<BotStatus>(arena);
1131 void CopyFrom(const ::google::protobuf::Message& from)
final;
1132 void MergeFrom(const ::google::protobuf::Message& from)
final;
1140 ::
google::protobuf::io::CodedInputStream* input) final;
1142 ::
google::protobuf::io::CodedOutputStream* output) const final;
1144 bool deterministic, ::
google::protobuf::uint8* target) const final;
1150 void SetCachedSize(
int size)
const final;
1153 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1156 inline void* MaybeArenaPtr()
const {
1161 ::google::protobuf::Metadata
GetMetadata() const final;
1182 static inline const ::google::protobuf::EnumDescriptor*
1203 const ::google::protobuf::RepeatedField<int>&
error()
const;
1213 const ::google::protobuf::RepeatedField<int>&
warning()
const;
1221 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location()
const;
1223 const ::jaiabot::protobuf::GeographicCoordinate&
location()
const;
1233 const ::jaiabot::protobuf::BotStatus_Attitude& _internal_attitude()
const;
1235 const ::jaiabot::protobuf::BotStatus_Attitude&
attitude()
const;
1245 const ::jaiabot::protobuf::BotStatus_Speed& _internal_speed()
const;
1247 const ::jaiabot::protobuf::BotStatus_Speed&
speed()
const;
1256 ::google::protobuf::uint64
time()
const;
1257 void set_time(::google::protobuf::uint64 value);
1270 double depth()
const;
1277 ::google::protobuf::uint32
bot_id()
const;
1278 void set_bot_id(::google::protobuf::uint32 value);
1354 double hdop()
const;
1361 double pdop()
const;
1375 ::goby::middleware::protobuf::HealthState
health_state()
const;
1402 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;
1404 template<
typename Quantity >
1406 {
set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1408 template<
typename Quantity >
1413 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
1417 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;
1419 template<
typename Quantity >
1421 {
set_last_command_time(boost::units::quantity<last_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1423 template<
typename Quantity >
1428 {
return last_command_time_with_units<boost::units::quantity< last_command_time_unit,google::protobuf::uint64 > >(); };
1432 typedef boost::units::unit<depth_dimension,boost::units::si::system>
depth_unit;
1434 template<
typename Quantity >
1436 {
set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
1438 template<
typename Quantity >
1443 {
return depth_with_units<boost::units::quantity< depth_unit,double > >(); };
1449 template<
typename Quantity >
1453 template<
typename Quantity >
1458 {
return distance_to_active_goal_with_units<boost::units::quantity< distance_to_active_goal_unit,double > >(); };
1464 template<
typename Quantity >
1466 {
set_active_goal_timeout(boost::units::quantity<active_goal_timeout_unit,google::protobuf::uint32 >(value_w_units).value() ); };
1468 template<
typename Quantity >
1473 {
return active_goal_timeout_with_units<boost::units::quantity< active_goal_timeout_unit,google::protobuf::uint32 > >(); };
1477 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> >
temperature_unit;
1479 template<
typename Quantity >
1481 {
set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
1483 template<
typename Quantity >
1488 {
return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
1492 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;
1494 template<
typename Quantity >
1496 {
set_received_time(boost::units::quantity<received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1498 template<
typename Quantity >
1503 {
return received_time_with_units<boost::units::quantity< received_time_unit,google::protobuf::uint64 > >(); };
1507 void set_has_bot_id();
1508 void clear_has_bot_id();
1509 void set_has_time();
1510 void clear_has_time();
1511 void set_has_last_command_time();
1512 void clear_has_last_command_time();
1513 void set_has_health_state();
1514 void clear_has_health_state();
1515 void set_has_bot_type();
1516 void clear_has_bot_type();
1517 void set_has_link();
1518 void clear_has_link();
1519 void set_has_location();
1520 void clear_has_location();
1521 void set_has_depth();
1522 void clear_has_depth();
1523 void set_has_attitude();
1524 void clear_has_attitude();
1525 void set_has_speed();
1526 void clear_has_speed();
1527 void set_has_mission_state();
1528 void clear_has_mission_state();
1529 void set_has_active_goal();
1530 void clear_has_active_goal();
1531 void set_has_distance_to_active_goal();
1532 void clear_has_distance_to_active_goal();
1533 void set_has_active_goal_timeout();
1534 void clear_has_active_goal_timeout();
1535 void set_has_repeat_index();
1536 void clear_has_repeat_index();
1537 void set_has_salinity();
1538 void clear_has_salinity();
1539 void set_has_temperature();
1540 void clear_has_temperature();
1541 void set_has_battery_percent();
1542 void clear_has_battery_percent();
1543 void set_has_calibration_status();
1544 void clear_has_calibration_status();
1545 void set_has_calibration_state();
1546 void clear_has_calibration_state();
1547 void set_has_hdop();
1548 void clear_has_hdop();
1549 void set_has_pdop();
1550 void clear_has_pdop();
1551 void set_has_wifi_link_quality_percentage();
1552 void clear_has_wifi_link_quality_percentage();
1553 void set_has_received_time();
1554 void clear_has_received_time();
1557 size_t RequiredFieldsByteSizeFallback()
const;
1559 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1560 ::google::protobuf::internal::HasBits<1> _has_bits_;
1561 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1562 ::google::protobuf::RepeatedField<int> error_;
1563 ::google::protobuf::RepeatedField<int> warning_;
1567 ::google::protobuf::uint64 time_;
1568 ::google::protobuf::uint64 last_command_time_;
1570 ::google::protobuf::uint32 bot_id_;
1572 ::google::protobuf::int32 wifi_link_quality_percentage_;
1573 double distance_to_active_goal_;
1574 ::google::protobuf::int32 active_goal_;
1575 ::google::protobuf::uint32 active_goal_timeout_;
1576 ::google::protobuf::int32 repeat_index_;
1577 ::google::protobuf::int32 calibration_status_;
1579 double temperature_;
1580 double battery_percent_;
1583 ::google::protobuf::uint64 received_time_;
1587 int calibration_state_;
1588 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
1606 *
this = ::std::move(from);
1610 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1611 if (
this != &from) InternalSwap(&from);
1619 return _internal_metadata_.unknown_fields();
1622 return _internal_metadata_.mutable_unknown_fields();
1625 static const ::google::protobuf::Descriptor*
descriptor();
1644 return CreateMaybeMessage<DriftPacket_EstimatedDrift>(NULL);
1648 return CreateMaybeMessage<DriftPacket_EstimatedDrift>(arena);
1650 void CopyFrom(const ::google::protobuf::Message& from)
final;
1651 void MergeFrom(const ::google::protobuf::Message& from)
final;
1659 ::
google::protobuf::io::CodedInputStream* input) final;
1661 ::
google::protobuf::io::CodedOutputStream* output) const final;
1663 bool deterministic, ::
google::protobuf::uint8* target) const final;
1669 void SetCachedSize(
int size)
const final;
1672 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1675 inline void* MaybeArenaPtr()
const {
1680 ::google::protobuf::Metadata
GetMetadata() const final;
1690 double speed() const;
1704 template<typename Quantity >
1706 {
set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
1708 template<
typename Quantity >
1713 {
return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
1717 typedef boost::units::unit<heading_dimension,boost::units::degree::system>
heading_unit;
1719 template<
typename Quantity >
1721 {
set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
1723 template<
typename Quantity >
1728 {
return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
1732 void set_has_speed();
1733 void clear_has_speed();
1734 void set_has_heading();
1735 void clear_has_heading();
1737 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1738 ::google::protobuf::internal::HasBits<1> _has_bits_;
1739 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1742 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
1760 *
this = ::std::move(from);
1764 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1765 if (
this != &from) InternalSwap(&from);
1773 return _internal_metadata_.unknown_fields();
1776 return _internal_metadata_.mutable_unknown_fields();
1779 static const ::google::protobuf::Descriptor*
descriptor();
1798 return CreateMaybeMessage<DriftPacket>(NULL);
1802 return CreateMaybeMessage<DriftPacket>(arena);
1804 void CopyFrom(const ::google::protobuf::Message& from)
final;
1805 void MergeFrom(const ::google::protobuf::Message& from)
final;
1813 ::
google::protobuf::io::CodedInputStream* input) final;
1815 ::
google::protobuf::io::CodedOutputStream* output) const final;
1817 bool deterministic, ::
google::protobuf::uint8* target) const final;
1823 void SetCachedSize(
int size)
const final;
1826 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1829 inline void* MaybeArenaPtr()
const {
1834 ::google::protobuf::Metadata
GetMetadata() const final;
1896 template<typename Quantity >
1898 {
set_drift_duration(boost::units::quantity<drift_duration_unit,google::protobuf::int32 >(value_w_units).value() ); };
1900 template<
typename Quantity >
1905 {
return drift_duration_with_units<boost::units::quantity< drift_duration_unit,google::protobuf::int32 > >(); };
1911 template<
typename Quantity >
1915 template<
typename Quantity >
1920 {
return significant_wave_height_with_units<boost::units::quantity< significant_wave_height_unit,double > >(); };
1924 void set_has_drift_duration();
1925 void clear_has_drift_duration();
1926 void set_has_estimated_drift();
1927 void clear_has_estimated_drift();
1928 void set_has_start_location();
1929 void clear_has_start_location();
1930 void set_has_end_location();
1931 void clear_has_end_location();
1932 void set_has_significant_wave_height();
1933 void clear_has_significant_wave_height();
1935 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1936 ::google::protobuf::internal::HasBits<1> _has_bits_;
1937 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1941 ::google::protobuf::int32 drift_duration_;
1942 double significant_wave_height_;
1943 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
1961 *
this = ::std::move(from);
1965 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1966 if (
this != &from) InternalSwap(&from);
1974 return _internal_metadata_.unknown_fields();
1977 return _internal_metadata_.mutable_unknown_fields();
1980 static const ::google::protobuf::Descriptor*
descriptor();
1999 return CreateMaybeMessage<DivePacket_Measurements>(NULL);
2003 return CreateMaybeMessage<DivePacket_Measurements>(arena);
2005 void CopyFrom(const ::google::protobuf::Message& from)
final;
2006 void MergeFrom(const ::google::protobuf::Message& from)
final;
2014 ::
google::protobuf::io::CodedInputStream* input) final;
2016 ::
google::protobuf::io::CodedOutputStream* output) const final;
2018 bool deterministic, ::
google::protobuf::uint8* target) const final;
2024 void SetCachedSize(
int size)
const final;
2027 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2030 inline void* MaybeArenaPtr()
const {
2035 ::google::protobuf::Metadata
GetMetadata() const final;
2066 template<typename Quantity >
2068 {
set_mean_depth(boost::units::quantity<mean_depth_unit,double >(value_w_units).value() ); };
2070 template<
typename Quantity >
2075 {
return mean_depth_with_units<boost::units::quantity< mean_depth_unit,double > >(); };
2079 typedef boost::units::absolute<boost::units::unit<mean_temperature_dimension,boost::units::celsius::system> >
mean_temperature_unit;
2081 template<
typename Quantity >
2083 {
set_mean_temperature(boost::units::quantity<mean_temperature_unit,double >(value_w_units).value() ); };
2085 template<
typename Quantity >
2090 {
return mean_temperature_with_units<boost::units::quantity< mean_temperature_unit,double > >(); };
2094 void set_has_mean_depth();
2095 void clear_has_mean_depth();
2096 void set_has_mean_temperature();
2097 void clear_has_mean_temperature();
2098 void set_has_mean_salinity();
2099 void clear_has_mean_salinity();
2101 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2102 ::google::protobuf::internal::HasBits<1> _has_bits_;
2103 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2105 double mean_temperature_;
2106 double mean_salinity_;
2107 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
2125 *
this = ::std::move(from);
2129 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2130 if (
this != &from) InternalSwap(&from);
2138 return _internal_metadata_.unknown_fields();
2141 return _internal_metadata_.mutable_unknown_fields();
2144 static const ::google::protobuf::Descriptor*
descriptor();
2163 return CreateMaybeMessage<DivePacket>(NULL);
2167 return CreateMaybeMessage<DivePacket>(arena);
2169 void CopyFrom(const ::google::protobuf::Message& from)
final;
2170 void MergeFrom(const ::google::protobuf::Message& from)
final;
2178 ::
google::protobuf::io::CodedInputStream* input) final;
2180 ::
google::protobuf::io::CodedOutputStream* output) const final;
2182 bool deterministic, ::
google::protobuf::uint8* target) const final;
2188 void SetCachedSize(
int size)
const final;
2191 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2194 inline void* MaybeArenaPtr()
const {
2199 ::google::protobuf::Metadata
GetMetadata() const final;
2219 static inline const ::google::protobuf::EnumDescriptor*
2238 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
2240 const ::jaiabot::protobuf::DivePacket_Measurements&
measurement(
int index)
const;
2242 const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
2250 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location()
const;
2252 const ::jaiabot::protobuf::GeographicCoordinate&
start_location()
const;
2322 typedef boost::units::unit<dive_rate_dimension,boost::units::si::system>
dive_rate_unit;
2324 template<
typename Quantity >
2326 {
set_dive_rate(boost::units::quantity<dive_rate_unit,double >(value_w_units).value() ); };
2328 template<
typename Quantity >
2333 {
return dive_rate_with_units<boost::units::quantity< dive_rate_unit,double > >(); };
2339 template<
typename Quantity >
2341 {
set_unpowered_rise_rate(boost::units::quantity<unpowered_rise_rate_unit,double >(value_w_units).value() ); };
2343 template<
typename Quantity >
2348 {
return unpowered_rise_rate_with_units<boost::units::quantity< unpowered_rise_rate_unit,double > >(); };
2354 template<
typename Quantity >
2356 {
set_powered_rise_rate(boost::units::quantity<powered_rise_rate_unit,double >(value_w_units).value() ); };
2358 template<
typename Quantity >
2363 {
return powered_rise_rate_with_units<boost::units::quantity< powered_rise_rate_unit,double > >(); };
2369 template<
typename Quantity >
2371 {
set_depth_achieved(boost::units::quantity<depth_achieved_unit,double >(value_w_units).value() ); };
2373 template<
typename Quantity >
2378 {
return depth_achieved_with_units<boost::units::quantity< depth_achieved_unit,double > >(); };
2384 template<
typename Quantity >
2388 template<
typename Quantity >
2393 {
return duration_to_acquire_gps_with_units<boost::units::quantity< duration_to_acquire_gps_unit,double > >(); };
2399 template<
typename Quantity >
2401 {
set_max_acceleration(boost::units::quantity<max_acceleration_unit,double >(value_w_units).value() ); };
2403 template<
typename Quantity >
2408 {
return max_acceleration_with_units<boost::units::quantity< max_acceleration_unit,double > >(); };
2412 void set_has_dive_rate();
2413 void clear_has_dive_rate();
2414 void set_has_unpowered_rise_rate();
2415 void clear_has_unpowered_rise_rate();
2416 void set_has_powered_rise_rate();
2417 void clear_has_powered_rise_rate();
2418 void set_has_depth_achieved();
2419 void clear_has_depth_achieved();
2420 void set_has_start_location();
2421 void clear_has_start_location();
2422 void set_has_duration_to_acquire_gps();
2423 void clear_has_duration_to_acquire_gps();
2424 void set_has_bottom_dive();
2425 void clear_has_bottom_dive();
2426 void set_has_reached_min_depth();
2427 void clear_has_reached_min_depth();
2428 void set_has_bottom_type();
2429 void clear_has_bottom_type();
2430 void set_has_max_acceleration();
2431 void clear_has_max_acceleration();
2434 size_t RequiredFieldsByteSizeFallback()
const;
2436 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2437 ::google::protobuf::internal::HasBits<1> _has_bits_;
2438 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2439 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements > measurement_;
2442 double unpowered_rise_rate_;
2443 double powered_rise_rate_;
2445 bool reached_min_depth_;
2446 double depth_achieved_;
2447 double duration_to_acquire_gps_;
2448 double max_acceleration_;
2450 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
2468 *
this = ::std::move(from);
2472 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2473 if (
this != &from) InternalSwap(&from);
2481 return _internal_metadata_.unknown_fields();
2484 return _internal_metadata_.mutable_unknown_fields();
2487 static const ::google::protobuf::Descriptor*
descriptor();
2506 return CreateMaybeMessage<TaskPacket>(NULL);
2510 return CreateMaybeMessage<TaskPacket>(arena);
2512 void CopyFrom(const ::google::protobuf::Message& from)
final;
2513 void MergeFrom(const ::google::protobuf::Message& from)
final;
2521 ::
google::protobuf::io::CodedInputStream* input) final;
2523 ::
google::protobuf::io::CodedOutputStream* output) const final;
2525 bool deterministic, ::
google::protobuf::uint8* target) const final;
2531 void SetCachedSize(
int size)
const final;
2534 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2537 inline void* MaybeArenaPtr()
const {
2542 ::google::protobuf::Metadata
GetMetadata() const final;
2610 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;
2612 template<
typename Quantity >
2614 {
set_start_time(boost::units::quantity<start_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2616 template<
typename Quantity >
2621 {
return start_time_with_units<boost::units::quantity< start_time_unit,google::protobuf::uint64 > >(); };
2625 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;
2627 template<
typename Quantity >
2629 {
set_end_time(boost::units::quantity<end_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2631 template<
typename Quantity >
2636 {
return end_time_with_units<boost::units::quantity< end_time_unit,google::protobuf::uint64 > >(); };
2640 void set_has_bot_id();
2641 void clear_has_bot_id();
2642 void set_has_start_time();
2643 void clear_has_start_time();
2644 void set_has_end_time();
2645 void clear_has_end_time();
2646 void set_has_type();
2647 void clear_has_type();
2648 void set_has_link();
2649 void clear_has_link();
2650 void set_has_dive();
2651 void clear_has_dive();
2652 void set_has_drift();
2653 void clear_has_drift();
2656 size_t RequiredFieldsByteSizeFallback()
const;
2658 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2659 ::google::protobuf::internal::HasBits<1> _has_bits_;
2660 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2663 ::google::protobuf::uint64 start_time_;
2664 ::google::protobuf::uint32 bot_id_;
2666 ::google::protobuf::uint64 end_time_;
2668 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
2686 *
this = ::std::move(from);
2690 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2691 if (
this != &from) InternalSwap(&from);
2699 return _internal_metadata_.unknown_fields();
2702 return _internal_metadata_.mutable_unknown_fields();
2705 static const ::google::protobuf::Descriptor*
descriptor();
2724 return CreateMaybeMessage<ContactUpdate>(NULL);
2728 return CreateMaybeMessage<ContactUpdate>(arena);
2730 void CopyFrom(const ::google::protobuf::Message& from)
final;
2731 void MergeFrom(const ::google::protobuf::Message& from)
final;
2739 ::
google::protobuf::io::CodedInputStream* input) final;
2741 ::
google::protobuf::io::CodedOutputStream* output) const final;
2743 bool deterministic, ::
google::protobuf::uint8* target) const final;
2749 void SetCachedSize(
int size)
const final;
2752 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2755 inline void* MaybeArenaPtr()
const {
2760 ::google::protobuf::Metadata
GetMetadata() const final;
2804 template<
typename Quantity >
2806 {
set_speed_over_ground(boost::units::quantity<speed_over_ground_unit,double >(value_w_units).value() ); };
2808 template<
typename Quantity >
2813 {
return speed_over_ground_with_units<boost::units::quantity< speed_over_ground_unit,double > >(); };
2819 template<
typename Quantity >
2821 {
set_heading_or_cog(boost::units::quantity<heading_or_cog_unit,double >(value_w_units).value() ); };
2823 template<
typename Quantity >
2828 {
return heading_or_cog_with_units<boost::units::quantity< heading_or_cog_unit,double > >(); };
2832 void set_has_contact();
2833 void clear_has_contact();
2834 void set_has_location();
2835 void clear_has_location();
2836 void set_has_speed_over_ground();
2837 void clear_has_speed_over_ground();
2838 void set_has_heading_or_cog();
2839 void clear_has_heading_or_cog();
2841 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2842 ::google::protobuf::internal::HasBits<1> _has_bits_;
2843 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2845 double speed_over_ground_;
2846 double heading_or_cog_;
2847 ::google::protobuf::int32 contact_;
2848 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
2856 #pragma GCC diagnostic push
2857 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
2863 return (_has_bits_[0] & 0x00000002u) != 0;
2865 inline void Command::set_has_bot_id() {
2866 _has_bits_[0] |= 0x00000002u;
2868 inline void Command::clear_has_bot_id() {
2869 _has_bits_[0] &= ~0x00000002u;
2887 return (_has_bits_[0] & 0x00000001u) != 0;
2889 inline void Command::set_has_time() {
2890 _has_bits_[0] |= 0x00000001u;
2892 inline void Command::clear_has_time() {
2893 _has_bits_[0] &= ~0x00000001u;
2896 time_ = GOOGLE_ULONGLONG(0);
2911 return (_has_bits_[0] & 0x00000004u) != 0;
2913 inline void Command::set_has_link() {
2914 _has_bits_[0] |= 0x00000004u;
2916 inline void Command::clear_has_link() {
2917 _has_bits_[0] &= ~0x00000004u;
2936 return (_has_bits_[0] & 0x00000008u) != 0;
2938 inline void Command::set_has_type() {
2939 _has_bits_[0] |= 0x00000008u;
2941 inline void Command::clear_has_type() {
2942 _has_bits_[0] &= ~0x00000008u;
2963 inline void Command::set_has_plan() {
2964 _oneof_case_[0] =
kPlan;
2966 inline const ::jaiabot::protobuf::MissionPlan& Command::_internal_plan()
const {
2967 return *command_data_.plan_;
2972 clear_has_command_data();
2974 command_data_.plan_ = NULL;
2983 ? *command_data_.plan_
2990 command_data_.plan_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionPlan >(
2991 GetArenaNoVirtual());
2994 return command_data_.plan_;
3001 inline void Command::set_has_rc() {
3002 _oneof_case_[0] =
kRc;
3004 inline const ::jaiabot::protobuf::RemoteControl& Command::_internal_rc()
const {
3005 return *command_data_.rc_;
3010 clear_has_command_data();
3012 command_data_.rc_ = NULL;
3018 inline const ::jaiabot::protobuf::RemoteControl&
Command::rc()
const {
3021 ? *command_data_.rc_
3028 command_data_.rc_ = CreateMaybeMessage< ::jaiabot::protobuf::RemoteControl >(
3029 GetArenaNoVirtual());
3032 return command_data_.rc_;
3039 inline void Command::set_has_rc_task() {
3042 inline const ::jaiabot::protobuf::MissionTask& Command::_internal_rc_task()
const {
3043 return *command_data_.rc_task_;
3048 clear_has_command_data();
3050 command_data_.rc_task_ = NULL;
3059 ? *command_data_.rc_task_
3066 command_data_.rc_task_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionTask >(
3067 GetArenaNoVirtual());
3070 return command_data_.rc_task_;
3073 inline bool Command::has_command_data()
const {
3076 inline void Command::clear_has_command_data() {
3088 return (_has_bits_[0] & 0x00000004u) != 0;
3090 inline void CommandForHub::set_has_hub_id() {
3091 _has_bits_[0] |= 0x00000004u;
3093 inline void CommandForHub::clear_has_hub_id() {
3094 _has_bits_[0] &= ~0x00000004u;
3112 return (_has_bits_[0] & 0x00000002u) != 0;
3114 inline void CommandForHub::set_has_time() {
3115 _has_bits_[0] |= 0x00000002u;
3117 inline void CommandForHub::clear_has_time() {
3118 _has_bits_[0] &= ~0x00000002u;
3121 time_ = GOOGLE_ULONGLONG(0);
3136 return (_has_bits_[0] & 0x00000010u) != 0;
3138 inline void CommandForHub::set_has_type() {
3139 _has_bits_[0] |= 0x00000010u;
3141 inline void CommandForHub::clear_has_type() {
3142 _has_bits_[0] &= ~0x00000010u;
3161 return (_has_bits_[0] & 0x00000008u) != 0;
3163 inline void CommandForHub::set_has_scan_for_bot_id() {
3164 _has_bits_[0] |= 0x00000008u;
3166 inline void CommandForHub::clear_has_scan_for_bot_id() {
3167 _has_bits_[0] &= ~0x00000008u;
3170 scan_for_bot_id_ = 0u;
3171 clear_has_scan_for_bot_id();
3175 return scan_for_bot_id_;
3178 set_has_scan_for_bot_id();
3179 scan_for_bot_id_ = value;
3185 return (_has_bits_[0] & 0x00000001u) != 0;
3187 inline void CommandForHub::set_has_hub_location() {
3188 _has_bits_[0] |= 0x00000001u;
3190 inline void CommandForHub::clear_has_hub_location() {
3191 _has_bits_[0] &= ~0x00000001u;
3193 inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::_internal_hub_location()
const {
3194 return *hub_location_;
3197 const ::jaiabot::protobuf::GeographicCoordinate* p = hub_location_;
3204 clear_has_hub_location();
3206 hub_location_ = NULL;
3210 set_has_hub_location();
3211 if (hub_location_ == NULL) {
3212 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
3216 return hub_location_;
3219 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3220 if (message_arena == NULL) {
3221 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(hub_location_);
3224 ::google::protobuf::Arena* submessage_arena = NULL;
3225 if (message_arena != submessage_arena) {
3226 hub_location = ::google::protobuf::internal::GetOwnedMessage(
3229 set_has_hub_location();
3231 clear_has_hub_location();
3243 return (_has_bits_[0] & 0x00000001u) != 0;
3245 inline void BotStatus_Attitude::set_has_roll() {
3246 _has_bits_[0] |= 0x00000001u;
3248 inline void BotStatus_Attitude::clear_has_roll() {
3249 _has_bits_[0] &= ~0x00000001u;
3267 return (_has_bits_[0] & 0x00000002u) != 0;
3269 inline void BotStatus_Attitude::set_has_pitch() {
3270 _has_bits_[0] |= 0x00000002u;
3272 inline void BotStatus_Attitude::clear_has_pitch() {
3273 _has_bits_[0] &= ~0x00000002u;
3291 return (_has_bits_[0] & 0x00000004u) != 0;
3293 inline void BotStatus_Attitude::set_has_heading() {
3294 _has_bits_[0] |= 0x00000004u;
3296 inline void BotStatus_Attitude::clear_has_heading() {
3297 _has_bits_[0] &= ~0x00000004u;
3301 clear_has_heading();
3315 return (_has_bits_[0] & 0x00000008u) != 0;
3317 inline void BotStatus_Attitude::set_has_course_over_ground() {
3318 _has_bits_[0] |= 0x00000008u;
3320 inline void BotStatus_Attitude::clear_has_course_over_ground() {
3321 _has_bits_[0] &= ~0x00000008u;
3324 course_over_ground_ = 0;
3325 clear_has_course_over_ground();
3329 return course_over_ground_;
3332 set_has_course_over_ground();
3333 course_over_ground_ = value;
3343 return (_has_bits_[0] & 0x00000001u) != 0;
3345 inline void BotStatus_Speed::set_has_over_ground() {
3346 _has_bits_[0] |= 0x00000001u;
3348 inline void BotStatus_Speed::clear_has_over_ground() {
3349 _has_bits_[0] &= ~0x00000001u;
3353 clear_has_over_ground();
3357 return over_ground_;
3360 set_has_over_ground();
3361 over_ground_ = value;
3367 return (_has_bits_[0] & 0x00000002u) != 0;
3369 inline void BotStatus_Speed::set_has_over_water() {
3370 _has_bits_[0] |= 0x00000002u;
3372 inline void BotStatus_Speed::clear_has_over_water() {
3373 _has_bits_[0] &= ~0x00000002u;
3377 clear_has_over_water();
3384 set_has_over_water();
3385 over_water_ = value;
3395 return (_has_bits_[0] & 0x00000040u) != 0;
3397 inline void BotStatus::set_has_bot_id() {
3398 _has_bits_[0] |= 0x00000040u;
3400 inline void BotStatus::clear_has_bot_id() {
3401 _has_bits_[0] &= ~0x00000040u;
3419 return (_has_bits_[0] & 0x00000008u) != 0;
3421 inline void BotStatus::set_has_time() {
3422 _has_bits_[0] |= 0x00000008u;
3424 inline void BotStatus::clear_has_time() {
3425 _has_bits_[0] &= ~0x00000008u;
3428 time_ = GOOGLE_ULONGLONG(0);
3443 return (_has_bits_[0] & 0x00000010u) != 0;
3445 inline void BotStatus::set_has_last_command_time() {
3446 _has_bits_[0] |= 0x00000010u;
3448 inline void BotStatus::clear_has_last_command_time() {
3449 _has_bits_[0] &= ~0x00000010u;
3452 last_command_time_ = GOOGLE_ULONGLONG(0);
3453 clear_has_last_command_time();
3457 return last_command_time_;
3460 set_has_last_command_time();
3461 last_command_time_ = value;
3467 return (_has_bits_[0] & 0x00100000u) != 0;
3469 inline void BotStatus::set_has_health_state() {
3470 _has_bits_[0] |= 0x00100000u;
3472 inline void BotStatus::clear_has_health_state() {
3473 _has_bits_[0] &= ~0x00100000u;
3477 clear_has_health_state();
3481 return static_cast< ::goby::middleware::protobuf::HealthState
>(health_state_);
3484 assert(::goby::middleware::protobuf::HealthState_IsValid(value));
3485 set_has_health_state();
3486 health_state_ = value;
3492 return error_.size();
3503 error_.Set(index, value);
3511 inline const ::google::protobuf::RepeatedField<int>&
3516 inline ::google::protobuf::RepeatedField<int>*
3524 return warning_.size();
3535 warning_.Set(index, value);
3540 warning_.Add(value);
3543 inline const ::google::protobuf::RepeatedField<int>&
3548 inline ::google::protobuf::RepeatedField<int>*
3556 return (_has_bits_[0] & 0x00200000u) != 0;
3558 inline void BotStatus::set_has_bot_type() {
3559 _has_bits_[0] |= 0x00200000u;
3561 inline void BotStatus::clear_has_bot_type() {
3562 _has_bits_[0] &= ~0x00200000u;
3566 clear_has_bot_type();
3581 return (_has_bits_[0] & 0x00400000u) != 0;
3583 inline void BotStatus::set_has_link() {
3584 _has_bits_[0] |= 0x00400000u;
3586 inline void BotStatus::clear_has_link() {
3587 _has_bits_[0] &= ~0x00400000u;
3606 return (_has_bits_[0] & 0x00000001u) != 0;
3608 inline void BotStatus::set_has_location() {
3609 _has_bits_[0] |= 0x00000001u;
3611 inline void BotStatus::clear_has_location() {
3612 _has_bits_[0] &= ~0x00000001u;
3614 inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::_internal_location()
const {
3618 const ::jaiabot::protobuf::GeographicCoordinate* p = location_;
3625 clear_has_location();
3632 if (location_ == NULL) {
3633 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
3640 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3641 if (message_arena == NULL) {
3642 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(location_);
3645 ::google::protobuf::Arena* submessage_arena = NULL;
3646 if (message_arena != submessage_arena) {
3647 location = ::google::protobuf::internal::GetOwnedMessage(
3648 message_arena,
location, submessage_arena);
3652 clear_has_location();
3660 return (_has_bits_[0] & 0x00000020u) != 0;
3662 inline void BotStatus::set_has_depth() {
3663 _has_bits_[0] |= 0x00000020u;
3665 inline void BotStatus::clear_has_depth() {
3666 _has_bits_[0] &= ~0x00000020u;
3684 return (_has_bits_[0] & 0x00000002u) != 0;
3686 inline void BotStatus::set_has_attitude() {
3687 _has_bits_[0] |= 0x00000002u;
3689 inline void BotStatus::clear_has_attitude() {
3690 _has_bits_[0] &= ~0x00000002u;
3693 if (attitude_ != NULL) attitude_->
Clear();
3694 clear_has_attitude();
3696 inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::_internal_attitude()
const {
3700 const ::jaiabot::protobuf::BotStatus_Attitude* p = attitude_;
3707 clear_has_attitude();
3714 if (attitude_ == NULL) {
3715 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude>(GetArenaNoVirtual());
3722 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3723 if (message_arena == NULL) {
3727 ::google::protobuf::Arena* submessage_arena = NULL;
3728 if (message_arena != submessage_arena) {
3729 attitude = ::google::protobuf::internal::GetOwnedMessage(
3730 message_arena,
attitude, submessage_arena);
3734 clear_has_attitude();
3742 return (_has_bits_[0] & 0x00000004u) != 0;
3744 inline void BotStatus::set_has_speed() {
3745 _has_bits_[0] |= 0x00000004u;
3747 inline void BotStatus::clear_has_speed() {
3748 _has_bits_[0] &= ~0x00000004u;
3751 if (speed_ != NULL) speed_->
Clear();
3754 inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::_internal_speed()
const {
3758 const ::jaiabot::protobuf::BotStatus_Speed* p = speed_;
3772 if (speed_ == NULL) {
3773 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed>(GetArenaNoVirtual());
3780 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3781 if (message_arena == NULL) {
3785 ::google::protobuf::Arena* submessage_arena = NULL;
3786 if (message_arena != submessage_arena) {
3787 speed = ::google::protobuf::internal::GetOwnedMessage(
3788 message_arena,
speed, submessage_arena);
3800 return (_has_bits_[0] & 0x00000080u) != 0;
3802 inline void BotStatus::set_has_mission_state() {
3803 _has_bits_[0] |= 0x00000080u;
3805 inline void BotStatus::clear_has_mission_state() {
3806 _has_bits_[0] &= ~0x00000080u;
3810 clear_has_mission_state();
3818 set_has_mission_state();
3819 mission_state_ = value;
3825 return (_has_bits_[0] & 0x00000400u) != 0;
3827 inline void BotStatus::set_has_active_goal() {
3828 _has_bits_[0] |= 0x00000400u;
3830 inline void BotStatus::clear_has_active_goal() {
3831 _has_bits_[0] &= ~0x00000400u;
3835 clear_has_active_goal();
3839 return active_goal_;
3842 set_has_active_goal();
3843 active_goal_ = value;
3849 return (_has_bits_[0] & 0x00000200u) != 0;
3851 inline void BotStatus::set_has_distance_to_active_goal() {
3852 _has_bits_[0] |= 0x00000200u;
3854 inline void BotStatus::clear_has_distance_to_active_goal() {
3855 _has_bits_[0] &= ~0x00000200u;
3858 distance_to_active_goal_ = 0;
3859 clear_has_distance_to_active_goal();
3863 return distance_to_active_goal_;
3866 set_has_distance_to_active_goal();
3867 distance_to_active_goal_ = value;
3873 return (_has_bits_[0] & 0x00000800u) != 0;
3875 inline void BotStatus::set_has_active_goal_timeout() {
3876 _has_bits_[0] |= 0x00000800u;
3878 inline void BotStatus::clear_has_active_goal_timeout() {
3879 _has_bits_[0] &= ~0x00000800u;
3882 active_goal_timeout_ = 0u;
3883 clear_has_active_goal_timeout();
3887 return active_goal_timeout_;
3890 set_has_active_goal_timeout();
3891 active_goal_timeout_ = value;
3897 return (_has_bits_[0] & 0x00001000u) != 0;
3899 inline void BotStatus::set_has_repeat_index() {
3900 _has_bits_[0] |= 0x00001000u;
3902 inline void BotStatus::clear_has_repeat_index() {
3903 _has_bits_[0] &= ~0x00001000u;
3907 clear_has_repeat_index();
3911 return repeat_index_;
3914 set_has_repeat_index();
3915 repeat_index_ = value;
3921 return (_has_bits_[0] & 0x00004000u) != 0;
3923 inline void BotStatus::set_has_salinity() {
3924 _has_bits_[0] |= 0x00004000u;
3926 inline void BotStatus::clear_has_salinity() {
3927 _has_bits_[0] &= ~0x00004000u;
3931 clear_has_salinity();
3945 return (_has_bits_[0] & 0x00008000u) != 0;
3947 inline void BotStatus::set_has_temperature() {
3948 _has_bits_[0] |= 0x00008000u;
3950 inline void BotStatus::clear_has_temperature() {
3951 _has_bits_[0] &= ~0x00008000u;
3955 clear_has_temperature();
3959 return temperature_;
3962 set_has_temperature();
3963 temperature_ = value;
3969 return (_has_bits_[0] & 0x00010000u) != 0;
3971 inline void BotStatus::set_has_battery_percent() {
3972 _has_bits_[0] |= 0x00010000u;
3974 inline void BotStatus::clear_has_battery_percent() {
3975 _has_bits_[0] &= ~0x00010000u;
3978 battery_percent_ = 0;
3979 clear_has_battery_percent();
3983 return battery_percent_;
3986 set_has_battery_percent();
3987 battery_percent_ = value;
3993 return (_has_bits_[0] & 0x00002000u) != 0;
3995 inline void BotStatus::set_has_calibration_status() {
3996 _has_bits_[0] |= 0x00002000u;
3998 inline void BotStatus::clear_has_calibration_status() {
3999 _has_bits_[0] &= ~0x00002000u;
4002 calibration_status_ = 0;
4003 clear_has_calibration_status();
4007 return calibration_status_;
4010 set_has_calibration_status();
4011 calibration_status_ = value;
4017 return (_has_bits_[0] & 0x00800000u) != 0;
4019 inline void BotStatus::set_has_calibration_state() {
4020 _has_bits_[0] |= 0x00800000u;
4022 inline void BotStatus::clear_has_calibration_state() {
4023 _has_bits_[0] &= ~0x00800000u;
4026 calibration_state_ = 1;
4027 clear_has_calibration_state();
4035 set_has_calibration_state();
4036 calibration_state_ = value;
4042 return (_has_bits_[0] & 0x00020000u) != 0;
4044 inline void BotStatus::set_has_hdop() {
4045 _has_bits_[0] |= 0x00020000u;
4047 inline void BotStatus::clear_has_hdop() {
4048 _has_bits_[0] &= ~0x00020000u;
4066 return (_has_bits_[0] & 0x00040000u) != 0;
4068 inline void BotStatus::set_has_pdop() {
4069 _has_bits_[0] |= 0x00040000u;
4071 inline void BotStatus::clear_has_pdop() {
4072 _has_bits_[0] &= ~0x00040000u;
4090 return (_has_bits_[0] & 0x00000100u) != 0;
4092 inline void BotStatus::set_has_wifi_link_quality_percentage() {
4093 _has_bits_[0] |= 0x00000100u;
4095 inline void BotStatus::clear_has_wifi_link_quality_percentage() {
4096 _has_bits_[0] &= ~0x00000100u;
4099 wifi_link_quality_percentage_ = 0;
4100 clear_has_wifi_link_quality_percentage();
4104 return wifi_link_quality_percentage_;
4107 set_has_wifi_link_quality_percentage();
4108 wifi_link_quality_percentage_ = value;
4114 return (_has_bits_[0] & 0x00080000u) != 0;
4116 inline void BotStatus::set_has_received_time() {
4117 _has_bits_[0] |= 0x00080000u;
4119 inline void BotStatus::clear_has_received_time() {
4120 _has_bits_[0] &= ~0x00080000u;
4123 received_time_ = GOOGLE_ULONGLONG(0);
4124 clear_has_received_time();
4128 return received_time_;
4131 set_has_received_time();
4132 received_time_ = value;
4142 return (_has_bits_[0] & 0x00000001u) != 0;
4144 inline void DriftPacket_EstimatedDrift::set_has_speed() {
4145 _has_bits_[0] |= 0x00000001u;
4147 inline void DriftPacket_EstimatedDrift::clear_has_speed() {
4148 _has_bits_[0] &= ~0x00000001u;
4166 return (_has_bits_[0] & 0x00000002u) != 0;
4168 inline void DriftPacket_EstimatedDrift::set_has_heading() {
4169 _has_bits_[0] |= 0x00000002u;
4171 inline void DriftPacket_EstimatedDrift::clear_has_heading() {
4172 _has_bits_[0] &= ~0x00000002u;
4176 clear_has_heading();
4194 return (_has_bits_[0] & 0x00000008u) != 0;
4196 inline void DriftPacket::set_has_drift_duration() {
4197 _has_bits_[0] |= 0x00000008u;
4199 inline void DriftPacket::clear_has_drift_duration() {
4200 _has_bits_[0] &= ~0x00000008u;
4203 drift_duration_ = 0;
4204 clear_has_drift_duration();
4208 return drift_duration_;
4211 set_has_drift_duration();
4212 drift_duration_ = value;
4218 return (_has_bits_[0] & 0x00000001u) != 0;
4220 inline void DriftPacket::set_has_estimated_drift() {
4221 _has_bits_[0] |= 0x00000001u;
4223 inline void DriftPacket::clear_has_estimated_drift() {
4224 _has_bits_[0] &= ~0x00000001u;
4227 if (estimated_drift_ != NULL) estimated_drift_->
Clear();
4228 clear_has_estimated_drift();
4230 inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::_internal_estimated_drift()
const {
4231 return *estimated_drift_;
4234 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift* p = estimated_drift_;
4241 clear_has_estimated_drift();
4243 estimated_drift_ = NULL;
4247 set_has_estimated_drift();
4248 if (estimated_drift_ == NULL) {
4249 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DriftPacket_EstimatedDrift>(GetArenaNoVirtual());
4250 estimated_drift_ = p;
4253 return estimated_drift_;
4256 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4257 if (message_arena == NULL) {
4258 delete estimated_drift_;
4261 ::google::protobuf::Arena* submessage_arena = NULL;
4262 if (message_arena != submessage_arena) {
4266 set_has_estimated_drift();
4268 clear_has_estimated_drift();
4276 return (_has_bits_[0] & 0x00000002u) != 0;
4278 inline void DriftPacket::set_has_start_location() {
4279 _has_bits_[0] |= 0x00000002u;
4281 inline void DriftPacket::clear_has_start_location() {
4282 _has_bits_[0] &= ~0x00000002u;
4284 inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_start_location()
const {
4285 return *start_location_;
4288 const ::jaiabot::protobuf::GeographicCoordinate* p = start_location_;
4295 clear_has_start_location();
4297 start_location_ = NULL;
4301 set_has_start_location();
4302 if (start_location_ == NULL) {
4303 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
4304 start_location_ = p;
4307 return start_location_;
4310 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4311 if (message_arena == NULL) {
4312 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(start_location_);
4315 ::google::protobuf::Arena* submessage_arena = NULL;
4316 if (message_arena != submessage_arena) {
4320 set_has_start_location();
4322 clear_has_start_location();
4330 return (_has_bits_[0] & 0x00000004u) != 0;
4332 inline void DriftPacket::set_has_end_location() {
4333 _has_bits_[0] |= 0x00000004u;
4335 inline void DriftPacket::clear_has_end_location() {
4336 _has_bits_[0] &= ~0x00000004u;
4338 inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_end_location()
const {
4339 return *end_location_;
4342 const ::jaiabot::protobuf::GeographicCoordinate* p = end_location_;
4349 clear_has_end_location();
4351 end_location_ = NULL;
4355 set_has_end_location();
4356 if (end_location_ == NULL) {
4357 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
4361 return end_location_;
4364 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4365 if (message_arena == NULL) {
4366 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(end_location_);
4369 ::google::protobuf::Arena* submessage_arena = NULL;
4370 if (message_arena != submessage_arena) {
4371 end_location = ::google::protobuf::internal::GetOwnedMessage(
4374 set_has_end_location();
4376 clear_has_end_location();
4384 return (_has_bits_[0] & 0x00000010u) != 0;
4386 inline void DriftPacket::set_has_significant_wave_height() {
4387 _has_bits_[0] |= 0x00000010u;
4389 inline void DriftPacket::clear_has_significant_wave_height() {
4390 _has_bits_[0] &= ~0x00000010u;
4393 significant_wave_height_ = 0;
4394 clear_has_significant_wave_height();
4398 return significant_wave_height_;
4401 set_has_significant_wave_height();
4402 significant_wave_height_ = value;
4412 return (_has_bits_[0] & 0x00000001u) != 0;
4414 inline void DivePacket_Measurements::set_has_mean_depth() {
4415 _has_bits_[0] |= 0x00000001u;
4417 inline void DivePacket_Measurements::clear_has_mean_depth() {
4418 _has_bits_[0] &= ~0x00000001u;
4422 clear_has_mean_depth();
4429 set_has_mean_depth();
4430 mean_depth_ = value;
4436 return (_has_bits_[0] & 0x00000002u) != 0;
4438 inline void DivePacket_Measurements::set_has_mean_temperature() {
4439 _has_bits_[0] |= 0x00000002u;
4441 inline void DivePacket_Measurements::clear_has_mean_temperature() {
4442 _has_bits_[0] &= ~0x00000002u;
4445 mean_temperature_ = 0;
4446 clear_has_mean_temperature();
4450 return mean_temperature_;
4453 set_has_mean_temperature();
4454 mean_temperature_ = value;
4460 return (_has_bits_[0] & 0x00000004u) != 0;
4462 inline void DivePacket_Measurements::set_has_mean_salinity() {
4463 _has_bits_[0] |= 0x00000004u;
4465 inline void DivePacket_Measurements::clear_has_mean_salinity() {
4466 _has_bits_[0] &= ~0x00000004u;
4470 clear_has_mean_salinity();
4474 return mean_salinity_;
4477 set_has_mean_salinity();
4478 mean_salinity_ = value;
4488 return (_has_bits_[0] & 0x00000002u) != 0;
4490 inline void DivePacket::set_has_dive_rate() {
4491 _has_bits_[0] |= 0x00000002u;
4493 inline void DivePacket::clear_has_dive_rate() {
4494 _has_bits_[0] &= ~0x00000002u;
4498 clear_has_dive_rate();
4505 set_has_dive_rate();
4512 return (_has_bits_[0] & 0x00000004u) != 0;
4514 inline void DivePacket::set_has_unpowered_rise_rate() {
4515 _has_bits_[0] |= 0x00000004u;
4517 inline void DivePacket::clear_has_unpowered_rise_rate() {
4518 _has_bits_[0] &= ~0x00000004u;
4521 unpowered_rise_rate_ = 0;
4522 clear_has_unpowered_rise_rate();
4526 return unpowered_rise_rate_;
4529 set_has_unpowered_rise_rate();
4530 unpowered_rise_rate_ = value;
4536 return (_has_bits_[0] & 0x00000008u) != 0;
4538 inline void DivePacket::set_has_powered_rise_rate() {
4539 _has_bits_[0] |= 0x00000008u;
4541 inline void DivePacket::clear_has_powered_rise_rate() {
4542 _has_bits_[0] &= ~0x00000008u;
4545 powered_rise_rate_ = 0;
4546 clear_has_powered_rise_rate();
4550 return powered_rise_rate_;
4553 set_has_powered_rise_rate();
4554 powered_rise_rate_ = value;
4560 return (_has_bits_[0] & 0x00000040u) != 0;
4562 inline void DivePacket::set_has_depth_achieved() {
4563 _has_bits_[0] |= 0x00000040u;
4565 inline void DivePacket::clear_has_depth_achieved() {
4566 _has_bits_[0] &= ~0x00000040u;
4569 depth_achieved_ = 0;
4570 clear_has_depth_achieved();
4574 return depth_achieved_;
4577 set_has_depth_achieved();
4578 depth_achieved_ = value;
4584 return measurement_.size();
4587 measurement_.Clear();
4591 return measurement_.Mutable(index);
4593 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
4596 return &measurement_;
4600 return measurement_.Get(index);
4604 return measurement_.Add();
4606 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
4609 return measurement_;
4614 return (_has_bits_[0] & 0x00000001u) != 0;
4616 inline void DivePacket::set_has_start_location() {
4617 _has_bits_[0] |= 0x00000001u;
4619 inline void DivePacket::clear_has_start_location() {
4620 _has_bits_[0] &= ~0x00000001u;
4622 inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::_internal_start_location()
const {
4623 return *start_location_;
4626 const ::jaiabot::protobuf::GeographicCoordinate* p = start_location_;
4633 clear_has_start_location();
4635 start_location_ = NULL;
4639 set_has_start_location();
4640 if (start_location_ == NULL) {
4641 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
4642 start_location_ = p;
4645 return start_location_;
4648 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4649 if (message_arena == NULL) {
4650 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(start_location_);
4653 ::google::protobuf::Arena* submessage_arena = NULL;
4654 if (message_arena != submessage_arena) {
4658 set_has_start_location();
4660 clear_has_start_location();
4668 return (_has_bits_[0] & 0x00000080u) != 0;
4670 inline void DivePacket::set_has_duration_to_acquire_gps() {
4671 _has_bits_[0] |= 0x00000080u;
4673 inline void DivePacket::clear_has_duration_to_acquire_gps() {
4674 _has_bits_[0] &= ~0x00000080u;
4677 duration_to_acquire_gps_ = 0;
4678 clear_has_duration_to_acquire_gps();
4682 return duration_to_acquire_gps_;
4685 set_has_duration_to_acquire_gps();
4686 duration_to_acquire_gps_ = value;
4692 return (_has_bits_[0] & 0x00000010u) != 0;
4694 inline void DivePacket::set_has_bottom_dive() {
4695 _has_bits_[0] |= 0x00000010u;
4697 inline void DivePacket::clear_has_bottom_dive() {
4698 _has_bits_[0] &= ~0x00000010u;
4701 bottom_dive_ =
false;
4702 clear_has_bottom_dive();
4706 return bottom_dive_;
4709 set_has_bottom_dive();
4710 bottom_dive_ = value;
4716 return (_has_bits_[0] & 0x00000020u) != 0;
4718 inline void DivePacket::set_has_reached_min_depth() {
4719 _has_bits_[0] |= 0x00000020u;
4721 inline void DivePacket::clear_has_reached_min_depth() {
4722 _has_bits_[0] &= ~0x00000020u;
4725 reached_min_depth_ =
false;
4726 clear_has_reached_min_depth();
4730 return reached_min_depth_;
4733 set_has_reached_min_depth();
4734 reached_min_depth_ = value;
4740 return (_has_bits_[0] & 0x00000200u) != 0;
4742 inline void DivePacket::set_has_bottom_type() {
4743 _has_bits_[0] |= 0x00000200u;
4745 inline void DivePacket::clear_has_bottom_type() {
4746 _has_bits_[0] &= ~0x00000200u;
4750 clear_has_bottom_type();
4758 set_has_bottom_type();
4759 bottom_type_ = value;
4765 return (_has_bits_[0] & 0x00000100u) != 0;
4767 inline void DivePacket::set_has_max_acceleration() {
4768 _has_bits_[0] |= 0x00000100u;
4770 inline void DivePacket::clear_has_max_acceleration() {
4771 _has_bits_[0] &= ~0x00000100u;
4774 max_acceleration_ = 0;
4775 clear_has_max_acceleration();
4779 return max_acceleration_;
4782 set_has_max_acceleration();
4783 max_acceleration_ = value;
4793 return (_has_bits_[0] & 0x00000008u) != 0;
4795 inline void TaskPacket::set_has_bot_id() {
4796 _has_bits_[0] |= 0x00000008u;
4798 inline void TaskPacket::clear_has_bot_id() {
4799 _has_bits_[0] &= ~0x00000008u;
4817 return (_has_bits_[0] & 0x00000004u) != 0;
4819 inline void TaskPacket::set_has_start_time() {
4820 _has_bits_[0] |= 0x00000004u;
4822 inline void TaskPacket::clear_has_start_time() {
4823 _has_bits_[0] &= ~0x00000004u;
4826 start_time_ = GOOGLE_ULONGLONG(0);
4827 clear_has_start_time();
4834 set_has_start_time();
4835 start_time_ = value;
4841 return (_has_bits_[0] & 0x00000020u) != 0;
4843 inline void TaskPacket::set_has_end_time() {
4844 _has_bits_[0] |= 0x00000020u;
4846 inline void TaskPacket::clear_has_end_time() {
4847 _has_bits_[0] &= ~0x00000020u;
4850 end_time_ = GOOGLE_ULONGLONG(0);
4851 clear_has_end_time();
4865 return (_has_bits_[0] & 0x00000010u) != 0;
4867 inline void TaskPacket::set_has_type() {
4868 _has_bits_[0] |= 0x00000010u;
4870 inline void TaskPacket::clear_has_type() {
4871 _has_bits_[0] &= ~0x00000010u;
4890 return (_has_bits_[0] & 0x00000040u) != 0;
4892 inline void TaskPacket::set_has_link() {
4893 _has_bits_[0] |= 0x00000040u;
4895 inline void TaskPacket::clear_has_link() {
4896 _has_bits_[0] &= ~0x00000040u;
4915 return (_has_bits_[0] & 0x00000001u) != 0;
4917 inline void TaskPacket::set_has_dive() {
4918 _has_bits_[0] |= 0x00000001u;
4920 inline void TaskPacket::clear_has_dive() {
4921 _has_bits_[0] &= ~0x00000001u;
4924 if (dive_ != NULL) dive_->
Clear();
4927 inline const ::jaiabot::protobuf::DivePacket& TaskPacket::_internal_dive()
const {
4931 const ::jaiabot::protobuf::DivePacket* p = dive_;
4945 if (dive_ == NULL) {
4946 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DivePacket>(GetArenaNoVirtual());
4953 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4954 if (message_arena == NULL) {
4958 ::google::protobuf::Arena* submessage_arena = NULL;
4959 if (message_arena != submessage_arena) {
4960 dive = ::google::protobuf::internal::GetOwnedMessage(
4961 message_arena,
dive, submessage_arena);
4973 return (_has_bits_[0] & 0x00000002u) != 0;
4975 inline void TaskPacket::set_has_drift() {
4976 _has_bits_[0] |= 0x00000002u;
4978 inline void TaskPacket::clear_has_drift() {
4979 _has_bits_[0] &= ~0x00000002u;
4982 if (drift_ != NULL) drift_->
Clear();
4985 inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::_internal_drift()
const {
4989 const ::jaiabot::protobuf::DriftPacket* p = drift_;
5003 if (drift_ == NULL) {
5004 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DriftPacket>(GetArenaNoVirtual());
5011 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5012 if (message_arena == NULL) {
5016 ::google::protobuf::Arena* submessage_arena = NULL;
5017 if (message_arena != submessage_arena) {
5018 drift = ::google::protobuf::internal::GetOwnedMessage(
5019 message_arena,
drift, submessage_arena);
5035 return (_has_bits_[0] & 0x00000008u) != 0;
5037 inline void ContactUpdate::set_has_contact() {
5038 _has_bits_[0] |= 0x00000008u;
5040 inline void ContactUpdate::clear_has_contact() {
5041 _has_bits_[0] &= ~0x00000008u;
5045 clear_has_contact();
5059 return (_has_bits_[0] & 0x00000001u) != 0;
5061 inline void ContactUpdate::set_has_location() {
5062 _has_bits_[0] |= 0x00000001u;
5064 inline void ContactUpdate::clear_has_location() {
5065 _has_bits_[0] &= ~0x00000001u;
5067 inline const ::jaiabot::protobuf::GeographicCoordinate& ContactUpdate::_internal_location()
const {
5071 const ::jaiabot::protobuf::GeographicCoordinate* p = location_;
5078 clear_has_location();
5085 if (location_ == NULL) {
5086 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
5093 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5094 if (message_arena == NULL) {
5095 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(location_);
5098 ::google::protobuf::Arena* submessage_arena = NULL;
5099 if (message_arena != submessage_arena) {
5100 location = ::google::protobuf::internal::GetOwnedMessage(
5101 message_arena,
location, submessage_arena);
5105 clear_has_location();
5113 return (_has_bits_[0] & 0x00000002u) != 0;
5115 inline void ContactUpdate::set_has_speed_over_ground() {
5116 _has_bits_[0] |= 0x00000002u;
5118 inline void ContactUpdate::clear_has_speed_over_ground() {
5119 _has_bits_[0] &= ~0x00000002u;
5122 speed_over_ground_ = 0;
5123 clear_has_speed_over_ground();
5127 return speed_over_ground_;
5130 set_has_speed_over_ground();
5131 speed_over_ground_ = value;
5137 return (_has_bits_[0] & 0x00000004u) != 0;
5139 inline void ContactUpdate::set_has_heading_or_cog() {
5140 _has_bits_[0] |= 0x00000004u;
5142 inline void ContactUpdate::clear_has_heading_or_cog() {
5143 _has_bits_[0] &= ~0x00000004u;
5146 heading_or_cog_ = 0;
5147 clear_has_heading_or_cog();
5151 return heading_or_cog_;
5154 set_has_heading_or_cog();
5155 heading_or_cog_ = value;
5160 #pragma GCC diagnostic pop
5189 namespace protobuf {
5193 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::Command_CommandType>() {
5198 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::CommandForHub_HubCommandType>() {
5203 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::BotStatus_BotType>() {
5208 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::DivePacket_BottomType>() {
5217 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2fjaia_5fdccl_2eproto