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"
42 #include <boost/units/quantity.hpp>
43 #include <boost/units/absolute.hpp>
44 #include <boost/units/dimensionless_type.hpp>
45 #include <boost/units/make_scaled_unit.hpp>
47 #include <boost/units/systems/angle/degrees.hpp>
49 #include <boost/units/systems/temperature/celsius.hpp>
51 #include <boost/units/systems/si.hpp>
53 #define PROTOBUF_INTERNAL_EXPORT_protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto
58 static const ::google::protobuf::internal::ParseTableField
entries[];
59 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
60 static const ::google::protobuf::internal::ParseTable
schema[11];
63 static const ::google::protobuf::uint32
offsets[];
70 class BotStatusDefaultTypeInternal;
72 class BotStatus_Attitude;
73 class BotStatus_AttitudeDefaultTypeInternal;
75 class BotStatus_Speed;
76 class BotStatus_SpeedDefaultTypeInternal;
79 class CommandDefaultTypeInternal;
82 class CommandForHubDefaultTypeInternal;
85 class ContactUpdateDefaultTypeInternal;
88 class DivePacketDefaultTypeInternal;
90 class DivePacket_Measurements;
91 class DivePacket_MeasurementsDefaultTypeInternal;
94 class DriftPacketDefaultTypeInternal;
96 class DriftPacket_EstimatedDrift;
97 class DriftPacket_EstimatedDriftDefaultTypeInternal;
100 class TaskPacketDefaultTypeInternal;
151 return ::google::protobuf::internal::NameOfEnum(
156 return ::google::protobuf::internal::ParseNamedEnum<Command_CommandType>(
173 return ::google::protobuf::internal::NameOfEnum(
178 return ::google::protobuf::internal::ParseNamedEnum<CommandForHub_HubCommandType>(
192 return ::google::protobuf::internal::NameOfEnum(
197 return ::google::protobuf::internal::ParseNamedEnum<BotStatus_BotType>(
211 return ::google::protobuf::internal::NameOfEnum(
216 return ::google::protobuf::internal::ParseNamedEnum<DivePacket_BottomType>(
221 class Command :
public ::google::protobuf::Message {
235 *
this = ::std::move(from);
239 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
240 if (
this != &from) InternalSwap(&from);
248 return _internal_metadata_.unknown_fields();
251 return _internal_metadata_.mutable_unknown_fields();
254 static const ::google::protobuf::Descriptor*
descriptor();
266 return reinterpret_cast<const Command*
>(
280 return CreateMaybeMessage<Command>(NULL);
284 return CreateMaybeMessage<Command>(arena);
286 void CopyFrom(const ::google::protobuf::Message& from)
final;
287 void MergeFrom(const ::google::protobuf::Message& from)
final;
295 ::
google::protobuf::io::CodedInputStream* input) final;
297 ::
google::protobuf::io::CodedOutputStream* output) const final;
299 bool deterministic, ::
google::protobuf::uint8* target) const final;
305 void SetCachedSize(
int size)
const final;
306 void InternalSwap(
Command* other);
308 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
311 inline void* MaybeArenaPtr()
const {
316 ::google::protobuf::Metadata
GetMetadata() const final;
370 static inline const ::google::protobuf::EnumDescriptor*
388 ::google::protobuf::uint64
time()
const;
389 void set_time(::google::protobuf::uint64 value);
395 ::google::protobuf::uint32
bot_id()
const;
396 void set_bot_id(::google::protobuf::uint32 value);
410 const ::jaiabot::protobuf::MissionPlan& _internal_plan()
const;
412 const ::jaiabot::protobuf::MissionPlan&
plan()
const;
422 const ::jaiabot::protobuf::RemoteControl& _internal_rc()
const;
424 const ::jaiabot::protobuf::RemoteControl&
rc()
const;
434 const ::jaiabot::protobuf::MissionTask& _internal_rc_task()
const;
436 const ::jaiabot::protobuf::MissionTask&
rc_task()
const;
446 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;
448 template<
typename Quantity >
450 {
set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
452 template<
typename Quantity >
457 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
461 void set_has_bot_id();
462 void clear_has_bot_id();
464 void clear_has_time();
466 void clear_has_type();
469 void set_has_rc_task();
471 inline bool has_command_data()
const;
472 inline void clear_has_command_data();
475 size_t RequiredFieldsByteSizeFallback()
const;
477 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
478 ::google::protobuf::internal::HasBits<1> _has_bits_;
479 mutable ::google::protobuf::internal::CachedSize _cached_size_;
480 ::google::protobuf::uint64 time_;
481 ::google::protobuf::uint32 bot_id_;
483 union CommandDataUnion {
484 CommandDataUnion() {}
489 ::google::protobuf::uint32 _oneof_case_[1];
491 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
509 *
this = ::std::move(from);
513 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
514 if (
this != &from) InternalSwap(&from);
522 return _internal_metadata_.unknown_fields();
525 return _internal_metadata_.mutable_unknown_fields();
528 static const ::google::protobuf::Descriptor*
descriptor();
547 return CreateMaybeMessage<CommandForHub>(NULL);
551 return CreateMaybeMessage<CommandForHub>(arena);
553 void CopyFrom(const ::google::protobuf::Message& from)
final;
554 void MergeFrom(const ::google::protobuf::Message& from)
final;
562 ::
google::protobuf::io::CodedInputStream* input) final;
564 ::
google::protobuf::io::CodedOutputStream* output) const final;
566 bool deterministic, ::
google::protobuf::uint8* target) const final;
572 void SetCachedSize(
int size)
const final;
575 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
578 inline void* MaybeArenaPtr()
const {
583 ::google::protobuf::Metadata
GetMetadata() const final;
607 static inline const ::google::protobuf::EnumDescriptor*
626 const ::jaiabot::protobuf::GeographicCoordinate& _internal_hub_location()
const;
628 const ::jaiabot::protobuf::GeographicCoordinate&
hub_location()
const;
637 ::google::protobuf::uint64
time()
const;
638 void set_time(::google::protobuf::uint64 value);
644 ::google::protobuf::uint32
hub_id()
const;
645 void set_hub_id(::google::protobuf::uint32 value);
663 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;
665 template<
typename Quantity >
667 {
set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
669 template<
typename Quantity >
674 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
678 void set_has_hub_id();
679 void clear_has_hub_id();
681 void clear_has_time();
683 void clear_has_type();
684 void set_has_scan_for_bot_id();
685 void clear_has_scan_for_bot_id();
686 void set_has_hub_location();
687 void clear_has_hub_location();
690 size_t RequiredFieldsByteSizeFallback()
const;
692 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
693 ::google::protobuf::internal::HasBits<1> _has_bits_;
694 mutable ::google::protobuf::internal::CachedSize _cached_size_;
696 ::google::protobuf::uint64 time_;
697 ::google::protobuf::uint32 hub_id_;
698 ::google::protobuf::uint32 scan_for_bot_id_;
700 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
718 *
this = ::std::move(from);
722 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
723 if (
this != &from) InternalSwap(&from);
731 return _internal_metadata_.unknown_fields();
734 return _internal_metadata_.mutable_unknown_fields();
737 static const ::google::protobuf::Descriptor*
descriptor();
756 return CreateMaybeMessage<BotStatus_Attitude>(NULL);
760 return CreateMaybeMessage<BotStatus_Attitude>(arena);
762 void CopyFrom(const ::google::protobuf::Message& from)
final;
763 void MergeFrom(const ::google::protobuf::Message& from)
final;
771 ::
google::protobuf::io::CodedInputStream* input) final;
773 ::
google::protobuf::io::CodedOutputStream* output) const final;
775 bool deterministic, ::
google::protobuf::uint8* target) const final;
781 void SetCachedSize(
int size)
const final;
784 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
787 inline void* MaybeArenaPtr()
const {
792 ::google::protobuf::Metadata
GetMetadata() const final;
809 double pitch() const;
830 template<typename Quantity >
832 {
set_roll(boost::units::quantity<roll_unit,double >(value_w_units).value() ); };
834 template<
typename Quantity >
839 {
return roll_with_units<boost::units::quantity< roll_unit,double > >(); };
843 typedef boost::units::unit<pitch_dimension,boost::units::degree::system>
pitch_unit;
845 template<
typename Quantity >
847 {
set_pitch(boost::units::quantity<pitch_unit,double >(value_w_units).value() ); };
849 template<
typename Quantity >
854 {
return pitch_with_units<boost::units::quantity< pitch_unit,double > >(); };
858 typedef boost::units::unit<heading_dimension,boost::units::degree::system>
heading_unit;
860 template<
typename Quantity >
862 {
set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
864 template<
typename Quantity >
869 {
return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
875 template<
typename Quantity >
877 {
set_course_over_ground(boost::units::quantity<course_over_ground_unit,double >(value_w_units).value() ); };
879 template<
typename Quantity >
884 {
return course_over_ground_with_units<boost::units::quantity< course_over_ground_unit,double > >(); };
889 void clear_has_roll();
890 void set_has_pitch();
891 void clear_has_pitch();
892 void set_has_heading();
893 void clear_has_heading();
894 void set_has_course_over_ground();
895 void clear_has_course_over_ground();
897 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
898 ::google::protobuf::internal::HasBits<1> _has_bits_;
899 mutable ::google::protobuf::internal::CachedSize _cached_size_;
903 double course_over_ground_;
904 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
922 *
this = ::std::move(from);
926 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
927 if (
this != &from) InternalSwap(&from);
935 return _internal_metadata_.unknown_fields();
938 return _internal_metadata_.mutable_unknown_fields();
941 static const ::google::protobuf::Descriptor*
descriptor();
960 return CreateMaybeMessage<BotStatus_Speed>(NULL);
964 return CreateMaybeMessage<BotStatus_Speed>(arena);
966 void CopyFrom(const ::google::protobuf::Message& from)
final;
967 void MergeFrom(const ::google::protobuf::Message& from)
final;
975 ::
google::protobuf::io::CodedInputStream* input) final;
977 ::
google::protobuf::io::CodedOutputStream* output) const final;
979 bool deterministic, ::
google::protobuf::uint8* target) const final;
985 void SetCachedSize(
int size)
const final;
988 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
991 inline void* MaybeArenaPtr()
const {
996 ::google::protobuf::Metadata
GetMetadata() const final;
1020 template<typename Quantity >
1022 {
set_over_ground(boost::units::quantity<over_ground_unit,double >(value_w_units).value() ); };
1024 template<
typename Quantity >
1029 {
return over_ground_with_units<boost::units::quantity< over_ground_unit,double > >(); };
1033 typedef boost::units::unit<over_water_dimension,boost::units::si::system>
over_water_unit;
1035 template<
typename Quantity >
1037 {
set_over_water(boost::units::quantity<over_water_unit,double >(value_w_units).value() ); };
1039 template<
typename Quantity >
1044 {
return over_water_with_units<boost::units::quantity< over_water_unit,double > >(); };
1048 void set_has_over_ground();
1049 void clear_has_over_ground();
1050 void set_has_over_water();
1051 void clear_has_over_water();
1053 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1054 ::google::protobuf::internal::HasBits<1> _has_bits_;
1055 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1056 double over_ground_;
1058 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
1076 *
this = ::std::move(from);
1080 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1081 if (
this != &from) InternalSwap(&from);
1089 return _internal_metadata_.unknown_fields();
1092 return _internal_metadata_.mutable_unknown_fields();
1095 static const ::google::protobuf::Descriptor*
descriptor();
1100 return reinterpret_cast<const BotStatus*
>(
1114 return CreateMaybeMessage<BotStatus>(NULL);
1118 return CreateMaybeMessage<BotStatus>(arena);
1120 void CopyFrom(const ::google::protobuf::Message& from)
final;
1121 void MergeFrom(const ::google::protobuf::Message& from)
final;
1129 ::
google::protobuf::io::CodedInputStream* input) final;
1131 ::
google::protobuf::io::CodedOutputStream* output) const final;
1133 bool deterministic, ::
google::protobuf::uint8* target) const final;
1139 void SetCachedSize(
int size)
const final;
1142 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1145 inline void* MaybeArenaPtr()
const {
1150 ::google::protobuf::Metadata
GetMetadata() const final;
1171 static inline const ::google::protobuf::EnumDescriptor*
1192 const ::google::protobuf::RepeatedField<int>&
error()
const;
1202 const ::google::protobuf::RepeatedField<int>&
warning()
const;
1210 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location()
const;
1212 const ::jaiabot::protobuf::GeographicCoordinate&
location()
const;
1222 const ::jaiabot::protobuf::BotStatus_Attitude& _internal_attitude()
const;
1224 const ::jaiabot::protobuf::BotStatus_Attitude&
attitude()
const;
1234 const ::jaiabot::protobuf::BotStatus_Speed& _internal_speed()
const;
1236 const ::jaiabot::protobuf::BotStatus_Speed&
speed()
const;
1245 ::google::protobuf::uint64
time()
const;
1246 void set_time(::google::protobuf::uint64 value);
1259 double depth()
const;
1266 ::google::protobuf::uint32
bot_id()
const;
1267 void set_bot_id(::google::protobuf::uint32 value);
1371 double hdop()
const;
1378 double pdop()
const;
1399 ::goby::middleware::protobuf::HealthState
health_state()
const;
1412 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;
1414 template<
typename Quantity >
1416 {
set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1418 template<
typename Quantity >
1423 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
1427 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;
1429 template<
typename Quantity >
1431 {
set_last_command_time(boost::units::quantity<last_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1433 template<
typename Quantity >
1438 {
return last_command_time_with_units<boost::units::quantity< last_command_time_unit,google::protobuf::uint64 > >(); };
1442 typedef boost::units::unit<depth_dimension,boost::units::si::system>
depth_unit;
1444 template<
typename Quantity >
1446 {
set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
1448 template<
typename Quantity >
1453 {
return depth_with_units<boost::units::quantity< depth_unit,double > >(); };
1459 template<
typename Quantity >
1463 template<
typename Quantity >
1468 {
return distance_to_active_goal_with_units<boost::units::quantity< distance_to_active_goal_unit,double > >(); };
1474 template<
typename Quantity >
1476 {
set_active_goal_timeout(boost::units::quantity<active_goal_timeout_unit,google::protobuf::uint32 >(value_w_units).value() ); };
1478 template<
typename Quantity >
1483 {
return active_goal_timeout_with_units<boost::units::quantity< active_goal_timeout_unit,google::protobuf::uint32 > >(); };
1487 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> >
temperature_unit;
1489 template<
typename Quantity >
1491 {
set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
1493 template<
typename Quantity >
1498 {
return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
1504 template<
typename Quantity >
1508 template<
typename Quantity >
1513 {
return thermocouple_temperature_with_units<boost::units::quantity< thermocouple_temperature_unit,double > >(); };
1517 typedef boost::units::unit<vv_current_dimension,boost::units::si::system>
vv_current_unit;
1519 template<
typename Quantity >
1521 {
set_vv_current(boost::units::quantity<vv_current_unit,double >(value_w_units).value() ); };
1523 template<
typename Quantity >
1528 {
return vv_current_with_units<boost::units::quantity< vv_current_unit,double > >(); };
1534 template<
typename Quantity >
1536 {
set_vcc_current(boost::units::quantity<vcc_current_unit,double >(value_w_units).value() ); };
1538 template<
typename Quantity >
1543 {
return vcc_current_with_units<boost::units::quantity< vcc_current_unit,double > >(); };
1549 template<
typename Quantity >
1551 {
set_vcc_voltage(boost::units::quantity<vcc_voltage_unit,double >(value_w_units).value() ); };
1553 template<
typename Quantity >
1558 {
return vcc_voltage_with_units<boost::units::quantity< vcc_voltage_unit,double > >(); };
1562 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;
1564 template<
typename Quantity >
1566 {
set_received_time(boost::units::quantity<received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1568 template<
typename Quantity >
1573 {
return received_time_with_units<boost::units::quantity< received_time_unit,google::protobuf::uint64 > >(); };
1577 void set_has_bot_id();
1578 void clear_has_bot_id();
1579 void set_has_time();
1580 void clear_has_time();
1581 void set_has_last_command_time();
1582 void clear_has_last_command_time();
1583 void set_has_health_state();
1584 void clear_has_health_state();
1585 void set_has_bot_type();
1586 void clear_has_bot_type();
1587 void set_has_location();
1588 void clear_has_location();
1589 void set_has_depth();
1590 void clear_has_depth();
1591 void set_has_attitude();
1592 void clear_has_attitude();
1593 void set_has_speed();
1594 void clear_has_speed();
1595 void set_has_mission_state();
1596 void clear_has_mission_state();
1597 void set_has_active_goal();
1598 void clear_has_active_goal();
1599 void set_has_distance_to_active_goal();
1600 void clear_has_distance_to_active_goal();
1601 void set_has_active_goal_timeout();
1602 void clear_has_active_goal_timeout();
1603 void set_has_repeat_index();
1604 void clear_has_repeat_index();
1605 void set_has_salinity();
1606 void clear_has_salinity();
1607 void set_has_temperature();
1608 void clear_has_temperature();
1609 void set_has_thermocouple_temperature();
1610 void clear_has_thermocouple_temperature();
1611 void set_has_vv_current();
1612 void clear_has_vv_current();
1613 void set_has_vcc_current();
1614 void clear_has_vcc_current();
1615 void set_has_vcc_voltage();
1616 void clear_has_vcc_voltage();
1617 void set_has_battery_percent();
1618 void clear_has_battery_percent();
1619 void set_has_calibration_status();
1620 void clear_has_calibration_status();
1621 void set_has_calibration_state();
1622 void clear_has_calibration_state();
1623 void set_has_hdop();
1624 void clear_has_hdop();
1625 void set_has_pdop();
1626 void clear_has_pdop();
1627 void set_has_wifi_link_quality_percentage();
1628 void clear_has_wifi_link_quality_percentage();
1629 void set_has_received_time();
1630 void clear_has_received_time();
1633 size_t RequiredFieldsByteSizeFallback()
const;
1635 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1636 ::google::protobuf::internal::HasBits<1> _has_bits_;
1637 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1638 ::google::protobuf::RepeatedField<int> error_;
1639 ::google::protobuf::RepeatedField<int> warning_;
1643 ::google::protobuf::uint64 time_;
1644 ::google::protobuf::uint64 last_command_time_;
1646 ::google::protobuf::uint32 bot_id_;
1648 ::google::protobuf::int32 wifi_link_quality_percentage_;
1649 double distance_to_active_goal_;
1650 ::google::protobuf::int32 active_goal_;
1651 ::google::protobuf::uint32 active_goal_timeout_;
1653 ::google::protobuf::int32 repeat_index_;
1654 ::google::protobuf::int32 calibration_status_;
1655 double temperature_;
1656 double thermocouple_temperature_;
1658 double vcc_current_;
1659 double vcc_voltage_;
1660 double battery_percent_;
1663 ::google::protobuf::uint64 received_time_;
1664 int calibration_state_;
1667 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
1685 *
this = ::std::move(from);
1689 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1690 if (
this != &from) InternalSwap(&from);
1698 return _internal_metadata_.unknown_fields();
1701 return _internal_metadata_.mutable_unknown_fields();
1704 static const ::google::protobuf::Descriptor*
descriptor();
1723 return CreateMaybeMessage<DriftPacket_EstimatedDrift>(NULL);
1727 return CreateMaybeMessage<DriftPacket_EstimatedDrift>(arena);
1729 void CopyFrom(const ::google::protobuf::Message& from)
final;
1730 void MergeFrom(const ::google::protobuf::Message& from)
final;
1738 ::
google::protobuf::io::CodedInputStream* input) final;
1740 ::
google::protobuf::io::CodedOutputStream* output) const final;
1742 bool deterministic, ::
google::protobuf::uint8* target) const final;
1748 void SetCachedSize(
int size)
const final;
1751 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1754 inline void* MaybeArenaPtr()
const {
1759 ::google::protobuf::Metadata
GetMetadata() const final;
1769 double speed() const;
1783 template<typename Quantity >
1785 {
set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
1787 template<
typename Quantity >
1792 {
return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
1796 typedef boost::units::unit<heading_dimension,boost::units::degree::system>
heading_unit;
1798 template<
typename Quantity >
1800 {
set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
1802 template<
typename Quantity >
1807 {
return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
1811 void set_has_speed();
1812 void clear_has_speed();
1813 void set_has_heading();
1814 void clear_has_heading();
1816 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1817 ::google::protobuf::internal::HasBits<1> _has_bits_;
1818 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1821 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
1839 *
this = ::std::move(from);
1843 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1844 if (
this != &from) InternalSwap(&from);
1852 return _internal_metadata_.unknown_fields();
1855 return _internal_metadata_.mutable_unknown_fields();
1858 static const ::google::protobuf::Descriptor*
descriptor();
1877 return CreateMaybeMessage<DriftPacket>(NULL);
1881 return CreateMaybeMessage<DriftPacket>(arena);
1883 void CopyFrom(const ::google::protobuf::Message& from)
final;
1884 void MergeFrom(const ::google::protobuf::Message& from)
final;
1892 ::
google::protobuf::io::CodedInputStream* input) final;
1894 ::
google::protobuf::io::CodedOutputStream* output) const final;
1896 bool deterministic, ::
google::protobuf::uint8* target) const final;
1902 void SetCachedSize(
int size)
const final;
1905 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1908 inline void* MaybeArenaPtr()
const {
1913 ::google::protobuf::Metadata
GetMetadata() const final;
1975 template<typename Quantity >
1977 {
set_drift_duration(boost::units::quantity<drift_duration_unit,google::protobuf::int32 >(value_w_units).value() ); };
1979 template<
typename Quantity >
1984 {
return drift_duration_with_units<boost::units::quantity< drift_duration_unit,google::protobuf::int32 > >(); };
1990 template<
typename Quantity >
1994 template<
typename Quantity >
1999 {
return significant_wave_height_with_units<boost::units::quantity< significant_wave_height_unit,double > >(); };
2003 void set_has_drift_duration();
2004 void clear_has_drift_duration();
2005 void set_has_estimated_drift();
2006 void clear_has_estimated_drift();
2007 void set_has_start_location();
2008 void clear_has_start_location();
2009 void set_has_end_location();
2010 void clear_has_end_location();
2011 void set_has_significant_wave_height();
2012 void clear_has_significant_wave_height();
2014 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2015 ::google::protobuf::internal::HasBits<1> _has_bits_;
2016 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2020 ::google::protobuf::int32 drift_duration_;
2021 double significant_wave_height_;
2022 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
2040 *
this = ::std::move(from);
2044 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2045 if (
this != &from) InternalSwap(&from);
2053 return _internal_metadata_.unknown_fields();
2056 return _internal_metadata_.mutable_unknown_fields();
2059 static const ::google::protobuf::Descriptor*
descriptor();
2078 return CreateMaybeMessage<DivePacket_Measurements>(NULL);
2082 return CreateMaybeMessage<DivePacket_Measurements>(arena);
2084 void CopyFrom(const ::google::protobuf::Message& from)
final;
2085 void MergeFrom(const ::google::protobuf::Message& from)
final;
2093 ::
google::protobuf::io::CodedInputStream* input) final;
2095 ::
google::protobuf::io::CodedOutputStream* output) const final;
2097 bool deterministic, ::
google::protobuf::uint8* target) const final;
2103 void SetCachedSize(
int size)
const final;
2106 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2109 inline void* MaybeArenaPtr()
const {
2114 ::google::protobuf::Metadata
GetMetadata() const final;
2145 template<typename Quantity >
2147 {
set_mean_depth(boost::units::quantity<mean_depth_unit,double >(value_w_units).value() ); };
2149 template<
typename Quantity >
2154 {
return mean_depth_with_units<boost::units::quantity< mean_depth_unit,double > >(); };
2158 typedef boost::units::absolute<boost::units::unit<mean_temperature_dimension,boost::units::celsius::system> >
mean_temperature_unit;
2160 template<
typename Quantity >
2162 {
set_mean_temperature(boost::units::quantity<mean_temperature_unit,double >(value_w_units).value() ); };
2164 template<
typename Quantity >
2169 {
return mean_temperature_with_units<boost::units::quantity< mean_temperature_unit,double > >(); };
2173 void set_has_mean_depth();
2174 void clear_has_mean_depth();
2175 void set_has_mean_temperature();
2176 void clear_has_mean_temperature();
2177 void set_has_mean_salinity();
2178 void clear_has_mean_salinity();
2180 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2181 ::google::protobuf::internal::HasBits<1> _has_bits_;
2182 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2184 double mean_temperature_;
2185 double mean_salinity_;
2186 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
2204 *
this = ::std::move(from);
2208 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2209 if (
this != &from) InternalSwap(&from);
2217 return _internal_metadata_.unknown_fields();
2220 return _internal_metadata_.mutable_unknown_fields();
2223 static const ::google::protobuf::Descriptor*
descriptor();
2242 return CreateMaybeMessage<DivePacket>(NULL);
2246 return CreateMaybeMessage<DivePacket>(arena);
2248 void CopyFrom(const ::google::protobuf::Message& from)
final;
2249 void MergeFrom(const ::google::protobuf::Message& from)
final;
2257 ::
google::protobuf::io::CodedInputStream* input) final;
2259 ::
google::protobuf::io::CodedOutputStream* output) const final;
2261 bool deterministic, ::
google::protobuf::uint8* target) const final;
2267 void SetCachedSize(
int size)
const final;
2270 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2273 inline void* MaybeArenaPtr()
const {
2278 ::google::protobuf::Metadata
GetMetadata() const final;
2298 static inline const ::google::protobuf::EnumDescriptor*
2317 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
2319 const ::jaiabot::protobuf::DivePacket_Measurements&
measurement(
int index)
const;
2321 const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
2329 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location()
const;
2331 const ::jaiabot::protobuf::GeographicCoordinate&
start_location()
const;
2401 typedef boost::units::unit<dive_rate_dimension,boost::units::si::system>
dive_rate_unit;
2403 template<
typename Quantity >
2405 {
set_dive_rate(boost::units::quantity<dive_rate_unit,double >(value_w_units).value() ); };
2407 template<
typename Quantity >
2412 {
return dive_rate_with_units<boost::units::quantity< dive_rate_unit,double > >(); };
2418 template<
typename Quantity >
2420 {
set_unpowered_rise_rate(boost::units::quantity<unpowered_rise_rate_unit,double >(value_w_units).value() ); };
2422 template<
typename Quantity >
2427 {
return unpowered_rise_rate_with_units<boost::units::quantity< unpowered_rise_rate_unit,double > >(); };
2433 template<
typename Quantity >
2435 {
set_powered_rise_rate(boost::units::quantity<powered_rise_rate_unit,double >(value_w_units).value() ); };
2437 template<
typename Quantity >
2442 {
return powered_rise_rate_with_units<boost::units::quantity< powered_rise_rate_unit,double > >(); };
2448 template<
typename Quantity >
2450 {
set_depth_achieved(boost::units::quantity<depth_achieved_unit,double >(value_w_units).value() ); };
2452 template<
typename Quantity >
2457 {
return depth_achieved_with_units<boost::units::quantity< depth_achieved_unit,double > >(); };
2463 template<
typename Quantity >
2467 template<
typename Quantity >
2472 {
return duration_to_acquire_gps_with_units<boost::units::quantity< duration_to_acquire_gps_unit,double > >(); };
2478 template<
typename Quantity >
2480 {
set_max_acceleration(boost::units::quantity<max_acceleration_unit,double >(value_w_units).value() ); };
2482 template<
typename Quantity >
2487 {
return max_acceleration_with_units<boost::units::quantity< max_acceleration_unit,double > >(); };
2491 void set_has_dive_rate();
2492 void clear_has_dive_rate();
2493 void set_has_unpowered_rise_rate();
2494 void clear_has_unpowered_rise_rate();
2495 void set_has_powered_rise_rate();
2496 void clear_has_powered_rise_rate();
2497 void set_has_depth_achieved();
2498 void clear_has_depth_achieved();
2499 void set_has_start_location();
2500 void clear_has_start_location();
2501 void set_has_duration_to_acquire_gps();
2502 void clear_has_duration_to_acquire_gps();
2503 void set_has_bottom_dive();
2504 void clear_has_bottom_dive();
2505 void set_has_reached_min_depth();
2506 void clear_has_reached_min_depth();
2507 void set_has_bottom_type();
2508 void clear_has_bottom_type();
2509 void set_has_max_acceleration();
2510 void clear_has_max_acceleration();
2513 size_t RequiredFieldsByteSizeFallback()
const;
2515 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2516 ::google::protobuf::internal::HasBits<1> _has_bits_;
2517 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2518 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements > measurement_;
2521 double unpowered_rise_rate_;
2522 double powered_rise_rate_;
2524 bool reached_min_depth_;
2525 double depth_achieved_;
2526 double duration_to_acquire_gps_;
2527 double max_acceleration_;
2529 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
2547 *
this = ::std::move(from);
2551 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2552 if (
this != &from) InternalSwap(&from);
2560 return _internal_metadata_.unknown_fields();
2563 return _internal_metadata_.mutable_unknown_fields();
2566 static const ::google::protobuf::Descriptor*
descriptor();
2585 return CreateMaybeMessage<TaskPacket>(NULL);
2589 return CreateMaybeMessage<TaskPacket>(arena);
2591 void CopyFrom(const ::google::protobuf::Message& from)
final;
2592 void MergeFrom(const ::google::protobuf::Message& from)
final;
2600 ::
google::protobuf::io::CodedInputStream* input) final;
2602 ::
google::protobuf::io::CodedOutputStream* output) const final;
2604 bool deterministic, ::
google::protobuf::uint8* target) const final;
2610 void SetCachedSize(
int size)
const final;
2613 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2616 inline void* MaybeArenaPtr()
const {
2621 ::google::protobuf::Metadata
GetMetadata() const final;
2682 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;
2684 template<
typename Quantity >
2686 {
set_start_time(boost::units::quantity<start_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2688 template<
typename Quantity >
2693 {
return start_time_with_units<boost::units::quantity< start_time_unit,google::protobuf::uint64 > >(); };
2697 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;
2699 template<
typename Quantity >
2701 {
set_end_time(boost::units::quantity<end_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2703 template<
typename Quantity >
2708 {
return end_time_with_units<boost::units::quantity< end_time_unit,google::protobuf::uint64 > >(); };
2712 void set_has_bot_id();
2713 void clear_has_bot_id();
2714 void set_has_start_time();
2715 void clear_has_start_time();
2716 void set_has_end_time();
2717 void clear_has_end_time();
2718 void set_has_type();
2719 void clear_has_type();
2720 void set_has_dive();
2721 void clear_has_dive();
2722 void set_has_drift();
2723 void clear_has_drift();
2726 size_t RequiredFieldsByteSizeFallback()
const;
2728 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2729 ::google::protobuf::internal::HasBits<1> _has_bits_;
2730 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2733 ::google::protobuf::uint64 start_time_;
2734 ::google::protobuf::uint32 bot_id_;
2736 ::google::protobuf::uint64 end_time_;
2737 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
2755 *
this = ::std::move(from);
2759 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2760 if (
this != &from) InternalSwap(&from);
2768 return _internal_metadata_.unknown_fields();
2771 return _internal_metadata_.mutable_unknown_fields();
2774 static const ::google::protobuf::Descriptor*
descriptor();
2793 return CreateMaybeMessage<ContactUpdate>(NULL);
2797 return CreateMaybeMessage<ContactUpdate>(arena);
2799 void CopyFrom(const ::google::protobuf::Message& from)
final;
2800 void MergeFrom(const ::google::protobuf::Message& from)
final;
2808 ::
google::protobuf::io::CodedInputStream* input) final;
2810 ::
google::protobuf::io::CodedOutputStream* output) const final;
2812 bool deterministic, ::
google::protobuf::uint8* target) const final;
2818 void SetCachedSize(
int size)
const final;
2821 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2824 inline void* MaybeArenaPtr()
const {
2829 ::google::protobuf::Metadata
GetMetadata() const final;
2873 template<
typename Quantity >
2875 {
set_speed_over_ground(boost::units::quantity<speed_over_ground_unit,double >(value_w_units).value() ); };
2877 template<
typename Quantity >
2882 {
return speed_over_ground_with_units<boost::units::quantity< speed_over_ground_unit,double > >(); };
2888 template<
typename Quantity >
2890 {
set_heading_or_cog(boost::units::quantity<heading_or_cog_unit,double >(value_w_units).value() ); };
2892 template<
typename Quantity >
2897 {
return heading_or_cog_with_units<boost::units::quantity< heading_or_cog_unit,double > >(); };
2901 void set_has_contact();
2902 void clear_has_contact();
2903 void set_has_location();
2904 void clear_has_location();
2905 void set_has_speed_over_ground();
2906 void clear_has_speed_over_ground();
2907 void set_has_heading_or_cog();
2908 void clear_has_heading_or_cog();
2910 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2911 ::google::protobuf::internal::HasBits<1> _has_bits_;
2912 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2914 double speed_over_ground_;
2915 double heading_or_cog_;
2916 ::google::protobuf::int32 contact_;
2917 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
2925 #pragma GCC diagnostic push
2926 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
2932 return (_has_bits_[0] & 0x00000002u) != 0;
2934 inline void Command::set_has_bot_id() {
2935 _has_bits_[0] |= 0x00000002u;
2937 inline void Command::clear_has_bot_id() {
2938 _has_bits_[0] &= ~0x00000002u;
2956 return (_has_bits_[0] & 0x00000001u) != 0;
2958 inline void Command::set_has_time() {
2959 _has_bits_[0] |= 0x00000001u;
2961 inline void Command::clear_has_time() {
2962 _has_bits_[0] &= ~0x00000001u;
2965 time_ = GOOGLE_ULONGLONG(0);
2980 return (_has_bits_[0] & 0x00000004u) != 0;
2982 inline void Command::set_has_type() {
2983 _has_bits_[0] |= 0x00000004u;
2985 inline void Command::clear_has_type() {
2986 _has_bits_[0] &= ~0x00000004u;
3007 inline void Command::set_has_plan() {
3008 _oneof_case_[0] =
kPlan;
3010 inline const ::jaiabot::protobuf::MissionPlan& Command::_internal_plan()
const {
3011 return *command_data_.plan_;
3016 clear_has_command_data();
3018 command_data_.plan_ = NULL;
3027 ? *command_data_.plan_
3034 command_data_.plan_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionPlan >(
3035 GetArenaNoVirtual());
3038 return command_data_.plan_;
3045 inline void Command::set_has_rc() {
3046 _oneof_case_[0] =
kRc;
3048 inline const ::jaiabot::protobuf::RemoteControl& Command::_internal_rc()
const {
3049 return *command_data_.rc_;
3054 clear_has_command_data();
3056 command_data_.rc_ = NULL;
3062 inline const ::jaiabot::protobuf::RemoteControl&
Command::rc()
const {
3065 ? *command_data_.rc_
3072 command_data_.rc_ = CreateMaybeMessage< ::jaiabot::protobuf::RemoteControl >(
3073 GetArenaNoVirtual());
3076 return command_data_.rc_;
3083 inline void Command::set_has_rc_task() {
3086 inline const ::jaiabot::protobuf::MissionTask& Command::_internal_rc_task()
const {
3087 return *command_data_.rc_task_;
3092 clear_has_command_data();
3094 command_data_.rc_task_ = NULL;
3103 ? *command_data_.rc_task_
3110 command_data_.rc_task_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionTask >(
3111 GetArenaNoVirtual());
3114 return command_data_.rc_task_;
3117 inline bool Command::has_command_data()
const {
3120 inline void Command::clear_has_command_data() {
3132 return (_has_bits_[0] & 0x00000004u) != 0;
3134 inline void CommandForHub::set_has_hub_id() {
3135 _has_bits_[0] |= 0x00000004u;
3137 inline void CommandForHub::clear_has_hub_id() {
3138 _has_bits_[0] &= ~0x00000004u;
3156 return (_has_bits_[0] & 0x00000002u) != 0;
3158 inline void CommandForHub::set_has_time() {
3159 _has_bits_[0] |= 0x00000002u;
3161 inline void CommandForHub::clear_has_time() {
3162 _has_bits_[0] &= ~0x00000002u;
3165 time_ = GOOGLE_ULONGLONG(0);
3180 return (_has_bits_[0] & 0x00000010u) != 0;
3182 inline void CommandForHub::set_has_type() {
3183 _has_bits_[0] |= 0x00000010u;
3185 inline void CommandForHub::clear_has_type() {
3186 _has_bits_[0] &= ~0x00000010u;
3205 return (_has_bits_[0] & 0x00000008u) != 0;
3207 inline void CommandForHub::set_has_scan_for_bot_id() {
3208 _has_bits_[0] |= 0x00000008u;
3210 inline void CommandForHub::clear_has_scan_for_bot_id() {
3211 _has_bits_[0] &= ~0x00000008u;
3214 scan_for_bot_id_ = 0u;
3215 clear_has_scan_for_bot_id();
3219 return scan_for_bot_id_;
3222 set_has_scan_for_bot_id();
3223 scan_for_bot_id_ = value;
3229 return (_has_bits_[0] & 0x00000001u) != 0;
3231 inline void CommandForHub::set_has_hub_location() {
3232 _has_bits_[0] |= 0x00000001u;
3234 inline void CommandForHub::clear_has_hub_location() {
3235 _has_bits_[0] &= ~0x00000001u;
3237 inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::_internal_hub_location()
const {
3238 return *hub_location_;
3241 const ::jaiabot::protobuf::GeographicCoordinate* p = hub_location_;
3248 clear_has_hub_location();
3250 hub_location_ = NULL;
3254 set_has_hub_location();
3255 if (hub_location_ == NULL) {
3256 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
3260 return hub_location_;
3263 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3264 if (message_arena == NULL) {
3265 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(hub_location_);
3268 ::google::protobuf::Arena* submessage_arena = NULL;
3269 if (message_arena != submessage_arena) {
3270 hub_location = ::google::protobuf::internal::GetOwnedMessage(
3273 set_has_hub_location();
3275 clear_has_hub_location();
3287 return (_has_bits_[0] & 0x00000001u) != 0;
3289 inline void BotStatus_Attitude::set_has_roll() {
3290 _has_bits_[0] |= 0x00000001u;
3292 inline void BotStatus_Attitude::clear_has_roll() {
3293 _has_bits_[0] &= ~0x00000001u;
3311 return (_has_bits_[0] & 0x00000002u) != 0;
3313 inline void BotStatus_Attitude::set_has_pitch() {
3314 _has_bits_[0] |= 0x00000002u;
3316 inline void BotStatus_Attitude::clear_has_pitch() {
3317 _has_bits_[0] &= ~0x00000002u;
3335 return (_has_bits_[0] & 0x00000004u) != 0;
3337 inline void BotStatus_Attitude::set_has_heading() {
3338 _has_bits_[0] |= 0x00000004u;
3340 inline void BotStatus_Attitude::clear_has_heading() {
3341 _has_bits_[0] &= ~0x00000004u;
3345 clear_has_heading();
3359 return (_has_bits_[0] & 0x00000008u) != 0;
3361 inline void BotStatus_Attitude::set_has_course_over_ground() {
3362 _has_bits_[0] |= 0x00000008u;
3364 inline void BotStatus_Attitude::clear_has_course_over_ground() {
3365 _has_bits_[0] &= ~0x00000008u;
3368 course_over_ground_ = 0;
3369 clear_has_course_over_ground();
3373 return course_over_ground_;
3376 set_has_course_over_ground();
3377 course_over_ground_ = value;
3387 return (_has_bits_[0] & 0x00000001u) != 0;
3389 inline void BotStatus_Speed::set_has_over_ground() {
3390 _has_bits_[0] |= 0x00000001u;
3392 inline void BotStatus_Speed::clear_has_over_ground() {
3393 _has_bits_[0] &= ~0x00000001u;
3397 clear_has_over_ground();
3401 return over_ground_;
3404 set_has_over_ground();
3405 over_ground_ = value;
3411 return (_has_bits_[0] & 0x00000002u) != 0;
3413 inline void BotStatus_Speed::set_has_over_water() {
3414 _has_bits_[0] |= 0x00000002u;
3416 inline void BotStatus_Speed::clear_has_over_water() {
3417 _has_bits_[0] &= ~0x00000002u;
3421 clear_has_over_water();
3428 set_has_over_water();
3429 over_water_ = value;
3439 return (_has_bits_[0] & 0x00000040u) != 0;
3441 inline void BotStatus::set_has_bot_id() {
3442 _has_bits_[0] |= 0x00000040u;
3444 inline void BotStatus::clear_has_bot_id() {
3445 _has_bits_[0] &= ~0x00000040u;
3463 return (_has_bits_[0] & 0x00000008u) != 0;
3465 inline void BotStatus::set_has_time() {
3466 _has_bits_[0] |= 0x00000008u;
3468 inline void BotStatus::clear_has_time() {
3469 _has_bits_[0] &= ~0x00000008u;
3472 time_ = GOOGLE_ULONGLONG(0);
3487 return (_has_bits_[0] & 0x00000010u) != 0;
3489 inline void BotStatus::set_has_last_command_time() {
3490 _has_bits_[0] |= 0x00000010u;
3492 inline void BotStatus::clear_has_last_command_time() {
3493 _has_bits_[0] &= ~0x00000010u;
3496 last_command_time_ = GOOGLE_ULONGLONG(0);
3497 clear_has_last_command_time();
3501 return last_command_time_;
3504 set_has_last_command_time();
3505 last_command_time_ = value;
3511 return (_has_bits_[0] & 0x02000000u) != 0;
3513 inline void BotStatus::set_has_health_state() {
3514 _has_bits_[0] |= 0x02000000u;
3516 inline void BotStatus::clear_has_health_state() {
3517 _has_bits_[0] &= ~0x02000000u;
3521 clear_has_health_state();
3525 return static_cast< ::goby::middleware::protobuf::HealthState
>(health_state_);
3528 assert(::goby::middleware::protobuf::HealthState_IsValid(value));
3529 set_has_health_state();
3530 health_state_ = value;
3536 return error_.size();
3547 error_.Set(index, value);
3555 inline const ::google::protobuf::RepeatedField<int>&
3560 inline ::google::protobuf::RepeatedField<int>*
3568 return warning_.size();
3579 warning_.Set(index, value);
3584 warning_.Add(value);
3587 inline const ::google::protobuf::RepeatedField<int>&
3592 inline ::google::protobuf::RepeatedField<int>*
3600 return (_has_bits_[0] & 0x04000000u) != 0;
3602 inline void BotStatus::set_has_bot_type() {
3603 _has_bits_[0] |= 0x04000000u;
3605 inline void BotStatus::clear_has_bot_type() {
3606 _has_bits_[0] &= ~0x04000000u;
3610 clear_has_bot_type();
3625 return (_has_bits_[0] & 0x00000001u) != 0;
3627 inline void BotStatus::set_has_location() {
3628 _has_bits_[0] |= 0x00000001u;
3630 inline void BotStatus::clear_has_location() {
3631 _has_bits_[0] &= ~0x00000001u;
3633 inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::_internal_location()
const {
3637 const ::jaiabot::protobuf::GeographicCoordinate* p = location_;
3644 clear_has_location();
3651 if (location_ == NULL) {
3652 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
3659 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3660 if (message_arena == NULL) {
3661 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(location_);
3664 ::google::protobuf::Arena* submessage_arena = NULL;
3665 if (message_arena != submessage_arena) {
3666 location = ::google::protobuf::internal::GetOwnedMessage(
3667 message_arena,
location, submessage_arena);
3671 clear_has_location();
3679 return (_has_bits_[0] & 0x00000020u) != 0;
3681 inline void BotStatus::set_has_depth() {
3682 _has_bits_[0] |= 0x00000020u;
3684 inline void BotStatus::clear_has_depth() {
3685 _has_bits_[0] &= ~0x00000020u;
3703 return (_has_bits_[0] & 0x00000002u) != 0;
3705 inline void BotStatus::set_has_attitude() {
3706 _has_bits_[0] |= 0x00000002u;
3708 inline void BotStatus::clear_has_attitude() {
3709 _has_bits_[0] &= ~0x00000002u;
3712 if (attitude_ != NULL) attitude_->
Clear();
3713 clear_has_attitude();
3715 inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::_internal_attitude()
const {
3719 const ::jaiabot::protobuf::BotStatus_Attitude* p = attitude_;
3726 clear_has_attitude();
3733 if (attitude_ == NULL) {
3734 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude>(GetArenaNoVirtual());
3741 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3742 if (message_arena == NULL) {
3746 ::google::protobuf::Arena* submessage_arena = NULL;
3747 if (message_arena != submessage_arena) {
3748 attitude = ::google::protobuf::internal::GetOwnedMessage(
3749 message_arena,
attitude, submessage_arena);
3753 clear_has_attitude();
3761 return (_has_bits_[0] & 0x00000004u) != 0;
3763 inline void BotStatus::set_has_speed() {
3764 _has_bits_[0] |= 0x00000004u;
3766 inline void BotStatus::clear_has_speed() {
3767 _has_bits_[0] &= ~0x00000004u;
3770 if (speed_ != NULL) speed_->
Clear();
3773 inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::_internal_speed()
const {
3777 const ::jaiabot::protobuf::BotStatus_Speed* p = speed_;
3791 if (speed_ == NULL) {
3792 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed>(GetArenaNoVirtual());
3799 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3800 if (message_arena == NULL) {
3804 ::google::protobuf::Arena* submessage_arena = NULL;
3805 if (message_arena != submessage_arena) {
3806 speed = ::google::protobuf::internal::GetOwnedMessage(
3807 message_arena,
speed, submessage_arena);
3819 return (_has_bits_[0] & 0x00000080u) != 0;
3821 inline void BotStatus::set_has_mission_state() {
3822 _has_bits_[0] |= 0x00000080u;
3824 inline void BotStatus::clear_has_mission_state() {
3825 _has_bits_[0] &= ~0x00000080u;
3829 clear_has_mission_state();
3837 set_has_mission_state();
3838 mission_state_ = value;
3844 return (_has_bits_[0] & 0x00000400u) != 0;
3846 inline void BotStatus::set_has_active_goal() {
3847 _has_bits_[0] |= 0x00000400u;
3849 inline void BotStatus::clear_has_active_goal() {
3850 _has_bits_[0] &= ~0x00000400u;
3854 clear_has_active_goal();
3858 return active_goal_;
3861 set_has_active_goal();
3862 active_goal_ = value;
3868 return (_has_bits_[0] & 0x00000200u) != 0;
3870 inline void BotStatus::set_has_distance_to_active_goal() {
3871 _has_bits_[0] |= 0x00000200u;
3873 inline void BotStatus::clear_has_distance_to_active_goal() {
3874 _has_bits_[0] &= ~0x00000200u;
3877 distance_to_active_goal_ = 0;
3878 clear_has_distance_to_active_goal();
3882 return distance_to_active_goal_;
3885 set_has_distance_to_active_goal();
3886 distance_to_active_goal_ = value;
3892 return (_has_bits_[0] & 0x00000800u) != 0;
3894 inline void BotStatus::set_has_active_goal_timeout() {
3895 _has_bits_[0] |= 0x00000800u;
3897 inline void BotStatus::clear_has_active_goal_timeout() {
3898 _has_bits_[0] &= ~0x00000800u;
3901 active_goal_timeout_ = 0u;
3902 clear_has_active_goal_timeout();
3906 return active_goal_timeout_;
3909 set_has_active_goal_timeout();
3910 active_goal_timeout_ = value;
3916 return (_has_bits_[0] & 0x00002000u) != 0;
3918 inline void BotStatus::set_has_repeat_index() {
3919 _has_bits_[0] |= 0x00002000u;
3921 inline void BotStatus::clear_has_repeat_index() {
3922 _has_bits_[0] &= ~0x00002000u;
3926 clear_has_repeat_index();
3930 return repeat_index_;
3933 set_has_repeat_index();
3934 repeat_index_ = value;
3940 return (_has_bits_[0] & 0x00001000u) != 0;
3942 inline void BotStatus::set_has_salinity() {
3943 _has_bits_[0] |= 0x00001000u;
3945 inline void BotStatus::clear_has_salinity() {
3946 _has_bits_[0] &= ~0x00001000u;
3950 clear_has_salinity();
3964 return (_has_bits_[0] & 0x00008000u) != 0;
3966 inline void BotStatus::set_has_temperature() {
3967 _has_bits_[0] |= 0x00008000u;
3969 inline void BotStatus::clear_has_temperature() {
3970 _has_bits_[0] &= ~0x00008000u;
3974 clear_has_temperature();
3978 return temperature_;
3981 set_has_temperature();
3982 temperature_ = value;
3988 return (_has_bits_[0] & 0x00010000u) != 0;
3990 inline void BotStatus::set_has_thermocouple_temperature() {
3991 _has_bits_[0] |= 0x00010000u;
3993 inline void BotStatus::clear_has_thermocouple_temperature() {
3994 _has_bits_[0] &= ~0x00010000u;
3997 thermocouple_temperature_ = 0;
3998 clear_has_thermocouple_temperature();
4002 return thermocouple_temperature_;
4005 set_has_thermocouple_temperature();
4006 thermocouple_temperature_ = value;
4012 return (_has_bits_[0] & 0x00020000u) != 0;
4014 inline void BotStatus::set_has_vv_current() {
4015 _has_bits_[0] |= 0x00020000u;
4017 inline void BotStatus::clear_has_vv_current() {
4018 _has_bits_[0] &= ~0x00020000u;
4022 clear_has_vv_current();
4029 set_has_vv_current();
4030 vv_current_ = value;
4036 return (_has_bits_[0] & 0x00040000u) != 0;
4038 inline void BotStatus::set_has_vcc_current() {
4039 _has_bits_[0] |= 0x00040000u;
4041 inline void BotStatus::clear_has_vcc_current() {
4042 _has_bits_[0] &= ~0x00040000u;
4046 clear_has_vcc_current();
4050 return vcc_current_;
4053 set_has_vcc_current();
4054 vcc_current_ = value;
4060 return (_has_bits_[0] & 0x00080000u) != 0;
4062 inline void BotStatus::set_has_vcc_voltage() {
4063 _has_bits_[0] |= 0x00080000u;
4065 inline void BotStatus::clear_has_vcc_voltage() {
4066 _has_bits_[0] &= ~0x00080000u;
4070 clear_has_vcc_voltage();
4074 return vcc_voltage_;
4077 set_has_vcc_voltage();
4078 vcc_voltage_ = value;
4084 return (_has_bits_[0] & 0x00100000u) != 0;
4086 inline void BotStatus::set_has_battery_percent() {
4087 _has_bits_[0] |= 0x00100000u;
4089 inline void BotStatus::clear_has_battery_percent() {
4090 _has_bits_[0] &= ~0x00100000u;
4093 battery_percent_ = 0;
4094 clear_has_battery_percent();
4098 return battery_percent_;
4101 set_has_battery_percent();
4102 battery_percent_ = value;
4108 return (_has_bits_[0] & 0x00004000u) != 0;
4110 inline void BotStatus::set_has_calibration_status() {
4111 _has_bits_[0] |= 0x00004000u;
4113 inline void BotStatus::clear_has_calibration_status() {
4114 _has_bits_[0] &= ~0x00004000u;
4117 calibration_status_ = 0;
4118 clear_has_calibration_status();
4122 return calibration_status_;
4125 set_has_calibration_status();
4126 calibration_status_ = value;
4132 return (_has_bits_[0] & 0x01000000u) != 0;
4134 inline void BotStatus::set_has_calibration_state() {
4135 _has_bits_[0] |= 0x01000000u;
4137 inline void BotStatus::clear_has_calibration_state() {
4138 _has_bits_[0] &= ~0x01000000u;
4141 calibration_state_ = 1;
4142 clear_has_calibration_state();
4150 set_has_calibration_state();
4151 calibration_state_ = value;
4157 return (_has_bits_[0] & 0x00200000u) != 0;
4159 inline void BotStatus::set_has_hdop() {
4160 _has_bits_[0] |= 0x00200000u;
4162 inline void BotStatus::clear_has_hdop() {
4163 _has_bits_[0] &= ~0x00200000u;
4181 return (_has_bits_[0] & 0x00400000u) != 0;
4183 inline void BotStatus::set_has_pdop() {
4184 _has_bits_[0] |= 0x00400000u;
4186 inline void BotStatus::clear_has_pdop() {
4187 _has_bits_[0] &= ~0x00400000u;
4205 return (_has_bits_[0] & 0x00000100u) != 0;
4207 inline void BotStatus::set_has_wifi_link_quality_percentage() {
4208 _has_bits_[0] |= 0x00000100u;
4210 inline void BotStatus::clear_has_wifi_link_quality_percentage() {
4211 _has_bits_[0] &= ~0x00000100u;
4214 wifi_link_quality_percentage_ = 0;
4215 clear_has_wifi_link_quality_percentage();
4219 return wifi_link_quality_percentage_;
4222 set_has_wifi_link_quality_percentage();
4223 wifi_link_quality_percentage_ = value;
4229 return (_has_bits_[0] & 0x00800000u) != 0;
4231 inline void BotStatus::set_has_received_time() {
4232 _has_bits_[0] |= 0x00800000u;
4234 inline void BotStatus::clear_has_received_time() {
4235 _has_bits_[0] &= ~0x00800000u;
4238 received_time_ = GOOGLE_ULONGLONG(0);
4239 clear_has_received_time();
4243 return received_time_;
4246 set_has_received_time();
4247 received_time_ = value;
4257 return (_has_bits_[0] & 0x00000001u) != 0;
4259 inline void DriftPacket_EstimatedDrift::set_has_speed() {
4260 _has_bits_[0] |= 0x00000001u;
4262 inline void DriftPacket_EstimatedDrift::clear_has_speed() {
4263 _has_bits_[0] &= ~0x00000001u;
4281 return (_has_bits_[0] & 0x00000002u) != 0;
4283 inline void DriftPacket_EstimatedDrift::set_has_heading() {
4284 _has_bits_[0] |= 0x00000002u;
4286 inline void DriftPacket_EstimatedDrift::clear_has_heading() {
4287 _has_bits_[0] &= ~0x00000002u;
4291 clear_has_heading();
4309 return (_has_bits_[0] & 0x00000008u) != 0;
4311 inline void DriftPacket::set_has_drift_duration() {
4312 _has_bits_[0] |= 0x00000008u;
4314 inline void DriftPacket::clear_has_drift_duration() {
4315 _has_bits_[0] &= ~0x00000008u;
4318 drift_duration_ = 0;
4319 clear_has_drift_duration();
4323 return drift_duration_;
4326 set_has_drift_duration();
4327 drift_duration_ = value;
4333 return (_has_bits_[0] & 0x00000001u) != 0;
4335 inline void DriftPacket::set_has_estimated_drift() {
4336 _has_bits_[0] |= 0x00000001u;
4338 inline void DriftPacket::clear_has_estimated_drift() {
4339 _has_bits_[0] &= ~0x00000001u;
4342 if (estimated_drift_ != NULL) estimated_drift_->
Clear();
4343 clear_has_estimated_drift();
4345 inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::_internal_estimated_drift()
const {
4346 return *estimated_drift_;
4349 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift* p = estimated_drift_;
4356 clear_has_estimated_drift();
4358 estimated_drift_ = NULL;
4362 set_has_estimated_drift();
4363 if (estimated_drift_ == NULL) {
4364 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DriftPacket_EstimatedDrift>(GetArenaNoVirtual());
4365 estimated_drift_ = p;
4368 return estimated_drift_;
4371 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4372 if (message_arena == NULL) {
4373 delete estimated_drift_;
4376 ::google::protobuf::Arena* submessage_arena = NULL;
4377 if (message_arena != submessage_arena) {
4381 set_has_estimated_drift();
4383 clear_has_estimated_drift();
4391 return (_has_bits_[0] & 0x00000002u) != 0;
4393 inline void DriftPacket::set_has_start_location() {
4394 _has_bits_[0] |= 0x00000002u;
4396 inline void DriftPacket::clear_has_start_location() {
4397 _has_bits_[0] &= ~0x00000002u;
4399 inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_start_location()
const {
4400 return *start_location_;
4403 const ::jaiabot::protobuf::GeographicCoordinate* p = start_location_;
4410 clear_has_start_location();
4412 start_location_ = NULL;
4416 set_has_start_location();
4417 if (start_location_ == NULL) {
4418 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
4419 start_location_ = p;
4422 return start_location_;
4425 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4426 if (message_arena == NULL) {
4427 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(start_location_);
4430 ::google::protobuf::Arena* submessage_arena = NULL;
4431 if (message_arena != submessage_arena) {
4435 set_has_start_location();
4437 clear_has_start_location();
4445 return (_has_bits_[0] & 0x00000004u) != 0;
4447 inline void DriftPacket::set_has_end_location() {
4448 _has_bits_[0] |= 0x00000004u;
4450 inline void DriftPacket::clear_has_end_location() {
4451 _has_bits_[0] &= ~0x00000004u;
4453 inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_end_location()
const {
4454 return *end_location_;
4457 const ::jaiabot::protobuf::GeographicCoordinate* p = end_location_;
4464 clear_has_end_location();
4466 end_location_ = NULL;
4470 set_has_end_location();
4471 if (end_location_ == NULL) {
4472 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
4476 return end_location_;
4479 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4480 if (message_arena == NULL) {
4481 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(end_location_);
4484 ::google::protobuf::Arena* submessage_arena = NULL;
4485 if (message_arena != submessage_arena) {
4486 end_location = ::google::protobuf::internal::GetOwnedMessage(
4489 set_has_end_location();
4491 clear_has_end_location();
4499 return (_has_bits_[0] & 0x00000010u) != 0;
4501 inline void DriftPacket::set_has_significant_wave_height() {
4502 _has_bits_[0] |= 0x00000010u;
4504 inline void DriftPacket::clear_has_significant_wave_height() {
4505 _has_bits_[0] &= ~0x00000010u;
4508 significant_wave_height_ = 0;
4509 clear_has_significant_wave_height();
4513 return significant_wave_height_;
4516 set_has_significant_wave_height();
4517 significant_wave_height_ = value;
4527 return (_has_bits_[0] & 0x00000001u) != 0;
4529 inline void DivePacket_Measurements::set_has_mean_depth() {
4530 _has_bits_[0] |= 0x00000001u;
4532 inline void DivePacket_Measurements::clear_has_mean_depth() {
4533 _has_bits_[0] &= ~0x00000001u;
4537 clear_has_mean_depth();
4544 set_has_mean_depth();
4545 mean_depth_ = value;
4551 return (_has_bits_[0] & 0x00000002u) != 0;
4553 inline void DivePacket_Measurements::set_has_mean_temperature() {
4554 _has_bits_[0] |= 0x00000002u;
4556 inline void DivePacket_Measurements::clear_has_mean_temperature() {
4557 _has_bits_[0] &= ~0x00000002u;
4560 mean_temperature_ = 0;
4561 clear_has_mean_temperature();
4565 return mean_temperature_;
4568 set_has_mean_temperature();
4569 mean_temperature_ = value;
4575 return (_has_bits_[0] & 0x00000004u) != 0;
4577 inline void DivePacket_Measurements::set_has_mean_salinity() {
4578 _has_bits_[0] |= 0x00000004u;
4580 inline void DivePacket_Measurements::clear_has_mean_salinity() {
4581 _has_bits_[0] &= ~0x00000004u;
4585 clear_has_mean_salinity();
4589 return mean_salinity_;
4592 set_has_mean_salinity();
4593 mean_salinity_ = value;
4603 return (_has_bits_[0] & 0x00000002u) != 0;
4605 inline void DivePacket::set_has_dive_rate() {
4606 _has_bits_[0] |= 0x00000002u;
4608 inline void DivePacket::clear_has_dive_rate() {
4609 _has_bits_[0] &= ~0x00000002u;
4613 clear_has_dive_rate();
4620 set_has_dive_rate();
4627 return (_has_bits_[0] & 0x00000004u) != 0;
4629 inline void DivePacket::set_has_unpowered_rise_rate() {
4630 _has_bits_[0] |= 0x00000004u;
4632 inline void DivePacket::clear_has_unpowered_rise_rate() {
4633 _has_bits_[0] &= ~0x00000004u;
4636 unpowered_rise_rate_ = 0;
4637 clear_has_unpowered_rise_rate();
4641 return unpowered_rise_rate_;
4644 set_has_unpowered_rise_rate();
4645 unpowered_rise_rate_ = value;
4651 return (_has_bits_[0] & 0x00000008u) != 0;
4653 inline void DivePacket::set_has_powered_rise_rate() {
4654 _has_bits_[0] |= 0x00000008u;
4656 inline void DivePacket::clear_has_powered_rise_rate() {
4657 _has_bits_[0] &= ~0x00000008u;
4660 powered_rise_rate_ = 0;
4661 clear_has_powered_rise_rate();
4665 return powered_rise_rate_;
4668 set_has_powered_rise_rate();
4669 powered_rise_rate_ = value;
4675 return (_has_bits_[0] & 0x00000040u) != 0;
4677 inline void DivePacket::set_has_depth_achieved() {
4678 _has_bits_[0] |= 0x00000040u;
4680 inline void DivePacket::clear_has_depth_achieved() {
4681 _has_bits_[0] &= ~0x00000040u;
4684 depth_achieved_ = 0;
4685 clear_has_depth_achieved();
4689 return depth_achieved_;
4692 set_has_depth_achieved();
4693 depth_achieved_ = value;
4699 return measurement_.size();
4702 measurement_.Clear();
4706 return measurement_.Mutable(index);
4708 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
4711 return &measurement_;
4715 return measurement_.Get(index);
4719 return measurement_.Add();
4721 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
4724 return measurement_;
4729 return (_has_bits_[0] & 0x00000001u) != 0;
4731 inline void DivePacket::set_has_start_location() {
4732 _has_bits_[0] |= 0x00000001u;
4734 inline void DivePacket::clear_has_start_location() {
4735 _has_bits_[0] &= ~0x00000001u;
4737 inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::_internal_start_location()
const {
4738 return *start_location_;
4741 const ::jaiabot::protobuf::GeographicCoordinate* p = start_location_;
4748 clear_has_start_location();
4750 start_location_ = NULL;
4754 set_has_start_location();
4755 if (start_location_ == NULL) {
4756 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
4757 start_location_ = p;
4760 return start_location_;
4763 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4764 if (message_arena == NULL) {
4765 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(start_location_);
4768 ::google::protobuf::Arena* submessage_arena = NULL;
4769 if (message_arena != submessage_arena) {
4773 set_has_start_location();
4775 clear_has_start_location();
4783 return (_has_bits_[0] & 0x00000080u) != 0;
4785 inline void DivePacket::set_has_duration_to_acquire_gps() {
4786 _has_bits_[0] |= 0x00000080u;
4788 inline void DivePacket::clear_has_duration_to_acquire_gps() {
4789 _has_bits_[0] &= ~0x00000080u;
4792 duration_to_acquire_gps_ = 0;
4793 clear_has_duration_to_acquire_gps();
4797 return duration_to_acquire_gps_;
4800 set_has_duration_to_acquire_gps();
4801 duration_to_acquire_gps_ = value;
4807 return (_has_bits_[0] & 0x00000010u) != 0;
4809 inline void DivePacket::set_has_bottom_dive() {
4810 _has_bits_[0] |= 0x00000010u;
4812 inline void DivePacket::clear_has_bottom_dive() {
4813 _has_bits_[0] &= ~0x00000010u;
4816 bottom_dive_ =
false;
4817 clear_has_bottom_dive();
4821 return bottom_dive_;
4824 set_has_bottom_dive();
4825 bottom_dive_ = value;
4831 return (_has_bits_[0] & 0x00000020u) != 0;
4833 inline void DivePacket::set_has_reached_min_depth() {
4834 _has_bits_[0] |= 0x00000020u;
4836 inline void DivePacket::clear_has_reached_min_depth() {
4837 _has_bits_[0] &= ~0x00000020u;
4840 reached_min_depth_ =
false;
4841 clear_has_reached_min_depth();
4845 return reached_min_depth_;
4848 set_has_reached_min_depth();
4849 reached_min_depth_ = value;
4855 return (_has_bits_[0] & 0x00000200u) != 0;
4857 inline void DivePacket::set_has_bottom_type() {
4858 _has_bits_[0] |= 0x00000200u;
4860 inline void DivePacket::clear_has_bottom_type() {
4861 _has_bits_[0] &= ~0x00000200u;
4865 clear_has_bottom_type();
4873 set_has_bottom_type();
4874 bottom_type_ = value;
4880 return (_has_bits_[0] & 0x00000100u) != 0;
4882 inline void DivePacket::set_has_max_acceleration() {
4883 _has_bits_[0] |= 0x00000100u;
4885 inline void DivePacket::clear_has_max_acceleration() {
4886 _has_bits_[0] &= ~0x00000100u;
4889 max_acceleration_ = 0;
4890 clear_has_max_acceleration();
4894 return max_acceleration_;
4897 set_has_max_acceleration();
4898 max_acceleration_ = value;
4908 return (_has_bits_[0] & 0x00000008u) != 0;
4910 inline void TaskPacket::set_has_bot_id() {
4911 _has_bits_[0] |= 0x00000008u;
4913 inline void TaskPacket::clear_has_bot_id() {
4914 _has_bits_[0] &= ~0x00000008u;
4932 return (_has_bits_[0] & 0x00000004u) != 0;
4934 inline void TaskPacket::set_has_start_time() {
4935 _has_bits_[0] |= 0x00000004u;
4937 inline void TaskPacket::clear_has_start_time() {
4938 _has_bits_[0] &= ~0x00000004u;
4941 start_time_ = GOOGLE_ULONGLONG(0);
4942 clear_has_start_time();
4949 set_has_start_time();
4950 start_time_ = value;
4956 return (_has_bits_[0] & 0x00000020u) != 0;
4958 inline void TaskPacket::set_has_end_time() {
4959 _has_bits_[0] |= 0x00000020u;
4961 inline void TaskPacket::clear_has_end_time() {
4962 _has_bits_[0] &= ~0x00000020u;
4965 end_time_ = GOOGLE_ULONGLONG(0);
4966 clear_has_end_time();
4980 return (_has_bits_[0] & 0x00000010u) != 0;
4982 inline void TaskPacket::set_has_type() {
4983 _has_bits_[0] |= 0x00000010u;
4985 inline void TaskPacket::clear_has_type() {
4986 _has_bits_[0] &= ~0x00000010u;
5005 return (_has_bits_[0] & 0x00000001u) != 0;
5007 inline void TaskPacket::set_has_dive() {
5008 _has_bits_[0] |= 0x00000001u;
5010 inline void TaskPacket::clear_has_dive() {
5011 _has_bits_[0] &= ~0x00000001u;
5014 if (dive_ != NULL) dive_->
Clear();
5017 inline const ::jaiabot::protobuf::DivePacket& TaskPacket::_internal_dive()
const {
5021 const ::jaiabot::protobuf::DivePacket* p = dive_;
5035 if (dive_ == NULL) {
5036 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DivePacket>(GetArenaNoVirtual());
5043 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5044 if (message_arena == NULL) {
5048 ::google::protobuf::Arena* submessage_arena = NULL;
5049 if (message_arena != submessage_arena) {
5050 dive = ::google::protobuf::internal::GetOwnedMessage(
5051 message_arena,
dive, submessage_arena);
5063 return (_has_bits_[0] & 0x00000002u) != 0;
5065 inline void TaskPacket::set_has_drift() {
5066 _has_bits_[0] |= 0x00000002u;
5068 inline void TaskPacket::clear_has_drift() {
5069 _has_bits_[0] &= ~0x00000002u;
5072 if (drift_ != NULL) drift_->
Clear();
5075 inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::_internal_drift()
const {
5079 const ::jaiabot::protobuf::DriftPacket* p = drift_;
5093 if (drift_ == NULL) {
5094 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DriftPacket>(GetArenaNoVirtual());
5101 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5102 if (message_arena == NULL) {
5106 ::google::protobuf::Arena* submessage_arena = NULL;
5107 if (message_arena != submessage_arena) {
5108 drift = ::google::protobuf::internal::GetOwnedMessage(
5109 message_arena,
drift, submessage_arena);
5125 return (_has_bits_[0] & 0x00000008u) != 0;
5127 inline void ContactUpdate::set_has_contact() {
5128 _has_bits_[0] |= 0x00000008u;
5130 inline void ContactUpdate::clear_has_contact() {
5131 _has_bits_[0] &= ~0x00000008u;
5135 clear_has_contact();
5149 return (_has_bits_[0] & 0x00000001u) != 0;
5151 inline void ContactUpdate::set_has_location() {
5152 _has_bits_[0] |= 0x00000001u;
5154 inline void ContactUpdate::clear_has_location() {
5155 _has_bits_[0] &= ~0x00000001u;
5157 inline const ::jaiabot::protobuf::GeographicCoordinate& ContactUpdate::_internal_location()
const {
5161 const ::jaiabot::protobuf::GeographicCoordinate* p = location_;
5168 clear_has_location();
5175 if (location_ == NULL) {
5176 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
5183 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
5184 if (message_arena == NULL) {
5185 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(location_);
5188 ::google::protobuf::Arena* submessage_arena = NULL;
5189 if (message_arena != submessage_arena) {
5190 location = ::google::protobuf::internal::GetOwnedMessage(
5191 message_arena,
location, submessage_arena);
5195 clear_has_location();
5203 return (_has_bits_[0] & 0x00000002u) != 0;
5205 inline void ContactUpdate::set_has_speed_over_ground() {
5206 _has_bits_[0] |= 0x00000002u;
5208 inline void ContactUpdate::clear_has_speed_over_ground() {
5209 _has_bits_[0] &= ~0x00000002u;
5212 speed_over_ground_ = 0;
5213 clear_has_speed_over_ground();
5217 return speed_over_ground_;
5220 set_has_speed_over_ground();
5221 speed_over_ground_ = value;
5227 return (_has_bits_[0] & 0x00000004u) != 0;
5229 inline void ContactUpdate::set_has_heading_or_cog() {
5230 _has_bits_[0] |= 0x00000004u;
5232 inline void ContactUpdate::clear_has_heading_or_cog() {
5233 _has_bits_[0] &= ~0x00000004u;
5236 heading_or_cog_ = 0;
5237 clear_has_heading_or_cog();
5241 return heading_or_cog_;
5244 set_has_heading_or_cog();
5245 heading_or_cog_ = value;
5250 #pragma GCC diagnostic pop
5279 namespace protobuf {
5283 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::Command_CommandType>() {
5288 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::CommandForHub_HubCommandType>() {
5293 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::BotStatus_BotType>() {
5298 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::DivePacket_BottomType>() {
5307 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2fjaia_5fdccl_2eproto