4 #ifndef PROTOBUF_INCLUDED_jaiabot_2fmessages_2fengineering_2eproto
5 #define PROTOBUF_INCLUDED_jaiabot_2fmessages_2fengineering_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"
39 #include <boost/units/quantity.hpp>
40 #include <boost/units/absolute.hpp>
41 #include <boost/units/dimensionless_type.hpp>
42 #include <boost/units/make_scaled_unit.hpp>
44 #include <boost/units/systems/angle/degrees.hpp>
46 #include <boost/units/systems/si.hpp>
48 #define PROTOBUF_INTERNAL_EXPORT_protobuf_jaiabot_2fmessages_2fengineering_2eproto
53 static const ::google::protobuf::internal::ParseTableField
entries[];
54 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
55 static const ::google::protobuf::internal::ParseTable
schema[7];
58 static const ::google::protobuf::uint32
offsets[];
65 class EchoDefaultTypeInternal;
68 class EngineeringDefaultTypeInternal;
70 class GPSRequirements;
71 class GPSRequirementsDefaultTypeInternal;
74 class IMUCalibrationDefaultTypeInternal;
77 class PIDControlDefaultTypeInternal;
79 class PIDControl_PIDSettings;
80 class PIDControl_PIDSettingsDefaultTypeInternal;
82 class RFDisableOptions;
83 class RFDisableOptionsDefaultTypeInternal;
119 return ::google::protobuf::internal::NameOfEnum(
124 return ::google::protobuf::internal::ParseNamedEnum<BotStatusRate>(
143 *
this = ::std::move(from);
147 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
148 if (
this != &from) InternalSwap(&from);
156 return _internal_metadata_.unknown_fields();
159 return _internal_metadata_.mutable_unknown_fields();
162 static const ::google::protobuf::Descriptor*
descriptor();
181 return CreateMaybeMessage<PIDControl_PIDSettings>(NULL);
185 return CreateMaybeMessage<PIDControl_PIDSettings>(arena);
187 void CopyFrom(const ::google::protobuf::Message& from)
final;
188 void MergeFrom(const ::google::protobuf::Message& from)
final;
196 ::
google::protobuf::io::CodedInputStream* input) final;
198 ::
google::protobuf::io::CodedOutputStream* output) const final;
200 bool deterministic, ::
google::protobuf::uint8*
target) const final;
206 void SetCachedSize(
int size)
const final;
209 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
212 inline void* MaybeArenaPtr()
const {
217 ::google::protobuf::Metadata
GetMetadata() const final;
235 void set_kp(
double value);
242 void set_ki(
double value);
249 void set_kd(
double value);
255 template<typename Quantity >
257 {
set_target(boost::units::quantity<target_unit,double >(value_w_units).value() ); };
259 template<
typename Quantity >
264 {
return target_with_units<boost::units::quantity< target_unit,double > >(); };
268 void set_has_target();
269 void clear_has_target();
277 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
278 ::google::protobuf::internal::HasBits<1> _has_bits_;
279 mutable ::google::protobuf::internal::CachedSize _cached_size_;
284 friend struct ::protobuf_jaiabot_2fmessages_2fengineering_2eproto::TableStruct;
302 *
this = ::std::move(from);
306 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
307 if (
this != &from) InternalSwap(&from);
315 return _internal_metadata_.unknown_fields();
318 return _internal_metadata_.mutable_unknown_fields();
321 static const ::google::protobuf::Descriptor*
descriptor();
340 return CreateMaybeMessage<PIDControl>(NULL);
344 return CreateMaybeMessage<PIDControl>(arena);
346 void CopyFrom(const ::google::protobuf::Message& from)
final;
347 void MergeFrom(const ::google::protobuf::Message& from)
final;
355 ::
google::protobuf::io::CodedInputStream* input) final;
357 ::
google::protobuf::io::CodedOutputStream* output) const final;
359 bool deterministic, ::
google::protobuf::uint8* target) const final;
365 void SetCachedSize(
int size)
const final;
368 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
371 inline void* MaybeArenaPtr()
const {
376 ::google::protobuf::Metadata
GetMetadata() const final;
502 template<typename Quantity >
504 {
set_timeout(boost::units::quantity<timeout_unit,google::protobuf::uint32 >(value_w_units).value() ); };
506 template<
typename Quantity >
511 {
return timeout_with_units<boost::units::quantity< timeout_unit,google::protobuf::uint32 > >(); };
515 void set_has_timeout();
516 void clear_has_timeout();
517 void set_has_throttle();
518 void clear_has_throttle();
519 void set_has_speed();
520 void clear_has_speed();
521 void set_has_rudder();
522 void clear_has_rudder();
523 void set_has_heading();
524 void clear_has_heading();
525 void set_has_port_elevator();
526 void clear_has_port_elevator();
527 void set_has_stbd_elevator();
528 void clear_has_stbd_elevator();
530 void clear_has_roll();
531 void set_has_pitch();
532 void clear_has_pitch();
533 void set_has_depth();
534 void clear_has_depth();
535 void set_has_led_switch_on();
536 void clear_has_led_switch_on();
537 void set_has_heading_constant();
538 void clear_has_heading_constant();
540 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
541 ::google::protobuf::internal::HasBits<1> _has_bits_;
542 mutable ::google::protobuf::internal::CachedSize _cached_size_;
551 double port_elevator_;
552 ::google::protobuf::uint32 timeout_;
554 double stbd_elevator_;
555 friend struct ::protobuf_jaiabot_2fmessages_2fengineering_2eproto::TableStruct;
573 *
this = ::std::move(from);
577 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
578 if (
this != &from) InternalSwap(&from);
586 return _internal_metadata_.unknown_fields();
589 return _internal_metadata_.mutable_unknown_fields();
592 static const ::google::protobuf::Descriptor*
descriptor();
611 return CreateMaybeMessage<GPSRequirements>(NULL);
615 return CreateMaybeMessage<GPSRequirements>(arena);
617 void CopyFrom(const ::google::protobuf::Message& from)
final;
618 void MergeFrom(const ::google::protobuf::Message& from)
final;
626 ::
google::protobuf::io::CodedInputStream* input) final;
628 ::
google::protobuf::io::CodedOutputStream* output) const final;
630 bool deterministic, ::
google::protobuf::uint8* target) const final;
636 void SetCachedSize(
int size)
const final;
639 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
642 inline void* MaybeArenaPtr()
const {
647 ::google::protobuf::Metadata
GetMetadata() const final;
704 void set_has_transit_hdop_req();
705 void clear_has_transit_hdop_req();
706 void set_has_transit_pdop_req();
707 void clear_has_transit_pdop_req();
708 void set_has_after_dive_hdop_req();
709 void clear_has_after_dive_hdop_req();
710 void set_has_after_dive_pdop_req();
711 void clear_has_after_dive_pdop_req();
712 void set_has_transit_gps_fix_checks();
713 void clear_has_transit_gps_fix_checks();
714 void set_has_transit_gps_degraded_fix_checks();
715 void clear_has_transit_gps_degraded_fix_checks();
716 void set_has_after_dive_gps_fix_checks();
717 void clear_has_after_dive_gps_fix_checks();
719 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
720 ::
google::protobuf::internal::HasBits<1> _has_bits_;
721 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
722 double transit_hdop_req_;
723 double transit_pdop_req_;
724 double after_dive_hdop_req_;
725 double after_dive_pdop_req_;
726 ::
google::protobuf::uint32 transit_gps_fix_checks_;
727 ::
google::protobuf::uint32 transit_gps_degraded_fix_checks_;
728 ::
google::protobuf::uint32 after_dive_gps_fix_checks_;
747 *
this = ::std::move(from);
750 inline RFDisableOptions&
operator=(RFDisableOptions&& from) noexcept {
751 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
752 if (
this != &from) InternalSwap(&from);
760 return _internal_metadata_.unknown_fields();
763 return _internal_metadata_.mutable_unknown_fields();
766 static const ::google::protobuf::Descriptor*
descriptor();
785 return CreateMaybeMessage<RFDisableOptions>(NULL);
789 return CreateMaybeMessage<RFDisableOptions>(arena);
791 void CopyFrom(const ::google::protobuf::Message& from)
final;
792 void MergeFrom(const ::google::protobuf::Message& from)
final;
800 ::
google::protobuf::io::CodedInputStream* input) final;
802 ::
google::protobuf::io::CodedOutputStream* output) const final;
804 bool deterministic, ::
google::protobuf::uint8* target) const final;
810 void SetCachedSize(
int size)
const final;
813 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
816 inline void* MaybeArenaPtr()
const {
821 ::google::protobuf::Metadata
GetMetadata() const final;
828 bool has_rf_disable() const;
829 void clear_rf_disable();
830 static const
int kRfDisableFieldNumber = 1;
831 bool rf_disable() const;
832 void set_rf_disable(
bool value);
835 bool has_rf_disable_timeout_mins() const;
836 void clear_rf_disable_timeout_mins();
837 static const
int kRfDisableTimeoutMinsFieldNumber = 2;
838 ::
google::protobuf::int32 rf_disable_timeout_mins() const;
839 void set_rf_disable_timeout_mins(::
google::protobuf::int32 value);
843 void set_has_rf_disable();
844 void clear_has_rf_disable();
845 void set_has_rf_disable_timeout_mins();
846 void clear_has_rf_disable_timeout_mins();
848 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
849 ::
google::protobuf::internal::HasBits<1> _has_bits_;
850 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
852 ::
google::protobuf::int32 rf_disable_timeout_mins_;
871 *
this = ::std::move(from);
874 inline IMUCalibration&
operator=(IMUCalibration&& from) noexcept {
875 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
876 if (
this != &from) InternalSwap(&from);
884 return _internal_metadata_.unknown_fields();
887 return _internal_metadata_.mutable_unknown_fields();
890 static const ::google::protobuf::Descriptor*
descriptor();
909 return CreateMaybeMessage<IMUCalibration>(NULL);
913 return CreateMaybeMessage<IMUCalibration>(arena);
915 void CopyFrom(const ::google::protobuf::Message& from)
final;
916 void MergeFrom(const ::google::protobuf::Message& from)
final;
924 ::
google::protobuf::io::CodedInputStream* input) final;
926 ::
google::protobuf::io::CodedOutputStream* output) const final;
928 bool deterministic, ::
google::protobuf::uint8* target) const final;
934 void SetCachedSize(
int size)
const final;
937 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
940 inline void* MaybeArenaPtr()
const {
945 ::google::protobuf::Metadata
GetMetadata() const final;
952 bool has_run_cal() const;
953 void clear_run_cal();
954 static const
int kRunCalFieldNumber = 1;
955 bool run_cal() const;
956 void set_run_cal(
bool value);
960 void set_has_run_cal();
961 void clear_has_run_cal();
963 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
964 ::
google::protobuf::internal::HasBits<1> _has_bits_;
965 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
985 *
this = ::std::move(from);
988 inline Echo&
operator=(Echo&& from) noexcept {
989 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
990 if (
this != &from) InternalSwap(&from);
998 return _internal_metadata_.unknown_fields();
1001 return _internal_metadata_.mutable_unknown_fields();
1004 static const ::google::protobuf::Descriptor*
descriptor();
1009 return reinterpret_cast<const Echo*
>(
1023 return CreateMaybeMessage<Echo>(NULL);
1026 Echo*
New(::google::protobuf::Arena* arena)
const final {
1027 return CreateMaybeMessage<Echo>(arena);
1029 void CopyFrom(const ::google::protobuf::Message& from)
final;
1030 void MergeFrom(const ::google::protobuf::Message& from)
final;
1038 ::
google::protobuf::io::CodedInputStream* input) final;
1040 ::
google::protobuf::io::CodedOutputStream* output) const final;
1042 bool deterministic, ::
google::protobuf::uint8* target) const final;
1048 void SetCachedSize(
int size)
const final;
1049 void InternalSwap(
Echo* other);
1051 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1054 inline void* MaybeArenaPtr()
const {
1059 ::google::protobuf::Metadata
GetMetadata() const final;
1066 bool has_start_echo() const;
1067 void clear_start_echo();
1068 static const
int kStartEchoFieldNumber = 1;
1069 bool start_echo() const;
1070 void set_start_echo(
bool value);
1073 bool has_stop_echo() const;
1074 void clear_stop_echo();
1075 static const
int kStopEchoFieldNumber = 2;
1076 bool stop_echo() const;
1077 void set_stop_echo(
bool value);
1080 bool has_echo_state() const;
1081 void clear_echo_state();
1082 static const
int kEchoStateFieldNumber = 3;
1088 void set_has_start_echo();
1089 void clear_has_start_echo();
1090 void set_has_stop_echo();
1091 void clear_has_stop_echo();
1092 void set_has_echo_state();
1093 void clear_has_echo_state();
1095 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1096 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1097 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1119 *
this = ::std::move(from);
1122 inline Engineering&
operator=(Engineering&& from) noexcept {
1123 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1124 if (
this != &from) InternalSwap(&from);
1132 return _internal_metadata_.unknown_fields();
1135 return _internal_metadata_.mutable_unknown_fields();
1138 static const ::google::protobuf::Descriptor*
descriptor();
1157 return CreateMaybeMessage<Engineering>(NULL);
1161 return CreateMaybeMessage<Engineering>(arena);
1163 void CopyFrom(const ::google::protobuf::Message& from)
final;
1164 void MergeFrom(const ::google::protobuf::Message& from)
final;
1172 ::
google::protobuf::io::CodedInputStream* input) final;
1174 ::
google::protobuf::io::CodedOutputStream* output) const final;
1176 bool deterministic, ::
google::protobuf::uint8* target) const final;
1182 void SetCachedSize(
int size)
const final;
1185 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1188 inline void* MaybeArenaPtr()
const {
1193 ::google::protobuf::Metadata
GetMetadata() const final;
1200 bool has_pid_control() const;
1201 void clear_pid_control();
1202 static const
int kPidControlFieldNumber = 3;
1212 bool has_gps_requirements() const;
1213 void clear_gps_requirements();
1214 static const
int kGpsRequirementsFieldNumber = 15;
1224 bool has_rf_disable_options() const;
1225 void clear_rf_disable_options();
1226 static const
int kRfDisableOptionsFieldNumber = 16;
1236 bool has_bottom_depth_safety_params() const;
1237 void clear_bottom_depth_safety_params();
1238 static const
int kBottomDepthSafetyParamsFieldNumber = 17;
1248 bool has_imu_cal() const;
1249 void clear_imu_cal();
1250 static const
int kImuCalFieldNumber = 18;
1260 bool has_echo() const;
1262 static const
int kEchoFieldNumber = 19;
1264 const ::
jaiabot::protobuf::
Echo& _internal_echo() const;
1272 bool has_bounds() const;
1273 void clear_bounds();
1274 static const
int kBoundsFieldNumber = 101;
1276 const ::
jaiabot::protobuf::
Bounds& _internal_bounds() const;
1281 void set_allocated_bounds(::
jaiabot::protobuf::
Bounds* bounds);
1284 bool has_time() const;
1286 static const
int kTimeFieldNumber = 2;
1287 ::
google::protobuf::uint64 time() const;
1288 void set_time(::
google::protobuf::uint64 value);
1291 bool has_bot_id() const;
1292 void clear_bot_id();
1293 static const
int kBotIdFieldNumber = 1;
1294 ::
google::protobuf::uint32 bot_id() const;
1295 void set_bot_id(::
google::protobuf::uint32 value);
1298 bool has_query_engineering_status() const;
1299 void clear_query_engineering_status();
1300 static const
int kQueryEngineeringStatusFieldNumber = 4;
1301 bool query_engineering_status() const;
1302 void set_query_engineering_status(
bool value);
1305 bool has_query_bot_status() const;
1306 void clear_query_bot_status();
1307 static const
int kQueryBotStatusFieldNumber = 5;
1308 bool query_bot_status() const;
1309 void set_query_bot_status(
bool value);
1312 bool has_engineering_messages_enabled() const;
1313 void clear_engineering_messages_enabled();
1314 static const
int kEngineeringMessagesEnabledFieldNumber = 13;
1315 bool engineering_messages_enabled() const;
1316 void set_engineering_messages_enabled(
bool value);
1319 bool has_flag() const;
1321 static const
int kFlagFieldNumber = 100;
1322 ::
google::protobuf::uint32 flag() const;
1323 void set_flag(::
google::protobuf::uint32 value);
1326 bool has_bot_status_rate() const;
1327 void clear_bot_status_rate();
1328 static const
int kBotStatusRateFieldNumber = 14;
1333 bool has_link() const;
1335 static const
int kLinkFieldNumber = 200;
1342 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;
1344 template<
typename Quantity >
1346 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1348 template<
typename Quantity >
1350 {
return Quantity(time() *
time_unit()); };
1353 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
1357 void set_has_bot_id();
1358 void clear_has_bot_id();
1359 void set_has_time();
1360 void clear_has_time();
1361 void set_has_pid_control();
1362 void clear_has_pid_control();
1363 void set_has_query_engineering_status();
1364 void clear_has_query_engineering_status();
1365 void set_has_query_bot_status();
1366 void clear_has_query_bot_status();
1367 void set_has_engineering_messages_enabled();
1368 void clear_has_engineering_messages_enabled();
1369 void set_has_bot_status_rate();
1370 void clear_has_bot_status_rate();
1371 void set_has_gps_requirements();
1372 void clear_has_gps_requirements();
1373 void set_has_rf_disable_options();
1374 void clear_has_rf_disable_options();
1375 void set_has_bottom_depth_safety_params();
1376 void clear_has_bottom_depth_safety_params();
1377 void set_has_imu_cal();
1378 void clear_has_imu_cal();
1379 void set_has_echo();
1380 void clear_has_echo();
1381 void set_has_flag();
1382 void clear_has_flag();
1383 void set_has_bounds();
1384 void clear_has_bounds();
1385 void set_has_link();
1386 void clear_has_link();
1388 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1389 ::google::protobuf::internal::HasBits<1> _has_bits_;
1390 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1398 ::google::protobuf::uint64 time_;
1399 ::google::protobuf::uint32 bot_id_;
1400 bool query_engineering_status_;
1401 bool query_bot_status_;
1402 bool engineering_messages_enabled_;
1403 ::google::protobuf::uint32 flag_;
1404 int bot_status_rate_;
1406 friend struct ::protobuf_jaiabot_2fmessages_2fengineering_2eproto::TableStruct;
1414 #pragma GCC diagnostic push
1415 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1421 return (_has_bits_[0] & 0x00000001u) != 0;
1423 inline void PIDControl_PIDSettings::set_has_target() {
1424 _has_bits_[0] |= 0x00000001u;
1426 inline void PIDControl_PIDSettings::clear_has_target() {
1427 _has_bits_[0] &= ~0x00000001u;
1445 return (_has_bits_[0] & 0x00000002u) != 0;
1447 inline void PIDControl_PIDSettings::set_has_kp() {
1448 _has_bits_[0] |= 0x00000002u;
1450 inline void PIDControl_PIDSettings::clear_has_kp() {
1451 _has_bits_[0] &= ~0x00000002u;
1469 return (_has_bits_[0] & 0x00000004u) != 0;
1471 inline void PIDControl_PIDSettings::set_has_ki() {
1472 _has_bits_[0] |= 0x00000004u;
1474 inline void PIDControl_PIDSettings::clear_has_ki() {
1475 _has_bits_[0] &= ~0x00000004u;
1493 return (_has_bits_[0] & 0x00000008u) != 0;
1495 inline void PIDControl_PIDSettings::set_has_kd() {
1496 _has_bits_[0] |= 0x00000008u;
1498 inline void PIDControl_PIDSettings::clear_has_kd() {
1499 _has_bits_[0] &= ~0x00000008u;
1521 return (_has_bits_[0] & 0x00000200u) != 0;
1523 inline void PIDControl::set_has_timeout() {
1524 _has_bits_[0] |= 0x00000200u;
1526 inline void PIDControl::clear_has_timeout() {
1527 _has_bits_[0] &= ~0x00000200u;
1531 clear_has_timeout();
1545 return (_has_bits_[0] & 0x00000040u) != 0;
1547 inline void PIDControl::set_has_throttle() {
1548 _has_bits_[0] |= 0x00000040u;
1550 inline void PIDControl::clear_has_throttle() {
1551 _has_bits_[0] &= ~0x00000040u;
1555 clear_has_throttle();
1569 return (_has_bits_[0] & 0x00000001u) != 0;
1571 inline void PIDControl::set_has_speed() {
1572 _has_bits_[0] |= 0x00000001u;
1574 inline void PIDControl::clear_has_speed() {
1575 _has_bits_[0] &= ~0x00000001u;
1578 if (speed_ != NULL) speed_->Clear();
1581 inline const ::jaiabot::protobuf::PIDControl_PIDSettings& PIDControl::_internal_speed()
const {
1585 const ::jaiabot::protobuf::PIDControl_PIDSettings* p = speed_;
1599 if (speed_ == NULL) {
1600 auto* p = CreateMaybeMessage<::jaiabot::protobuf::PIDControl_PIDSettings>(GetArenaNoVirtual());
1607 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1608 if (message_arena == NULL) {
1612 ::google::protobuf::Arena* submessage_arena = NULL;
1613 if (message_arena != submessage_arena) {
1614 speed = ::google::protobuf::internal::GetOwnedMessage(
1615 message_arena, speed, submessage_arena);
1627 return (_has_bits_[0] & 0x00000080u) != 0;
1629 inline void PIDControl::set_has_rudder() {
1630 _has_bits_[0] |= 0x00000080u;
1632 inline void PIDControl::clear_has_rudder() {
1633 _has_bits_[0] &= ~0x00000080u;
1651 return (_has_bits_[0] & 0x00000002u) != 0;
1653 inline void PIDControl::set_has_heading() {
1654 _has_bits_[0] |= 0x00000002u;
1656 inline void PIDControl::clear_has_heading() {
1657 _has_bits_[0] &= ~0x00000002u;
1660 if (heading_ != NULL) heading_->Clear();
1661 clear_has_heading();
1663 inline const ::jaiabot::protobuf::PIDControl_PIDSettings& PIDControl::_internal_heading()
const {
1667 const ::jaiabot::protobuf::PIDControl_PIDSettings* p = heading_;
1674 clear_has_heading();
1681 if (heading_ == NULL) {
1682 auto* p = CreateMaybeMessage<::jaiabot::protobuf::PIDControl_PIDSettings>(GetArenaNoVirtual());
1689 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1690 if (message_arena == NULL) {
1694 ::google::protobuf::Arena* submessage_arena = NULL;
1695 if (message_arena != submessage_arena) {
1696 heading = ::google::protobuf::internal::GetOwnedMessage(
1697 message_arena, heading, submessage_arena);
1701 clear_has_heading();
1709 return (_has_bits_[0] & 0x00000100u) != 0;
1711 inline void PIDControl::set_has_port_elevator() {
1712 _has_bits_[0] |= 0x00000100u;
1714 inline void PIDControl::clear_has_port_elevator() {
1715 _has_bits_[0] &= ~0x00000100u;
1719 clear_has_port_elevator();
1723 return port_elevator_;
1726 set_has_port_elevator();
1727 port_elevator_ = value;
1733 return (_has_bits_[0] & 0x00000800u) != 0;
1735 inline void PIDControl::set_has_stbd_elevator() {
1736 _has_bits_[0] |= 0x00000800u;
1738 inline void PIDControl::clear_has_stbd_elevator() {
1739 _has_bits_[0] &= ~0x00000800u;
1743 clear_has_stbd_elevator();
1747 return stbd_elevator_;
1750 set_has_stbd_elevator();
1751 stbd_elevator_ = value;
1757 return (_has_bits_[0] & 0x00000004u) != 0;
1759 inline void PIDControl::set_has_roll() {
1760 _has_bits_[0] |= 0x00000004u;
1762 inline void PIDControl::clear_has_roll() {
1763 _has_bits_[0] &= ~0x00000004u;
1766 if (roll_ != NULL) roll_->Clear();
1769 inline const ::jaiabot::protobuf::PIDControl_PIDSettings& PIDControl::_internal_roll()
const {
1773 const ::jaiabot::protobuf::PIDControl_PIDSettings* p = roll_;
1787 if (roll_ == NULL) {
1788 auto* p = CreateMaybeMessage<::jaiabot::protobuf::PIDControl_PIDSettings>(GetArenaNoVirtual());
1795 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1796 if (message_arena == NULL) {
1800 ::google::protobuf::Arena* submessage_arena = NULL;
1801 if (message_arena != submessage_arena) {
1802 roll = ::google::protobuf::internal::GetOwnedMessage(
1803 message_arena, roll, submessage_arena);
1815 return (_has_bits_[0] & 0x00000008u) != 0;
1817 inline void PIDControl::set_has_pitch() {
1818 _has_bits_[0] |= 0x00000008u;
1820 inline void PIDControl::clear_has_pitch() {
1821 _has_bits_[0] &= ~0x00000008u;
1824 if (pitch_ != NULL) pitch_->Clear();
1827 inline const ::jaiabot::protobuf::PIDControl_PIDSettings& PIDControl::_internal_pitch()
const {
1831 const ::jaiabot::protobuf::PIDControl_PIDSettings* p = pitch_;
1845 if (pitch_ == NULL) {
1846 auto* p = CreateMaybeMessage<::jaiabot::protobuf::PIDControl_PIDSettings>(GetArenaNoVirtual());
1853 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1854 if (message_arena == NULL) {
1858 ::google::protobuf::Arena* submessage_arena = NULL;
1859 if (message_arena != submessage_arena) {
1860 pitch = ::google::protobuf::internal::GetOwnedMessage(
1861 message_arena, pitch, submessage_arena);
1873 return (_has_bits_[0] & 0x00000010u) != 0;
1875 inline void PIDControl::set_has_depth() {
1876 _has_bits_[0] |= 0x00000010u;
1878 inline void PIDControl::clear_has_depth() {
1879 _has_bits_[0] &= ~0x00000010u;
1882 if (depth_ != NULL) depth_->Clear();
1885 inline const ::jaiabot::protobuf::PIDControl_PIDSettings& PIDControl::_internal_depth()
const {
1889 const ::jaiabot::protobuf::PIDControl_PIDSettings* p = depth_;
1903 if (depth_ == NULL) {
1904 auto* p = CreateMaybeMessage<::jaiabot::protobuf::PIDControl_PIDSettings>(GetArenaNoVirtual());
1911 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1912 if (message_arena == NULL) {
1916 ::google::protobuf::Arena* submessage_arena = NULL;
1917 if (message_arena != submessage_arena) {
1918 depth = ::google::protobuf::internal::GetOwnedMessage(
1919 message_arena, depth, submessage_arena);
1931 return (_has_bits_[0] & 0x00000400u) != 0;
1933 inline void PIDControl::set_has_led_switch_on() {
1934 _has_bits_[0] |= 0x00000400u;
1936 inline void PIDControl::clear_has_led_switch_on() {
1937 _has_bits_[0] &= ~0x00000400u;
1940 led_switch_on_ =
false;
1941 clear_has_led_switch_on();
1945 return led_switch_on_;
1948 set_has_led_switch_on();
1949 led_switch_on_ = value;
1955 return (_has_bits_[0] & 0x00000020u) != 0;
1957 inline void PIDControl::set_has_heading_constant() {
1958 _has_bits_[0] |= 0x00000020u;
1960 inline void PIDControl::clear_has_heading_constant() {
1961 _has_bits_[0] &= ~0x00000020u;
1964 if (heading_constant_ != NULL) heading_constant_->Clear();
1965 clear_has_heading_constant();
1967 inline const ::jaiabot::protobuf::PIDControl_PIDSettings& PIDControl::_internal_heading_constant()
const {
1968 return *heading_constant_;
1971 const ::jaiabot::protobuf::PIDControl_PIDSettings* p = heading_constant_;
1978 clear_has_heading_constant();
1980 heading_constant_ = NULL;
1984 set_has_heading_constant();
1985 if (heading_constant_ == NULL) {
1986 auto* p = CreateMaybeMessage<::jaiabot::protobuf::PIDControl_PIDSettings>(GetArenaNoVirtual());
1987 heading_constant_ = p;
1990 return heading_constant_;
1993 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1994 if (message_arena == NULL) {
1995 delete heading_constant_;
1997 if (heading_constant) {
1998 ::google::protobuf::Arena* submessage_arena = NULL;
1999 if (message_arena != submessage_arena) {
2000 heading_constant = ::google::protobuf::internal::GetOwnedMessage(
2001 message_arena, heading_constant, submessage_arena);
2003 set_has_heading_constant();
2005 clear_has_heading_constant();
2007 heading_constant_ = heading_constant;
2017 return (_has_bits_[0] & 0x00000001u) != 0;
2019 inline void GPSRequirements::set_has_transit_hdop_req() {
2020 _has_bits_[0] |= 0x00000001u;
2022 inline void GPSRequirements::clear_has_transit_hdop_req() {
2023 _has_bits_[0] &= ~0x00000001u;
2026 transit_hdop_req_ = 0;
2027 clear_has_transit_hdop_req();
2031 return transit_hdop_req_;
2034 set_has_transit_hdop_req();
2035 transit_hdop_req_ = value;
2041 return (_has_bits_[0] & 0x00000002u) != 0;
2043 inline void GPSRequirements::set_has_transit_pdop_req() {
2044 _has_bits_[0] |= 0x00000002u;
2046 inline void GPSRequirements::clear_has_transit_pdop_req() {
2047 _has_bits_[0] &= ~0x00000002u;
2050 transit_pdop_req_ = 0;
2051 clear_has_transit_pdop_req();
2055 return transit_pdop_req_;
2058 set_has_transit_pdop_req();
2059 transit_pdop_req_ = value;
2065 return (_has_bits_[0] & 0x00000004u) != 0;
2067 inline void GPSRequirements::set_has_after_dive_hdop_req() {
2068 _has_bits_[0] |= 0x00000004u;
2070 inline void GPSRequirements::clear_has_after_dive_hdop_req() {
2071 _has_bits_[0] &= ~0x00000004u;
2074 after_dive_hdop_req_ = 0;
2075 clear_has_after_dive_hdop_req();
2079 return after_dive_hdop_req_;
2082 set_has_after_dive_hdop_req();
2083 after_dive_hdop_req_ = value;
2089 return (_has_bits_[0] & 0x00000008u) != 0;
2091 inline void GPSRequirements::set_has_after_dive_pdop_req() {
2092 _has_bits_[0] |= 0x00000008u;
2094 inline void GPSRequirements::clear_has_after_dive_pdop_req() {
2095 _has_bits_[0] &= ~0x00000008u;
2098 after_dive_pdop_req_ = 0;
2099 clear_has_after_dive_pdop_req();
2103 return after_dive_pdop_req_;
2106 set_has_after_dive_pdop_req();
2107 after_dive_pdop_req_ = value;
2113 return (_has_bits_[0] & 0x00000010u) != 0;
2115 inline void GPSRequirements::set_has_transit_gps_fix_checks() {
2116 _has_bits_[0] |= 0x00000010u;
2118 inline void GPSRequirements::clear_has_transit_gps_fix_checks() {
2119 _has_bits_[0] &= ~0x00000010u;
2122 transit_gps_fix_checks_ = 0u;
2123 clear_has_transit_gps_fix_checks();
2127 return transit_gps_fix_checks_;
2130 set_has_transit_gps_fix_checks();
2131 transit_gps_fix_checks_ = value;
2137 return (_has_bits_[0] & 0x00000020u) != 0;
2139 inline void GPSRequirements::set_has_transit_gps_degraded_fix_checks() {
2140 _has_bits_[0] |= 0x00000020u;
2142 inline void GPSRequirements::clear_has_transit_gps_degraded_fix_checks() {
2143 _has_bits_[0] &= ~0x00000020u;
2146 transit_gps_degraded_fix_checks_ = 0u;
2147 clear_has_transit_gps_degraded_fix_checks();
2151 return transit_gps_degraded_fix_checks_;
2154 set_has_transit_gps_degraded_fix_checks();
2155 transit_gps_degraded_fix_checks_ = value;
2161 return (_has_bits_[0] & 0x00000040u) != 0;
2163 inline void GPSRequirements::set_has_after_dive_gps_fix_checks() {
2164 _has_bits_[0] |= 0x00000040u;
2166 inline void GPSRequirements::clear_has_after_dive_gps_fix_checks() {
2167 _has_bits_[0] &= ~0x00000040u;
2170 after_dive_gps_fix_checks_ = 0u;
2171 clear_has_after_dive_gps_fix_checks();
2175 return after_dive_gps_fix_checks_;
2178 set_has_after_dive_gps_fix_checks();
2179 after_dive_gps_fix_checks_ = value;
2189 return (_has_bits_[0] & 0x00000001u) != 0;
2191 inline void RFDisableOptions::set_has_rf_disable() {
2192 _has_bits_[0] |= 0x00000001u;
2194 inline void RFDisableOptions::clear_has_rf_disable() {
2195 _has_bits_[0] &= ~0x00000001u;
2198 rf_disable_ =
false;
2199 clear_has_rf_disable();
2206 set_has_rf_disable();
2207 rf_disable_ = value;
2213 return (_has_bits_[0] & 0x00000002u) != 0;
2215 inline void RFDisableOptions::set_has_rf_disable_timeout_mins() {
2216 _has_bits_[0] |= 0x00000002u;
2218 inline void RFDisableOptions::clear_has_rf_disable_timeout_mins() {
2219 _has_bits_[0] &= ~0x00000002u;
2222 rf_disable_timeout_mins_ = 10;
2223 clear_has_rf_disable_timeout_mins();
2227 return rf_disable_timeout_mins_;
2230 set_has_rf_disable_timeout_mins();
2231 rf_disable_timeout_mins_ = value;
2241 return (_has_bits_[0] & 0x00000001u) != 0;
2243 inline void IMUCalibration::set_has_run_cal() {
2244 _has_bits_[0] |= 0x00000001u;
2246 inline void IMUCalibration::clear_has_run_cal() {
2247 _has_bits_[0] &= ~0x00000001u;
2251 clear_has_run_cal();
2269 return (_has_bits_[0] & 0x00000001u) != 0;
2271 inline void Echo::set_has_start_echo() {
2272 _has_bits_[0] |= 0x00000001u;
2274 inline void Echo::clear_has_start_echo() {
2275 _has_bits_[0] &= ~0x00000001u;
2278 start_echo_ =
false;
2279 clear_has_start_echo();
2286 set_has_start_echo();
2287 start_echo_ = value;
2293 return (_has_bits_[0] & 0x00000002u) != 0;
2295 inline void Echo::set_has_stop_echo() {
2296 _has_bits_[0] |= 0x00000002u;
2298 inline void Echo::clear_has_stop_echo() {
2299 _has_bits_[0] &= ~0x00000002u;
2303 clear_has_stop_echo();
2310 set_has_stop_echo();
2317 return (_has_bits_[0] & 0x00000004u) != 0;
2319 inline void Echo::set_has_echo_state() {
2320 _has_bits_[0] |= 0x00000004u;
2322 inline void Echo::clear_has_echo_state() {
2323 _has_bits_[0] &= ~0x00000004u;
2327 clear_has_echo_state();
2335 set_has_echo_state();
2336 echo_state_ = value;
2346 return (_has_bits_[0] & 0x00000100u) != 0;
2348 inline void Engineering::set_has_bot_id() {
2349 _has_bits_[0] |= 0x00000100u;
2351 inline void Engineering::clear_has_bot_id() {
2352 _has_bits_[0] &= ~0x00000100u;
2370 return (_has_bits_[0] & 0x00000080u) != 0;
2372 inline void Engineering::set_has_time() {
2373 _has_bits_[0] |= 0x00000080u;
2375 inline void Engineering::clear_has_time() {
2376 _has_bits_[0] &= ~0x00000080u;
2379 time_ = GOOGLE_ULONGLONG(0);
2394 return (_has_bits_[0] & 0x00000001u) != 0;
2396 inline void Engineering::set_has_pid_control() {
2397 _has_bits_[0] |= 0x00000001u;
2399 inline void Engineering::clear_has_pid_control() {
2400 _has_bits_[0] &= ~0x00000001u;
2403 if (pid_control_ != NULL) pid_control_->Clear();
2404 clear_has_pid_control();
2406 inline const ::jaiabot::protobuf::PIDControl& Engineering::_internal_pid_control()
const {
2407 return *pid_control_;
2410 const ::jaiabot::protobuf::PIDControl* p = pid_control_;
2417 clear_has_pid_control();
2419 pid_control_ = NULL;
2423 set_has_pid_control();
2424 if (pid_control_ == NULL) {
2425 auto* p = CreateMaybeMessage<::jaiabot::protobuf::PIDControl>(GetArenaNoVirtual());
2429 return pid_control_;
2432 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2433 if (message_arena == NULL) {
2434 delete pid_control_;
2437 ::google::protobuf::Arena* submessage_arena = NULL;
2438 if (message_arena != submessage_arena) {
2439 pid_control = ::google::protobuf::internal::GetOwnedMessage(
2440 message_arena, pid_control, submessage_arena);
2442 set_has_pid_control();
2444 clear_has_pid_control();
2446 pid_control_ = pid_control;
2452 return (_has_bits_[0] & 0x00000200u) != 0;
2454 inline void Engineering::set_has_query_engineering_status() {
2455 _has_bits_[0] |= 0x00000200u;
2457 inline void Engineering::clear_has_query_engineering_status() {
2458 _has_bits_[0] &= ~0x00000200u;
2461 query_engineering_status_ =
false;
2462 clear_has_query_engineering_status();
2466 return query_engineering_status_;
2469 set_has_query_engineering_status();
2470 query_engineering_status_ = value;
2476 return (_has_bits_[0] & 0x00000400u) != 0;
2478 inline void Engineering::set_has_query_bot_status() {
2479 _has_bits_[0] |= 0x00000400u;
2481 inline void Engineering::clear_has_query_bot_status() {
2482 _has_bits_[0] &= ~0x00000400u;
2485 query_bot_status_ =
false;
2486 clear_has_query_bot_status();
2490 return query_bot_status_;
2493 set_has_query_bot_status();
2494 query_bot_status_ = value;
2500 return (_has_bits_[0] & 0x00000800u) != 0;
2502 inline void Engineering::set_has_engineering_messages_enabled() {
2503 _has_bits_[0] |= 0x00000800u;
2505 inline void Engineering::clear_has_engineering_messages_enabled() {
2506 _has_bits_[0] &= ~0x00000800u;
2509 engineering_messages_enabled_ =
false;
2510 clear_has_engineering_messages_enabled();
2514 return engineering_messages_enabled_;
2517 set_has_engineering_messages_enabled();
2518 engineering_messages_enabled_ = value;
2524 return (_has_bits_[0] & 0x00002000u) != 0;
2526 inline void Engineering::set_has_bot_status_rate() {
2527 _has_bits_[0] |= 0x00002000u;
2529 inline void Engineering::clear_has_bot_status_rate() {
2530 _has_bits_[0] &= ~0x00002000u;
2533 bot_status_rate_ = 1;
2534 clear_has_bot_status_rate();
2542 set_has_bot_status_rate();
2543 bot_status_rate_ = value;
2549 return (_has_bits_[0] & 0x00000002u) != 0;
2551 inline void Engineering::set_has_gps_requirements() {
2552 _has_bits_[0] |= 0x00000002u;
2554 inline void Engineering::clear_has_gps_requirements() {
2555 _has_bits_[0] &= ~0x00000002u;
2558 if (gps_requirements_ != NULL) gps_requirements_->Clear();
2559 clear_has_gps_requirements();
2561 inline const ::jaiabot::protobuf::GPSRequirements& Engineering::_internal_gps_requirements()
const {
2562 return *gps_requirements_;
2565 const ::jaiabot::protobuf::GPSRequirements* p = gps_requirements_;
2572 clear_has_gps_requirements();
2574 gps_requirements_ = NULL;
2578 set_has_gps_requirements();
2579 if (gps_requirements_ == NULL) {
2580 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GPSRequirements>(GetArenaNoVirtual());
2581 gps_requirements_ = p;
2584 return gps_requirements_;
2587 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2588 if (message_arena == NULL) {
2589 delete gps_requirements_;
2591 if (gps_requirements) {
2592 ::google::protobuf::Arena* submessage_arena = NULL;
2593 if (message_arena != submessage_arena) {
2594 gps_requirements = ::google::protobuf::internal::GetOwnedMessage(
2595 message_arena, gps_requirements, submessage_arena);
2597 set_has_gps_requirements();
2599 clear_has_gps_requirements();
2601 gps_requirements_ = gps_requirements;
2607 return (_has_bits_[0] & 0x00000004u) != 0;
2609 inline void Engineering::set_has_rf_disable_options() {
2610 _has_bits_[0] |= 0x00000004u;
2612 inline void Engineering::clear_has_rf_disable_options() {
2613 _has_bits_[0] &= ~0x00000004u;
2616 if (rf_disable_options_ != NULL) rf_disable_options_->Clear();
2617 clear_has_rf_disable_options();
2619 inline const ::jaiabot::protobuf::RFDisableOptions& Engineering::_internal_rf_disable_options()
const {
2620 return *rf_disable_options_;
2623 const ::jaiabot::protobuf::RFDisableOptions* p = rf_disable_options_;
2630 clear_has_rf_disable_options();
2632 rf_disable_options_ = NULL;
2636 set_has_rf_disable_options();
2637 if (rf_disable_options_ == NULL) {
2638 auto* p = CreateMaybeMessage<::jaiabot::protobuf::RFDisableOptions>(GetArenaNoVirtual());
2639 rf_disable_options_ = p;
2642 return rf_disable_options_;
2645 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2646 if (message_arena == NULL) {
2647 delete rf_disable_options_;
2649 if (rf_disable_options) {
2650 ::google::protobuf::Arena* submessage_arena = NULL;
2651 if (message_arena != submessage_arena) {
2652 rf_disable_options = ::google::protobuf::internal::GetOwnedMessage(
2653 message_arena, rf_disable_options, submessage_arena);
2655 set_has_rf_disable_options();
2657 clear_has_rf_disable_options();
2659 rf_disable_options_ = rf_disable_options;
2665 return (_has_bits_[0] & 0x00000008u) != 0;
2667 inline void Engineering::set_has_bottom_depth_safety_params() {
2668 _has_bits_[0] |= 0x00000008u;
2670 inline void Engineering::clear_has_bottom_depth_safety_params() {
2671 _has_bits_[0] &= ~0x00000008u;
2673 inline const ::jaiabot::protobuf::BottomDepthSafetyParams& Engineering::_internal_bottom_depth_safety_params()
const {
2674 return *bottom_depth_safety_params_;
2677 const ::jaiabot::protobuf::BottomDepthSafetyParams* p = bottom_depth_safety_params_;
2684 clear_has_bottom_depth_safety_params();
2686 bottom_depth_safety_params_ = NULL;
2690 set_has_bottom_depth_safety_params();
2691 if (bottom_depth_safety_params_ == NULL) {
2692 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BottomDepthSafetyParams>(GetArenaNoVirtual());
2693 bottom_depth_safety_params_ = p;
2696 return bottom_depth_safety_params_;
2699 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2700 if (message_arena == NULL) {
2701 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(bottom_depth_safety_params_);
2703 if (bottom_depth_safety_params) {
2704 ::google::protobuf::Arena* submessage_arena = NULL;
2705 if (message_arena != submessage_arena) {
2706 bottom_depth_safety_params = ::google::protobuf::internal::GetOwnedMessage(
2707 message_arena, bottom_depth_safety_params, submessage_arena);
2709 set_has_bottom_depth_safety_params();
2711 clear_has_bottom_depth_safety_params();
2713 bottom_depth_safety_params_ = bottom_depth_safety_params;
2719 return (_has_bits_[0] & 0x00000010u) != 0;
2721 inline void Engineering::set_has_imu_cal() {
2722 _has_bits_[0] |= 0x00000010u;
2724 inline void Engineering::clear_has_imu_cal() {
2725 _has_bits_[0] &= ~0x00000010u;
2728 if (imu_cal_ != NULL) imu_cal_->Clear();
2729 clear_has_imu_cal();
2731 inline const ::jaiabot::protobuf::IMUCalibration& Engineering::_internal_imu_cal()
const {
2735 const ::jaiabot::protobuf::IMUCalibration* p = imu_cal_;
2742 clear_has_imu_cal();
2749 if (imu_cal_ == NULL) {
2750 auto* p = CreateMaybeMessage<::jaiabot::protobuf::IMUCalibration>(GetArenaNoVirtual());
2757 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2758 if (message_arena == NULL) {
2762 ::google::protobuf::Arena* submessage_arena = NULL;
2763 if (message_arena != submessage_arena) {
2764 imu_cal = ::google::protobuf::internal::GetOwnedMessage(
2765 message_arena, imu_cal, submessage_arena);
2769 clear_has_imu_cal();
2777 return (_has_bits_[0] & 0x00000020u) != 0;
2779 inline void Engineering::set_has_echo() {
2780 _has_bits_[0] |= 0x00000020u;
2782 inline void Engineering::clear_has_echo() {
2783 _has_bits_[0] &= ~0x00000020u;
2786 if (echo_ != NULL) echo_->Clear();
2789 inline const ::jaiabot::protobuf::Echo& Engineering::_internal_echo()
const {
2793 const ::jaiabot::protobuf::Echo* p = echo_;
2807 if (echo_ == NULL) {
2808 auto* p = CreateMaybeMessage<::jaiabot::protobuf::Echo>(GetArenaNoVirtual());
2815 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2816 if (message_arena == NULL) {
2820 ::google::protobuf::Arena* submessage_arena = NULL;
2821 if (message_arena != submessage_arena) {
2822 echo = ::google::protobuf::internal::GetOwnedMessage(
2823 message_arena,
echo, submessage_arena);
2835 return (_has_bits_[0] & 0x00001000u) != 0;
2837 inline void Engineering::set_has_flag() {
2838 _has_bits_[0] |= 0x00001000u;
2840 inline void Engineering::clear_has_flag() {
2841 _has_bits_[0] &= ~0x00001000u;
2859 return (_has_bits_[0] & 0x00000040u) != 0;
2861 inline void Engineering::set_has_bounds() {
2862 _has_bits_[0] |= 0x00000040u;
2864 inline void Engineering::clear_has_bounds() {
2865 _has_bits_[0] &= ~0x00000040u;
2867 inline const ::jaiabot::protobuf::Bounds& Engineering::_internal_bounds()
const {
2871 const ::jaiabot::protobuf::Bounds* p = bounds_;
2885 if (bounds_ == NULL) {
2886 auto* p = CreateMaybeMessage<::jaiabot::protobuf::Bounds>(GetArenaNoVirtual());
2893 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2894 if (message_arena == NULL) {
2895 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(bounds_);
2898 ::google::protobuf::Arena* submessage_arena = NULL;
2899 if (message_arena != submessage_arena) {
2900 bounds = ::google::protobuf::internal::GetOwnedMessage(
2901 message_arena, bounds, submessage_arena);
2913 return (_has_bits_[0] & 0x00004000u) != 0;
2915 inline void Engineering::set_has_link() {
2916 _has_bits_[0] |= 0x00004000u;
2918 inline void Engineering::clear_has_link() {
2919 _has_bits_[0] &= ~0x00004000u;
2937 #pragma GCC diagnostic pop
2958 namespace protobuf {
2962 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::BotStatusRate>() {
2971 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2fengineering_2eproto