4 #ifndef PROTOBUF_INCLUDED_bin_2ffusion_2fconfig_2eproto
5 #define PROTOBUF_INCLUDED_bin_2ffusion_2fconfig_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/unknown_field_set.h>
33 #include "goby/middleware/protobuf/app_config.pb.h"
34 #include "goby/zeromq/protobuf/interprocess_config.pb.h"
38 #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/si.hpp>
46 #define PROTOBUF_INTERNAL_EXPORT_protobuf_bin_2ffusion_2fconfig_2eproto
51 static const ::google::protobuf::internal::ParseTableField
entries[];
52 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
53 static const ::google::protobuf::internal::ParseTable
schema[1];
56 static const ::google::protobuf::uint32
offsets[];
63 class FusionDefaultTypeInternal;
77 class Fusion :
public ::google::protobuf::Message {
91 *
this = ::std::move(from);
95 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96 if (
this != &from) InternalSwap(&from);
104 return _internal_metadata_.unknown_fields();
107 return _internal_metadata_.mutable_unknown_fields();
110 static const ::google::protobuf::Descriptor*
descriptor();
115 return reinterpret_cast<const Fusion*
>(
129 return CreateMaybeMessage<Fusion>(NULL);
132 Fusion*
New(::google::protobuf::Arena* arena)
const final {
133 return CreateMaybeMessage<Fusion>(arena);
135 void CopyFrom(const ::google::protobuf::Message& from)
final;
136 void MergeFrom(const ::google::protobuf::Message& from)
final;
144 ::
google::protobuf::io::CodedInputStream* input) final;
146 ::
google::protobuf::io::CodedOutputStream* output) const final;
148 bool deterministic, ::
google::protobuf::uint8* target) const final;
154 void SetCachedSize(
int size)
const final;
155 void InternalSwap(
Fusion* other);
157 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
160 inline void* MaybeArenaPtr()
const {
165 ::google::protobuf::Metadata
GetMetadata() const final;
231 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
233 const ::goby::middleware::protobuf::AppConfig&
app()
const;
234 ::goby::middleware::protobuf::AppConfig*
release_app();
235 ::goby::middleware::protobuf::AppConfig*
mutable_app();
243 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
245 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
254 ::google::protobuf::int32
bot_id()
const;
255 void set_bot_id(::google::protobuf::int32 value);
408 template<
typename Quantity >
412 template<
typename Quantity >
417 {
return imu_issue_detect_horizontal_pitch_min_time_with_units<boost::units::quantity< imu_issue_detect_horizontal_pitch_min_time_unit,double > >(); };
422 void clear_has_app();
423 void set_has_interprocess();
424 void clear_has_interprocess();
425 void set_has_bot_id();
426 void clear_has_bot_id();
427 void set_has_bot_type();
428 void clear_has_bot_type();
429 void set_has_health_report_timeout_seconds();
430 void clear_has_health_report_timeout_seconds();
431 void set_has_init_data_health_timeout_seconds();
432 void clear_has_init_data_health_timeout_seconds();
433 void set_has_data_timeout_seconds();
434 void clear_has_data_timeout_seconds();
435 void set_has_heading_timeout_seconds();
436 void clear_has_heading_timeout_seconds();
437 void set_has_imu_heading_course_max_diff();
438 void clear_has_imu_heading_course_max_diff();
439 void set_has_course_over_ground_timeout();
440 void clear_has_course_over_ground_timeout();
441 void set_has_imu_issue_solution();
442 void clear_has_imu_issue_solution();
443 void set_has_is_sim();
444 void clear_has_is_sim();
445 void set_has_total_imu_issue_checks();
446 void clear_has_total_imu_issue_checks();
447 void set_has_imu_detect_timeout();
448 void clear_has_imu_detect_timeout();
449 void set_has_bot_status_period_ms();
450 void clear_has_bot_status_period_ms();
451 void set_has_watch_battery_percentage();
452 void clear_has_watch_battery_percentage();
453 void set_has_battery_percentage_low_level();
454 void clear_has_battery_percentage_low_level();
455 void set_has_battery_percentage_very_low_level();
456 void clear_has_battery_percentage_very_low_level();
457 void set_has_battery_percentage_critically_low_level();
458 void clear_has_battery_percentage_critically_low_level();
459 void set_has_imu_detect_period();
460 void clear_has_imu_detect_period();
461 void set_has_imu_issue_detect_horizontal_pitch_checks();
462 void clear_has_imu_issue_detect_horizontal_pitch_checks();
463 void set_has_imu_issue_detect_horizontal_pitch_min_time();
464 void clear_has_imu_issue_detect_horizontal_pitch_min_time();
465 void set_has_imu_detect_horizontal_pitch();
466 void clear_has_imu_detect_horizontal_pitch();
467 void set_has_imu_detect_desired_heading_vs_current_max_diff();
468 void clear_has_imu_detect_desired_heading_vs_current_max_diff();
469 void set_has_bot_gpsd_device();
470 void clear_has_bot_gpsd_device();
473 size_t RequiredFieldsByteSizeFallback()
const;
475 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
476 ::google::protobuf::internal::HasBits<1> _has_bits_;
477 mutable ::google::protobuf::internal::CachedSize _cached_size_;
478 ::google::protobuf::RepeatedField<int> discard_location_states_;
479 ::google::protobuf::RepeatedField<int> include_course_error_detection_states_;
480 ::google::protobuf::RepeatedField<int> include_imu_detection_states_;
481 ::google::protobuf::RepeatedField<int> diving_states_;
482 ::google::protobuf::internal::ArenaStringPtr bot_gpsd_device_;
483 ::goby::middleware::protobuf::AppConfig* app_;
484 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
485 ::google::protobuf::int32 bot_id_;
488 ::google::protobuf::int32 health_report_timeout_seconds_;
489 ::google::protobuf::int32 init_data_health_timeout_seconds_;
490 ::google::protobuf::int32 data_timeout_seconds_;
491 ::google::protobuf::int32 heading_timeout_seconds_;
492 ::google::protobuf::int32 course_over_ground_timeout_;
493 double imu_heading_course_max_diff_;
494 int imu_issue_solution_;
495 ::google::protobuf::int32 total_imu_issue_checks_;
496 ::google::protobuf::int32 imu_detect_timeout_;
497 ::google::protobuf::int32 bot_status_period_ms_;
498 bool watch_battery_percentage_;
499 float battery_percentage_low_level_;
500 float battery_percentage_very_low_level_;
501 float battery_percentage_critically_low_level_;
502 ::google::protobuf::int32 imu_detect_period_;
503 ::google::protobuf::int32 imu_issue_detect_horizontal_pitch_checks_;
504 double imu_issue_detect_horizontal_pitch_min_time_;
505 double imu_detect_horizontal_pitch_;
506 double imu_detect_desired_heading_vs_current_max_diff_;
507 friend struct ::protobuf_bin_2ffusion_2fconfig_2eproto::TableStruct;
515 #pragma GCC diagnostic push
516 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
522 return (_has_bits_[0] & 0x00000002u) != 0;
524 inline void Fusion::set_has_app() {
525 _has_bits_[0] |= 0x00000002u;
527 inline void Fusion::clear_has_app() {
528 _has_bits_[0] &= ~0x00000002u;
530 inline const ::goby::middleware::protobuf::AppConfig& Fusion::_internal_app()
const {
533 inline const ::goby::middleware::protobuf::AppConfig&
Fusion::app()
const {
534 const ::goby::middleware::protobuf::AppConfig* p = app_;
536 return p != NULL ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
537 &::goby::middleware::protobuf::_AppConfig_default_instance_);
542 ::goby::middleware::protobuf::AppConfig* temp = app_;
549 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
556 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
557 if (message_arena == NULL) {
558 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(app_);
561 ::google::protobuf::Arena* submessage_arena = NULL;
562 if (message_arena != submessage_arena) {
563 app = ::google::protobuf::internal::GetOwnedMessage(
564 message_arena,
app, submessage_arena);
576 return (_has_bits_[0] & 0x00000004u) != 0;
578 inline void Fusion::set_has_interprocess() {
579 _has_bits_[0] |= 0x00000004u;
581 inline void Fusion::clear_has_interprocess() {
582 _has_bits_[0] &= ~0x00000004u;
584 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& Fusion::_internal_interprocess()
const {
585 return *interprocess_;
588 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
590 return p != NULL ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
591 &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
595 clear_has_interprocess();
596 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
597 interprocess_ = NULL;
601 set_has_interprocess();
602 if (interprocess_ == NULL) {
603 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
607 return interprocess_;
610 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
611 if (message_arena == NULL) {
612 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(interprocess_);
615 ::google::protobuf::Arena* submessage_arena = NULL;
616 if (message_arena != submessage_arena) {
617 interprocess = ::google::protobuf::internal::GetOwnedMessage(
620 set_has_interprocess();
622 clear_has_interprocess();
630 return (_has_bits_[0] & 0x00000008u) != 0;
632 inline void Fusion::set_has_bot_id() {
633 _has_bits_[0] |= 0x00000008u;
635 inline void Fusion::clear_has_bot_id() {
636 _has_bits_[0] &= ~0x00000008u;
654 return (_has_bits_[0] & 0x00000020u) != 0;
656 inline void Fusion::set_has_bot_type() {
657 _has_bits_[0] |= 0x00000020u;
659 inline void Fusion::clear_has_bot_type() {
660 _has_bits_[0] &= ~0x00000020u;
664 clear_has_bot_type();
679 return (_has_bits_[0] & 0x00000040u) != 0;
681 inline void Fusion::set_has_health_report_timeout_seconds() {
682 _has_bits_[0] |= 0x00000040u;
684 inline void Fusion::clear_has_health_report_timeout_seconds() {
685 _has_bits_[0] &= ~0x00000040u;
688 health_report_timeout_seconds_ = 20;
689 clear_has_health_report_timeout_seconds();
693 return health_report_timeout_seconds_;
696 set_has_health_report_timeout_seconds();
697 health_report_timeout_seconds_ = value;
703 return (_has_bits_[0] & 0x00000080u) != 0;
705 inline void Fusion::set_has_init_data_health_timeout_seconds() {
706 _has_bits_[0] |= 0x00000080u;
708 inline void Fusion::clear_has_init_data_health_timeout_seconds() {
709 _has_bits_[0] &= ~0x00000080u;
712 init_data_health_timeout_seconds_ = 20;
713 clear_has_init_data_health_timeout_seconds();
717 return init_data_health_timeout_seconds_;
720 set_has_init_data_health_timeout_seconds();
721 init_data_health_timeout_seconds_ = value;
727 return (_has_bits_[0] & 0x00000100u) != 0;
729 inline void Fusion::set_has_data_timeout_seconds() {
730 _has_bits_[0] |= 0x00000100u;
732 inline void Fusion::clear_has_data_timeout_seconds() {
733 _has_bits_[0] &= ~0x00000100u;
736 data_timeout_seconds_ = 20;
737 clear_has_data_timeout_seconds();
741 return data_timeout_seconds_;
744 set_has_data_timeout_seconds();
745 data_timeout_seconds_ = value;
751 return (_has_bits_[0] & 0x00000200u) != 0;
753 inline void Fusion::set_has_heading_timeout_seconds() {
754 _has_bits_[0] |= 0x00000200u;
756 inline void Fusion::clear_has_heading_timeout_seconds() {
757 _has_bits_[0] &= ~0x00000200u;
760 heading_timeout_seconds_ = 15;
761 clear_has_heading_timeout_seconds();
765 return heading_timeout_seconds_;
768 set_has_heading_timeout_seconds();
769 heading_timeout_seconds_ = value;
775 return discard_location_states_.size();
778 discard_location_states_.Clear();
786 discard_location_states_.Set(index, value);
791 discard_location_states_.Add(value);
794 inline const ::google::protobuf::RepeatedField<int>&
797 return discard_location_states_;
799 inline ::google::protobuf::RepeatedField<int>*
802 return &discard_location_states_;
807 return (_has_bits_[0] & 0x00000800u) != 0;
809 inline void Fusion::set_has_imu_heading_course_max_diff() {
810 _has_bits_[0] |= 0x00000800u;
812 inline void Fusion::clear_has_imu_heading_course_max_diff() {
813 _has_bits_[0] &= ~0x00000800u;
816 imu_heading_course_max_diff_ = 45;
817 clear_has_imu_heading_course_max_diff();
821 return imu_heading_course_max_diff_;
824 set_has_imu_heading_course_max_diff();
825 imu_heading_course_max_diff_ = value;
831 return (_has_bits_[0] & 0x00000400u) != 0;
833 inline void Fusion::set_has_course_over_ground_timeout() {
834 _has_bits_[0] |= 0x00000400u;
836 inline void Fusion::clear_has_course_over_ground_timeout() {
837 _has_bits_[0] &= ~0x00000400u;
840 course_over_ground_timeout_ = 3;
841 clear_has_course_over_ground_timeout();
845 return course_over_ground_timeout_;
848 set_has_course_over_ground_timeout();
849 course_over_ground_timeout_ = value;
855 return (_has_bits_[0] & 0x00001000u) != 0;
857 inline void Fusion::set_has_imu_issue_solution() {
858 _has_bits_[0] |= 0x00001000u;
860 inline void Fusion::clear_has_imu_issue_solution() {
861 _has_bits_[0] &= ~0x00001000u;
864 imu_issue_solution_ = 5;
865 clear_has_imu_issue_solution();
873 set_has_imu_issue_solution();
874 imu_issue_solution_ = value;
880 return (_has_bits_[0] & 0x00000010u) != 0;
882 inline void Fusion::set_has_is_sim() {
883 _has_bits_[0] |= 0x00000010u;
885 inline void Fusion::clear_has_is_sim() {
886 _has_bits_[0] &= ~0x00000010u;
904 return (_has_bits_[0] & 0x00002000u) != 0;
906 inline void Fusion::set_has_total_imu_issue_checks() {
907 _has_bits_[0] |= 0x00002000u;
909 inline void Fusion::clear_has_total_imu_issue_checks() {
910 _has_bits_[0] &= ~0x00002000u;
913 total_imu_issue_checks_ = 4;
914 clear_has_total_imu_issue_checks();
918 return total_imu_issue_checks_;
921 set_has_total_imu_issue_checks();
922 total_imu_issue_checks_ = value;
928 return (_has_bits_[0] & 0x00004000u) != 0;
930 inline void Fusion::set_has_imu_detect_timeout() {
931 _has_bits_[0] |= 0x00004000u;
933 inline void Fusion::clear_has_imu_detect_timeout() {
934 _has_bits_[0] &= ~0x00004000u;
937 imu_detect_timeout_ = 20;
938 clear_has_imu_detect_timeout();
942 return imu_detect_timeout_;
945 set_has_imu_detect_timeout();
946 imu_detect_timeout_ = value;
952 return (_has_bits_[0] & 0x00008000u) != 0;
954 inline void Fusion::set_has_bot_status_period_ms() {
955 _has_bits_[0] |= 0x00008000u;
957 inline void Fusion::clear_has_bot_status_period_ms() {
958 _has_bits_[0] &= ~0x00008000u;
961 bot_status_period_ms_ = 1000;
962 clear_has_bot_status_period_ms();
966 return bot_status_period_ms_;
969 set_has_bot_status_period_ms();
970 bot_status_period_ms_ = value;
976 return include_course_error_detection_states_.size();
979 include_course_error_detection_states_.Clear();
987 include_course_error_detection_states_.Set(index, value);
992 include_course_error_detection_states_.Add(value);
995 inline const ::google::protobuf::RepeatedField<int>&
998 return include_course_error_detection_states_;
1000 inline ::google::protobuf::RepeatedField<int>*
1003 return &include_course_error_detection_states_;
1008 return include_imu_detection_states_.size();
1011 include_imu_detection_states_.Clear();
1019 include_imu_detection_states_.Set(index, value);
1024 include_imu_detection_states_.Add(value);
1027 inline const ::google::protobuf::RepeatedField<int>&
1030 return include_imu_detection_states_;
1032 inline ::google::protobuf::RepeatedField<int>*
1035 return &include_imu_detection_states_;
1040 return (_has_bits_[0] & 0x00010000u) != 0;
1042 inline void Fusion::set_has_watch_battery_percentage() {
1043 _has_bits_[0] |= 0x00010000u;
1045 inline void Fusion::clear_has_watch_battery_percentage() {
1046 _has_bits_[0] &= ~0x00010000u;
1049 watch_battery_percentage_ =
true;
1050 clear_has_watch_battery_percentage();
1054 return watch_battery_percentage_;
1057 set_has_watch_battery_percentage();
1058 watch_battery_percentage_ = value;
1064 return (_has_bits_[0] & 0x00020000u) != 0;
1066 inline void Fusion::set_has_battery_percentage_low_level() {
1067 _has_bits_[0] |= 0x00020000u;
1069 inline void Fusion::clear_has_battery_percentage_low_level() {
1070 _has_bits_[0] &= ~0x00020000u;
1073 battery_percentage_low_level_ = 50;
1074 clear_has_battery_percentage_low_level();
1078 return battery_percentage_low_level_;
1081 set_has_battery_percentage_low_level();
1082 battery_percentage_low_level_ = value;
1088 return (_has_bits_[0] & 0x00040000u) != 0;
1090 inline void Fusion::set_has_battery_percentage_very_low_level() {
1091 _has_bits_[0] |= 0x00040000u;
1093 inline void Fusion::clear_has_battery_percentage_very_low_level() {
1094 _has_bits_[0] &= ~0x00040000u;
1097 battery_percentage_very_low_level_ = 20;
1098 clear_has_battery_percentage_very_low_level();
1102 return battery_percentage_very_low_level_;
1105 set_has_battery_percentage_very_low_level();
1106 battery_percentage_very_low_level_ = value;
1112 return (_has_bits_[0] & 0x00080000u) != 0;
1114 inline void Fusion::set_has_battery_percentage_critically_low_level() {
1115 _has_bits_[0] |= 0x00080000u;
1117 inline void Fusion::clear_has_battery_percentage_critically_low_level() {
1118 _has_bits_[0] &= ~0x00080000u;
1121 battery_percentage_critically_low_level_ = 10;
1122 clear_has_battery_percentage_critically_low_level();
1126 return battery_percentage_critically_low_level_;
1129 set_has_battery_percentage_critically_low_level();
1130 battery_percentage_critically_low_level_ = value;
1136 return (_has_bits_[0] & 0x00100000u) != 0;
1138 inline void Fusion::set_has_imu_detect_period() {
1139 _has_bits_[0] |= 0x00100000u;
1141 inline void Fusion::clear_has_imu_detect_period() {
1142 _has_bits_[0] &= ~0x00100000u;
1145 imu_detect_period_ = 1;
1146 clear_has_imu_detect_period();
1150 return imu_detect_period_;
1153 set_has_imu_detect_period();
1154 imu_detect_period_ = value;
1160 return (_has_bits_[0] & 0x00200000u) != 0;
1162 inline void Fusion::set_has_imu_issue_detect_horizontal_pitch_checks() {
1163 _has_bits_[0] |= 0x00200000u;
1165 inline void Fusion::clear_has_imu_issue_detect_horizontal_pitch_checks() {
1166 _has_bits_[0] &= ~0x00200000u;
1169 imu_issue_detect_horizontal_pitch_checks_ = 3;
1170 clear_has_imu_issue_detect_horizontal_pitch_checks();
1174 return imu_issue_detect_horizontal_pitch_checks_;
1177 set_has_imu_issue_detect_horizontal_pitch_checks();
1178 imu_issue_detect_horizontal_pitch_checks_ = value;
1184 return (_has_bits_[0] & 0x00400000u) != 0;
1186 inline void Fusion::set_has_imu_issue_detect_horizontal_pitch_min_time() {
1187 _has_bits_[0] |= 0x00400000u;
1189 inline void Fusion::clear_has_imu_issue_detect_horizontal_pitch_min_time() {
1190 _has_bits_[0] &= ~0x00400000u;
1193 imu_issue_detect_horizontal_pitch_min_time_ = 1;
1194 clear_has_imu_issue_detect_horizontal_pitch_min_time();
1198 return imu_issue_detect_horizontal_pitch_min_time_;
1201 set_has_imu_issue_detect_horizontal_pitch_min_time();
1202 imu_issue_detect_horizontal_pitch_min_time_ = value;
1208 return (_has_bits_[0] & 0x00800000u) != 0;
1210 inline void Fusion::set_has_imu_detect_horizontal_pitch() {
1211 _has_bits_[0] |= 0x00800000u;
1213 inline void Fusion::clear_has_imu_detect_horizontal_pitch() {
1214 _has_bits_[0] &= ~0x00800000u;
1217 imu_detect_horizontal_pitch_ = 45;
1218 clear_has_imu_detect_horizontal_pitch();
1222 return imu_detect_horizontal_pitch_;
1225 set_has_imu_detect_horizontal_pitch();
1226 imu_detect_horizontal_pitch_ = value;
1232 return (_has_bits_[0] & 0x01000000u) != 0;
1234 inline void Fusion::set_has_imu_detect_desired_heading_vs_current_max_diff() {
1235 _has_bits_[0] |= 0x01000000u;
1237 inline void Fusion::clear_has_imu_detect_desired_heading_vs_current_max_diff() {
1238 _has_bits_[0] &= ~0x01000000u;
1241 imu_detect_desired_heading_vs_current_max_diff_ = 45;
1242 clear_has_imu_detect_desired_heading_vs_current_max_diff();
1246 return imu_detect_desired_heading_vs_current_max_diff_;
1249 set_has_imu_detect_desired_heading_vs_current_max_diff();
1250 imu_detect_desired_heading_vs_current_max_diff_ = value;
1256 return diving_states_.size();
1259 diving_states_.Clear();
1267 diving_states_.Set(index, value);
1272 diving_states_.Add(value);
1275 inline const ::google::protobuf::RepeatedField<int>&
1278 return diving_states_;
1280 inline ::google::protobuf::RepeatedField<int>*
1283 return &diving_states_;
1288 return (_has_bits_[0] & 0x00000001u) != 0;
1290 inline void Fusion::set_has_bot_gpsd_device() {
1291 _has_bits_[0] |= 0x00000001u;
1293 inline void Fusion::clear_has_bot_gpsd_device() {
1294 _has_bits_[0] &= ~0x00000001u;
1297 bot_gpsd_device_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1298 clear_has_bot_gpsd_device();
1302 return bot_gpsd_device_.GetNoArena();
1305 set_has_bot_gpsd_device();
1306 bot_gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
1311 set_has_bot_gpsd_device();
1312 bot_gpsd_device_.SetNoArena(
1313 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1318 GOOGLE_DCHECK(value != NULL);
1319 set_has_bot_gpsd_device();
1320 bot_gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
1324 set_has_bot_gpsd_device();
1325 bot_gpsd_device_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
1326 ::std::string(
reinterpret_cast<const char*
>(value), size));
1330 set_has_bot_gpsd_device();
1332 return bot_gpsd_device_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1339 clear_has_bot_gpsd_device();
1340 return bot_gpsd_device_.ReleaseNonDefaultNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
1344 set_has_bot_gpsd_device();
1346 clear_has_bot_gpsd_device();
1348 bot_gpsd_device_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
bot_gpsd_device);
1353 #pragma GCC diagnostic pop
1363 #endif // PROTOBUF_INCLUDED_bin_2ffusion_2fconfig_2eproto