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[10];
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 DivePacketDefaultTypeInternal;
87 class DivePacket_Measurements;
88 class DivePacket_MeasurementsDefaultTypeInternal;
91 class DriftPacketDefaultTypeInternal;
93 class DriftPacket_EstimatedDrift;
94 class DriftPacket_EstimatedDriftDefaultTypeInternal;
97 class TaskPacketDefaultTypeInternal;
147 return ::google::protobuf::internal::NameOfEnum(
152 return ::google::protobuf::internal::ParseNamedEnum<Command_CommandType>(
169 return ::google::protobuf::internal::NameOfEnum(
174 return ::google::protobuf::internal::ParseNamedEnum<CommandForHub_HubCommandType>(
188 return ::google::protobuf::internal::NameOfEnum(
193 return ::google::protobuf::internal::ParseNamedEnum<BotStatus_BotType>(
207 return ::google::protobuf::internal::NameOfEnum(
212 return ::google::protobuf::internal::ParseNamedEnum<DivePacket_BottomType>(
217 class Command :
public ::google::protobuf::Message {
231 *
this = ::std::move(from);
235 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
236 if (
this != &from) InternalSwap(&from);
244 return _internal_metadata_.unknown_fields();
247 return _internal_metadata_.mutable_unknown_fields();
250 static const ::google::protobuf::Descriptor*
descriptor();
262 return reinterpret_cast<const Command*
>(
276 return CreateMaybeMessage<Command>(NULL);
280 return CreateMaybeMessage<Command>(arena);
282 void CopyFrom(const ::google::protobuf::Message& from)
final;
283 void MergeFrom(const ::google::protobuf::Message& from)
final;
291 ::
google::protobuf::io::CodedInputStream* input) final;
293 ::
google::protobuf::io::CodedOutputStream* output) const final;
295 bool deterministic, ::
google::protobuf::uint8* target) const final;
301 void SetCachedSize(
int size)
const final;
302 void InternalSwap(
Command* other);
304 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
307 inline void* MaybeArenaPtr()
const {
312 ::google::protobuf::Metadata
GetMetadata() const final;
366 static inline const ::google::protobuf::EnumDescriptor*
384 ::google::protobuf::uint64
time()
const;
385 void set_time(::google::protobuf::uint64 value);
391 ::google::protobuf::uint32
bot_id()
const;
392 void set_bot_id(::google::protobuf::uint32 value);
406 const ::jaiabot::protobuf::MissionPlan& _internal_plan()
const;
408 const ::jaiabot::protobuf::MissionPlan&
plan()
const;
418 const ::jaiabot::protobuf::RemoteControl& _internal_rc()
const;
420 const ::jaiabot::protobuf::RemoteControl&
rc()
const;
430 const ::jaiabot::protobuf::MissionTask& _internal_rc_task()
const;
432 const ::jaiabot::protobuf::MissionTask&
rc_task()
const;
442 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;
444 template<
typename Quantity >
446 {
set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
448 template<
typename Quantity >
453 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
457 void set_has_bot_id();
458 void clear_has_bot_id();
460 void clear_has_time();
462 void clear_has_type();
465 void set_has_rc_task();
467 inline bool has_command_data()
const;
468 inline void clear_has_command_data();
471 size_t RequiredFieldsByteSizeFallback()
const;
473 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
474 ::google::protobuf::internal::HasBits<1> _has_bits_;
475 mutable ::google::protobuf::internal::CachedSize _cached_size_;
476 ::google::protobuf::uint64 time_;
477 ::google::protobuf::uint32 bot_id_;
479 union CommandDataUnion {
480 CommandDataUnion() {}
485 ::google::protobuf::uint32 _oneof_case_[1];
487 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
505 *
this = ::std::move(from);
509 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
510 if (
this != &from) InternalSwap(&from);
518 return _internal_metadata_.unknown_fields();
521 return _internal_metadata_.mutable_unknown_fields();
524 static const ::google::protobuf::Descriptor*
descriptor();
543 return CreateMaybeMessage<CommandForHub>(NULL);
547 return CreateMaybeMessage<CommandForHub>(arena);
549 void CopyFrom(const ::google::protobuf::Message& from)
final;
550 void MergeFrom(const ::google::protobuf::Message& from)
final;
558 ::
google::protobuf::io::CodedInputStream* input) final;
560 ::
google::protobuf::io::CodedOutputStream* output) const final;
562 bool deterministic, ::
google::protobuf::uint8* target) const final;
568 void SetCachedSize(
int size)
const final;
571 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
574 inline void* MaybeArenaPtr()
const {
579 ::google::protobuf::Metadata
GetMetadata() const final;
603 static inline const ::google::protobuf::EnumDescriptor*
622 const ::jaiabot::protobuf::GeographicCoordinate& _internal_hub_location()
const;
624 const ::jaiabot::protobuf::GeographicCoordinate&
hub_location()
const;
633 ::google::protobuf::uint64
time()
const;
634 void set_time(::google::protobuf::uint64 value);
640 ::google::protobuf::uint32
hub_id()
const;
641 void set_hub_id(::google::protobuf::uint32 value);
659 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;
661 template<
typename Quantity >
663 {
set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
665 template<
typename Quantity >
670 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
674 void set_has_hub_id();
675 void clear_has_hub_id();
677 void clear_has_time();
679 void clear_has_type();
680 void set_has_scan_for_bot_id();
681 void clear_has_scan_for_bot_id();
682 void set_has_hub_location();
683 void clear_has_hub_location();
686 size_t RequiredFieldsByteSizeFallback()
const;
688 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
689 ::google::protobuf::internal::HasBits<1> _has_bits_;
690 mutable ::google::protobuf::internal::CachedSize _cached_size_;
692 ::google::protobuf::uint64 time_;
693 ::google::protobuf::uint32 hub_id_;
694 ::google::protobuf::uint32 scan_for_bot_id_;
696 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
714 *
this = ::std::move(from);
718 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
719 if (
this != &from) InternalSwap(&from);
727 return _internal_metadata_.unknown_fields();
730 return _internal_metadata_.mutable_unknown_fields();
733 static const ::google::protobuf::Descriptor*
descriptor();
752 return CreateMaybeMessage<BotStatus_Attitude>(NULL);
756 return CreateMaybeMessage<BotStatus_Attitude>(arena);
758 void CopyFrom(const ::google::protobuf::Message& from)
final;
759 void MergeFrom(const ::google::protobuf::Message& from)
final;
767 ::
google::protobuf::io::CodedInputStream* input) final;
769 ::
google::protobuf::io::CodedOutputStream* output) const final;
771 bool deterministic, ::
google::protobuf::uint8* target) const final;
777 void SetCachedSize(
int size)
const final;
780 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
783 inline void* MaybeArenaPtr()
const {
788 ::google::protobuf::Metadata
GetMetadata() const final;
805 double pitch() const;
826 template<typename Quantity >
828 {
set_roll(boost::units::quantity<roll_unit,double >(value_w_units).value() ); };
830 template<
typename Quantity >
835 {
return roll_with_units<boost::units::quantity< roll_unit,double > >(); };
839 typedef boost::units::unit<pitch_dimension,boost::units::degree::system>
pitch_unit;
841 template<
typename Quantity >
843 {
set_pitch(boost::units::quantity<pitch_unit,double >(value_w_units).value() ); };
845 template<
typename Quantity >
850 {
return pitch_with_units<boost::units::quantity< pitch_unit,double > >(); };
854 typedef boost::units::unit<heading_dimension,boost::units::degree::system>
heading_unit;
856 template<
typename Quantity >
858 {
set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
860 template<
typename Quantity >
865 {
return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
871 template<
typename Quantity >
873 {
set_course_over_ground(boost::units::quantity<course_over_ground_unit,double >(value_w_units).value() ); };
875 template<
typename Quantity >
880 {
return course_over_ground_with_units<boost::units::quantity< course_over_ground_unit,double > >(); };
885 void clear_has_roll();
886 void set_has_pitch();
887 void clear_has_pitch();
888 void set_has_heading();
889 void clear_has_heading();
890 void set_has_course_over_ground();
891 void clear_has_course_over_ground();
893 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
894 ::google::protobuf::internal::HasBits<1> _has_bits_;
895 mutable ::google::protobuf::internal::CachedSize _cached_size_;
899 double course_over_ground_;
900 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
918 *
this = ::std::move(from);
922 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
923 if (
this != &from) InternalSwap(&from);
931 return _internal_metadata_.unknown_fields();
934 return _internal_metadata_.mutable_unknown_fields();
937 static const ::google::protobuf::Descriptor*
descriptor();
956 return CreateMaybeMessage<BotStatus_Speed>(NULL);
960 return CreateMaybeMessage<BotStatus_Speed>(arena);
962 void CopyFrom(const ::google::protobuf::Message& from)
final;
963 void MergeFrom(const ::google::protobuf::Message& from)
final;
971 ::
google::protobuf::io::CodedInputStream* input) final;
973 ::
google::protobuf::io::CodedOutputStream* output) const final;
975 bool deterministic, ::
google::protobuf::uint8* target) const final;
981 void SetCachedSize(
int size)
const final;
984 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
987 inline void* MaybeArenaPtr()
const {
992 ::google::protobuf::Metadata
GetMetadata() const final;
1016 template<typename Quantity >
1018 {
set_over_ground(boost::units::quantity<over_ground_unit,double >(value_w_units).value() ); };
1020 template<
typename Quantity >
1025 {
return over_ground_with_units<boost::units::quantity< over_ground_unit,double > >(); };
1029 typedef boost::units::unit<over_water_dimension,boost::units::si::system>
over_water_unit;
1031 template<
typename Quantity >
1033 {
set_over_water(boost::units::quantity<over_water_unit,double >(value_w_units).value() ); };
1035 template<
typename Quantity >
1040 {
return over_water_with_units<boost::units::quantity< over_water_unit,double > >(); };
1044 void set_has_over_ground();
1045 void clear_has_over_ground();
1046 void set_has_over_water();
1047 void clear_has_over_water();
1049 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1050 ::google::protobuf::internal::HasBits<1> _has_bits_;
1051 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1052 double over_ground_;
1054 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
1072 *
this = ::std::move(from);
1076 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1077 if (
this != &from) InternalSwap(&from);
1085 return _internal_metadata_.unknown_fields();
1088 return _internal_metadata_.mutable_unknown_fields();
1091 static const ::google::protobuf::Descriptor*
descriptor();
1096 return reinterpret_cast<const BotStatus*
>(
1110 return CreateMaybeMessage<BotStatus>(NULL);
1114 return CreateMaybeMessage<BotStatus>(arena);
1116 void CopyFrom(const ::google::protobuf::Message& from)
final;
1117 void MergeFrom(const ::google::protobuf::Message& from)
final;
1125 ::
google::protobuf::io::CodedInputStream* input) final;
1127 ::
google::protobuf::io::CodedOutputStream* output) const final;
1129 bool deterministic, ::
google::protobuf::uint8* target) const final;
1135 void SetCachedSize(
int size)
const final;
1138 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1141 inline void* MaybeArenaPtr()
const {
1146 ::google::protobuf::Metadata
GetMetadata() const final;
1167 static inline const ::google::protobuf::EnumDescriptor*
1188 const ::google::protobuf::RepeatedField<int>&
error()
const;
1198 const ::google::protobuf::RepeatedField<int>&
warning()
const;
1206 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location()
const;
1208 const ::jaiabot::protobuf::GeographicCoordinate&
location()
const;
1218 const ::jaiabot::protobuf::BotStatus_Attitude& _internal_attitude()
const;
1220 const ::jaiabot::protobuf::BotStatus_Attitude&
attitude()
const;
1230 const ::jaiabot::protobuf::BotStatus_Speed& _internal_speed()
const;
1232 const ::jaiabot::protobuf::BotStatus_Speed&
speed()
const;
1241 ::google::protobuf::uint64
time()
const;
1242 void set_time(::google::protobuf::uint64 value);
1255 double depth()
const;
1262 ::google::protobuf::uint32
bot_id()
const;
1263 void set_bot_id(::google::protobuf::uint32 value);
1367 double hdop()
const;
1374 double pdop()
const;
1395 ::goby::middleware::protobuf::HealthState
health_state()
const;
1408 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;
1410 template<
typename Quantity >
1412 {
set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1414 template<
typename Quantity >
1419 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
1423 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;
1425 template<
typename Quantity >
1427 {
set_last_command_time(boost::units::quantity<last_command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1429 template<
typename Quantity >
1434 {
return last_command_time_with_units<boost::units::quantity< last_command_time_unit,google::protobuf::uint64 > >(); };
1438 typedef boost::units::unit<depth_dimension,boost::units::si::system>
depth_unit;
1440 template<
typename Quantity >
1442 {
set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
1444 template<
typename Quantity >
1449 {
return depth_with_units<boost::units::quantity< depth_unit,double > >(); };
1455 template<
typename Quantity >
1459 template<
typename Quantity >
1464 {
return distance_to_active_goal_with_units<boost::units::quantity< distance_to_active_goal_unit,double > >(); };
1470 template<
typename Quantity >
1472 {
set_active_goal_timeout(boost::units::quantity<active_goal_timeout_unit,google::protobuf::uint32 >(value_w_units).value() ); };
1474 template<
typename Quantity >
1479 {
return active_goal_timeout_with_units<boost::units::quantity< active_goal_timeout_unit,google::protobuf::uint32 > >(); };
1483 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> >
temperature_unit;
1485 template<
typename Quantity >
1487 {
set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
1489 template<
typename Quantity >
1494 {
return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
1500 template<
typename Quantity >
1504 template<
typename Quantity >
1509 {
return thermocouple_temperature_with_units<boost::units::quantity< thermocouple_temperature_unit,double > >(); };
1513 typedef boost::units::unit<vv_current_dimension,boost::units::si::system>
vv_current_unit;
1515 template<
typename Quantity >
1517 {
set_vv_current(boost::units::quantity<vv_current_unit,double >(value_w_units).value() ); };
1519 template<
typename Quantity >
1524 {
return vv_current_with_units<boost::units::quantity< vv_current_unit,double > >(); };
1530 template<
typename Quantity >
1532 {
set_vcc_current(boost::units::quantity<vcc_current_unit,double >(value_w_units).value() ); };
1534 template<
typename Quantity >
1539 {
return vcc_current_with_units<boost::units::quantity< vcc_current_unit,double > >(); };
1545 template<
typename Quantity >
1547 {
set_vcc_voltage(boost::units::quantity<vcc_voltage_unit,double >(value_w_units).value() ); };
1549 template<
typename Quantity >
1554 {
return vcc_voltage_with_units<boost::units::quantity< vcc_voltage_unit,double > >(); };
1558 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;
1560 template<
typename Quantity >
1562 {
set_received_time(boost::units::quantity<received_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1564 template<
typename Quantity >
1569 {
return received_time_with_units<boost::units::quantity< received_time_unit,google::protobuf::uint64 > >(); };
1573 void set_has_bot_id();
1574 void clear_has_bot_id();
1575 void set_has_time();
1576 void clear_has_time();
1577 void set_has_last_command_time();
1578 void clear_has_last_command_time();
1579 void set_has_health_state();
1580 void clear_has_health_state();
1581 void set_has_bot_type();
1582 void clear_has_bot_type();
1583 void set_has_location();
1584 void clear_has_location();
1585 void set_has_depth();
1586 void clear_has_depth();
1587 void set_has_attitude();
1588 void clear_has_attitude();
1589 void set_has_speed();
1590 void clear_has_speed();
1591 void set_has_mission_state();
1592 void clear_has_mission_state();
1593 void set_has_active_goal();
1594 void clear_has_active_goal();
1595 void set_has_distance_to_active_goal();
1596 void clear_has_distance_to_active_goal();
1597 void set_has_active_goal_timeout();
1598 void clear_has_active_goal_timeout();
1599 void set_has_repeat_index();
1600 void clear_has_repeat_index();
1601 void set_has_salinity();
1602 void clear_has_salinity();
1603 void set_has_temperature();
1604 void clear_has_temperature();
1605 void set_has_thermocouple_temperature();
1606 void clear_has_thermocouple_temperature();
1607 void set_has_vv_current();
1608 void clear_has_vv_current();
1609 void set_has_vcc_current();
1610 void clear_has_vcc_current();
1611 void set_has_vcc_voltage();
1612 void clear_has_vcc_voltage();
1613 void set_has_battery_percent();
1614 void clear_has_battery_percent();
1615 void set_has_calibration_status();
1616 void clear_has_calibration_status();
1617 void set_has_calibration_state();
1618 void clear_has_calibration_state();
1619 void set_has_hdop();
1620 void clear_has_hdop();
1621 void set_has_pdop();
1622 void clear_has_pdop();
1623 void set_has_wifi_link_quality_percentage();
1624 void clear_has_wifi_link_quality_percentage();
1625 void set_has_received_time();
1626 void clear_has_received_time();
1629 size_t RequiredFieldsByteSizeFallback()
const;
1631 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1632 ::google::protobuf::internal::HasBits<1> _has_bits_;
1633 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1634 ::google::protobuf::RepeatedField<int> error_;
1635 ::google::protobuf::RepeatedField<int> warning_;
1639 ::google::protobuf::uint64 time_;
1640 ::google::protobuf::uint64 last_command_time_;
1642 ::google::protobuf::uint32 bot_id_;
1644 ::google::protobuf::int32 wifi_link_quality_percentage_;
1645 double distance_to_active_goal_;
1646 ::google::protobuf::int32 active_goal_;
1647 ::google::protobuf::uint32 active_goal_timeout_;
1649 ::google::protobuf::int32 repeat_index_;
1650 ::google::protobuf::int32 calibration_status_;
1651 double temperature_;
1652 double thermocouple_temperature_;
1654 double vcc_current_;
1655 double vcc_voltage_;
1656 double battery_percent_;
1659 ::google::protobuf::uint64 received_time_;
1660 int calibration_state_;
1663 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
1681 *
this = ::std::move(from);
1685 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1686 if (
this != &from) InternalSwap(&from);
1694 return _internal_metadata_.unknown_fields();
1697 return _internal_metadata_.mutable_unknown_fields();
1700 static const ::google::protobuf::Descriptor*
descriptor();
1719 return CreateMaybeMessage<DriftPacket_EstimatedDrift>(NULL);
1723 return CreateMaybeMessage<DriftPacket_EstimatedDrift>(arena);
1725 void CopyFrom(const ::google::protobuf::Message& from)
final;
1726 void MergeFrom(const ::google::protobuf::Message& from)
final;
1734 ::
google::protobuf::io::CodedInputStream* input) final;
1736 ::
google::protobuf::io::CodedOutputStream* output) const final;
1738 bool deterministic, ::
google::protobuf::uint8* target) const final;
1744 void SetCachedSize(
int size)
const final;
1747 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1750 inline void* MaybeArenaPtr()
const {
1755 ::google::protobuf::Metadata
GetMetadata() const final;
1765 double speed() const;
1779 template<typename Quantity >
1781 {
set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
1783 template<
typename Quantity >
1788 {
return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
1792 typedef boost::units::unit<heading_dimension,boost::units::degree::system>
heading_unit;
1794 template<
typename Quantity >
1796 {
set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
1798 template<
typename Quantity >
1803 {
return heading_with_units<boost::units::quantity< heading_unit,double > >(); };
1807 void set_has_speed();
1808 void clear_has_speed();
1809 void set_has_heading();
1810 void clear_has_heading();
1812 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1813 ::google::protobuf::internal::HasBits<1> _has_bits_;
1814 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1817 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
1835 *
this = ::std::move(from);
1839 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1840 if (
this != &from) InternalSwap(&from);
1848 return _internal_metadata_.unknown_fields();
1851 return _internal_metadata_.mutable_unknown_fields();
1854 static const ::google::protobuf::Descriptor*
descriptor();
1873 return CreateMaybeMessage<DriftPacket>(NULL);
1877 return CreateMaybeMessage<DriftPacket>(arena);
1879 void CopyFrom(const ::google::protobuf::Message& from)
final;
1880 void MergeFrom(const ::google::protobuf::Message& from)
final;
1888 ::
google::protobuf::io::CodedInputStream* input) final;
1890 ::
google::protobuf::io::CodedOutputStream* output) const final;
1892 bool deterministic, ::
google::protobuf::uint8* target) const final;
1898 void SetCachedSize(
int size)
const final;
1901 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1904 inline void* MaybeArenaPtr()
const {
1909 ::google::protobuf::Metadata
GetMetadata() const final;
1971 template<typename Quantity >
1973 {
set_drift_duration(boost::units::quantity<drift_duration_unit,google::protobuf::int32 >(value_w_units).value() ); };
1975 template<
typename Quantity >
1980 {
return drift_duration_with_units<boost::units::quantity< drift_duration_unit,google::protobuf::int32 > >(); };
1986 template<
typename Quantity >
1990 template<
typename Quantity >
1995 {
return significant_wave_height_with_units<boost::units::quantity< significant_wave_height_unit,double > >(); };
1999 void set_has_drift_duration();
2000 void clear_has_drift_duration();
2001 void set_has_estimated_drift();
2002 void clear_has_estimated_drift();
2003 void set_has_start_location();
2004 void clear_has_start_location();
2005 void set_has_end_location();
2006 void clear_has_end_location();
2007 void set_has_significant_wave_height();
2008 void clear_has_significant_wave_height();
2010 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2011 ::google::protobuf::internal::HasBits<1> _has_bits_;
2012 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2016 ::google::protobuf::int32 drift_duration_;
2017 double significant_wave_height_;
2018 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
2036 *
this = ::std::move(from);
2040 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2041 if (
this != &from) InternalSwap(&from);
2049 return _internal_metadata_.unknown_fields();
2052 return _internal_metadata_.mutable_unknown_fields();
2055 static const ::google::protobuf::Descriptor*
descriptor();
2074 return CreateMaybeMessage<DivePacket_Measurements>(NULL);
2078 return CreateMaybeMessage<DivePacket_Measurements>(arena);
2080 void CopyFrom(const ::google::protobuf::Message& from)
final;
2081 void MergeFrom(const ::google::protobuf::Message& from)
final;
2089 ::
google::protobuf::io::CodedInputStream* input) final;
2091 ::
google::protobuf::io::CodedOutputStream* output) const final;
2093 bool deterministic, ::
google::protobuf::uint8* target) const final;
2099 void SetCachedSize(
int size)
const final;
2102 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2105 inline void* MaybeArenaPtr()
const {
2110 ::google::protobuf::Metadata
GetMetadata() const final;
2141 template<typename Quantity >
2143 {
set_mean_depth(boost::units::quantity<mean_depth_unit,double >(value_w_units).value() ); };
2145 template<
typename Quantity >
2150 {
return mean_depth_with_units<boost::units::quantity< mean_depth_unit,double > >(); };
2154 typedef boost::units::absolute<boost::units::unit<mean_temperature_dimension,boost::units::celsius::system> >
mean_temperature_unit;
2156 template<
typename Quantity >
2158 {
set_mean_temperature(boost::units::quantity<mean_temperature_unit,double >(value_w_units).value() ); };
2160 template<
typename Quantity >
2165 {
return mean_temperature_with_units<boost::units::quantity< mean_temperature_unit,double > >(); };
2169 void set_has_mean_depth();
2170 void clear_has_mean_depth();
2171 void set_has_mean_temperature();
2172 void clear_has_mean_temperature();
2173 void set_has_mean_salinity();
2174 void clear_has_mean_salinity();
2176 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2177 ::google::protobuf::internal::HasBits<1> _has_bits_;
2178 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2180 double mean_temperature_;
2181 double mean_salinity_;
2182 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
2200 *
this = ::std::move(from);
2204 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2205 if (
this != &from) InternalSwap(&from);
2213 return _internal_metadata_.unknown_fields();
2216 return _internal_metadata_.mutable_unknown_fields();
2219 static const ::google::protobuf::Descriptor*
descriptor();
2238 return CreateMaybeMessage<DivePacket>(NULL);
2242 return CreateMaybeMessage<DivePacket>(arena);
2244 void CopyFrom(const ::google::protobuf::Message& from)
final;
2245 void MergeFrom(const ::google::protobuf::Message& from)
final;
2253 ::
google::protobuf::io::CodedInputStream* input) final;
2255 ::
google::protobuf::io::CodedOutputStream* output) const final;
2257 bool deterministic, ::
google::protobuf::uint8* target) const final;
2263 void SetCachedSize(
int size)
const final;
2266 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2269 inline void* MaybeArenaPtr()
const {
2274 ::google::protobuf::Metadata
GetMetadata() const final;
2294 static inline const ::google::protobuf::EnumDescriptor*
2313 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
2315 const ::jaiabot::protobuf::DivePacket_Measurements&
measurement(
int index)
const;
2317 const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
2325 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location()
const;
2327 const ::jaiabot::protobuf::GeographicCoordinate&
start_location()
const;
2397 typedef boost::units::unit<dive_rate_dimension,boost::units::si::system>
dive_rate_unit;
2399 template<
typename Quantity >
2401 {
set_dive_rate(boost::units::quantity<dive_rate_unit,double >(value_w_units).value() ); };
2403 template<
typename Quantity >
2408 {
return dive_rate_with_units<boost::units::quantity< dive_rate_unit,double > >(); };
2414 template<
typename Quantity >
2416 {
set_unpowered_rise_rate(boost::units::quantity<unpowered_rise_rate_unit,double >(value_w_units).value() ); };
2418 template<
typename Quantity >
2423 {
return unpowered_rise_rate_with_units<boost::units::quantity< unpowered_rise_rate_unit,double > >(); };
2429 template<
typename Quantity >
2431 {
set_powered_rise_rate(boost::units::quantity<powered_rise_rate_unit,double >(value_w_units).value() ); };
2433 template<
typename Quantity >
2438 {
return powered_rise_rate_with_units<boost::units::quantity< powered_rise_rate_unit,double > >(); };
2444 template<
typename Quantity >
2446 {
set_depth_achieved(boost::units::quantity<depth_achieved_unit,double >(value_w_units).value() ); };
2448 template<
typename Quantity >
2453 {
return depth_achieved_with_units<boost::units::quantity< depth_achieved_unit,double > >(); };
2459 template<
typename Quantity >
2463 template<
typename Quantity >
2468 {
return duration_to_acquire_gps_with_units<boost::units::quantity< duration_to_acquire_gps_unit,double > >(); };
2474 template<
typename Quantity >
2476 {
set_max_acceleration(boost::units::quantity<max_acceleration_unit,double >(value_w_units).value() ); };
2478 template<
typename Quantity >
2483 {
return max_acceleration_with_units<boost::units::quantity< max_acceleration_unit,double > >(); };
2487 void set_has_dive_rate();
2488 void clear_has_dive_rate();
2489 void set_has_unpowered_rise_rate();
2490 void clear_has_unpowered_rise_rate();
2491 void set_has_powered_rise_rate();
2492 void clear_has_powered_rise_rate();
2493 void set_has_depth_achieved();
2494 void clear_has_depth_achieved();
2495 void set_has_start_location();
2496 void clear_has_start_location();
2497 void set_has_duration_to_acquire_gps();
2498 void clear_has_duration_to_acquire_gps();
2499 void set_has_bottom_dive();
2500 void clear_has_bottom_dive();
2501 void set_has_reached_min_depth();
2502 void clear_has_reached_min_depth();
2503 void set_has_bottom_type();
2504 void clear_has_bottom_type();
2505 void set_has_max_acceleration();
2506 void clear_has_max_acceleration();
2509 size_t RequiredFieldsByteSizeFallback()
const;
2511 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2512 ::google::protobuf::internal::HasBits<1> _has_bits_;
2513 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2514 ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements > measurement_;
2517 double unpowered_rise_rate_;
2518 double powered_rise_rate_;
2520 bool reached_min_depth_;
2521 double depth_achieved_;
2522 double duration_to_acquire_gps_;
2523 double max_acceleration_;
2525 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
2543 *
this = ::std::move(from);
2547 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2548 if (
this != &from) InternalSwap(&from);
2556 return _internal_metadata_.unknown_fields();
2559 return _internal_metadata_.mutable_unknown_fields();
2562 static const ::google::protobuf::Descriptor*
descriptor();
2581 return CreateMaybeMessage<TaskPacket>(NULL);
2585 return CreateMaybeMessage<TaskPacket>(arena);
2587 void CopyFrom(const ::google::protobuf::Message& from)
final;
2588 void MergeFrom(const ::google::protobuf::Message& from)
final;
2596 ::
google::protobuf::io::CodedInputStream* input) final;
2598 ::
google::protobuf::io::CodedOutputStream* output) const final;
2600 bool deterministic, ::
google::protobuf::uint8* target) const final;
2606 void SetCachedSize(
int size)
const final;
2609 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
2612 inline void* MaybeArenaPtr()
const {
2617 ::google::protobuf::Metadata
GetMetadata() const final;
2678 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;
2680 template<
typename Quantity >
2682 {
set_start_time(boost::units::quantity<start_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2684 template<
typename Quantity >
2689 {
return start_time_with_units<boost::units::quantity< start_time_unit,google::protobuf::uint64 > >(); };
2693 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;
2695 template<
typename Quantity >
2697 {
set_end_time(boost::units::quantity<end_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
2699 template<
typename Quantity >
2704 {
return end_time_with_units<boost::units::quantity< end_time_unit,google::protobuf::uint64 > >(); };
2708 void set_has_bot_id();
2709 void clear_has_bot_id();
2710 void set_has_start_time();
2711 void clear_has_start_time();
2712 void set_has_end_time();
2713 void clear_has_end_time();
2714 void set_has_type();
2715 void clear_has_type();
2716 void set_has_dive();
2717 void clear_has_dive();
2718 void set_has_drift();
2719 void clear_has_drift();
2722 size_t RequiredFieldsByteSizeFallback()
const;
2724 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2725 ::google::protobuf::internal::HasBits<1> _has_bits_;
2726 mutable ::google::protobuf::internal::CachedSize _cached_size_;
2729 ::google::protobuf::uint64 start_time_;
2730 ::google::protobuf::uint32 bot_id_;
2732 ::google::protobuf::uint64 end_time_;
2733 friend struct ::protobuf_jaiabot_2fmessages_2fjaia_5fdccl_2eproto::TableStruct;
2741 #pragma GCC diagnostic push
2742 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
2748 return (_has_bits_[0] & 0x00000002u) != 0;
2750 inline void Command::set_has_bot_id() {
2751 _has_bits_[0] |= 0x00000002u;
2753 inline void Command::clear_has_bot_id() {
2754 _has_bits_[0] &= ~0x00000002u;
2772 return (_has_bits_[0] & 0x00000001u) != 0;
2774 inline void Command::set_has_time() {
2775 _has_bits_[0] |= 0x00000001u;
2777 inline void Command::clear_has_time() {
2778 _has_bits_[0] &= ~0x00000001u;
2781 time_ = GOOGLE_ULONGLONG(0);
2796 return (_has_bits_[0] & 0x00000004u) != 0;
2798 inline void Command::set_has_type() {
2799 _has_bits_[0] |= 0x00000004u;
2801 inline void Command::clear_has_type() {
2802 _has_bits_[0] &= ~0x00000004u;
2823 inline void Command::set_has_plan() {
2824 _oneof_case_[0] =
kPlan;
2826 inline const ::jaiabot::protobuf::MissionPlan& Command::_internal_plan()
const {
2827 return *command_data_.plan_;
2832 clear_has_command_data();
2834 command_data_.plan_ = NULL;
2843 ? *command_data_.plan_
2850 command_data_.plan_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionPlan >(
2851 GetArenaNoVirtual());
2854 return command_data_.plan_;
2861 inline void Command::set_has_rc() {
2862 _oneof_case_[0] =
kRc;
2864 inline const ::jaiabot::protobuf::RemoteControl& Command::_internal_rc()
const {
2865 return *command_data_.rc_;
2870 clear_has_command_data();
2872 command_data_.rc_ = NULL;
2878 inline const ::jaiabot::protobuf::RemoteControl&
Command::rc()
const {
2881 ? *command_data_.rc_
2888 command_data_.rc_ = CreateMaybeMessage< ::jaiabot::protobuf::RemoteControl >(
2889 GetArenaNoVirtual());
2892 return command_data_.rc_;
2899 inline void Command::set_has_rc_task() {
2902 inline const ::jaiabot::protobuf::MissionTask& Command::_internal_rc_task()
const {
2903 return *command_data_.rc_task_;
2908 clear_has_command_data();
2910 command_data_.rc_task_ = NULL;
2919 ? *command_data_.rc_task_
2926 command_data_.rc_task_ = CreateMaybeMessage< ::jaiabot::protobuf::MissionTask >(
2927 GetArenaNoVirtual());
2930 return command_data_.rc_task_;
2933 inline bool Command::has_command_data()
const {
2936 inline void Command::clear_has_command_data() {
2948 return (_has_bits_[0] & 0x00000004u) != 0;
2950 inline void CommandForHub::set_has_hub_id() {
2951 _has_bits_[0] |= 0x00000004u;
2953 inline void CommandForHub::clear_has_hub_id() {
2954 _has_bits_[0] &= ~0x00000004u;
2972 return (_has_bits_[0] & 0x00000002u) != 0;
2974 inline void CommandForHub::set_has_time() {
2975 _has_bits_[0] |= 0x00000002u;
2977 inline void CommandForHub::clear_has_time() {
2978 _has_bits_[0] &= ~0x00000002u;
2981 time_ = GOOGLE_ULONGLONG(0);
2996 return (_has_bits_[0] & 0x00000010u) != 0;
2998 inline void CommandForHub::set_has_type() {
2999 _has_bits_[0] |= 0x00000010u;
3001 inline void CommandForHub::clear_has_type() {
3002 _has_bits_[0] &= ~0x00000010u;
3021 return (_has_bits_[0] & 0x00000008u) != 0;
3023 inline void CommandForHub::set_has_scan_for_bot_id() {
3024 _has_bits_[0] |= 0x00000008u;
3026 inline void CommandForHub::clear_has_scan_for_bot_id() {
3027 _has_bits_[0] &= ~0x00000008u;
3030 scan_for_bot_id_ = 0u;
3031 clear_has_scan_for_bot_id();
3035 return scan_for_bot_id_;
3038 set_has_scan_for_bot_id();
3039 scan_for_bot_id_ = value;
3045 return (_has_bits_[0] & 0x00000001u) != 0;
3047 inline void CommandForHub::set_has_hub_location() {
3048 _has_bits_[0] |= 0x00000001u;
3050 inline void CommandForHub::clear_has_hub_location() {
3051 _has_bits_[0] &= ~0x00000001u;
3053 inline const ::jaiabot::protobuf::GeographicCoordinate& CommandForHub::_internal_hub_location()
const {
3054 return *hub_location_;
3057 const ::jaiabot::protobuf::GeographicCoordinate* p = hub_location_;
3064 clear_has_hub_location();
3066 hub_location_ = NULL;
3070 set_has_hub_location();
3071 if (hub_location_ == NULL) {
3072 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
3076 return hub_location_;
3079 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3080 if (message_arena == NULL) {
3081 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(hub_location_);
3084 ::google::protobuf::Arena* submessage_arena = NULL;
3085 if (message_arena != submessage_arena) {
3086 hub_location = ::google::protobuf::internal::GetOwnedMessage(
3089 set_has_hub_location();
3091 clear_has_hub_location();
3103 return (_has_bits_[0] & 0x00000001u) != 0;
3105 inline void BotStatus_Attitude::set_has_roll() {
3106 _has_bits_[0] |= 0x00000001u;
3108 inline void BotStatus_Attitude::clear_has_roll() {
3109 _has_bits_[0] &= ~0x00000001u;
3127 return (_has_bits_[0] & 0x00000002u) != 0;
3129 inline void BotStatus_Attitude::set_has_pitch() {
3130 _has_bits_[0] |= 0x00000002u;
3132 inline void BotStatus_Attitude::clear_has_pitch() {
3133 _has_bits_[0] &= ~0x00000002u;
3151 return (_has_bits_[0] & 0x00000004u) != 0;
3153 inline void BotStatus_Attitude::set_has_heading() {
3154 _has_bits_[0] |= 0x00000004u;
3156 inline void BotStatus_Attitude::clear_has_heading() {
3157 _has_bits_[0] &= ~0x00000004u;
3161 clear_has_heading();
3175 return (_has_bits_[0] & 0x00000008u) != 0;
3177 inline void BotStatus_Attitude::set_has_course_over_ground() {
3178 _has_bits_[0] |= 0x00000008u;
3180 inline void BotStatus_Attitude::clear_has_course_over_ground() {
3181 _has_bits_[0] &= ~0x00000008u;
3184 course_over_ground_ = 0;
3185 clear_has_course_over_ground();
3189 return course_over_ground_;
3192 set_has_course_over_ground();
3193 course_over_ground_ = value;
3203 return (_has_bits_[0] & 0x00000001u) != 0;
3205 inline void BotStatus_Speed::set_has_over_ground() {
3206 _has_bits_[0] |= 0x00000001u;
3208 inline void BotStatus_Speed::clear_has_over_ground() {
3209 _has_bits_[0] &= ~0x00000001u;
3213 clear_has_over_ground();
3217 return over_ground_;
3220 set_has_over_ground();
3221 over_ground_ = value;
3227 return (_has_bits_[0] & 0x00000002u) != 0;
3229 inline void BotStatus_Speed::set_has_over_water() {
3230 _has_bits_[0] |= 0x00000002u;
3232 inline void BotStatus_Speed::clear_has_over_water() {
3233 _has_bits_[0] &= ~0x00000002u;
3237 clear_has_over_water();
3244 set_has_over_water();
3245 over_water_ = value;
3255 return (_has_bits_[0] & 0x00000040u) != 0;
3257 inline void BotStatus::set_has_bot_id() {
3258 _has_bits_[0] |= 0x00000040u;
3260 inline void BotStatus::clear_has_bot_id() {
3261 _has_bits_[0] &= ~0x00000040u;
3279 return (_has_bits_[0] & 0x00000008u) != 0;
3281 inline void BotStatus::set_has_time() {
3282 _has_bits_[0] |= 0x00000008u;
3284 inline void BotStatus::clear_has_time() {
3285 _has_bits_[0] &= ~0x00000008u;
3288 time_ = GOOGLE_ULONGLONG(0);
3303 return (_has_bits_[0] & 0x00000010u) != 0;
3305 inline void BotStatus::set_has_last_command_time() {
3306 _has_bits_[0] |= 0x00000010u;
3308 inline void BotStatus::clear_has_last_command_time() {
3309 _has_bits_[0] &= ~0x00000010u;
3312 last_command_time_ = GOOGLE_ULONGLONG(0);
3313 clear_has_last_command_time();
3317 return last_command_time_;
3320 set_has_last_command_time();
3321 last_command_time_ = value;
3327 return (_has_bits_[0] & 0x02000000u) != 0;
3329 inline void BotStatus::set_has_health_state() {
3330 _has_bits_[0] |= 0x02000000u;
3332 inline void BotStatus::clear_has_health_state() {
3333 _has_bits_[0] &= ~0x02000000u;
3337 clear_has_health_state();
3341 return static_cast< ::goby::middleware::protobuf::HealthState
>(health_state_);
3344 assert(::goby::middleware::protobuf::HealthState_IsValid(value));
3345 set_has_health_state();
3346 health_state_ = value;
3352 return error_.size();
3363 error_.Set(index, value);
3371 inline const ::google::protobuf::RepeatedField<int>&
3376 inline ::google::protobuf::RepeatedField<int>*
3384 return warning_.size();
3395 warning_.Set(index, value);
3400 warning_.Add(value);
3403 inline const ::google::protobuf::RepeatedField<int>&
3408 inline ::google::protobuf::RepeatedField<int>*
3416 return (_has_bits_[0] & 0x04000000u) != 0;
3418 inline void BotStatus::set_has_bot_type() {
3419 _has_bits_[0] |= 0x04000000u;
3421 inline void BotStatus::clear_has_bot_type() {
3422 _has_bits_[0] &= ~0x04000000u;
3426 clear_has_bot_type();
3441 return (_has_bits_[0] & 0x00000001u) != 0;
3443 inline void BotStatus::set_has_location() {
3444 _has_bits_[0] |= 0x00000001u;
3446 inline void BotStatus::clear_has_location() {
3447 _has_bits_[0] &= ~0x00000001u;
3449 inline const ::jaiabot::protobuf::GeographicCoordinate& BotStatus::_internal_location()
const {
3453 const ::jaiabot::protobuf::GeographicCoordinate* p = location_;
3460 clear_has_location();
3467 if (location_ == NULL) {
3468 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
3475 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3476 if (message_arena == NULL) {
3477 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(location_);
3480 ::google::protobuf::Arena* submessage_arena = NULL;
3481 if (message_arena != submessage_arena) {
3482 location = ::google::protobuf::internal::GetOwnedMessage(
3483 message_arena,
location, submessage_arena);
3487 clear_has_location();
3495 return (_has_bits_[0] & 0x00000020u) != 0;
3497 inline void BotStatus::set_has_depth() {
3498 _has_bits_[0] |= 0x00000020u;
3500 inline void BotStatus::clear_has_depth() {
3501 _has_bits_[0] &= ~0x00000020u;
3519 return (_has_bits_[0] & 0x00000002u) != 0;
3521 inline void BotStatus::set_has_attitude() {
3522 _has_bits_[0] |= 0x00000002u;
3524 inline void BotStatus::clear_has_attitude() {
3525 _has_bits_[0] &= ~0x00000002u;
3528 if (attitude_ != NULL) attitude_->
Clear();
3529 clear_has_attitude();
3531 inline const ::jaiabot::protobuf::BotStatus_Attitude& BotStatus::_internal_attitude()
const {
3535 const ::jaiabot::protobuf::BotStatus_Attitude* p = attitude_;
3542 clear_has_attitude();
3549 if (attitude_ == NULL) {
3550 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Attitude>(GetArenaNoVirtual());
3557 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3558 if (message_arena == NULL) {
3562 ::google::protobuf::Arena* submessage_arena = NULL;
3563 if (message_arena != submessage_arena) {
3564 attitude = ::google::protobuf::internal::GetOwnedMessage(
3565 message_arena,
attitude, submessage_arena);
3569 clear_has_attitude();
3577 return (_has_bits_[0] & 0x00000004u) != 0;
3579 inline void BotStatus::set_has_speed() {
3580 _has_bits_[0] |= 0x00000004u;
3582 inline void BotStatus::clear_has_speed() {
3583 _has_bits_[0] &= ~0x00000004u;
3586 if (speed_ != NULL) speed_->
Clear();
3589 inline const ::jaiabot::protobuf::BotStatus_Speed& BotStatus::_internal_speed()
const {
3593 const ::jaiabot::protobuf::BotStatus_Speed* p = speed_;
3607 if (speed_ == NULL) {
3608 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BotStatus_Speed>(GetArenaNoVirtual());
3615 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
3616 if (message_arena == NULL) {
3620 ::google::protobuf::Arena* submessage_arena = NULL;
3621 if (message_arena != submessage_arena) {
3622 speed = ::google::protobuf::internal::GetOwnedMessage(
3623 message_arena,
speed, submessage_arena);
3635 return (_has_bits_[0] & 0x00000080u) != 0;
3637 inline void BotStatus::set_has_mission_state() {
3638 _has_bits_[0] |= 0x00000080u;
3640 inline void BotStatus::clear_has_mission_state() {
3641 _has_bits_[0] &= ~0x00000080u;
3645 clear_has_mission_state();
3653 set_has_mission_state();
3654 mission_state_ = value;
3660 return (_has_bits_[0] & 0x00000400u) != 0;
3662 inline void BotStatus::set_has_active_goal() {
3663 _has_bits_[0] |= 0x00000400u;
3665 inline void BotStatus::clear_has_active_goal() {
3666 _has_bits_[0] &= ~0x00000400u;
3670 clear_has_active_goal();
3674 return active_goal_;
3677 set_has_active_goal();
3678 active_goal_ = value;
3684 return (_has_bits_[0] & 0x00000200u) != 0;
3686 inline void BotStatus::set_has_distance_to_active_goal() {
3687 _has_bits_[0] |= 0x00000200u;
3689 inline void BotStatus::clear_has_distance_to_active_goal() {
3690 _has_bits_[0] &= ~0x00000200u;
3693 distance_to_active_goal_ = 0;
3694 clear_has_distance_to_active_goal();
3698 return distance_to_active_goal_;
3701 set_has_distance_to_active_goal();
3702 distance_to_active_goal_ = value;
3708 return (_has_bits_[0] & 0x00000800u) != 0;
3710 inline void BotStatus::set_has_active_goal_timeout() {
3711 _has_bits_[0] |= 0x00000800u;
3713 inline void BotStatus::clear_has_active_goal_timeout() {
3714 _has_bits_[0] &= ~0x00000800u;
3717 active_goal_timeout_ = 0u;
3718 clear_has_active_goal_timeout();
3722 return active_goal_timeout_;
3725 set_has_active_goal_timeout();
3726 active_goal_timeout_ = value;
3732 return (_has_bits_[0] & 0x00002000u) != 0;
3734 inline void BotStatus::set_has_repeat_index() {
3735 _has_bits_[0] |= 0x00002000u;
3737 inline void BotStatus::clear_has_repeat_index() {
3738 _has_bits_[0] &= ~0x00002000u;
3742 clear_has_repeat_index();
3746 return repeat_index_;
3749 set_has_repeat_index();
3750 repeat_index_ = value;
3756 return (_has_bits_[0] & 0x00001000u) != 0;
3758 inline void BotStatus::set_has_salinity() {
3759 _has_bits_[0] |= 0x00001000u;
3761 inline void BotStatus::clear_has_salinity() {
3762 _has_bits_[0] &= ~0x00001000u;
3766 clear_has_salinity();
3780 return (_has_bits_[0] & 0x00008000u) != 0;
3782 inline void BotStatus::set_has_temperature() {
3783 _has_bits_[0] |= 0x00008000u;
3785 inline void BotStatus::clear_has_temperature() {
3786 _has_bits_[0] &= ~0x00008000u;
3790 clear_has_temperature();
3794 return temperature_;
3797 set_has_temperature();
3798 temperature_ = value;
3804 return (_has_bits_[0] & 0x00010000u) != 0;
3806 inline void BotStatus::set_has_thermocouple_temperature() {
3807 _has_bits_[0] |= 0x00010000u;
3809 inline void BotStatus::clear_has_thermocouple_temperature() {
3810 _has_bits_[0] &= ~0x00010000u;
3813 thermocouple_temperature_ = 0;
3814 clear_has_thermocouple_temperature();
3818 return thermocouple_temperature_;
3821 set_has_thermocouple_temperature();
3822 thermocouple_temperature_ = value;
3828 return (_has_bits_[0] & 0x00020000u) != 0;
3830 inline void BotStatus::set_has_vv_current() {
3831 _has_bits_[0] |= 0x00020000u;
3833 inline void BotStatus::clear_has_vv_current() {
3834 _has_bits_[0] &= ~0x00020000u;
3838 clear_has_vv_current();
3845 set_has_vv_current();
3846 vv_current_ = value;
3852 return (_has_bits_[0] & 0x00040000u) != 0;
3854 inline void BotStatus::set_has_vcc_current() {
3855 _has_bits_[0] |= 0x00040000u;
3857 inline void BotStatus::clear_has_vcc_current() {
3858 _has_bits_[0] &= ~0x00040000u;
3862 clear_has_vcc_current();
3866 return vcc_current_;
3869 set_has_vcc_current();
3870 vcc_current_ = value;
3876 return (_has_bits_[0] & 0x00080000u) != 0;
3878 inline void BotStatus::set_has_vcc_voltage() {
3879 _has_bits_[0] |= 0x00080000u;
3881 inline void BotStatus::clear_has_vcc_voltage() {
3882 _has_bits_[0] &= ~0x00080000u;
3886 clear_has_vcc_voltage();
3890 return vcc_voltage_;
3893 set_has_vcc_voltage();
3894 vcc_voltage_ = value;
3900 return (_has_bits_[0] & 0x00100000u) != 0;
3902 inline void BotStatus::set_has_battery_percent() {
3903 _has_bits_[0] |= 0x00100000u;
3905 inline void BotStatus::clear_has_battery_percent() {
3906 _has_bits_[0] &= ~0x00100000u;
3909 battery_percent_ = 0;
3910 clear_has_battery_percent();
3914 return battery_percent_;
3917 set_has_battery_percent();
3918 battery_percent_ = value;
3924 return (_has_bits_[0] & 0x00004000u) != 0;
3926 inline void BotStatus::set_has_calibration_status() {
3927 _has_bits_[0] |= 0x00004000u;
3929 inline void BotStatus::clear_has_calibration_status() {
3930 _has_bits_[0] &= ~0x00004000u;
3933 calibration_status_ = 0;
3934 clear_has_calibration_status();
3938 return calibration_status_;
3941 set_has_calibration_status();
3942 calibration_status_ = value;
3948 return (_has_bits_[0] & 0x01000000u) != 0;
3950 inline void BotStatus::set_has_calibration_state() {
3951 _has_bits_[0] |= 0x01000000u;
3953 inline void BotStatus::clear_has_calibration_state() {
3954 _has_bits_[0] &= ~0x01000000u;
3957 calibration_state_ = 1;
3958 clear_has_calibration_state();
3966 set_has_calibration_state();
3967 calibration_state_ = value;
3973 return (_has_bits_[0] & 0x00200000u) != 0;
3975 inline void BotStatus::set_has_hdop() {
3976 _has_bits_[0] |= 0x00200000u;
3978 inline void BotStatus::clear_has_hdop() {
3979 _has_bits_[0] &= ~0x00200000u;
3997 return (_has_bits_[0] & 0x00400000u) != 0;
3999 inline void BotStatus::set_has_pdop() {
4000 _has_bits_[0] |= 0x00400000u;
4002 inline void BotStatus::clear_has_pdop() {
4003 _has_bits_[0] &= ~0x00400000u;
4021 return (_has_bits_[0] & 0x00000100u) != 0;
4023 inline void BotStatus::set_has_wifi_link_quality_percentage() {
4024 _has_bits_[0] |= 0x00000100u;
4026 inline void BotStatus::clear_has_wifi_link_quality_percentage() {
4027 _has_bits_[0] &= ~0x00000100u;
4030 wifi_link_quality_percentage_ = 0;
4031 clear_has_wifi_link_quality_percentage();
4035 return wifi_link_quality_percentage_;
4038 set_has_wifi_link_quality_percentage();
4039 wifi_link_quality_percentage_ = value;
4045 return (_has_bits_[0] & 0x00800000u) != 0;
4047 inline void BotStatus::set_has_received_time() {
4048 _has_bits_[0] |= 0x00800000u;
4050 inline void BotStatus::clear_has_received_time() {
4051 _has_bits_[0] &= ~0x00800000u;
4054 received_time_ = GOOGLE_ULONGLONG(0);
4055 clear_has_received_time();
4059 return received_time_;
4062 set_has_received_time();
4063 received_time_ = value;
4073 return (_has_bits_[0] & 0x00000001u) != 0;
4075 inline void DriftPacket_EstimatedDrift::set_has_speed() {
4076 _has_bits_[0] |= 0x00000001u;
4078 inline void DriftPacket_EstimatedDrift::clear_has_speed() {
4079 _has_bits_[0] &= ~0x00000001u;
4097 return (_has_bits_[0] & 0x00000002u) != 0;
4099 inline void DriftPacket_EstimatedDrift::set_has_heading() {
4100 _has_bits_[0] |= 0x00000002u;
4102 inline void DriftPacket_EstimatedDrift::clear_has_heading() {
4103 _has_bits_[0] &= ~0x00000002u;
4107 clear_has_heading();
4125 return (_has_bits_[0] & 0x00000008u) != 0;
4127 inline void DriftPacket::set_has_drift_duration() {
4128 _has_bits_[0] |= 0x00000008u;
4130 inline void DriftPacket::clear_has_drift_duration() {
4131 _has_bits_[0] &= ~0x00000008u;
4134 drift_duration_ = 0;
4135 clear_has_drift_duration();
4139 return drift_duration_;
4142 set_has_drift_duration();
4143 drift_duration_ = value;
4149 return (_has_bits_[0] & 0x00000001u) != 0;
4151 inline void DriftPacket::set_has_estimated_drift() {
4152 _has_bits_[0] |= 0x00000001u;
4154 inline void DriftPacket::clear_has_estimated_drift() {
4155 _has_bits_[0] &= ~0x00000001u;
4158 if (estimated_drift_ != NULL) estimated_drift_->
Clear();
4159 clear_has_estimated_drift();
4161 inline const ::jaiabot::protobuf::DriftPacket_EstimatedDrift& DriftPacket::_internal_estimated_drift()
const {
4162 return *estimated_drift_;
4165 const ::jaiabot::protobuf::DriftPacket_EstimatedDrift* p = estimated_drift_;
4172 clear_has_estimated_drift();
4174 estimated_drift_ = NULL;
4178 set_has_estimated_drift();
4179 if (estimated_drift_ == NULL) {
4180 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DriftPacket_EstimatedDrift>(GetArenaNoVirtual());
4181 estimated_drift_ = p;
4184 return estimated_drift_;
4187 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4188 if (message_arena == NULL) {
4189 delete estimated_drift_;
4192 ::google::protobuf::Arena* submessage_arena = NULL;
4193 if (message_arena != submessage_arena) {
4197 set_has_estimated_drift();
4199 clear_has_estimated_drift();
4207 return (_has_bits_[0] & 0x00000002u) != 0;
4209 inline void DriftPacket::set_has_start_location() {
4210 _has_bits_[0] |= 0x00000002u;
4212 inline void DriftPacket::clear_has_start_location() {
4213 _has_bits_[0] &= ~0x00000002u;
4215 inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_start_location()
const {
4216 return *start_location_;
4219 const ::jaiabot::protobuf::GeographicCoordinate* p = start_location_;
4226 clear_has_start_location();
4228 start_location_ = NULL;
4232 set_has_start_location();
4233 if (start_location_ == NULL) {
4234 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
4235 start_location_ = p;
4238 return start_location_;
4241 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4242 if (message_arena == NULL) {
4243 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(start_location_);
4246 ::google::protobuf::Arena* submessage_arena = NULL;
4247 if (message_arena != submessage_arena) {
4251 set_has_start_location();
4253 clear_has_start_location();
4261 return (_has_bits_[0] & 0x00000004u) != 0;
4263 inline void DriftPacket::set_has_end_location() {
4264 _has_bits_[0] |= 0x00000004u;
4266 inline void DriftPacket::clear_has_end_location() {
4267 _has_bits_[0] &= ~0x00000004u;
4269 inline const ::jaiabot::protobuf::GeographicCoordinate& DriftPacket::_internal_end_location()
const {
4270 return *end_location_;
4273 const ::jaiabot::protobuf::GeographicCoordinate* p = end_location_;
4280 clear_has_end_location();
4282 end_location_ = NULL;
4286 set_has_end_location();
4287 if (end_location_ == NULL) {
4288 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
4292 return end_location_;
4295 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4296 if (message_arena == NULL) {
4297 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(end_location_);
4300 ::google::protobuf::Arena* submessage_arena = NULL;
4301 if (message_arena != submessage_arena) {
4302 end_location = ::google::protobuf::internal::GetOwnedMessage(
4305 set_has_end_location();
4307 clear_has_end_location();
4315 return (_has_bits_[0] & 0x00000010u) != 0;
4317 inline void DriftPacket::set_has_significant_wave_height() {
4318 _has_bits_[0] |= 0x00000010u;
4320 inline void DriftPacket::clear_has_significant_wave_height() {
4321 _has_bits_[0] &= ~0x00000010u;
4324 significant_wave_height_ = 0;
4325 clear_has_significant_wave_height();
4329 return significant_wave_height_;
4332 set_has_significant_wave_height();
4333 significant_wave_height_ = value;
4343 return (_has_bits_[0] & 0x00000001u) != 0;
4345 inline void DivePacket_Measurements::set_has_mean_depth() {
4346 _has_bits_[0] |= 0x00000001u;
4348 inline void DivePacket_Measurements::clear_has_mean_depth() {
4349 _has_bits_[0] &= ~0x00000001u;
4353 clear_has_mean_depth();
4360 set_has_mean_depth();
4361 mean_depth_ = value;
4367 return (_has_bits_[0] & 0x00000002u) != 0;
4369 inline void DivePacket_Measurements::set_has_mean_temperature() {
4370 _has_bits_[0] |= 0x00000002u;
4372 inline void DivePacket_Measurements::clear_has_mean_temperature() {
4373 _has_bits_[0] &= ~0x00000002u;
4376 mean_temperature_ = 0;
4377 clear_has_mean_temperature();
4381 return mean_temperature_;
4384 set_has_mean_temperature();
4385 mean_temperature_ = value;
4391 return (_has_bits_[0] & 0x00000004u) != 0;
4393 inline void DivePacket_Measurements::set_has_mean_salinity() {
4394 _has_bits_[0] |= 0x00000004u;
4396 inline void DivePacket_Measurements::clear_has_mean_salinity() {
4397 _has_bits_[0] &= ~0x00000004u;
4401 clear_has_mean_salinity();
4405 return mean_salinity_;
4408 set_has_mean_salinity();
4409 mean_salinity_ = value;
4419 return (_has_bits_[0] & 0x00000002u) != 0;
4421 inline void DivePacket::set_has_dive_rate() {
4422 _has_bits_[0] |= 0x00000002u;
4424 inline void DivePacket::clear_has_dive_rate() {
4425 _has_bits_[0] &= ~0x00000002u;
4429 clear_has_dive_rate();
4436 set_has_dive_rate();
4443 return (_has_bits_[0] & 0x00000004u) != 0;
4445 inline void DivePacket::set_has_unpowered_rise_rate() {
4446 _has_bits_[0] |= 0x00000004u;
4448 inline void DivePacket::clear_has_unpowered_rise_rate() {
4449 _has_bits_[0] &= ~0x00000004u;
4452 unpowered_rise_rate_ = 0;
4453 clear_has_unpowered_rise_rate();
4457 return unpowered_rise_rate_;
4460 set_has_unpowered_rise_rate();
4461 unpowered_rise_rate_ = value;
4467 return (_has_bits_[0] & 0x00000008u) != 0;
4469 inline void DivePacket::set_has_powered_rise_rate() {
4470 _has_bits_[0] |= 0x00000008u;
4472 inline void DivePacket::clear_has_powered_rise_rate() {
4473 _has_bits_[0] &= ~0x00000008u;
4476 powered_rise_rate_ = 0;
4477 clear_has_powered_rise_rate();
4481 return powered_rise_rate_;
4484 set_has_powered_rise_rate();
4485 powered_rise_rate_ = value;
4491 return (_has_bits_[0] & 0x00000040u) != 0;
4493 inline void DivePacket::set_has_depth_achieved() {
4494 _has_bits_[0] |= 0x00000040u;
4496 inline void DivePacket::clear_has_depth_achieved() {
4497 _has_bits_[0] &= ~0x00000040u;
4500 depth_achieved_ = 0;
4501 clear_has_depth_achieved();
4505 return depth_achieved_;
4508 set_has_depth_achieved();
4509 depth_achieved_ = value;
4515 return measurement_.size();
4518 measurement_.Clear();
4522 return measurement_.Mutable(index);
4524 inline ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >*
4527 return &measurement_;
4531 return measurement_.Get(index);
4535 return measurement_.Add();
4537 inline const ::google::protobuf::RepeatedPtrField< ::jaiabot::protobuf::DivePacket_Measurements >&
4540 return measurement_;
4545 return (_has_bits_[0] & 0x00000001u) != 0;
4547 inline void DivePacket::set_has_start_location() {
4548 _has_bits_[0] |= 0x00000001u;
4550 inline void DivePacket::clear_has_start_location() {
4551 _has_bits_[0] &= ~0x00000001u;
4553 inline const ::jaiabot::protobuf::GeographicCoordinate& DivePacket::_internal_start_location()
const {
4554 return *start_location_;
4557 const ::jaiabot::protobuf::GeographicCoordinate* p = start_location_;
4564 clear_has_start_location();
4566 start_location_ = NULL;
4570 set_has_start_location();
4571 if (start_location_ == NULL) {
4572 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaNoVirtual());
4573 start_location_ = p;
4576 return start_location_;
4579 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4580 if (message_arena == NULL) {
4581 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(start_location_);
4584 ::google::protobuf::Arena* submessage_arena = NULL;
4585 if (message_arena != submessage_arena) {
4589 set_has_start_location();
4591 clear_has_start_location();
4599 return (_has_bits_[0] & 0x00000080u) != 0;
4601 inline void DivePacket::set_has_duration_to_acquire_gps() {
4602 _has_bits_[0] |= 0x00000080u;
4604 inline void DivePacket::clear_has_duration_to_acquire_gps() {
4605 _has_bits_[0] &= ~0x00000080u;
4608 duration_to_acquire_gps_ = 0;
4609 clear_has_duration_to_acquire_gps();
4613 return duration_to_acquire_gps_;
4616 set_has_duration_to_acquire_gps();
4617 duration_to_acquire_gps_ = value;
4623 return (_has_bits_[0] & 0x00000010u) != 0;
4625 inline void DivePacket::set_has_bottom_dive() {
4626 _has_bits_[0] |= 0x00000010u;
4628 inline void DivePacket::clear_has_bottom_dive() {
4629 _has_bits_[0] &= ~0x00000010u;
4632 bottom_dive_ =
false;
4633 clear_has_bottom_dive();
4637 return bottom_dive_;
4640 set_has_bottom_dive();
4641 bottom_dive_ = value;
4647 return (_has_bits_[0] & 0x00000020u) != 0;
4649 inline void DivePacket::set_has_reached_min_depth() {
4650 _has_bits_[0] |= 0x00000020u;
4652 inline void DivePacket::clear_has_reached_min_depth() {
4653 _has_bits_[0] &= ~0x00000020u;
4656 reached_min_depth_ =
false;
4657 clear_has_reached_min_depth();
4661 return reached_min_depth_;
4664 set_has_reached_min_depth();
4665 reached_min_depth_ = value;
4671 return (_has_bits_[0] & 0x00000200u) != 0;
4673 inline void DivePacket::set_has_bottom_type() {
4674 _has_bits_[0] |= 0x00000200u;
4676 inline void DivePacket::clear_has_bottom_type() {
4677 _has_bits_[0] &= ~0x00000200u;
4681 clear_has_bottom_type();
4689 set_has_bottom_type();
4690 bottom_type_ = value;
4696 return (_has_bits_[0] & 0x00000100u) != 0;
4698 inline void DivePacket::set_has_max_acceleration() {
4699 _has_bits_[0] |= 0x00000100u;
4701 inline void DivePacket::clear_has_max_acceleration() {
4702 _has_bits_[0] &= ~0x00000100u;
4705 max_acceleration_ = 0;
4706 clear_has_max_acceleration();
4710 return max_acceleration_;
4713 set_has_max_acceleration();
4714 max_acceleration_ = value;
4724 return (_has_bits_[0] & 0x00000008u) != 0;
4726 inline void TaskPacket::set_has_bot_id() {
4727 _has_bits_[0] |= 0x00000008u;
4729 inline void TaskPacket::clear_has_bot_id() {
4730 _has_bits_[0] &= ~0x00000008u;
4748 return (_has_bits_[0] & 0x00000004u) != 0;
4750 inline void TaskPacket::set_has_start_time() {
4751 _has_bits_[0] |= 0x00000004u;
4753 inline void TaskPacket::clear_has_start_time() {
4754 _has_bits_[0] &= ~0x00000004u;
4757 start_time_ = GOOGLE_ULONGLONG(0);
4758 clear_has_start_time();
4765 set_has_start_time();
4766 start_time_ = value;
4772 return (_has_bits_[0] & 0x00000020u) != 0;
4774 inline void TaskPacket::set_has_end_time() {
4775 _has_bits_[0] |= 0x00000020u;
4777 inline void TaskPacket::clear_has_end_time() {
4778 _has_bits_[0] &= ~0x00000020u;
4781 end_time_ = GOOGLE_ULONGLONG(0);
4782 clear_has_end_time();
4796 return (_has_bits_[0] & 0x00000010u) != 0;
4798 inline void TaskPacket::set_has_type() {
4799 _has_bits_[0] |= 0x00000010u;
4801 inline void TaskPacket::clear_has_type() {
4802 _has_bits_[0] &= ~0x00000010u;
4821 return (_has_bits_[0] & 0x00000001u) != 0;
4823 inline void TaskPacket::set_has_dive() {
4824 _has_bits_[0] |= 0x00000001u;
4826 inline void TaskPacket::clear_has_dive() {
4827 _has_bits_[0] &= ~0x00000001u;
4830 if (dive_ != NULL) dive_->
Clear();
4833 inline const ::jaiabot::protobuf::DivePacket& TaskPacket::_internal_dive()
const {
4837 const ::jaiabot::protobuf::DivePacket* p = dive_;
4851 if (dive_ == NULL) {
4852 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DivePacket>(GetArenaNoVirtual());
4859 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4860 if (message_arena == NULL) {
4864 ::google::protobuf::Arena* submessage_arena = NULL;
4865 if (message_arena != submessage_arena) {
4866 dive = ::google::protobuf::internal::GetOwnedMessage(
4867 message_arena,
dive, submessage_arena);
4879 return (_has_bits_[0] & 0x00000002u) != 0;
4881 inline void TaskPacket::set_has_drift() {
4882 _has_bits_[0] |= 0x00000002u;
4884 inline void TaskPacket::clear_has_drift() {
4885 _has_bits_[0] &= ~0x00000002u;
4888 if (drift_ != NULL) drift_->
Clear();
4891 inline const ::jaiabot::protobuf::DriftPacket& TaskPacket::_internal_drift()
const {
4895 const ::jaiabot::protobuf::DriftPacket* p = drift_;
4909 if (drift_ == NULL) {
4910 auto* p = CreateMaybeMessage<::jaiabot::protobuf::DriftPacket>(GetArenaNoVirtual());
4917 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
4918 if (message_arena == NULL) {
4922 ::google::protobuf::Arena* submessage_arena = NULL;
4923 if (message_arena != submessage_arena) {
4924 drift = ::google::protobuf::internal::GetOwnedMessage(
4925 message_arena,
drift, submessage_arena);
4936 #pragma GCC diagnostic pop
4963 namespace protobuf {
4967 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::Command_CommandType>() {
4972 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::CommandForHub_HubCommandType>() {
4977 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::BotStatus_BotType>() {
4982 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::DivePacket_BottomType>() {
4991 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2fjaia_5fdccl_2eproto