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_version() const;
679 void clear_version();
680 static const
int kVersionFieldNumber = 52;
681 ::
google::protobuf::uint32 version() const;
682 void set_version(::
google::protobuf::uint32 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);
700 void set_has_status_code();
701 void clear_has_status_code();
702 void set_has_thermocouple_temperature_c();
703 void clear_has_thermocouple_temperature_c();
704 void set_has_vccvoltage();
705 void clear_has_vccvoltage();
706 void set_has_vcccurrent();
707 void clear_has_vcccurrent();
708 void set_has_vvcurrent();
709 void clear_has_vvcurrent();
710 void set_has_motor();
711 void clear_has_motor();
713 void clear_has_crc();
714 void set_has_calculated_crc();
715 void clear_has_calculated_crc();
716 void set_has_version();
717 void clear_has_version();
720 size_t RequiredFieldsByteSizeFallback() const;
722 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
723 ::
google::protobuf::internal::HasBits<1> _has_bits_;
724 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
726 float thermocouple_temperature_c_;
730 ::
google::protobuf::int32 motor_;
731 ::
google::protobuf::uint32 version_;
732 ::
google::protobuf::uint32 crc_;
733 ::
google::protobuf::uint32 calculated_crc_;
752 *
this = ::std::move(from);
755 inline ArduinoDebug&
operator=(ArduinoDebug&& from) noexcept {
756 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
757 if (
this != &from) InternalSwap(&from);
765 return _internal_metadata_.unknown_fields();
768 return _internal_metadata_.mutable_unknown_fields();
771 static const ::google::protobuf::Descriptor*
descriptor();
790 return CreateMaybeMessage<ArduinoDebug>(NULL);
794 return CreateMaybeMessage<ArduinoDebug>(arena);
796 void CopyFrom(const ::google::protobuf::Message& from)
final;
797 void MergeFrom(const ::google::protobuf::Message& from)
final;
805 ::
google::protobuf::io::CodedInputStream* input) final;
807 ::
google::protobuf::io::CodedOutputStream* output) const final;
809 bool deterministic, ::
google::protobuf::uint8* target) const final;
815 void SetCachedSize(
int size)
const final;
818 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
821 inline void* MaybeArenaPtr()
const {
826 ::google::protobuf::Metadata
GetMetadata() const final;
833 bool has_arduino_restarted() const;
834 void clear_arduino_restarted();
835 static const
int kArduinoRestartedFieldNumber = 1;
836 bool arduino_restarted() const;
837 void set_arduino_restarted(
bool value);
840 bool has_arduino_not_responding() const;
841 void clear_arduino_not_responding();
842 static const
int kArduinoNotRespondingFieldNumber = 2;
843 bool arduino_not_responding() const;
844 void set_arduino_not_responding(
bool value);
848 void set_has_arduino_restarted();
849 void clear_has_arduino_restarted();
850 void set_has_arduino_not_responding();
851 void clear_has_arduino_not_responding();
853 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
854 ::
google::protobuf::internal::HasBits<1> _has_bits_;
855 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
856 bool arduino_restarted_;
857 bool arduino_not_responding_;
866 #pragma GCC diagnostic push
867 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
873 return (_has_bits_[0] & 0x00000001u) != 0;
875 inline void ArduinoSettings::set_has_forward_start() {
876 _has_bits_[0] |= 0x00000001u;
878 inline void ArduinoSettings::clear_has_forward_start() {
879 _has_bits_[0] &= ~0x00000001u;
883 clear_has_forward_start();
887 return forward_start_;
890 set_has_forward_start();
891 forward_start_ = value;
897 return (_has_bits_[0] & 0x00000002u) != 0;
899 inline void ArduinoSettings::set_has_reverse_start() {
900 _has_bits_[0] |= 0x00000002u;
902 inline void ArduinoSettings::clear_has_reverse_start() {
903 _has_bits_[0] &= ~0x00000002u;
907 clear_has_reverse_start();
911 return reverse_start_;
914 set_has_reverse_start();
915 reverse_start_ = value;
925 return (_has_bits_[0] & 0x00000001u) != 0;
927 inline void ArduinoActuators::set_has_motor() {
928 _has_bits_[0] |= 0x00000001u;
930 inline void ArduinoActuators::clear_has_motor() {
931 _has_bits_[0] &= ~0x00000001u;
949 return (_has_bits_[0] & 0x00000002u) != 0;
951 inline void ArduinoActuators::set_has_port_elevator() {
952 _has_bits_[0] |= 0x00000002u;
954 inline void ArduinoActuators::clear_has_port_elevator() {
955 _has_bits_[0] &= ~0x00000002u;
959 clear_has_port_elevator();
963 return port_elevator_;
966 set_has_port_elevator();
967 port_elevator_ = value;
973 return (_has_bits_[0] & 0x00000004u) != 0;
975 inline void ArduinoActuators::set_has_stbd_elevator() {
976 _has_bits_[0] |= 0x00000004u;
978 inline void ArduinoActuators::clear_has_stbd_elevator() {
979 _has_bits_[0] &= ~0x00000004u;
983 clear_has_stbd_elevator();
987 return stbd_elevator_;
990 set_has_stbd_elevator();
991 stbd_elevator_ = value;
997 return (_has_bits_[0] & 0x00000008u) != 0;
999 inline void ArduinoActuators::set_has_rudder() {
1000 _has_bits_[0] |= 0x00000008u;
1002 inline void ArduinoActuators::clear_has_rudder() {
1003 _has_bits_[0] &= ~0x00000008u;
1021 return (_has_bits_[0] & 0x00000010u) != 0;
1023 inline void ArduinoActuators::set_has_timeout() {
1024 _has_bits_[0] |= 0x00000010u;
1026 inline void ArduinoActuators::clear_has_timeout() {
1027 _has_bits_[0] &= ~0x00000010u;
1031 clear_has_timeout();
1045 return (_has_bits_[0] & 0x00000020u) != 0;
1047 inline void ArduinoActuators::set_has_led_switch_on() {
1048 _has_bits_[0] |= 0x00000020u;
1050 inline void ArduinoActuators::clear_has_led_switch_on() {
1051 _has_bits_[0] &= ~0x00000020u;
1054 led_switch_on_ =
false;
1055 clear_has_led_switch_on();
1059 return led_switch_on_;
1062 set_has_led_switch_on();
1063 led_switch_on_ = value;
1073 return (_has_bits_[0] & 0x00000001u) != 0;
1075 inline void ArduinoCommand::set_has_settings() {
1076 _has_bits_[0] |= 0x00000001u;
1078 inline void ArduinoCommand::clear_has_settings() {
1079 _has_bits_[0] &= ~0x00000001u;
1082 if (settings_ != NULL) settings_->Clear();
1083 clear_has_settings();
1085 inline const ::jaiabot::protobuf::ArduinoSettings& ArduinoCommand::_internal_settings()
const {
1089 const ::jaiabot::protobuf::ArduinoSettings* p = settings_;
1096 clear_has_settings();
1103 if (settings_ == NULL) {
1104 auto* p = CreateMaybeMessage<::jaiabot::protobuf::ArduinoSettings>(GetArenaNoVirtual());
1111 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1112 if (message_arena == NULL) {
1116 ::google::protobuf::Arena* submessage_arena = NULL;
1117 if (message_arena != submessage_arena) {
1118 settings = ::google::protobuf::internal::GetOwnedMessage(
1119 message_arena, settings, submessage_arena);
1123 clear_has_settings();
1125 settings_ = settings;
1131 return (_has_bits_[0] & 0x00000002u) != 0;
1133 inline void ArduinoCommand::set_has_actuators() {
1134 _has_bits_[0] |= 0x00000002u;
1136 inline void ArduinoCommand::clear_has_actuators() {
1137 _has_bits_[0] &= ~0x00000002u;
1140 if (actuators_ != NULL) actuators_->Clear();
1141 clear_has_actuators();
1143 inline const ::jaiabot::protobuf::ArduinoActuators& ArduinoCommand::_internal_actuators()
const {
1147 const ::jaiabot::protobuf::ArduinoActuators* p = actuators_;
1154 clear_has_actuators();
1160 set_has_actuators();
1161 if (actuators_ == NULL) {
1162 auto* p = CreateMaybeMessage<::jaiabot::protobuf::ArduinoActuators>(GetArenaNoVirtual());
1169 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
1170 if (message_arena == NULL) {
1174 ::google::protobuf::Arena* submessage_arena = NULL;
1175 if (message_arena != submessage_arena) {
1176 actuators = ::google::protobuf::internal::GetOwnedMessage(
1177 message_arena, actuators, submessage_arena);
1179 set_has_actuators();
1181 clear_has_actuators();
1183 actuators_ = actuators;
1193 return (_has_bits_[0] & 0x00000001u) != 0;
1195 inline void ArduinoResponse::set_has_status_code() {
1196 _has_bits_[0] |= 0x00000001u;
1198 inline void ArduinoResponse::clear_has_status_code() {
1199 _has_bits_[0] &= ~0x00000001u;
1203 clear_has_status_code();
1211 set_has_status_code();
1212 status_code_ = value;
1218 return (_has_bits_[0] & 0x00000002u) != 0;
1220 inline void ArduinoResponse::set_has_thermocouple_temperature_c() {
1221 _has_bits_[0] |= 0x00000002u;
1223 inline void ArduinoResponse::clear_has_thermocouple_temperature_c() {
1224 _has_bits_[0] &= ~0x00000002u;
1227 thermocouple_temperature_c_ = 0;
1228 clear_has_thermocouple_temperature_c();
1232 return thermocouple_temperature_c_;
1235 set_has_thermocouple_temperature_c();
1236 thermocouple_temperature_c_ = value;
1242 return (_has_bits_[0] & 0x00000004u) != 0;
1244 inline void ArduinoResponse::set_has_vccvoltage() {
1245 _has_bits_[0] |= 0x00000004u;
1247 inline void ArduinoResponse::clear_has_vccvoltage() {
1248 _has_bits_[0] &= ~0x00000004u;
1252 clear_has_vccvoltage();
1259 set_has_vccvoltage();
1260 vccvoltage_ = value;
1266 return (_has_bits_[0] & 0x00000008u) != 0;
1268 inline void ArduinoResponse::set_has_vcccurrent() {
1269 _has_bits_[0] |= 0x00000008u;
1271 inline void ArduinoResponse::clear_has_vcccurrent() {
1272 _has_bits_[0] &= ~0x00000008u;
1276 clear_has_vcccurrent();
1283 set_has_vcccurrent();
1284 vcccurrent_ = value;
1290 return (_has_bits_[0] & 0x00000010u) != 0;
1292 inline void ArduinoResponse::set_has_vvcurrent() {
1293 _has_bits_[0] |= 0x00000010u;
1295 inline void ArduinoResponse::clear_has_vvcurrent() {
1296 _has_bits_[0] &= ~0x00000010u;
1300 clear_has_vvcurrent();
1307 set_has_vvcurrent();
1314 return (_has_bits_[0] & 0x00000020u) != 0;
1316 inline void ArduinoResponse::set_has_motor() {
1317 _has_bits_[0] |= 0x00000020u;
1319 inline void ArduinoResponse::clear_has_motor() {
1320 _has_bits_[0] &= ~0x00000020u;
1338 return (_has_bits_[0] & 0x00000080u) != 0;
1340 inline void ArduinoResponse::set_has_crc() {
1341 _has_bits_[0] |= 0x00000080u;
1343 inline void ArduinoResponse::clear_has_crc() {
1344 _has_bits_[0] &= ~0x00000080u;
1362 return (_has_bits_[0] & 0x00000100u) != 0;
1364 inline void ArduinoResponse::set_has_calculated_crc() {
1365 _has_bits_[0] |= 0x00000100u;
1367 inline void ArduinoResponse::clear_has_calculated_crc() {
1368 _has_bits_[0] &= ~0x00000100u;
1371 calculated_crc_ = 0u;
1372 clear_has_calculated_crc();
1376 return calculated_crc_;
1379 set_has_calculated_crc();
1380 calculated_crc_ = value;
1386 return (_has_bits_[0] & 0x00000040u) != 0;
1388 inline void ArduinoResponse::set_has_version() {
1389 _has_bits_[0] |= 0x00000040u;
1391 inline void ArduinoResponse::clear_has_version() {
1392 _has_bits_[0] &= ~0x00000040u;
1396 clear_has_version();
1414 return (_has_bits_[0] & 0x00000001u) != 0;
1416 inline void ArduinoDebug::set_has_arduino_restarted() {
1417 _has_bits_[0] |= 0x00000001u;
1419 inline void ArduinoDebug::clear_has_arduino_restarted() {
1420 _has_bits_[0] &= ~0x00000001u;
1423 arduino_restarted_ =
false;
1424 clear_has_arduino_restarted();
1428 return arduino_restarted_;
1431 set_has_arduino_restarted();
1432 arduino_restarted_ = value;
1438 return (_has_bits_[0] & 0x00000002u) != 0;
1440 inline void ArduinoDebug::set_has_arduino_not_responding() {
1441 _has_bits_[0] |= 0x00000002u;
1443 inline void ArduinoDebug::clear_has_arduino_not_responding() {
1444 _has_bits_[0] &= ~0x00000002u;
1447 arduino_not_responding_ =
false;
1448 clear_has_arduino_not_responding();
1452 return arduino_not_responding_;
1455 set_has_arduino_not_responding();
1456 arduino_not_responding_ = value;
1461 #pragma GCC diagnostic pop
1478 namespace protobuf {
1482 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::ArduinoStatusCode>() {
1491 #endif // PROTOBUF_INCLUDED_jaiabot_2fmessages_2farduino_2eproto