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"
38 #include <boost/units/quantity.hpp>
39 #include <boost/units/absolute.hpp>
40 #include <boost/units/dimensionless_type.hpp>
41 #include <boost/units/make_scaled_unit.hpp>
43 #include <boost/units/systems/angle/degrees.hpp>
45 #include <boost/units/systems/si.hpp>
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_jaiabot_2fmessages_2fengineering_2eproto
52 static const ::google::protobuf::internal::ParseTableField
entries[];
53 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
54 static const ::google::protobuf::internal::ParseTable
schema[7];
57 static const ::google::protobuf::uint32
offsets[];
64 class EchoDefaultTypeInternal;
67 class EngineeringDefaultTypeInternal;
69 class GPSRequirements;
70 class GPSRequirementsDefaultTypeInternal;
73 class IMUCalibrationDefaultTypeInternal;
76 class PIDControlDefaultTypeInternal;
78 class PIDControl_PIDSettings;
79 class PIDControl_PIDSettingsDefaultTypeInternal;
81 class RFDisableOptions;
82 class RFDisableOptionsDefaultTypeInternal;
118 return ::google::protobuf::internal::NameOfEnum(
123 return ::google::protobuf::internal::ParseNamedEnum<BotStatusRate>(
142 *
this = ::std::move(from);
146 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
147 if (
this != &from) InternalSwap(&from);
155 return _internal_metadata_.unknown_fields();
158 return _internal_metadata_.mutable_unknown_fields();
161 static const ::google::protobuf::Descriptor*
descriptor();
180 return CreateMaybeMessage<PIDControl_PIDSettings>(NULL);
184 return CreateMaybeMessage<PIDControl_PIDSettings>(arena);
186 void CopyFrom(const ::google::protobuf::Message& from)
final;
187 void MergeFrom(const ::google::protobuf::Message& from)
final;
195 ::
google::protobuf::io::CodedInputStream* input) final;
197 ::
google::protobuf::io::CodedOutputStream* output) const final;
199 bool deterministic, ::
google::protobuf::uint8*
target) const final;
205 void SetCachedSize(
int size)
const final;
208 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
211 inline void* MaybeArenaPtr()
const {
216 ::google::protobuf::Metadata
GetMetadata() const final;
234 void set_kp(
double value);
241 void set_ki(
double value);
248 void set_kd(
double value);
254 template<typename Quantity >
256 {
set_target(boost::units::quantity<target_unit,double >(value_w_units).value() ); };
258 template<
typename Quantity >
263 {
return target_with_units<boost::units::quantity< target_unit,double > >(); };
267 void set_has_target();
268 void clear_has_target();
276 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
277 ::google::protobuf::internal::HasBits<1> _has_bits_;
278 mutable ::google::protobuf::internal::CachedSize _cached_size_;
283 friend struct ::protobuf_jaiabot_2fmessages_2fengineering_2eproto::TableStruct;
301 *
this = ::std::move(from);
305 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
306 if (
this != &from) InternalSwap(&from);
314 return _internal_metadata_.unknown_fields();
317 return _internal_metadata_.mutable_unknown_fields();
320 static const ::google::protobuf::Descriptor*
descriptor();
339 return CreateMaybeMessage<PIDControl>(NULL);
343 return CreateMaybeMessage<PIDControl>(arena);
345 void CopyFrom(const ::google::protobuf::Message& from)
final;
346 void MergeFrom(const ::google::protobuf::Message& from)
final;
354 ::
google::protobuf::io::CodedInputStream* input) final;
356 ::
google::protobuf::io::CodedOutputStream* output) const final;
358 bool deterministic, ::
google::protobuf::uint8* target) const final;
364 void SetCachedSize(
int size)
const final;
367 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
370 inline void* MaybeArenaPtr()
const {
375 ::google::protobuf::Metadata
GetMetadata() const final;
501 template<typename Quantity >
503 {
set_timeout(boost::units::quantity<timeout_unit,google::protobuf::uint32 >(value_w_units).value() ); };
505 template<
typename Quantity >
510 {
return timeout_with_units<boost::units::quantity< timeout_unit,google::protobuf::uint32 > >(); };
514 void set_has_timeout();
515 void clear_has_timeout();
516 void set_has_throttle();
517 void clear_has_throttle();
518 void set_has_speed();
519 void clear_has_speed();
520 void set_has_rudder();
521 void clear_has_rudder();
522 void set_has_heading();
523 void clear_has_heading();
524 void set_has_port_elevator();
525 void clear_has_port_elevator();
526 void set_has_stbd_elevator();
527 void clear_has_stbd_elevator();
529 void clear_has_roll();
530 void set_has_pitch();
531 void clear_has_pitch();
532 void set_has_depth();
533 void clear_has_depth();
534 void set_has_led_switch_on();
535 void clear_has_led_switch_on();
536 void set_has_heading_constant();
537 void clear_has_heading_constant();
539 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
540 ::google::protobuf::internal::HasBits<1> _has_bits_;
541 mutable ::google::protobuf::internal::CachedSize _cached_size_;
550 double port_elevator_;
551 ::google::protobuf::uint32 timeout_;
553 double stbd_elevator_;
554 friend struct ::protobuf_jaiabot_2fmessages_2fengineering_2eproto::TableStruct;
572 *
this = ::std::move(from);
576 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
577 if (
this != &from) InternalSwap(&from);
585 return _internal_metadata_.unknown_fields();
588 return _internal_metadata_.mutable_unknown_fields();
591 static const ::google::protobuf::Descriptor*
descriptor();
610 return CreateMaybeMessage<GPSRequirements>(NULL);
614 return CreateMaybeMessage<GPSRequirements>(arena);
616 void CopyFrom(const ::google::protobuf::Message& from)
final;
617 void MergeFrom(const ::google::protobuf::Message& from)
final;
625 ::
google::protobuf::io::CodedInputStream* input) final;
627 ::
google::protobuf::io::CodedOutputStream* output) const final;
629 bool deterministic, ::
google::protobuf::uint8* target) const final;
635 void SetCachedSize(
int size)
const final;
638 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
641 inline void* MaybeArenaPtr()
const {
646 ::google::protobuf::Metadata
GetMetadata() const final;
703 void set_has_transit_hdop_req();
704 void clear_has_transit_hdop_req();
705 void set_has_transit_pdop_req();
706 void clear_has_transit_pdop_req();
707 void set_has_after_dive_hdop_req();
708 void clear_has_after_dive_hdop_req();
709 void set_has_after_dive_pdop_req();
710 void clear_has_after_dive_pdop_req();
711 void set_has_transit_gps_fix_checks();
712 void clear_has_transit_gps_fix_checks();
713 void set_has_transit_gps_degraded_fix_checks();
714 void clear_has_transit_gps_degraded_fix_checks();
715 void set_has_after_dive_gps_fix_checks();
716 void clear_has_after_dive_gps_fix_checks();
718 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
719 ::
google::protobuf::internal::HasBits<1> _has_bits_;
720 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
721 double transit_hdop_req_;
722 double transit_pdop_req_;
723 double after_dive_hdop_req_;
724 double after_dive_pdop_req_;
725 ::
google::protobuf::uint32 transit_gps_fix_checks_;
726 ::
google::protobuf::uint32 transit_gps_degraded_fix_checks_;
727 ::
google::protobuf::uint32 after_dive_gps_fix_checks_;
746 *
this = ::std::move(from);
749 inline RFDisableOptions&
operator=(RFDisableOptions&& from) noexcept {
750 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
751 if (
this != &from) InternalSwap(&from);
759 return _internal_metadata_.unknown_fields();
762 return _internal_metadata_.mutable_unknown_fields();
765 static const ::google::protobuf::Descriptor*
descriptor();
784 return CreateMaybeMessage<RFDisableOptions>(NULL);
788 return CreateMaybeMessage<RFDisableOptions>(arena);
790 void CopyFrom(const ::google::protobuf::Message& from)
final;
791 void MergeFrom(const ::google::protobuf::Message& from)
final;
799 ::
google::protobuf::io::CodedInputStream* input) final;
801 ::
google::protobuf::io::CodedOutputStream* output) const final;
803 bool deterministic, ::
google::protobuf::uint8* target) const final;
809 void SetCachedSize(
int size)
const final;
812 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
815 inline void* MaybeArenaPtr()
const {
820 ::google::protobuf::Metadata
GetMetadata() const final;
827 bool has_rf_disable() const;
828 void clear_rf_disable();
829 static const
int kRfDisableFieldNumber = 1;
830 bool rf_disable() const;
831 void set_rf_disable(
bool value);
834 bool has_rf_disable_timeout_mins() const;
835 void clear_rf_disable_timeout_mins();
836 static const
int kRfDisableTimeoutMinsFieldNumber = 2;
837 ::
google::protobuf::int32 rf_disable_timeout_mins() const;
838 void set_rf_disable_timeout_mins(::
google::protobuf::int32 value);
842 void set_has_rf_disable();
843 void clear_has_rf_disable();
844 void set_has_rf_disable_timeout_mins();
845 void clear_has_rf_disable_timeout_mins();
847 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
848 ::
google::protobuf::internal::HasBits<1> _has_bits_;
849 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
851 ::
google::protobuf::int32 rf_disable_timeout_mins_;
870 *
this = ::std::move(from);
873 inline IMUCalibration&
operator=(IMUCalibration&& from) noexcept {
874 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
875 if (
this != &from) InternalSwap(&from);
883 return _internal_metadata_.unknown_fields();
886 return _internal_metadata_.mutable_unknown_fields();
889 static const ::google::protobuf::Descriptor*
descriptor();
908 return CreateMaybeMessage<IMUCalibration>(NULL);
912 return CreateMaybeMessage<IMUCalibration>(arena);
914 void CopyFrom(const ::google::protobuf::Message& from)
final;
915 void MergeFrom(const ::google::protobuf::Message& from)
final;
923 ::
google::protobuf::io::CodedInputStream* input) final;
925 ::
google::protobuf::io::CodedOutputStream* output) const final;
927 bool deterministic, ::
google::protobuf::uint8* target) const final;
933 void SetCachedSize(
int size)
const final;
936 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
939 inline void* MaybeArenaPtr()
const {
944 ::google::protobuf::Metadata
GetMetadata() const final;
951 bool has_run_cal() const;
952 void clear_run_cal();
953 static const
int kRunCalFieldNumber = 1;
954 bool run_cal() const;
955 void set_run_cal(
bool value);
959 void set_has_run_cal();
960 void clear_has_run_cal();
962 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
963 ::
google::protobuf::internal::HasBits<1> _has_bits_;
964 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
984 *
this = ::std::move(from);
987 inline Echo&
operator=(Echo&& from) noexcept {
988 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
989 if (
this != &from) InternalSwap(&from);
997 return _internal_metadata_.unknown_fields();
1000 return _internal_metadata_.mutable_unknown_fields();
1003 static const ::google::protobuf::Descriptor*
descriptor();
1008 return reinterpret_cast<const Echo*
>(
1022 return CreateMaybeMessage<Echo>(NULL);
1025 Echo*
New(::google::protobuf::Arena* arena)
const final {
1026 return CreateMaybeMessage<Echo>(arena);
1028 void CopyFrom(const ::google::protobuf::Message& from)
final;
1029 void MergeFrom(const ::google::protobuf::Message& from)
final;
1037 ::
google::protobuf::io::CodedInputStream* input) final;
1039 ::
google::protobuf::io::CodedOutputStream* output) const final;
1041 bool deterministic, ::
google::protobuf::uint8* target) const final;
1047 void SetCachedSize(
int size)
const final;
1048 void InternalSwap(
Echo* other);
1050 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1053 inline void* MaybeArenaPtr()
const {
1058 ::google::protobuf::Metadata
GetMetadata() const final;
1065 bool has_start_echo() const;
1066 void clear_start_echo();
1067 static const
int kStartEchoFieldNumber = 1;
1068 bool start_echo() const;
1069 void set_start_echo(
bool value);
1072 bool has_stop_echo() const;
1073 void clear_stop_echo();
1074 static const
int kStopEchoFieldNumber = 2;
1075 bool stop_echo() const;
1076 void set_stop_echo(
bool value);
1079 bool has_echo_state() const;
1080 void clear_echo_state();
1081 static const
int kEchoStateFieldNumber = 3;
1087 void set_has_start_echo();
1088 void clear_has_start_echo();
1089 void set_has_stop_echo();
1090 void clear_has_stop_echo();
1091 void set_has_echo_state();
1092 void clear_has_echo_state();
1094 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1095 ::
google::protobuf::internal::HasBits<1> _has_bits_;
1096 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
1118 *
this = ::std::move(from);
1121 inline Engineering&
operator=(Engineering&& from) noexcept {
1122 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1123 if (
this != &from) InternalSwap(&from);
1131 return _internal_metadata_.unknown_fields();
1134 return _internal_metadata_.mutable_unknown_fields();
1137 static const ::google::protobuf::Descriptor*
descriptor();
1156 return CreateMaybeMessage<Engineering>(NULL);
1160 return CreateMaybeMessage<Engineering>(arena);
1162 void CopyFrom(const ::google::protobuf::Message& from)
final;
1163 void MergeFrom(const ::google::protobuf::Message& from)
final;
1171 ::
google::protobuf::io::CodedInputStream* input) final;
1173 ::
google::protobuf::io::CodedOutputStream* output) const final;
1175 bool deterministic, ::
google::protobuf::uint8* target) const final;
1181 void SetCachedSize(
int size)
const final;
1184 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
1187 inline void* MaybeArenaPtr()
const {
1192 ::google::protobuf::Metadata
GetMetadata() const final;
1199 bool has_pid_control() const;
1200 void clear_pid_control();
1201 static const
int kPidControlFieldNumber = 3;
1211 bool has_gps_requirements() const;
1212 void clear_gps_requirements();
1213 static const
int kGpsRequirementsFieldNumber = 15;
1223 bool has_rf_disable_options() const;
1224 void clear_rf_disable_options();
1225 static const
int kRfDisableOptionsFieldNumber = 16;
1235 bool has_bottom_depth_safety_params() const;
1236 void clear_bottom_depth_safety_params();
1237 static const
int kBottomDepthSafetyParamsFieldNumber = 17;
1247 bool has_imu_cal() const;
1248 void clear_imu_cal();
1249 static const
int kImuCalFieldNumber = 18;
1259 bool has_echo() const;
1261 static const
int kEchoFieldNumber = 19;
1263 const ::
jaiabot::protobuf::
Echo& _internal_echo() const;
1271 bool has_bounds() const;
1272 void clear_bounds();
1273 static const
int kBoundsFieldNumber = 101;
1275 const ::
jaiabot::protobuf::
Bounds& _internal_bounds() const;
1280 void set_allocated_bounds(::
jaiabot::protobuf::
Bounds* bounds);
1283 bool has_time() const;
1285 static const
int kTimeFieldNumber = 2;
1286 ::
google::protobuf::uint64 time() const;
1287 void set_time(::
google::protobuf::uint64 value);
1290 bool has_bot_id() const;
1291 void clear_bot_id();
1292 static const
int kBotIdFieldNumber = 1;
1293 ::
google::protobuf::uint32 bot_id() const;
1294 void set_bot_id(::
google::protobuf::uint32 value);
1297 bool has_query_engineering_status() const;
1298 void clear_query_engineering_status();
1299 static const
int kQueryEngineeringStatusFieldNumber = 4;
1300 bool query_engineering_status() const;
1301 void set_query_engineering_status(
bool value);
1304 bool has_query_bot_status() const;
1305 void clear_query_bot_status();
1306 static const
int kQueryBotStatusFieldNumber = 5;
1307 bool query_bot_status() const;
1308 void set_query_bot_status(
bool value);
1311 bool has_engineering_messages_enabled() const;
1312 void clear_engineering_messages_enabled();
1313 static const
int kEngineeringMessagesEnabledFieldNumber = 13;
1314 bool engineering_messages_enabled() const;
1315 void set_engineering_messages_enabled(
bool value);
1318 bool has_flag() const;
1320 static const
int kFlagFieldNumber = 100;
1321 ::
google::protobuf::uint32 flag() const;
1322 void set_flag(::
google::protobuf::uint32 value);
1325 bool has_bot_status_rate() const;
1326 void clear_bot_status_rate();
1327 static const
int kBotStatusRateFieldNumber = 14;
1334 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;
1336 template<
typename Quantity >
1338 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1340 template<
typename Quantity >
1342 {
return Quantity(time() *
time_unit()); };
1345 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
1349 void set_has_bot_id();
1350 void clear_has_bot_id();
1351 void set_has_time();
1352 void clear_has_time();
1353 void set_has_pid_control();
1354 void clear_has_pid_control();
1355 void set_has_query_engineering_status();
1356 void clear_has_query_engineering_status();
1357 void set_has_query_bot_status();
1358 void clear_has_query_bot_status();
1359 void set_has_engineering_messages_enabled();
1360 void clear_has_engineering_messages_enabled();
1361 void set_has_bot_status_rate();
1362 void clear_has_bot_status_rate();
1363 void set_has_gps_requirements();
1364 void clear_has_gps_requirements();
1365 void set_has_rf_disable_options();
1366 void clear_has_rf_disable_options();
1367 void set_has_bottom_depth_safety_params();
1368 void clear_has_bottom_depth_safety_params();
1369 void set_has_imu_cal();
1370 void clear_has_imu_cal();
1371 void set_has_echo();
1372 void clear_has_echo();
1373 void set_has_flag();
1374 void clear_has_flag();
1375 void set_has_bounds();
1376 void clear_has_bounds();
1378 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1379 ::google::protobuf::internal::HasBits<1> _has_bits_;
1380 mutable ::google::protobuf::internal::CachedSize _cached_size_;
1388 ::google::protobuf::uint64 time_;
1389 ::google::protobuf::uint32 bot_id_;
1390 bool query_engineering_status_;
1391 bool query_bot_status_;
1392 bool engineering_messages_enabled_;
1393 ::google::protobuf::uint32 flag_;
1394 int bot_status_rate_;
1395 friend struct ::protobuf_jaiabot_2fmessages_2fengineering_2eproto::TableStruct;
1403 #pragma GCC diagnostic push
1404 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1410 return (_has_bits_[0] & 0x00000001u) != 0;
1412 inline void PIDControl_PIDSettings::set_has_target() {
1413 _has_bits_[0] |= 0x00000001u;
1415 inline void PIDControl_PIDSettings::clear_has_target() {
1416 _has_bits_[0] &= ~0x00000001u;
1434 return (_has_bits_[0] & 0x00000002u) != 0;
1436 inline void PIDControl_PIDSettings::set_has_kp() {
1437 _has_bits_[0] |= 0x00000002u;
1439 inline void PIDControl_PIDSettings::clear_has_kp() {
1440 _has_bits_[0] &= ~0x00000002u;
1458 return (_has_bits_[0] & 0x00000004u) != 0;
1460 inline void PIDControl_PIDSettings::set_has_ki() {
1461 _has_bits_[0] |= 0x00000004u;
1463 inline void PIDControl_PIDSettings::clear_has_ki() {
1464 _has_bits_[0] &= ~0x00000004u;
1482 return (_has_bits_[0] & 0x00000008u) != 0;
1484 inline void PIDControl_PIDSettings::set_has_kd() {
1485 _has_bits_[0] |= 0x00000008u;
1487 inline void PIDControl_PIDSettings::clear_has_kd() {
1488 _has_bits_[0] &= ~0x00000008u;
1510 return (_has_bits_[0] & 0x00000200u) != 0;
1512 inline void PIDControl::set_has_timeout() {
1513 _has_bits_[0] |= 0x00000200u;
1515 inline void PIDControl::clear_has_timeout() {
1516 _has_bits_[0] &= ~0x00000200u;
1520 clear_has_timeout();
1534 return (_has_bits_[0] & 0x00000040u) != 0;
1536 inline void PIDControl::set_has_throttle() {
1537 _has_bits_[0] |= 0x00000040u;
1539 inline void PIDControl::clear_has_throttle() {
1540 _has_bits_[0] &= ~0x00000040u;
1544 clear_has_throttle();
1558 return (_has_bits_[0] & 0x00000001u) != 0;
1560 inline void PIDControl::set_has_speed() {
1561 _has_bits_[0] |= 0x00000001u;
1563 inline void PIDControl::clear_has_speed() {
1564 _has_bits_[0] &= ~0x00000001u;
1567 if (speed_ != NULL) speed_->Clear();
1570 inline const ::jaiabot::protobuf::PIDControl_PIDSettings& PIDControl::_internal_speed()
const {
1574 const ::jaiabot::protobuf::PIDControl_PIDSettings* p = speed_;
1588 if (speed_ == NULL) {
1589 auto* p = CreateMaybeMessage<::jaiabot::protobuf::PIDControl_PIDSettings>(GetArenaNoVirtual());
1596 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1597 if (message_arena == NULL) {
1601 ::google::protobuf::Arena* submessage_arena = NULL;
1602 if (message_arena != submessage_arena) {
1603 speed = ::google::protobuf::internal::GetOwnedMessage(
1604 message_arena, speed, submessage_arena);
1616 return (_has_bits_[0] & 0x00000080u) != 0;
1618 inline void PIDControl::set_has_rudder() {
1619 _has_bits_[0] |= 0x00000080u;
1621 inline void PIDControl::clear_has_rudder() {
1622 _has_bits_[0] &= ~0x00000080u;
1640 return (_has_bits_[0] & 0x00000002u) != 0;
1642 inline void PIDControl::set_has_heading() {
1643 _has_bits_[0] |= 0x00000002u;
1645 inline void PIDControl::clear_has_heading() {
1646 _has_bits_[0] &= ~0x00000002u;
1649 if (heading_ != NULL) heading_->Clear();
1650 clear_has_heading();
1652 inline const ::jaiabot::protobuf::PIDControl_PIDSettings& PIDControl::_internal_heading()
const {
1656 const ::jaiabot::protobuf::PIDControl_PIDSettings* p = heading_;
1663 clear_has_heading();
1670 if (heading_ == NULL) {
1671 auto* p = CreateMaybeMessage<::jaiabot::protobuf::PIDControl_PIDSettings>(GetArenaNoVirtual());
1678 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1679 if (message_arena == NULL) {
1683 ::google::protobuf::Arena* submessage_arena = NULL;
1684 if (message_arena != submessage_arena) {
1685 heading = ::google::protobuf::internal::GetOwnedMessage(
1686 message_arena, heading, submessage_arena);
1690 clear_has_heading();
1698 return (_has_bits_[0] & 0x00000100u) != 0;
1700 inline void PIDControl::set_has_port_elevator() {
1701 _has_bits_[0] |= 0x00000100u;
1703 inline void PIDControl::clear_has_port_elevator() {
1704 _has_bits_[0] &= ~0x00000100u;
1708 clear_has_port_elevator();
1712 return port_elevator_;
1715 set_has_port_elevator();
1716 port_elevator_ = value;
1722 return (_has_bits_[0] & 0x00000800u) != 0;
1724 inline void PIDControl::set_has_stbd_elevator() {
1725 _has_bits_[0] |= 0x00000800u;
1727 inline void PIDControl::clear_has_stbd_elevator() {
1728 _has_bits_[0] &= ~0x00000800u;
1732 clear_has_stbd_elevator();
1736 return stbd_elevator_;
1739 set_has_stbd_elevator();
1740 stbd_elevator_ = value;
1746 return (_has_bits_[0] & 0x00000004u) != 0;
1748 inline void PIDControl::set_has_roll() {
1749 _has_bits_[0] |= 0x00000004u;
1751 inline void PIDControl::clear_has_roll() {
1752 _has_bits_[0] &= ~0x00000004u;
1755 if (roll_ != NULL) roll_->Clear();
1758 inline const ::jaiabot::protobuf::PIDControl_PIDSettings& PIDControl::_internal_roll()
const {
1762 const ::jaiabot::protobuf::PIDControl_PIDSettings* p = roll_;
1776 if (roll_ == NULL) {
1777 auto* p = CreateMaybeMessage<::jaiabot::protobuf::PIDControl_PIDSettings>(GetArenaNoVirtual());
1784 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1785 if (message_arena == NULL) {
1789 ::google::protobuf::Arena* submessage_arena = NULL;
1790 if (message_arena != submessage_arena) {
1791 roll = ::google::protobuf::internal::GetOwnedMessage(
1792 message_arena, roll, submessage_arena);
1804 return (_has_bits_[0] & 0x00000008u) != 0;
1806 inline void PIDControl::set_has_pitch() {
1807 _has_bits_[0] |= 0x00000008u;
1809 inline void PIDControl::clear_has_pitch() {
1810 _has_bits_[0] &= ~0x00000008u;
1813 if (pitch_ != NULL) pitch_->Clear();
1816 inline const ::jaiabot::protobuf::PIDControl_PIDSettings& PIDControl::_internal_pitch()
const {
1820 const ::jaiabot::protobuf::PIDControl_PIDSettings* p = pitch_;
1834 if (pitch_ == NULL) {
1835 auto* p = CreateMaybeMessage<::jaiabot::protobuf::PIDControl_PIDSettings>(GetArenaNoVirtual());
1842 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1843 if (message_arena == NULL) {
1847 ::google::protobuf::Arena* submessage_arena = NULL;
1848 if (message_arena != submessage_arena) {
1849 pitch = ::google::protobuf::internal::GetOwnedMessage(
1850 message_arena, pitch, submessage_arena);
1862 return (_has_bits_[0] & 0x00000010u) != 0;
1864 inline void PIDControl::set_has_depth() {
1865 _has_bits_[0] |= 0x00000010u;
1867 inline void PIDControl::clear_has_depth() {
1868 _has_bits_[0] &= ~0x00000010u;
1871 if (depth_ != NULL) depth_->Clear();
1874 inline const ::jaiabot::protobuf::PIDControl_PIDSettings& PIDControl::_internal_depth()
const {
1878 const ::jaiabot::protobuf::PIDControl_PIDSettings* p = depth_;
1892 if (depth_ == NULL) {
1893 auto* p = CreateMaybeMessage<::jaiabot::protobuf::PIDControl_PIDSettings>(GetArenaNoVirtual());
1900 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1901 if (message_arena == NULL) {
1905 ::google::protobuf::Arena* submessage_arena = NULL;
1906 if (message_arena != submessage_arena) {
1907 depth = ::google::protobuf::internal::GetOwnedMessage(
1908 message_arena, depth, submessage_arena);
1920 return (_has_bits_[0] & 0x00000400u) != 0;
1922 inline void PIDControl::set_has_led_switch_on() {
1923 _has_bits_[0] |= 0x00000400u;
1925 inline void PIDControl::clear_has_led_switch_on() {
1926 _has_bits_[0] &= ~0x00000400u;
1929 led_switch_on_ =
false;
1930 clear_has_led_switch_on();
1934 return led_switch_on_;
1937 set_has_led_switch_on();
1938 led_switch_on_ = value;
1944 return (_has_bits_[0] & 0x00000020u) != 0;
1946 inline void PIDControl::set_has_heading_constant() {
1947 _has_bits_[0] |= 0x00000020u;
1949 inline void PIDControl::clear_has_heading_constant() {
1950 _has_bits_[0] &= ~0x00000020u;
1953 if (heading_constant_ != NULL) heading_constant_->Clear();
1954 clear_has_heading_constant();
1956 inline const ::jaiabot::protobuf::PIDControl_PIDSettings& PIDControl::_internal_heading_constant()
const {
1957 return *heading_constant_;
1960 const ::jaiabot::protobuf::PIDControl_PIDSettings* p = heading_constant_;
1967 clear_has_heading_constant();
1969 heading_constant_ = NULL;
1973 set_has_heading_constant();
1974 if (heading_constant_ == NULL) {
1975 auto* p = CreateMaybeMessage<::jaiabot::protobuf::PIDControl_PIDSettings>(GetArenaNoVirtual());
1976 heading_constant_ = p;
1979 return heading_constant_;
1982 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1983 if (message_arena == NULL) {
1984 delete heading_constant_;
1986 if (heading_constant) {
1987 ::google::protobuf::Arena* submessage_arena = NULL;
1988 if (message_arena != submessage_arena) {
1989 heading_constant = ::google::protobuf::internal::GetOwnedMessage(
1990 message_arena, heading_constant, submessage_arena);
1992 set_has_heading_constant();
1994 clear_has_heading_constant();
1996 heading_constant_ = heading_constant;
2006 return (_has_bits_[0] & 0x00000001u) != 0;
2008 inline void GPSRequirements::set_has_transit_hdop_req() {
2009 _has_bits_[0] |= 0x00000001u;
2011 inline void GPSRequirements::clear_has_transit_hdop_req() {
2012 _has_bits_[0] &= ~0x00000001u;
2015 transit_hdop_req_ = 0;
2016 clear_has_transit_hdop_req();
2020 return transit_hdop_req_;
2023 set_has_transit_hdop_req();
2024 transit_hdop_req_ = value;
2030 return (_has_bits_[0] & 0x00000002u) != 0;
2032 inline void GPSRequirements::set_has_transit_pdop_req() {
2033 _has_bits_[0] |= 0x00000002u;
2035 inline void GPSRequirements::clear_has_transit_pdop_req() {
2036 _has_bits_[0] &= ~0x00000002u;
2039 transit_pdop_req_ = 0;
2040 clear_has_transit_pdop_req();
2044 return transit_pdop_req_;
2047 set_has_transit_pdop_req();
2048 transit_pdop_req_ = value;
2054 return (_has_bits_[0] & 0x00000004u) != 0;
2056 inline void GPSRequirements::set_has_after_dive_hdop_req() {
2057 _has_bits_[0] |= 0x00000004u;
2059 inline void GPSRequirements::clear_has_after_dive_hdop_req() {
2060 _has_bits_[0] &= ~0x00000004u;
2063 after_dive_hdop_req_ = 0;
2064 clear_has_after_dive_hdop_req();
2068 return after_dive_hdop_req_;
2071 set_has_after_dive_hdop_req();
2072 after_dive_hdop_req_ = value;
2078 return (_has_bits_[0] & 0x00000008u) != 0;
2080 inline void GPSRequirements::set_has_after_dive_pdop_req() {
2081 _has_bits_[0] |= 0x00000008u;
2083 inline void GPSRequirements::clear_has_after_dive_pdop_req() {
2084 _has_bits_[0] &= ~0x00000008u;
2087 after_dive_pdop_req_ = 0;
2088 clear_has_after_dive_pdop_req();
2092 return after_dive_pdop_req_;
2095 set_has_after_dive_pdop_req();
2096 after_dive_pdop_req_ = value;
2102 return (_has_bits_[0] & 0x00000010u) != 0;
2104 inline void GPSRequirements::set_has_transit_gps_fix_checks() {
2105 _has_bits_[0] |= 0x00000010u;
2107 inline void GPSRequirements::clear_has_transit_gps_fix_checks() {
2108 _has_bits_[0] &= ~0x00000010u;
2111 transit_gps_fix_checks_ = 0u;
2112 clear_has_transit_gps_fix_checks();
2116 return transit_gps_fix_checks_;
2119 set_has_transit_gps_fix_checks();
2120 transit_gps_fix_checks_ = value;
2126 return (_has_bits_[0] & 0x00000020u) != 0;
2128 inline void GPSRequirements::set_has_transit_gps_degraded_fix_checks() {
2129 _has_bits_[0] |= 0x00000020u;
2131 inline void GPSRequirements::clear_has_transit_gps_degraded_fix_checks() {
2132 _has_bits_[0] &= ~0x00000020u;
2135 transit_gps_degraded_fix_checks_ = 0u;
2136 clear_has_transit_gps_degraded_fix_checks();
2140 return transit_gps_degraded_fix_checks_;
2143 set_has_transit_gps_degraded_fix_checks();
2144 transit_gps_degraded_fix_checks_ = value;
2150 return (_has_bits_[0] & 0x00000040u) != 0;
2152 inline void GPSRequirements::set_has_after_dive_gps_fix_checks() {
2153 _has_bits_[0] |= 0x00000040u;
2155 inline void GPSRequirements::clear_has_after_dive_gps_fix_checks() {
2156 _has_bits_[0] &= ~0x00000040u;
2159 after_dive_gps_fix_checks_ = 0u;
2160 clear_has_after_dive_gps_fix_checks();
2164 return after_dive_gps_fix_checks_;
2167 set_has_after_dive_gps_fix_checks();
2168 after_dive_gps_fix_checks_ = value;
2178 return (_has_bits_[0] & 0x00000001u) != 0;
2180 inline void RFDisableOptions::set_has_rf_disable() {
2181 _has_bits_[0] |= 0x00000001u;
2183 inline void RFDisableOptions::clear_has_rf_disable() {
2184 _has_bits_[0] &= ~0x00000001u;
2187 rf_disable_ =
false;
2188 clear_has_rf_disable();
2195 set_has_rf_disable();
2196 rf_disable_ = value;
2202 return (_has_bits_[0] & 0x00000002u) != 0;
2204 inline void RFDisableOptions::set_has_rf_disable_timeout_mins() {
2205 _has_bits_[0] |= 0x00000002u;
2207 inline void RFDisableOptions::clear_has_rf_disable_timeout_mins() {
2208 _has_bits_[0] &= ~0x00000002u;
2211 rf_disable_timeout_mins_ = 10;
2212 clear_has_rf_disable_timeout_mins();
2216 return rf_disable_timeout_mins_;
2219 set_has_rf_disable_timeout_mins();
2220 rf_disable_timeout_mins_ = value;
2230 return (_has_bits_[0] & 0x00000001u) != 0;
2232 inline void IMUCalibration::set_has_run_cal() {
2233 _has_bits_[0] |= 0x00000001u;
2235 inline void IMUCalibration::clear_has_run_cal() {
2236 _has_bits_[0] &= ~0x00000001u;
2240 clear_has_run_cal();
2258 return (_has_bits_[0] & 0x00000001u) != 0;
2260 inline void Echo::set_has_start_echo() {
2261 _has_bits_[0] |= 0x00000001u;
2263 inline void Echo::clear_has_start_echo() {
2264 _has_bits_[0] &= ~0x00000001u;
2267 start_echo_ =
false;
2268 clear_has_start_echo();
2275 set_has_start_echo();
2276 start_echo_ = value;
2282 return (_has_bits_[0] & 0x00000002u) != 0;
2284 inline void Echo::set_has_stop_echo() {
2285 _has_bits_[0] |= 0x00000002u;
2287 inline void Echo::clear_has_stop_echo() {
2288 _has_bits_[0] &= ~0x00000002u;
2292 clear_has_stop_echo();
2299 set_has_stop_echo();
2306 return (_has_bits_[0] & 0x00000004u) != 0;
2308 inline void Echo::set_has_echo_state() {
2309 _has_bits_[0] |= 0x00000004u;
2311 inline void Echo::clear_has_echo_state() {
2312 _has_bits_[0] &= ~0x00000004u;
2316 clear_has_echo_state();
2324 set_has_echo_state();
2325 echo_state_ = value;
2335 return (_has_bits_[0] & 0x00000100u) != 0;
2337 inline void Engineering::set_has_bot_id() {
2338 _has_bits_[0] |= 0x00000100u;
2340 inline void Engineering::clear_has_bot_id() {
2341 _has_bits_[0] &= ~0x00000100u;
2359 return (_has_bits_[0] & 0x00000080u) != 0;
2361 inline void Engineering::set_has_time() {
2362 _has_bits_[0] |= 0x00000080u;
2364 inline void Engineering::clear_has_time() {
2365 _has_bits_[0] &= ~0x00000080u;
2368 time_ = GOOGLE_ULONGLONG(0);
2383 return (_has_bits_[0] & 0x00000001u) != 0;
2385 inline void Engineering::set_has_pid_control() {
2386 _has_bits_[0] |= 0x00000001u;
2388 inline void Engineering::clear_has_pid_control() {
2389 _has_bits_[0] &= ~0x00000001u;
2392 if (pid_control_ != NULL) pid_control_->Clear();
2393 clear_has_pid_control();
2395 inline const ::jaiabot::protobuf::PIDControl& Engineering::_internal_pid_control()
const {
2396 return *pid_control_;
2399 const ::jaiabot::protobuf::PIDControl* p = pid_control_;
2406 clear_has_pid_control();
2408 pid_control_ = NULL;
2412 set_has_pid_control();
2413 if (pid_control_ == NULL) {
2414 auto* p = CreateMaybeMessage<::jaiabot::protobuf::PIDControl>(GetArenaNoVirtual());
2418 return pid_control_;
2421 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2422 if (message_arena == NULL) {
2423 delete pid_control_;
2426 ::google::protobuf::Arena* submessage_arena = NULL;
2427 if (message_arena != submessage_arena) {
2428 pid_control = ::google::protobuf::internal::GetOwnedMessage(
2429 message_arena, pid_control, submessage_arena);
2431 set_has_pid_control();
2433 clear_has_pid_control();
2435 pid_control_ = pid_control;
2441 return (_has_bits_[0] & 0x00000200u) != 0;
2443 inline void Engineering::set_has_query_engineering_status() {
2444 _has_bits_[0] |= 0x00000200u;
2446 inline void Engineering::clear_has_query_engineering_status() {
2447 _has_bits_[0] &= ~0x00000200u;
2450 query_engineering_status_ =
false;
2451 clear_has_query_engineering_status();
2455 return query_engineering_status_;
2458 set_has_query_engineering_status();
2459 query_engineering_status_ = value;
2465 return (_has_bits_[0] & 0x00000400u) != 0;
2467 inline void Engineering::set_has_query_bot_status() {
2468 _has_bits_[0] |= 0x00000400u;
2470 inline void Engineering::clear_has_query_bot_status() {
2471 _has_bits_[0] &= ~0x00000400u;
2474 query_bot_status_ =
false;
2475 clear_has_query_bot_status();
2479 return query_bot_status_;
2482 set_has_query_bot_status();
2483 query_bot_status_ = value;
2489 return (_has_bits_[0] & 0x00000800u) != 0;
2491 inline void Engineering::set_has_engineering_messages_enabled() {
2492 _has_bits_[0] |= 0x00000800u;
2494 inline void Engineering::clear_has_engineering_messages_enabled() {
2495 _has_bits_[0] &= ~0x00000800u;
2498 engineering_messages_enabled_ =
false;
2499 clear_has_engineering_messages_enabled();
2503 return engineering_messages_enabled_;
2506 set_has_engineering_messages_enabled();
2507 engineering_messages_enabled_ = value;
2513 return (_has_bits_[0] & 0x00002000u) != 0;
2515 inline void Engineering::set_has_bot_status_rate() {
2516 _has_bits_[0] |= 0x00002000u;
2518 inline void Engineering::clear_has_bot_status_rate() {
2519 _has_bits_[0] &= ~0x00002000u;
2522 bot_status_rate_ = 1;
2523 clear_has_bot_status_rate();
2531 set_has_bot_status_rate();
2532 bot_status_rate_ = value;
2538 return (_has_bits_[0] & 0x00000002u) != 0;
2540 inline void Engineering::set_has_gps_requirements() {
2541 _has_bits_[0] |= 0x00000002u;
2543 inline void Engineering::clear_has_gps_requirements() {
2544 _has_bits_[0] &= ~0x00000002u;
2547 if (gps_requirements_ != NULL) gps_requirements_->Clear();
2548 clear_has_gps_requirements();
2550 inline const ::jaiabot::protobuf::GPSRequirements& Engineering::_internal_gps_requirements()
const {
2551 return *gps_requirements_;
2554 const ::jaiabot::protobuf::GPSRequirements* p = gps_requirements_;
2561 clear_has_gps_requirements();
2563 gps_requirements_ = NULL;
2567 set_has_gps_requirements();
2568 if (gps_requirements_ == NULL) {
2569 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GPSRequirements>(GetArenaNoVirtual());
2570 gps_requirements_ = p;
2573 return gps_requirements_;
2576 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2577 if (message_arena == NULL) {
2578 delete gps_requirements_;
2580 if (gps_requirements) {
2581 ::google::protobuf::Arena* submessage_arena = NULL;
2582 if (message_arena != submessage_arena) {
2583 gps_requirements = ::google::protobuf::internal::GetOwnedMessage(
2584 message_arena, gps_requirements, submessage_arena);
2586 set_has_gps_requirements();
2588 clear_has_gps_requirements();
2590 gps_requirements_ = gps_requirements;
2596 return (_has_bits_[0] & 0x00000004u) != 0;
2598 inline void Engineering::set_has_rf_disable_options() {
2599 _has_bits_[0] |= 0x00000004u;
2601 inline void Engineering::clear_has_rf_disable_options() {
2602 _has_bits_[0] &= ~0x00000004u;
2605 if (rf_disable_options_ != NULL) rf_disable_options_->Clear();
2606 clear_has_rf_disable_options();
2608 inline const ::jaiabot::protobuf::RFDisableOptions& Engineering::_internal_rf_disable_options()
const {
2609 return *rf_disable_options_;
2612 const ::jaiabot::protobuf::RFDisableOptions* p = rf_disable_options_;
2619 clear_has_rf_disable_options();
2621 rf_disable_options_ = NULL;
2625 set_has_rf_disable_options();
2626 if (rf_disable_options_ == NULL) {
2627 auto* p = CreateMaybeMessage<::jaiabot::protobuf::RFDisableOptions>(GetArenaNoVirtual());
2628 rf_disable_options_ = p;
2631 return rf_disable_options_;
2634 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2635 if (message_arena == NULL) {
2636 delete rf_disable_options_;
2638 if (rf_disable_options) {
2639 ::google::protobuf::Arena* submessage_arena = NULL;
2640 if (message_arena != submessage_arena) {
2641 rf_disable_options = ::google::protobuf::internal::GetOwnedMessage(
2642 message_arena, rf_disable_options, submessage_arena);
2644 set_has_rf_disable_options();
2646 clear_has_rf_disable_options();
2648 rf_disable_options_ = rf_disable_options;
2654 return (_has_bits_[0] & 0x00000008u) != 0;
2656 inline void Engineering::set_has_bottom_depth_safety_params() {
2657 _has_bits_[0] |= 0x00000008u;
2659 inline void Engineering::clear_has_bottom_depth_safety_params() {
2660 _has_bits_[0] &= ~0x00000008u;
2662 inline const ::jaiabot::protobuf::BottomDepthSafetyParams& Engineering::_internal_bottom_depth_safety_params()
const {
2663 return *bottom_depth_safety_params_;
2666 const ::jaiabot::protobuf::BottomDepthSafetyParams* p = bottom_depth_safety_params_;
2673 clear_has_bottom_depth_safety_params();
2675 bottom_depth_safety_params_ = NULL;
2679 set_has_bottom_depth_safety_params();
2680 if (bottom_depth_safety_params_ == NULL) {
2681 auto* p = CreateMaybeMessage<::jaiabot::protobuf::BottomDepthSafetyParams>(GetArenaNoVirtual());
2682 bottom_depth_safety_params_ = p;
2685 return bottom_depth_safety_params_;
2688 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2689 if (message_arena == NULL) {
2690 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(bottom_depth_safety_params_);
2692 if (bottom_depth_safety_params) {
2693 ::google::protobuf::Arena* submessage_arena = NULL;
2694 if (message_arena != submessage_arena) {
2695 bottom_depth_safety_params = ::google::protobuf::internal::GetOwnedMessage(
2696 message_arena, bottom_depth_safety_params, submessage_arena);
2698 set_has_bottom_depth_safety_params();
2700 clear_has_bottom_depth_safety_params();
2702 bottom_depth_safety_params_ = bottom_depth_safety_params;
2708 return (_has_bits_[0] & 0x00000010u) != 0;
2710 inline void Engineering::set_has_imu_cal() {
2711 _has_bits_[0] |= 0x00000010u;
2713 inline void Engineering::clear_has_imu_cal() {
2714 _has_bits_[0] &= ~0x00000010u;
2717 if (imu_cal_ != NULL) imu_cal_->Clear();
2718 clear_has_imu_cal();
2720 inline const ::jaiabot::protobuf::IMUCalibration& Engineering::_internal_imu_cal()
const {
2724 const ::jaiabot::protobuf::IMUCalibration* p = imu_cal_;
2731 clear_has_imu_cal();
2738 if (imu_cal_ == NULL) {
2739 auto* p = CreateMaybeMessage<::jaiabot::protobuf::IMUCalibration>(GetArenaNoVirtual());
2746 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2747 if (message_arena == NULL) {
2751 ::google::protobuf::Arena* submessage_arena = NULL;
2752 if (message_arena != submessage_arena) {
2753 imu_cal = ::google::protobuf::internal::GetOwnedMessage(
2754 message_arena, imu_cal, submessage_arena);
2758 clear_has_imu_cal();
2766 return (_has_bits_[0] & 0x00000020u) != 0;
2768 inline void Engineering::set_has_echo() {
2769 _has_bits_[0] |= 0x00000020u;
2771 inline void Engineering::clear_has_echo() {
2772 _has_bits_[0] &= ~0x00000020u;
2775 if (echo_ != NULL) echo_->Clear();
2778 inline const ::jaiabot::protobuf::Echo& Engineering::_internal_echo()
const {
2782 const ::jaiabot::protobuf::Echo* p = echo_;
2796 if (echo_ == NULL) {
2797 auto* p = CreateMaybeMessage<::jaiabot::protobuf::Echo>(GetArenaNoVirtual());
2804 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2805 if (message_arena == NULL) {
2809 ::google::protobuf::Arena* submessage_arena = NULL;
2810 if (message_arena != submessage_arena) {
2811 echo = ::google::protobuf::internal::GetOwnedMessage(
2812 message_arena,
echo, submessage_arena);
2824 return (_has_bits_[0] & 0x00001000u) != 0;
2826 inline void Engineering::set_has_flag() {
2827 _has_bits_[0] |= 0x00001000u;
2829 inline void Engineering::clear_has_flag() {
2830 _has_bits_[0] &= ~0x00001000u;
2848 return (_has_bits_[0] & 0x00000040u) != 0;
2850 inline void Engineering::set_has_bounds() {
2851 _has_bits_[0] |= 0x00000040u;
2853 inline void Engineering::clear_has_bounds() {
2854 _has_bits_[0] &= ~0x00000040u;
2856 inline const ::jaiabot::protobuf::Bounds& Engineering::_internal_bounds()
const {
2860 const ::jaiabot::protobuf::Bounds* p = bounds_;
2874 if (bounds_ == NULL) {
2875 auto* p = CreateMaybeMessage<::jaiabot::protobuf::Bounds>(GetArenaNoVirtual());
2882 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
2883 if (message_arena == NULL) {
2884 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(bounds_);
2887 ::google::protobuf::Arena* submessage_arena = NULL;
2888 if (message_arena != submessage_arena) {
2889 bounds = ::google::protobuf::internal::GetOwnedMessage(
2890 message_arena, bounds, submessage_arena);
2901 #pragma GCC diagnostic pop
2922 namespace protobuf {
2926 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::BotStatusRate>() {
2935 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2fengineering_2eproto