4 #ifndef PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fapp_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fapp_5fconfig_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>
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>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/unknown_field_set.h>
35 #include "dccl/option_extensions.pb.h"
36 #include <boost/units/quantity.hpp>
37 #include <boost/units/absolute.hpp>
38 #include <boost/units/dimensionless_type.hpp>
39 #include <boost/units/make_scaled_unit.hpp>
41 #include <boost/units/systems/angle/degrees.hpp>
43 #include <boost/units/systems/si.hpp>
45 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fmiddleware_2fprotobuf_2fapp_5fconfig_2eproto
50 static const ::google::protobuf::internal::ParseTableField
entries[];
51 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
52 static const ::google::protobuf::internal::ParseTable
schema[6];
60 namespace middleware {
63 class AppConfigDefaultTypeInternal;
65 class AppConfig_Geodesy;
66 class AppConfig_GeodesyDefaultTypeInternal;
68 class AppConfig_Health;
69 class AppConfig_HealthDefaultTypeInternal;
71 class AppConfig_SimulatorSettings;
72 class AppConfig_SimulatorSettingsDefaultTypeInternal;
74 class AppConfig_SimulatorSettings_Time;
75 class AppConfig_SimulatorSettings_TimeDefaultTypeInternal;
78 class AppConfig_ToolDefaultTypeInternal;
94 namespace middleware {
113 *
this = ::std::move(from);
117 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
118 if (
this != &from) InternalSwap(&from);
126 return _internal_metadata_.unknown_fields();
129 return _internal_metadata_.mutable_unknown_fields();
132 static const ::google::protobuf::Descriptor*
descriptor();
151 return CreateMaybeMessage<AppConfig_SimulatorSettings_Time>(NULL);
155 return CreateMaybeMessage<AppConfig_SimulatorSettings_Time>(arena);
157 void CopyFrom(const ::google::protobuf::Message& from)
final;
158 void MergeFrom(const ::google::protobuf::Message& from)
final;
166 ::
google::protobuf::io::CodedInputStream* input) final;
168 ::
google::protobuf::io::CodedOutputStream* output) const final;
170 bool deterministic, ::
google::protobuf::uint8* target) const final;
176 void SetCachedSize(
int size)
const final;
179 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
182 inline void* MaybeArenaPtr()
const {
218 template<typename Quantity >
220 {
set_reference_microtime(boost::units::quantity<reference_microtime_unit,google::protobuf::int64 >(value_w_units).value() ); };
222 template<
typename Quantity >
227 {
return reference_microtime_with_units<boost::units::quantity< reference_microtime_unit,google::protobuf::int64 > >(); };
231 void set_has_use_sim_time();
232 void clear_has_use_sim_time();
233 void set_has_warp_factor();
234 void clear_has_warp_factor();
235 void set_has_reference_microtime();
236 void clear_has_reference_microtime();
238 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
239 ::google::protobuf::internal::HasBits<1> _has_bits_;
240 mutable ::google::protobuf::internal::CachedSize _cached_size_;
244 friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2fapp_5fconfig_2eproto::TableStruct;
262 *
this = ::std::move(from);
266 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
267 if (
this != &from) InternalSwap(&from);
275 return _internal_metadata_.unknown_fields();
278 return _internal_metadata_.mutable_unknown_fields();
281 static const ::google::protobuf::Descriptor*
descriptor();
300 return CreateMaybeMessage<AppConfig_SimulatorSettings>(NULL);
304 return CreateMaybeMessage<AppConfig_SimulatorSettings>(arena);
306 void CopyFrom(const ::google::protobuf::Message& from)
final;
307 void MergeFrom(const ::google::protobuf::Message& from)
final;
315 ::
google::protobuf::io::CodedInputStream* input) final;
317 ::
google::protobuf::io::CodedOutputStream* output) const final;
319 bool deterministic, ::
google::protobuf::uint8* target) const final;
325 void SetCachedSize(
int size)
const final;
328 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
331 inline void* MaybeArenaPtr()
const {
359 void clear_has_time();
361 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
362 ::
google::protobuf::internal::HasBits<1> _has_bits_;
363 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
383 *
this = ::std::move(from);
386 inline AppConfig_Geodesy&
operator=(AppConfig_Geodesy&& from) noexcept {
387 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
388 if (
this != &from) InternalSwap(&from);
396 return _internal_metadata_.unknown_fields();
399 return _internal_metadata_.mutable_unknown_fields();
402 static const ::google::protobuf::Descriptor*
descriptor();
421 return CreateMaybeMessage<AppConfig_Geodesy>(NULL);
425 return CreateMaybeMessage<AppConfig_Geodesy>(arena);
427 void CopyFrom(const ::google::protobuf::Message& from)
final;
428 void MergeFrom(const ::google::protobuf::Message& from)
final;
436 ::
google::protobuf::io::CodedInputStream* input) final;
438 ::
google::protobuf::io::CodedOutputStream* output) const final;
440 bool deterministic, ::
google::protobuf::uint8* target) const final;
446 void SetCachedSize(
int size)
const final;
449 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
452 inline void* MaybeArenaPtr()
const {
464 bool has_lat_origin() const;
465 void clear_lat_origin();
466 static const
int kLatOriginFieldNumber = 1;
467 double lat_origin() const;
468 void set_lat_origin(
double value);
471 bool has_lon_origin() const;
472 void clear_lon_origin();
473 static const
int kLonOriginFieldNumber = 2;
474 double lon_origin() const;
475 void set_lon_origin(
double value);
481 template<typename Quantity >
482 void set_lat_origin_with_units(Quantity value_w_units)
483 { set_lat_origin(boost::units::quantity<lat_origin_unit,double >(value_w_units).value() ); };
485 template<
typename Quantity >
490 {
return lat_origin_with_units<boost::units::quantity< lat_origin_unit,double > >(); };
492 typedef boost::units::plane_angle_dimension lon_origin_dimension;
494 typedef boost::units::unit<lon_origin_dimension,boost::units::degree::system>
lon_origin_unit;
496 template<
typename Quantity >
498 { set_lon_origin(boost::units::quantity<lon_origin_unit,double >(value_w_units).value() ); };
500 template<
typename Quantity >
505 {
return lon_origin_with_units<boost::units::quantity< lon_origin_unit,double > >(); };
509 void set_has_lat_origin();
510 void clear_has_lat_origin();
511 void set_has_lon_origin();
512 void clear_has_lon_origin();
515 size_t RequiredFieldsByteSizeFallback()
const;
517 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
518 ::google::protobuf::internal::HasBits<1> _has_bits_;
519 mutable ::google::protobuf::internal::CachedSize _cached_size_;
522 friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2fapp_5fconfig_2eproto::TableStruct;
540 *
this = ::std::move(from);
543 inline AppConfig_Health&
operator=(AppConfig_Health&& from) noexcept {
544 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
545 if (
this != &from) InternalSwap(&from);
553 return _internal_metadata_.unknown_fields();
556 return _internal_metadata_.mutable_unknown_fields();
559 static const ::google::protobuf::Descriptor*
descriptor();
578 return CreateMaybeMessage<AppConfig_Health>(NULL);
582 return CreateMaybeMessage<AppConfig_Health>(arena);
584 void CopyFrom(const ::google::protobuf::Message& from)
final;
585 void MergeFrom(const ::google::protobuf::Message& from)
final;
593 ::
google::protobuf::io::CodedInputStream* input) final;
595 ::
google::protobuf::io::CodedOutputStream* output) const final;
597 bool deterministic, ::
google::protobuf::uint8* target) const final;
603 void SetCachedSize(
int size)
const final;
606 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
609 inline void* MaybeArenaPtr()
const {
621 bool has_run_health_monitor_thread() const;
622 void clear_run_health_monitor_thread();
623 static const
int kRunHealthMonitorThreadFieldNumber = 1;
624 bool run_health_monitor_thread() const;
625 void set_run_health_monitor_thread(
bool value);
629 void set_has_run_health_monitor_thread();
630 void clear_has_run_health_monitor_thread();
632 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
633 ::
google::protobuf::internal::HasBits<1> _has_bits_;
634 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
635 bool run_health_monitor_thread_;
654 *
this = ::std::move(from);
657 inline AppConfig_Tool&
operator=(AppConfig_Tool&& from) noexcept {
658 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
659 if (
this != &from) InternalSwap(&from);
667 return _internal_metadata_.unknown_fields();
670 return _internal_metadata_.mutable_unknown_fields();
673 static const ::google::protobuf::Descriptor*
descriptor();
692 return CreateMaybeMessage<AppConfig_Tool>(NULL);
696 return CreateMaybeMessage<AppConfig_Tool>(arena);
698 void CopyFrom(const ::google::protobuf::Message& from)
final;
699 void MergeFrom(const ::google::protobuf::Message& from)
final;
707 ::
google::protobuf::io::CodedInputStream* input) final;
709 ::
google::protobuf::io::CodedOutputStream* output) const final;
711 bool deterministic, ::
google::protobuf::uint8* target) const final;
717 void SetCachedSize(
int size)
const final;
720 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
723 inline void* MaybeArenaPtr()
const {
735 int extra_cli_param_size() const;
736 void clear_extra_cli_param();
737 static const
int kExtraCliParamFieldNumber = 1;
738 const ::std::
string& extra_cli_param(
int index) const;
739 ::std::
string* mutable_extra_cli_param(
int index);
740 void set_extra_cli_param(
int index, const ::std::
string& value);
742 void set_extra_cli_param(
int index, ::std::string&& value);
744 void set_extra_cli_param(
int index,
const char* value);
745 void set_extra_cli_param(
int index,
const char* value,
size_t size);
746 ::std::string* add_extra_cli_param();
747 void add_extra_cli_param(const ::std::string& value);
749 void add_extra_cli_param(::std::string&& value);
751 void add_extra_cli_param(
const char* value);
752 void add_extra_cli_param(
const char* value,
size_t size);
753 const ::google::protobuf::RepeatedPtrField< ::std::string>& extra_cli_param()
const;
759 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
760 ::google::protobuf::internal::HasBits<1> _has_bits_;
761 mutable ::google::protobuf::internal::CachedSize _cached_size_;
763 friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2fapp_5fconfig_2eproto::TableStruct;
781 *
this = ::std::move(from);
784 inline AppConfig&
operator=(AppConfig&& from) noexcept {
785 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
786 if (
this != &from) InternalSwap(&from);
794 return _internal_metadata_.unknown_fields();
797 return _internal_metadata_.mutable_unknown_fields();
800 static const ::google::protobuf::Descriptor*
descriptor();
805 return reinterpret_cast<const AppConfig*
>(
819 return CreateMaybeMessage<AppConfig>(NULL);
823 return CreateMaybeMessage<AppConfig>(arena);
825 void CopyFrom(const ::google::protobuf::Message& from)
final;
826 void MergeFrom(const ::google::protobuf::Message& from)
final;
834 ::
google::protobuf::io::CodedInputStream* input) final;
836 ::
google::protobuf::io::CodedOutputStream* output) const final;
838 bool deterministic, ::
google::protobuf::uint8* target) const final;
844 void SetCachedSize(
int size)
const final;
847 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
850 inline void* MaybeArenaPtr()
const {
867 bool has_name() const;
869 static const
int kNameFieldNumber = 1;
870 const ::std::
string& name() const;
871 void set_name(const ::std::
string& value);
873 void set_name(::std::string&& value);
875 void set_name(
const char* value);
876 void set_name(
const char* value,
size_t size);
877 ::std::string* mutable_name();
878 ::std::string* release_name();
879 void set_allocated_name(::std::string* name);
882 bool has_binary()
const;
884 static const int kBinaryFieldNumber = 2;
885 const ::std::string& binary()
const;
886 void set_binary(const ::std::string& value);
888 void set_binary(::std::string&& value);
890 void set_binary(
const char* value);
891 void set_binary(
const char* value,
size_t size);
892 ::std::string* mutable_binary();
893 ::std::string* release_binary();
894 void set_allocated_binary(::std::string* binary);
897 bool has_glog_config()
const;
898 void clear_glog_config();
899 static const int kGlogConfigFieldNumber = 10;
901 const ::goby::util::protobuf::GLogConfig& _internal_glog_config()
const;
903 const ::goby::util::protobuf::GLogConfig& glog_config()
const;
909 bool has_simulation()
const;
910 void clear_simulation();
911 static const int kSimulationFieldNumber = 20;
913 const ::goby::middleware::protobuf::AppConfig_SimulatorSettings& _internal_simulation()
const;
915 const ::goby::middleware::protobuf::AppConfig_SimulatorSettings& simulation()
const;
921 bool has_geodesy()
const;
922 void clear_geodesy();
923 static const int kGeodesyFieldNumber = 30;
925 const ::goby::middleware::protobuf::AppConfig_Geodesy& _internal_geodesy()
const;
927 const ::goby::middleware::protobuf::AppConfig_Geodesy& geodesy()
const;
933 bool has_health_cfg()
const;
934 void clear_health_cfg();
935 static const int kHealthCfgFieldNumber = 40;
937 const ::goby::middleware::protobuf::AppConfig_Health& _internal_health_cfg()
const;
939 const ::goby::middleware::protobuf::AppConfig_Health& health_cfg()
const;
945 bool has_tool_cfg()
const;
946 void clear_tool_cfg();
947 static const int kToolCfgFieldNumber = 50;
949 const ::goby::middleware::protobuf::AppConfig_Tool& _internal_tool_cfg()
const;
951 const ::goby::middleware::protobuf::AppConfig_Tool& tool_cfg()
const;
957 bool has_debug_cfg()
const;
958 void clear_debug_cfg();
959 static const int kDebugCfgFieldNumber = 100;
960 bool debug_cfg()
const;
961 void set_debug_cfg(
bool value);
966 void clear_has_name();
967 void set_has_binary();
968 void clear_has_binary();
969 void set_has_glog_config();
970 void clear_has_glog_config();
971 void set_has_simulation();
972 void clear_has_simulation();
973 void set_has_geodesy();
974 void clear_has_geodesy();
975 void set_has_health_cfg();
976 void clear_has_health_cfg();
977 void set_has_tool_cfg();
978 void clear_has_tool_cfg();
979 void set_has_debug_cfg();
980 void clear_has_debug_cfg();
982 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
983 ::google::protobuf::internal::HasBits<1> _has_bits_;
984 mutable ::google::protobuf::internal::CachedSize _cached_size_;
985 ::google::protobuf::internal::ArenaStringPtr name_;
986 ::google::protobuf::internal::ArenaStringPtr binary_;
993 friend struct ::protobuf_goby_2fmiddleware_2fprotobuf_2fapp_5fconfig_2eproto::TableStruct;
1001 #pragma GCC diagnostic push
1002 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1008 return (_has_bits_[0] & 0x00000002u) != 0;
1010 inline void AppConfig_SimulatorSettings_Time::set_has_use_sim_time() {
1011 _has_bits_[0] |= 0x00000002u;
1013 inline void AppConfig_SimulatorSettings_Time::clear_has_use_sim_time() {
1014 _has_bits_[0] &= ~0x00000002u;
1017 use_sim_time_ =
false;
1018 clear_has_use_sim_time();
1022 return use_sim_time_;
1025 set_has_use_sim_time();
1026 use_sim_time_ = value;
1032 return (_has_bits_[0] & 0x00000004u) != 0;
1034 inline void AppConfig_SimulatorSettings_Time::set_has_warp_factor() {
1035 _has_bits_[0] |= 0x00000004u;
1037 inline void AppConfig_SimulatorSettings_Time::clear_has_warp_factor() {
1038 _has_bits_[0] &= ~0x00000004u;
1042 clear_has_warp_factor();
1046 return warp_factor_;
1049 set_has_warp_factor();
1050 warp_factor_ = value;
1056 return (_has_bits_[0] & 0x00000001u) != 0;
1058 inline void AppConfig_SimulatorSettings_Time::set_has_reference_microtime() {
1059 _has_bits_[0] |= 0x00000001u;
1061 inline void AppConfig_SimulatorSettings_Time::clear_has_reference_microtime() {
1062 _has_bits_[0] &= ~0x00000001u;
1065 reference_microtime_ = GOOGLE_LONGLONG(0);
1066 clear_has_reference_microtime();
1070 return reference_microtime_;
1073 set_has_reference_microtime();
1074 reference_microtime_ = value;
1084 return (_has_bits_[0] & 0x00000001u) != 0;
1086 inline void AppConfig_SimulatorSettings::set_has_time() {
1087 _has_bits_[0] |= 0x00000001u;
1089 inline void AppConfig_SimulatorSettings::clear_has_time() {
1090 _has_bits_[0] &= ~0x00000001u;
1093 if (time_ != NULL) time_->Clear();
1096 inline const ::goby::middleware::protobuf::AppConfig_SimulatorSettings_Time& AppConfig_SimulatorSettings::_internal_time()
const {
1100 const ::goby::middleware::protobuf::AppConfig_SimulatorSettings_Time* p = time_;
1114 if (time_ == NULL) {
1115 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig_SimulatorSettings_Time>(GetArenaNoVirtual());
1123 if (message_arena == NULL) {
1128 if (message_arena != submessage_arena) {
1129 time = ::google::protobuf::internal::GetOwnedMessage(
1130 message_arena,
time, submessage_arena);
1146 return (_has_bits_[0] & 0x00000001u) != 0;
1148 inline void AppConfig_Geodesy::set_has_lat_origin() {
1149 _has_bits_[0] |= 0x00000001u;
1151 inline void AppConfig_Geodesy::clear_has_lat_origin() {
1152 _has_bits_[0] &= ~0x00000001u;
1156 clear_has_lat_origin();
1163 set_has_lat_origin();
1164 lat_origin_ = value;
1170 return (_has_bits_[0] & 0x00000002u) != 0;
1172 inline void AppConfig_Geodesy::set_has_lon_origin() {
1173 _has_bits_[0] |= 0x00000002u;
1175 inline void AppConfig_Geodesy::clear_has_lon_origin() {
1176 _has_bits_[0] &= ~0x00000002u;
1180 clear_has_lon_origin();
1187 set_has_lon_origin();
1188 lon_origin_ = value;
1198 return (_has_bits_[0] & 0x00000001u) != 0;
1200 inline void AppConfig_Health::set_has_run_health_monitor_thread() {
1201 _has_bits_[0] |= 0x00000001u;
1203 inline void AppConfig_Health::clear_has_run_health_monitor_thread() {
1204 _has_bits_[0] &= ~0x00000001u;
1207 run_health_monitor_thread_ =
true;
1208 clear_has_run_health_monitor_thread();
1212 return run_health_monitor_thread_;
1215 set_has_run_health_monitor_thread();
1216 run_health_monitor_thread_ = value;
1226 return extra_cli_param_.size();
1229 extra_cli_param_.Clear();
1233 return extra_cli_param_.Get(index);
1237 return extra_cli_param_.Mutable(index);
1241 extra_cli_param_.Mutable(index)->assign(value);
1246 extra_cli_param_.Mutable(index)->assign(std::move(value));
1250 GOOGLE_DCHECK(value != NULL);
1251 extra_cli_param_.Mutable(index)->assign(value);
1255 extra_cli_param_.Mutable(index)->assign(
1256 reinterpret_cast<const char*
>(value), size);
1261 return extra_cli_param_.Add();
1264 extra_cli_param_.Add()->assign(value);
1269 extra_cli_param_.Add(std::move(value));
1274 GOOGLE_DCHECK(value != NULL);
1275 extra_cli_param_.Add()->assign(value);
1279 extra_cli_param_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1282 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
1285 return extra_cli_param_;
1287 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
1290 return &extra_cli_param_;
1299 return (_has_bits_[0] & 0x00000001u) != 0;
1301 inline void AppConfig::set_has_name() {
1302 _has_bits_[0] |= 0x00000001u;
1304 inline void AppConfig::clear_has_name() {
1305 _has_bits_[0] &= ~0x00000001u;
1313 return name_.GetNoArena();
1329 GOOGLE_DCHECK(value != NULL);
1337 ::std::string(
reinterpret_cast<const char*
>(value), size));
1365 return (_has_bits_[0] & 0x00000002u) != 0;
1367 inline void AppConfig::set_has_binary() {
1368 _has_bits_[0] |= 0x00000002u;
1370 inline void AppConfig::clear_has_binary() {
1371 _has_bits_[0] &= ~0x00000002u;
1379 return binary_.GetNoArena();
1395 GOOGLE_DCHECK(value != NULL);
1403 ::std::string(
reinterpret_cast<const char*
>(value), size));
1413 if (!has_binary()) {
1420 if (binary != NULL) {
1431 return (_has_bits_[0] & 0x00000004u) != 0;
1433 inline void AppConfig::set_has_glog_config() {
1434 _has_bits_[0] |= 0x00000004u;
1436 inline void AppConfig::clear_has_glog_config() {
1437 _has_bits_[0] &= ~0x00000004u;
1439 inline const ::goby::util::protobuf::GLogConfig& AppConfig::_internal_glog_config()
const {
1440 return *glog_config_;
1443 const ::goby::util::protobuf::GLogConfig* p = glog_config_;
1450 clear_has_glog_config();
1452 glog_config_ = NULL;
1456 set_has_glog_config();
1457 if (glog_config_ == NULL) {
1458 auto* p = CreateMaybeMessage<::goby::util::protobuf::GLogConfig>(GetArenaNoVirtual());
1462 return glog_config_;
1466 if (message_arena == NULL) {
1471 if (message_arena != submessage_arena) {
1472 glog_config = ::google::protobuf::internal::GetOwnedMessage(
1473 message_arena, glog_config, submessage_arena);
1475 set_has_glog_config();
1477 clear_has_glog_config();
1479 glog_config_ = glog_config;
1485 return (_has_bits_[0] & 0x00000008u) != 0;
1487 inline void AppConfig::set_has_simulation() {
1488 _has_bits_[0] |= 0x00000008u;
1490 inline void AppConfig::clear_has_simulation() {
1491 _has_bits_[0] &= ~0x00000008u;
1494 if (simulation_ != NULL) simulation_->Clear();
1495 clear_has_simulation();
1497 inline const ::goby::middleware::protobuf::AppConfig_SimulatorSettings& AppConfig::_internal_simulation()
const {
1498 return *simulation_;
1501 const ::goby::middleware::protobuf::AppConfig_SimulatorSettings* p = simulation_;
1508 clear_has_simulation();
1514 set_has_simulation();
1515 if (simulation_ == NULL) {
1516 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig_SimulatorSettings>(GetArenaNoVirtual());
1524 if (message_arena == NULL) {
1529 if (message_arena != submessage_arena) {
1530 simulation = ::google::protobuf::internal::GetOwnedMessage(
1531 message_arena, simulation, submessage_arena);
1533 set_has_simulation();
1535 clear_has_simulation();
1537 simulation_ = simulation;
1543 return (_has_bits_[0] & 0x00000010u) != 0;
1545 inline void AppConfig::set_has_geodesy() {
1546 _has_bits_[0] |= 0x00000010u;
1548 inline void AppConfig::clear_has_geodesy() {
1549 _has_bits_[0] &= ~0x00000010u;
1552 if (geodesy_ != NULL) geodesy_->Clear();
1553 clear_has_geodesy();
1555 inline const ::goby::middleware::protobuf::AppConfig_Geodesy& AppConfig::_internal_geodesy()
const {
1559 const ::goby::middleware::protobuf::AppConfig_Geodesy* p = geodesy_;
1566 clear_has_geodesy();
1573 if (geodesy_ == NULL) {
1574 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig_Geodesy>(GetArenaNoVirtual());
1582 if (message_arena == NULL) {
1587 if (message_arena != submessage_arena) {
1588 geodesy = ::google::protobuf::internal::GetOwnedMessage(
1589 message_arena, geodesy, submessage_arena);
1593 clear_has_geodesy();
1601 return (_has_bits_[0] & 0x00000020u) != 0;
1603 inline void AppConfig::set_has_health_cfg() {
1604 _has_bits_[0] |= 0x00000020u;
1606 inline void AppConfig::clear_has_health_cfg() {
1607 _has_bits_[0] &= ~0x00000020u;
1610 if (health_cfg_ != NULL) health_cfg_->Clear();
1611 clear_has_health_cfg();
1613 inline const ::goby::middleware::protobuf::AppConfig_Health& AppConfig::_internal_health_cfg()
const {
1614 return *health_cfg_;
1617 const ::goby::middleware::protobuf::AppConfig_Health* p = health_cfg_;
1624 clear_has_health_cfg();
1630 set_has_health_cfg();
1631 if (health_cfg_ == NULL) {
1632 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig_Health>(GetArenaNoVirtual());
1640 if (message_arena == NULL) {
1645 if (message_arena != submessage_arena) {
1646 health_cfg = ::google::protobuf::internal::GetOwnedMessage(
1647 message_arena, health_cfg, submessage_arena);
1649 set_has_health_cfg();
1651 clear_has_health_cfg();
1653 health_cfg_ = health_cfg;
1659 return (_has_bits_[0] & 0x00000040u) != 0;
1661 inline void AppConfig::set_has_tool_cfg() {
1662 _has_bits_[0] |= 0x00000040u;
1664 inline void AppConfig::clear_has_tool_cfg() {
1665 _has_bits_[0] &= ~0x00000040u;
1668 if (tool_cfg_ != NULL) tool_cfg_->Clear();
1669 clear_has_tool_cfg();
1671 inline const ::goby::middleware::protobuf::AppConfig_Tool& AppConfig::_internal_tool_cfg()
const {
1675 const ::goby::middleware::protobuf::AppConfig_Tool* p = tool_cfg_;
1682 clear_has_tool_cfg();
1689 if (tool_cfg_ == NULL) {
1690 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig_Tool>(GetArenaNoVirtual());
1698 if (message_arena == NULL) {
1703 if (message_arena != submessage_arena) {
1704 tool_cfg = ::google::protobuf::internal::GetOwnedMessage(
1705 message_arena, tool_cfg, submessage_arena);
1709 clear_has_tool_cfg();
1711 tool_cfg_ = tool_cfg;
1717 return (_has_bits_[0] & 0x00000080u) != 0;
1719 inline void AppConfig::set_has_debug_cfg() {
1720 _has_bits_[0] |= 0x00000080u;
1722 inline void AppConfig::clear_has_debug_cfg() {
1723 _has_bits_[0] &= ~0x00000080u;
1727 clear_has_debug_cfg();
1734 set_has_debug_cfg();
1740 #pragma GCC diagnostic pop
1761 #endif // PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2fapp_5fconfig_2eproto