4 #ifndef PROTOBUF_INCLUDED_jaiabot_2fmessages_2farduino_2eproto
5 #define PROTOBUF_INCLUDED_jaiabot_2fmessages_2farduino_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 <boost/units/quantity.hpp>
35 #include <boost/units/absolute.hpp>
36 #include <boost/units/dimensionless_type.hpp>
37 #include <boost/units/make_scaled_unit.hpp>
39 #define PROTOBUF_INTERNAL_EXPORT_protobuf_jaiabot_2fmessages_2farduino_2eproto
44 static const ::google::protobuf::internal::ParseTableField
entries[];
45 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
46 static const ::google::protobuf::internal::ParseTable
schema[5];
49 static const ::google::protobuf::uint32
offsets[];
56 class ArduinoActuatorsDefaultTypeInternal;
59 class ArduinoCommandDefaultTypeInternal;
62 class ArduinoDebugDefaultTypeInternal;
65 class ArduinoResponseDefaultTypeInternal;
68 class ArduinoSettingsDefaultTypeInternal;
103 return ::google::protobuf::internal::NameOfEnum(
108 return ::google::protobuf::internal::ParseNamedEnum<ArduinoStatusCode>(
127 *
this = ::std::move(from);
131 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
132 if (
this != &from) InternalSwap(&from);
140 return _internal_metadata_.unknown_fields();
143 return _internal_metadata_.mutable_unknown_fields();
146 static const ::google::protobuf::Descriptor*
descriptor();
165 return CreateMaybeMessage<ArduinoSettings>(NULL);
169 return CreateMaybeMessage<ArduinoSettings>(arena);
171 void CopyFrom(const ::google::protobuf::Message& from)
final;
172 void MergeFrom(const ::google::protobuf::Message& from)
final;
180 ::
google::protobuf::io::CodedInputStream* input) final;
182 ::
google::protobuf::io::CodedOutputStream* output) const final;
184 bool deterministic, ::
google::protobuf::uint8* target) const final;
190 void SetCachedSize(
int size)
const final;
193 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
196 inline void* MaybeArenaPtr()
const {
201 ::google::protobuf::Metadata
GetMetadata() const final;
223 void set_has_forward_start();
224 void clear_has_forward_start();
225 void set_has_reverse_start();
226 void clear_has_reverse_start();
229 size_t RequiredFieldsByteSizeFallback() const;
231 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
232 ::
google::protobuf::internal::HasBits<1> _has_bits_;
233 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
234 ::
google::protobuf::int32 forward_start_;
235 ::
google::protobuf::int32 reverse_start_;
254 *
this = ::std::move(from);
257 inline ArduinoActuators&
operator=(ArduinoActuators&& from) noexcept {
258 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
259 if (
this != &from) InternalSwap(&from);
267 return _internal_metadata_.unknown_fields();
270 return _internal_metadata_.mutable_unknown_fields();
273 static const ::google::protobuf::Descriptor*
descriptor();
292 return CreateMaybeMessage<ArduinoActuators>(NULL);
296 return CreateMaybeMessage<ArduinoActuators>(arena);
298 void CopyFrom(const ::google::protobuf::Message& from)
final;
299 void MergeFrom(const ::google::protobuf::Message& from)
final;
307 ::
google::protobuf::io::CodedInputStream* input) final;
309 ::
google::protobuf::io::CodedOutputStream* output) const final;
311 bool deterministic, ::
google::protobuf::uint8* target) const final;
317 void SetCachedSize(
int size)
const final;
320 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
323 inline void* MaybeArenaPtr()
const {
328 ::google::protobuf::Metadata
GetMetadata() const final;
335 bool has_motor() const;
337 static const
int kMotorFieldNumber = 1;
338 ::
google::protobuf::int32 motor() const;
339 void set_motor(::
google::protobuf::int32 value);
342 bool has_port_elevator() const;
343 void clear_port_elevator();
344 static const
int kPortElevatorFieldNumber = 2;
345 ::
google::protobuf::int32 port_elevator() const;
346 void set_port_elevator(::
google::protobuf::int32 value);
349 bool has_stbd_elevator() const;
350 void clear_stbd_elevator();
351 static const
int kStbdElevatorFieldNumber = 3;
352 ::
google::protobuf::int32 stbd_elevator() const;
353 void set_stbd_elevator(::
google::protobuf::int32 value);
356 bool has_rudder() const;
358 static const
int kRudderFieldNumber = 4;
359 ::
google::protobuf::int32 rudder() const;
360 void set_rudder(::
google::protobuf::int32 value);
363 bool has_timeout() const;
364 void clear_timeout();
365 static const
int kTimeoutFieldNumber = 5;
366 ::
google::protobuf::int32 timeout() const;
367 void set_timeout(::
google::protobuf::int32 value);
370 bool has_led_switch_on() const;
371 void clear_led_switch_on();
372 static const
int kLedSwitchOnFieldNumber = 6;
373 bool led_switch_on() const;
374 void set_led_switch_on(
bool value);
378 void set_has_motor();
379 void clear_has_motor();
380 void set_has_port_elevator();
381 void clear_has_port_elevator();
382 void set_has_stbd_elevator();
383 void clear_has_stbd_elevator();
384 void set_has_rudder();
385 void clear_has_rudder();
386 void set_has_timeout();
387 void clear_has_timeout();
388 void set_has_led_switch_on();
389 void clear_has_led_switch_on();
392 size_t RequiredFieldsByteSizeFallback() const;
394 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
395 ::
google::protobuf::internal::HasBits<1> _has_bits_;
396 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
397 ::
google::protobuf::int32 motor_;
398 ::
google::protobuf::int32 port_elevator_;
399 ::
google::protobuf::int32 stbd_elevator_;
400 ::
google::protobuf::int32 rudder_;
401 ::
google::protobuf::int32 timeout_;
421 *
this = ::std::move(from);
424 inline ArduinoCommand&
operator=(ArduinoCommand&& from) noexcept {
425 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
426 if (
this != &from) InternalSwap(&from);
434 return _internal_metadata_.unknown_fields();
437 return _internal_metadata_.mutable_unknown_fields();
440 static const ::google::protobuf::Descriptor*
descriptor();
459 return CreateMaybeMessage<ArduinoCommand>(NULL);
463 return CreateMaybeMessage<ArduinoCommand>(arena);
465 void CopyFrom(const ::google::protobuf::Message& from)
final;
466 void MergeFrom(const ::google::protobuf::Message& from)
final;
474 ::
google::protobuf::io::CodedInputStream* input) final;
476 ::
google::protobuf::io::CodedOutputStream* output) const final;
478 bool deterministic, ::
google::protobuf::uint8* target) const final;
484 void SetCachedSize(
int size)
const final;
487 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
490 inline void* MaybeArenaPtr()
const {
495 ::google::protobuf::Metadata
GetMetadata() const final;
502 bool has_settings() const;
503 void clear_settings();
504 static const
int kSettingsFieldNumber = 1;
514 bool has_actuators() const;
515 void clear_actuators();
516 static const
int kActuatorsFieldNumber = 2;
527 void set_has_settings();
528 void clear_has_settings();
529 void set_has_actuators();
530 void clear_has_actuators();
532 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
533 ::
google::protobuf::internal::HasBits<1> _has_bits_;
534 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
555 *
this = ::std::move(from);
558 inline ArduinoResponse&
operator=(ArduinoResponse&& from) noexcept {
559 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
560 if (
this != &from) InternalSwap(&from);
568 return _internal_metadata_.unknown_fields();
571 return _internal_metadata_.mutable_unknown_fields();
574 static const ::google::protobuf::Descriptor*
descriptor();
593 return CreateMaybeMessage<ArduinoResponse>(NULL);
597 return CreateMaybeMessage<ArduinoResponse>(arena);
599 void CopyFrom(const ::google::protobuf::Message& from)
final;
600 void MergeFrom(const ::google::protobuf::Message& from)
final;
608 ::
google::protobuf::io::CodedInputStream* input) final;
610 ::
google::protobuf::io::CodedOutputStream* output) const final;
612 bool deterministic, ::
google::protobuf::uint8* target) const final;
618 void SetCachedSize(
int size)
const final;
621 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
624 inline void* MaybeArenaPtr()
const {
629 ::google::protobuf::Metadata
GetMetadata() const final;
636 bool has_status_code() const;
637 void clear_status_code();
638 static const
int kStatusCodeFieldNumber = 1;
643 bool has_thermocouple_temperature_c() const;
644 void clear_thermocouple_temperature_c();
645 static const
int kThermocoupleTemperatureCFieldNumber = 2;
646 float thermocouple_temperature_c() const;
647 void set_thermocouple_temperature_c(
float value);
650 bool has_vccvoltage() const;
651 void clear_vccvoltage();
652 static const
int kVccvoltageFieldNumber = 3;
653 float vccvoltage() const;
654 void set_vccvoltage(
float value);
657 bool has_vcccurrent() const;
658 void clear_vcccurrent();
659 static const
int kVcccurrentFieldNumber = 4;
660 float vcccurrent() const;
661 void set_vcccurrent(
float value);
664 bool has_vvcurrent() const;
665 void clear_vvcurrent();
666 static const
int kVvcurrentFieldNumber = 5;
667 float vvcurrent() const;
668 void set_vvcurrent(
float value);
671 bool has_motor() const;
673 static const
int kMotorFieldNumber = 6;
674 ::
google::protobuf::int32 motor() const;
675 void set_motor(::
google::protobuf::int32 value);
678 bool has_thermistor_voltage() const;
679 void clear_thermistor_voltage();
680 static const
int kThermistorVoltageFieldNumber = 7;
681 float thermistor_voltage() const;
682 void set_thermistor_voltage(
float value);
685 bool has_crc() const;
687 static const
int kCrcFieldNumber = 50;
688 ::
google::protobuf::uint32 crc() const;
689 void set_crc(::
google::protobuf::uint32 value);
692 bool has_calculated_crc() const;
693 void clear_calculated_crc();
694 static const
int kCalculatedCrcFieldNumber = 51;
695 ::
google::protobuf::uint32 calculated_crc() const;
696 void set_calculated_crc(::
google::protobuf::uint32 value);
699 bool has_version() const;
700 void clear_version();
701 static const
int kVersionFieldNumber = 52;
702 ::
google::protobuf::uint32 version() const;
703 void set_version(::
google::protobuf::uint32 value);
707 void set_has_status_code();
708 void clear_has_status_code();
709 void set_has_thermocouple_temperature_c();
710 void clear_has_thermocouple_temperature_c();
711 void set_has_vccvoltage();
712 void clear_has_vccvoltage();
713 void set_has_vcccurrent();
714 void clear_has_vcccurrent();
715 void set_has_vvcurrent();
716 void clear_has_vvcurrent();
717 void set_has_motor();
718 void clear_has_motor();
719 void set_has_thermistor_voltage();
720 void clear_has_thermistor_voltage();
722 void clear_has_crc();
723 void set_has_calculated_crc();
724 void clear_has_calculated_crc();
725 void set_has_version();
726 void clear_has_version();
729 size_t RequiredFieldsByteSizeFallback() const;
731 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
732 ::
google::protobuf::internal::HasBits<1> _has_bits_;
733 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
735 float thermocouple_temperature_c_;
739 ::
google::protobuf::int32 motor_;
740 float thermistor_voltage_;
741 ::
google::protobuf::uint32 crc_;
742 ::
google::protobuf::uint32 calculated_crc_;
743 ::
google::protobuf::uint32 version_;
762 *
this = ::std::move(from);
765 inline ArduinoDebug&
operator=(ArduinoDebug&& from) noexcept {
766 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
767 if (
this != &from) InternalSwap(&from);
775 return _internal_metadata_.unknown_fields();
778 return _internal_metadata_.mutable_unknown_fields();
781 static const ::google::protobuf::Descriptor*
descriptor();
800 return CreateMaybeMessage<ArduinoDebug>(NULL);
804 return CreateMaybeMessage<ArduinoDebug>(arena);
806 void CopyFrom(const ::google::protobuf::Message& from)
final;
807 void MergeFrom(const ::google::protobuf::Message& from)
final;
815 ::
google::protobuf::io::CodedInputStream* input) final;
817 ::
google::protobuf::io::CodedOutputStream* output) const final;
819 bool deterministic, ::
google::protobuf::uint8* target) const final;
825 void SetCachedSize(
int size)
const final;
828 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
831 inline void* MaybeArenaPtr()
const {
836 ::google::protobuf::Metadata
GetMetadata() const final;
843 bool has_arduino_restarted() const;
844 void clear_arduino_restarted();
845 static const
int kArduinoRestartedFieldNumber = 1;
846 bool arduino_restarted() const;
847 void set_arduino_restarted(
bool value);
850 bool has_arduino_not_responding() const;
851 void clear_arduino_not_responding();
852 static const
int kArduinoNotRespondingFieldNumber = 2;
853 bool arduino_not_responding() const;
854 void set_arduino_not_responding(
bool value);
858 void set_has_arduino_restarted();
859 void clear_has_arduino_restarted();
860 void set_has_arduino_not_responding();
861 void clear_has_arduino_not_responding();
863 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
864 ::
google::protobuf::internal::HasBits<1> _has_bits_;
865 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
866 bool arduino_restarted_;
867 bool arduino_not_responding_;
876 #pragma GCC diagnostic push
877 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
883 return (_has_bits_[0] & 0x00000001u) != 0;
885 inline void ArduinoSettings::set_has_forward_start() {
886 _has_bits_[0] |= 0x00000001u;
888 inline void ArduinoSettings::clear_has_forward_start() {
889 _has_bits_[0] &= ~0x00000001u;
893 clear_has_forward_start();
897 return forward_start_;
900 set_has_forward_start();
901 forward_start_ = value;
907 return (_has_bits_[0] & 0x00000002u) != 0;
909 inline void ArduinoSettings::set_has_reverse_start() {
910 _has_bits_[0] |= 0x00000002u;
912 inline void ArduinoSettings::clear_has_reverse_start() {
913 _has_bits_[0] &= ~0x00000002u;
917 clear_has_reverse_start();
921 return reverse_start_;
924 set_has_reverse_start();
925 reverse_start_ = value;
935 return (_has_bits_[0] & 0x00000001u) != 0;
937 inline void ArduinoActuators::set_has_motor() {
938 _has_bits_[0] |= 0x00000001u;
940 inline void ArduinoActuators::clear_has_motor() {
941 _has_bits_[0] &= ~0x00000001u;
959 return (_has_bits_[0] & 0x00000002u) != 0;
961 inline void ArduinoActuators::set_has_port_elevator() {
962 _has_bits_[0] |= 0x00000002u;
964 inline void ArduinoActuators::clear_has_port_elevator() {
965 _has_bits_[0] &= ~0x00000002u;
969 clear_has_port_elevator();
973 return port_elevator_;
976 set_has_port_elevator();
977 port_elevator_ = value;
983 return (_has_bits_[0] & 0x00000004u) != 0;
985 inline void ArduinoActuators::set_has_stbd_elevator() {
986 _has_bits_[0] |= 0x00000004u;
988 inline void ArduinoActuators::clear_has_stbd_elevator() {
989 _has_bits_[0] &= ~0x00000004u;
993 clear_has_stbd_elevator();
997 return stbd_elevator_;
1000 set_has_stbd_elevator();
1001 stbd_elevator_ = value;
1007 return (_has_bits_[0] & 0x00000008u) != 0;
1009 inline void ArduinoActuators::set_has_rudder() {
1010 _has_bits_[0] |= 0x00000008u;
1012 inline void ArduinoActuators::clear_has_rudder() {
1013 _has_bits_[0] &= ~0x00000008u;
1031 return (_has_bits_[0] & 0x00000010u) != 0;
1033 inline void ArduinoActuators::set_has_timeout() {
1034 _has_bits_[0] |= 0x00000010u;
1036 inline void ArduinoActuators::clear_has_timeout() {
1037 _has_bits_[0] &= ~0x00000010u;
1041 clear_has_timeout();
1055 return (_has_bits_[0] & 0x00000020u) != 0;
1057 inline void ArduinoActuators::set_has_led_switch_on() {
1058 _has_bits_[0] |= 0x00000020u;
1060 inline void ArduinoActuators::clear_has_led_switch_on() {
1061 _has_bits_[0] &= ~0x00000020u;
1064 led_switch_on_ =
false;
1065 clear_has_led_switch_on();
1069 return led_switch_on_;
1072 set_has_led_switch_on();
1073 led_switch_on_ = value;
1083 return (_has_bits_[0] & 0x00000001u) != 0;
1085 inline void ArduinoCommand::set_has_settings() {
1086 _has_bits_[0] |= 0x00000001u;
1088 inline void ArduinoCommand::clear_has_settings() {
1089 _has_bits_[0] &= ~0x00000001u;
1092 if (settings_ != NULL) settings_->Clear();
1093 clear_has_settings();
1095 inline const ::jaiabot::protobuf::ArduinoSettings& ArduinoCommand::_internal_settings()
const {
1099 const ::jaiabot::protobuf::ArduinoSettings* p = settings_;
1106 clear_has_settings();
1113 if (settings_ == NULL) {
1114 auto* p = CreateMaybeMessage<::jaiabot::protobuf::ArduinoSettings>(GetArenaNoVirtual());
1121 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1122 if (message_arena == NULL) {
1126 ::google::protobuf::Arena* submessage_arena = NULL;
1127 if (message_arena != submessage_arena) {
1128 settings = ::google::protobuf::internal::GetOwnedMessage(
1129 message_arena, settings, submessage_arena);
1133 clear_has_settings();
1135 settings_ = settings;
1141 return (_has_bits_[0] & 0x00000002u) != 0;
1143 inline void ArduinoCommand::set_has_actuators() {
1144 _has_bits_[0] |= 0x00000002u;
1146 inline void ArduinoCommand::clear_has_actuators() {
1147 _has_bits_[0] &= ~0x00000002u;
1150 if (actuators_ != NULL) actuators_->Clear();
1151 clear_has_actuators();
1153 inline const ::jaiabot::protobuf::ArduinoActuators& ArduinoCommand::_internal_actuators()
const {
1157 const ::jaiabot::protobuf::ArduinoActuators* p = actuators_;
1164 clear_has_actuators();
1170 set_has_actuators();
1171 if (actuators_ == NULL) {
1172 auto* p = CreateMaybeMessage<::jaiabot::protobuf::ArduinoActuators>(GetArenaNoVirtual());
1179 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1180 if (message_arena == NULL) {
1184 ::google::protobuf::Arena* submessage_arena = NULL;
1185 if (message_arena != submessage_arena) {
1186 actuators = ::google::protobuf::internal::GetOwnedMessage(
1187 message_arena, actuators, submessage_arena);
1189 set_has_actuators();
1191 clear_has_actuators();
1193 actuators_ = actuators;
1203 return (_has_bits_[0] & 0x00000001u) != 0;
1205 inline void ArduinoResponse::set_has_status_code() {
1206 _has_bits_[0] |= 0x00000001u;
1208 inline void ArduinoResponse::clear_has_status_code() {
1209 _has_bits_[0] &= ~0x00000001u;
1213 clear_has_status_code();
1221 set_has_status_code();
1222 status_code_ = value;
1228 return (_has_bits_[0] & 0x00000002u) != 0;
1230 inline void ArduinoResponse::set_has_thermocouple_temperature_c() {
1231 _has_bits_[0] |= 0x00000002u;
1233 inline void ArduinoResponse::clear_has_thermocouple_temperature_c() {
1234 _has_bits_[0] &= ~0x00000002u;
1237 thermocouple_temperature_c_ = 0;
1238 clear_has_thermocouple_temperature_c();
1242 return thermocouple_temperature_c_;
1245 set_has_thermocouple_temperature_c();
1246 thermocouple_temperature_c_ = value;
1252 return (_has_bits_[0] & 0x00000004u) != 0;
1254 inline void ArduinoResponse::set_has_vccvoltage() {
1255 _has_bits_[0] |= 0x00000004u;
1257 inline void ArduinoResponse::clear_has_vccvoltage() {
1258 _has_bits_[0] &= ~0x00000004u;
1262 clear_has_vccvoltage();
1269 set_has_vccvoltage();
1270 vccvoltage_ = value;
1276 return (_has_bits_[0] & 0x00000008u) != 0;
1278 inline void ArduinoResponse::set_has_vcccurrent() {
1279 _has_bits_[0] |= 0x00000008u;
1281 inline void ArduinoResponse::clear_has_vcccurrent() {
1282 _has_bits_[0] &= ~0x00000008u;
1286 clear_has_vcccurrent();
1293 set_has_vcccurrent();
1294 vcccurrent_ = value;
1300 return (_has_bits_[0] & 0x00000010u) != 0;
1302 inline void ArduinoResponse::set_has_vvcurrent() {
1303 _has_bits_[0] |= 0x00000010u;
1305 inline void ArduinoResponse::clear_has_vvcurrent() {
1306 _has_bits_[0] &= ~0x00000010u;
1310 clear_has_vvcurrent();
1317 set_has_vvcurrent();
1324 return (_has_bits_[0] & 0x00000020u) != 0;
1326 inline void ArduinoResponse::set_has_motor() {
1327 _has_bits_[0] |= 0x00000020u;
1329 inline void ArduinoResponse::clear_has_motor() {
1330 _has_bits_[0] &= ~0x00000020u;
1348 return (_has_bits_[0] & 0x00000040u) != 0;
1350 inline void ArduinoResponse::set_has_thermistor_voltage() {
1351 _has_bits_[0] |= 0x00000040u;
1353 inline void ArduinoResponse::clear_has_thermistor_voltage() {
1354 _has_bits_[0] &= ~0x00000040u;
1357 thermistor_voltage_ = 0;
1358 clear_has_thermistor_voltage();
1362 return thermistor_voltage_;
1365 set_has_thermistor_voltage();
1366 thermistor_voltage_ = value;
1372 return (_has_bits_[0] & 0x00000080u) != 0;
1374 inline void ArduinoResponse::set_has_crc() {
1375 _has_bits_[0] |= 0x00000080u;
1377 inline void ArduinoResponse::clear_has_crc() {
1378 _has_bits_[0] &= ~0x00000080u;
1396 return (_has_bits_[0] & 0x00000100u) != 0;
1398 inline void ArduinoResponse::set_has_calculated_crc() {
1399 _has_bits_[0] |= 0x00000100u;
1401 inline void ArduinoResponse::clear_has_calculated_crc() {
1402 _has_bits_[0] &= ~0x00000100u;
1405 calculated_crc_ = 0u;
1406 clear_has_calculated_crc();
1410 return calculated_crc_;
1413 set_has_calculated_crc();
1414 calculated_crc_ = value;
1420 return (_has_bits_[0] & 0x00000200u) != 0;
1422 inline void ArduinoResponse::set_has_version() {
1423 _has_bits_[0] |= 0x00000200u;
1425 inline void ArduinoResponse::clear_has_version() {
1426 _has_bits_[0] &= ~0x00000200u;
1430 clear_has_version();
1448 return (_has_bits_[0] & 0x00000001u) != 0;
1450 inline void ArduinoDebug::set_has_arduino_restarted() {
1451 _has_bits_[0] |= 0x00000001u;
1453 inline void ArduinoDebug::clear_has_arduino_restarted() {
1454 _has_bits_[0] &= ~0x00000001u;
1457 arduino_restarted_ =
false;
1458 clear_has_arduino_restarted();
1462 return arduino_restarted_;
1465 set_has_arduino_restarted();
1466 arduino_restarted_ = value;
1472 return (_has_bits_[0] & 0x00000002u) != 0;
1474 inline void ArduinoDebug::set_has_arduino_not_responding() {
1475 _has_bits_[0] |= 0x00000002u;
1477 inline void ArduinoDebug::clear_has_arduino_not_responding() {
1478 _has_bits_[0] &= ~0x00000002u;
1481 arduino_not_responding_ =
false;
1482 clear_has_arduino_not_responding();
1486 return arduino_not_responding_;
1489 set_has_arduino_not_responding();
1490 arduino_not_responding_ = value;
1495 #pragma GCC diagnostic pop
1512 namespace protobuf {
1516 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::ArduinoStatusCode>() {
1525 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2farduino_2eproto