4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
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 3021012 < 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/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.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>
37#include <boost/units/quantity.hpp>
38#include <boost/units/absolute.hpp>
39#include <boost/units/dimensionless_type.hpp>
40#include <boost/units/make_scaled_unit.hpp>
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto
44PROTOBUF_NAMESPACE_OPEN
48PROTOBUF_NAMESPACE_CLOSE
58class GobyMOOSAppConfig;
59struct GobyMOOSAppConfigDefaultTypeInternal;
61class GobyMOOSAppConfig_Initializer;
62struct GobyMOOSAppConfig_InitializerDefaultTypeInternal;
67PROTOBUF_NAMESPACE_OPEN
70PROTOBUF_NAMESPACE_CLOSE
87 static_assert(::std::is_same<T, GobyMOOSAppConfig_Initializer_Type>::value ||
88 ::std::is_integral<T>::value,
89 "Incorrect type passed to function GobyMOOSAppConfig_Initializer_Type_Name.");
90 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
95 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GobyMOOSAppConfig_Initializer_Type>(
101 public ::PROTOBUF_NAMESPACE_ID::Message {
110 *
this = ::std::move(from);
118 if (
this == &from)
return *
this;
119 if (GetOwningArena() == from.GetOwningArena()
120 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
121 && GetOwningArena() !=
nullptr
132 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
135 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
138 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
161 if (other ==
this)
return;
162 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
163 if (GetOwningArena() !=
nullptr &&
164 GetOwningArena() == other->GetOwningArena()) {
166 if (GetOwningArena() == other->GetOwningArena()) {
170 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
174 if (other ==
this)
return;
175 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
182 return CreateMaybeMessage<GobyMOOSAppConfig_Initializer>(arena);
184 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
186 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
188 GobyMOOSAppConfig_Initializer::MergeImpl(*
this, from);
191 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
193 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
199 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
203 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
205 void SetCachedSize(
int size)
const final;
209 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
210 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
211 return "goby.moos.protobuf.GobyMOOSAppConfig.Initializer";
215 bool is_message_owned =
false);
219 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
239 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
244 static inline const std::string&
Type_Name(T enum_t_value) {
245 static_assert(::std::is_same<T, Type>::value ||
246 ::std::is_integral<T>::value,
247 "Incorrect type passed to function Type_Name.");
250 static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
268 bool _internal_has_moos_var()
const;
271 const std::string&
moos_var()
const;
272 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
278 const std::string& _internal_moos_var()
const;
279 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_moos_var(
const std::string& value);
280 std::string* _internal_mutable_moos_var();
286 bool _internal_has_global_cfg_var()
const;
290 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
296 const std::string& _internal_global_cfg_var()
const;
297 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_global_cfg_var(
const std::string& value);
298 std::string* _internal_mutable_global_cfg_var();
304 bool _internal_has_sval()
const;
307 const std::string&
sval()
const;
308 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
314 const std::string& _internal_sval()
const;
315 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_sval(
const std::string& value);
316 std::string* _internal_mutable_sval();
322 bool _internal_has_dval()
const;
328 double _internal_dval()
const;
329 void _internal_set_dval(
double value);
335 bool _internal_has_type()
const;
348 bool _internal_has_trim()
const;
354 bool _internal_trim()
const;
355 void _internal_set_trim(
bool value);
363 size_t RequiredFieldsByteSizeFallback()
const;
365 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
366 typedef void InternalArenaConstructable_;
367 typedef void DestructorSkippable_;
369 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
370 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
371 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr moos_var_;
372 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr global_cfg_var_;
373 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sval_;
379 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto;
384 public ::PROTOBUF_NAMESPACE_ID::Message {
388 explicit PROTOBUF_CONSTEXPR
GobyMOOSAppConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
393 *
this = ::std::move(from);
401 if (
this == &from)
return *
this;
402 if (GetOwningArena() == from.GetOwningArena()
403 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
404 && GetOwningArena() !=
nullptr
415 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
418 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
421 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
422 return GetDescriptor();
425 return default_instance().GetMetadata().descriptor;
428 return default_instance().GetMetadata().reflection;
431 return *internal_default_instance();
437 static constexpr int kIndexInFileMessages =
444 if (other ==
this)
return;
445 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
446 if (GetOwningArena() !=
nullptr &&
447 GetOwningArena() == other->GetOwningArena()) {
449 if (GetOwningArena() == other->GetOwningArena()) {
453 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
457 if (other ==
this)
return;
458 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
465 return CreateMaybeMessage<GobyMOOSAppConfig>(arena);
467 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
469 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
471 GobyMOOSAppConfig::MergeImpl(*
this, from);
474 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
476 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
477 bool IsInitialized() const final;
480 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
481 uint8_t* _InternalSerialize(
482 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
483 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
486 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
488 void SetCachedSize(
int size)
const final;
492 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
493 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
494 return "goby.moos.protobuf.GobyMOOSAppConfig";
498 bool is_message_owned =
false);
502 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
504 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
513 kInitializerFieldNumber = 10,
514 kLogPathFieldNumber = 101,
515 kCommunityFieldNumber = 102,
516 kServerHostFieldNumber = 107,
517 kLogOmitFileTimestampFieldNumber = 111,
518 kLogOmitLatestSymlinkFieldNumber = 112,
519 kShowGuiFieldNumber = 4,
520 kUseBinaryProtobufFieldNumber = 109,
521 kServerPortFieldNumber = 108,
522 kLatOriginFieldNumber = 103,
523 kLonOriginFieldNumber = 104,
524 kMoosParserTechniqueFieldNumber = 110,
525 kAppTickFieldNumber = 1,
526 kCommTickFieldNumber = 2,
527 kVerbosityFieldNumber = 3,
528 kLogFieldNumber = 100,
529 kLogVerbosityFieldNumber = 105,
530 kTimeWarpMultiplierFieldNumber = 106,
533 int initializer_size()
const;
535 int _internal_initializer_size()
const;
537 void clear_initializer();
539 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer >*
540 mutable_initializer();
542 const ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer& _internal_initializer(
int index)
const;
545 const ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer& initializer(
int index)
const;
547 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer >&
551 bool has_log_path()
const;
553 bool _internal_has_log_path()
const;
555 void clear_log_path();
556 const std::string& log_path()
const;
557 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
559 std::string* mutable_log_path();
560 PROTOBUF_NODISCARD std::string* release_log_path();
561 void set_allocated_log_path(std::string* log_path);
563 const std::string& _internal_log_path()
const;
564 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_log_path(
const std::string& value);
565 std::string* _internal_mutable_log_path();
569 bool has_community()
const;
571 bool _internal_has_community()
const;
573 void clear_community();
574 const std::string& community()
const;
575 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
577 std::string* mutable_community();
578 PROTOBUF_NODISCARD std::string* release_community();
579 void set_allocated_community(std::string* community);
581 const std::string& _internal_community()
const;
582 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_community(
const std::string& value);
583 std::string* _internal_mutable_community();
587 bool has_server_host()
const;
589 bool _internal_has_server_host()
const;
591 void clear_server_host();
592 const std::string& server_host()
const;
593 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
595 std::string* mutable_server_host();
596 PROTOBUF_NODISCARD std::string* release_server_host();
597 void set_allocated_server_host(std::string* server_host);
599 const std::string& _internal_server_host()
const;
600 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_server_host(
const std::string& value);
601 std::string* _internal_mutable_server_host();
605 bool has_log_omit_file_timestamp()
const;
607 bool _internal_has_log_omit_file_timestamp()
const;
609 void clear_log_omit_file_timestamp();
610 bool log_omit_file_timestamp()
const;
611 void set_log_omit_file_timestamp(
bool value);
613 bool _internal_log_omit_file_timestamp()
const;
614 void _internal_set_log_omit_file_timestamp(
bool value);
618 bool has_log_omit_latest_symlink()
const;
620 bool _internal_has_log_omit_latest_symlink()
const;
622 void clear_log_omit_latest_symlink();
623 bool log_omit_latest_symlink()
const;
624 void set_log_omit_latest_symlink(
bool value);
626 bool _internal_log_omit_latest_symlink()
const;
627 void _internal_set_log_omit_latest_symlink(
bool value);
631 bool has_show_gui()
const;
633 bool _internal_has_show_gui()
const;
635 void clear_show_gui();
636 bool show_gui()
const;
637 void set_show_gui(
bool value);
639 bool _internal_show_gui()
const;
640 void _internal_set_show_gui(
bool value);
644 bool has_use_binary_protobuf()
const;
646 bool _internal_has_use_binary_protobuf()
const;
648 void clear_use_binary_protobuf();
649 bool use_binary_protobuf()
const;
650 void set_use_binary_protobuf(
bool value);
652 bool _internal_use_binary_protobuf()
const;
653 void _internal_set_use_binary_protobuf(
bool value);
657 bool has_server_port()
const;
659 bool _internal_has_server_port()
const;
661 void clear_server_port();
662 int32_t server_port()
const;
663 void set_server_port(int32_t value);
665 int32_t _internal_server_port()
const;
666 void _internal_set_server_port(int32_t value);
670 bool has_lat_origin()
const;
672 bool _internal_has_lat_origin()
const;
674 void clear_lat_origin();
675 double lat_origin()
const;
676 void set_lat_origin(
double value);
678 double _internal_lat_origin()
const;
679 void _internal_set_lat_origin(
double value);
683 bool has_lon_origin()
const;
685 bool _internal_has_lon_origin()
const;
687 void clear_lon_origin();
688 double lon_origin()
const;
689 void set_lon_origin(
double value);
691 double _internal_lon_origin()
const;
692 void _internal_set_lon_origin(
double value);
696 bool has_moos_parser_technique()
const;
698 bool _internal_has_moos_parser_technique()
const;
700 void clear_moos_parser_technique();
709 bool has_app_tick()
const;
711 bool _internal_has_app_tick()
const;
713 void clear_app_tick();
714 uint32_t app_tick()
const;
715 void set_app_tick(uint32_t value);
717 uint32_t _internal_app_tick()
const;
718 void _internal_set_app_tick(uint32_t value);
722 bool has_comm_tick()
const;
724 bool _internal_has_comm_tick()
const;
726 void clear_comm_tick();
727 uint32_t comm_tick()
const;
728 void set_comm_tick(uint32_t value);
730 uint32_t _internal_comm_tick()
const;
731 void _internal_set_comm_tick(uint32_t value);
735 bool has_verbosity()
const;
737 bool _internal_has_verbosity()
const;
739 void clear_verbosity();
748 bool has_log()
const;
750 bool _internal_has_log()
const;
754 void set_log(
bool value);
756 bool _internal_log()
const;
757 void _internal_set_log(
bool value);
761 bool has_log_verbosity()
const;
763 bool _internal_has_log_verbosity()
const;
765 void clear_log_verbosity();
774 bool has_time_warp_multiplier()
const;
776 bool _internal_has_time_warp_multiplier()
const;
778 void clear_time_warp_multiplier();
779 uint32_t time_warp_multiplier()
const;
780 void set_time_warp_multiplier(uint32_t value);
782 uint32_t _internal_time_warp_multiplier()
const;
783 void _internal_set_time_warp_multiplier(uint32_t value);
790 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
791 typedef void InternalArenaConstructable_;
792 typedef void DestructorSkippable_;
794 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
795 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
796 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer > initializer_;
797 static const ::PROTOBUF_NAMESPACE_ID::internal::LazyString _i_give_permission_to_break_this_code_default_log_path_;
798 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr log_path_;
799 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr community_;
800 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr server_host_;
801 bool log_omit_file_timestamp_;
802 bool log_omit_latest_symlink_;
804 bool use_binary_protobuf_;
805 int32_t server_port_;
808 int moos_parser_technique_;
814 uint32_t time_warp_multiplier_;
817 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto;
825 #pragma GCC diagnostic push
826 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
831inline bool GobyMOOSAppConfig_Initializer::_internal_has_type()
const {
832 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
835inline bool GobyMOOSAppConfig_Initializer::has_type()
const {
836 return _internal_has_type();
838inline void GobyMOOSAppConfig_Initializer::clear_type() {
840 _impl_._has_bits_[0] &= ~0x00000010u;
842inline ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type GobyMOOSAppConfig_Initializer::_internal_type()
const {
845inline ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type GobyMOOSAppConfig_Initializer::type()
const {
847 return _internal_type();
851 _impl_._has_bits_[0] |= 0x00000010u;
852 _impl_.type_ = value;
855 _internal_set_type(value);
860inline bool GobyMOOSAppConfig_Initializer::_internal_has_moos_var()
const {
861 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
864inline bool GobyMOOSAppConfig_Initializer::has_moos_var()
const {
865 return _internal_has_moos_var();
867inline void GobyMOOSAppConfig_Initializer::clear_moos_var() {
868 _impl_.moos_var_.ClearToEmpty();
869 _impl_._has_bits_[0] &= ~0x00000001u;
871inline const std::string& GobyMOOSAppConfig_Initializer::moos_var()
const {
873 return _internal_moos_var();
875template <
typename ArgT0,
typename... ArgT>
876inline PROTOBUF_ALWAYS_INLINE
877void GobyMOOSAppConfig_Initializer::set_moos_var(ArgT0&& arg0, ArgT... args) {
878 _impl_._has_bits_[0] |= 0x00000001u;
879 _impl_.moos_var_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
882inline std::string* GobyMOOSAppConfig_Initializer::mutable_moos_var() {
883 std::string* _s = _internal_mutable_moos_var();
887inline const std::string& GobyMOOSAppConfig_Initializer::_internal_moos_var()
const {
888 return _impl_.moos_var_.Get();
890inline void GobyMOOSAppConfig_Initializer::_internal_set_moos_var(
const std::string& value) {
891 _impl_._has_bits_[0] |= 0x00000001u;
892 _impl_.moos_var_.Set(value, GetArenaForAllocation());
894inline std::string* GobyMOOSAppConfig_Initializer::_internal_mutable_moos_var() {
895 _impl_._has_bits_[0] |= 0x00000001u;
896 return _impl_.moos_var_.Mutable(GetArenaForAllocation());
898inline std::string* GobyMOOSAppConfig_Initializer::release_moos_var() {
900 if (!_internal_has_moos_var()) {
903 _impl_._has_bits_[0] &= ~0x00000001u;
904 auto* p = _impl_.moos_var_.Release();
905#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
906 if (_impl_.moos_var_.IsDefault()) {
907 _impl_.moos_var_.Set(
"", GetArenaForAllocation());
912inline void GobyMOOSAppConfig_Initializer::set_allocated_moos_var(std::string* moos_var) {
913 if (moos_var !=
nullptr) {
914 _impl_._has_bits_[0] |= 0x00000001u;
916 _impl_._has_bits_[0] &= ~0x00000001u;
918 _impl_.moos_var_.SetAllocated(moos_var, GetArenaForAllocation());
919#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
920 if (_impl_.moos_var_.IsDefault()) {
921 _impl_.moos_var_.Set(
"", GetArenaForAllocation());
928inline bool GobyMOOSAppConfig_Initializer::_internal_has_global_cfg_var()
const {
929 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
932inline bool GobyMOOSAppConfig_Initializer::has_global_cfg_var()
const {
933 return _internal_has_global_cfg_var();
935inline void GobyMOOSAppConfig_Initializer::clear_global_cfg_var() {
936 _impl_.global_cfg_var_.ClearToEmpty();
937 _impl_._has_bits_[0] &= ~0x00000002u;
939inline const std::string& GobyMOOSAppConfig_Initializer::global_cfg_var()
const {
941 return _internal_global_cfg_var();
943template <
typename ArgT0,
typename... ArgT>
944inline PROTOBUF_ALWAYS_INLINE
945void GobyMOOSAppConfig_Initializer::set_global_cfg_var(ArgT0&& arg0, ArgT... args) {
946 _impl_._has_bits_[0] |= 0x00000002u;
947 _impl_.global_cfg_var_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
950inline std::string* GobyMOOSAppConfig_Initializer::mutable_global_cfg_var() {
951 std::string* _s = _internal_mutable_global_cfg_var();
955inline const std::string& GobyMOOSAppConfig_Initializer::_internal_global_cfg_var()
const {
956 return _impl_.global_cfg_var_.Get();
958inline void GobyMOOSAppConfig_Initializer::_internal_set_global_cfg_var(
const std::string& value) {
959 _impl_._has_bits_[0] |= 0x00000002u;
960 _impl_.global_cfg_var_.Set(value, GetArenaForAllocation());
962inline std::string* GobyMOOSAppConfig_Initializer::_internal_mutable_global_cfg_var() {
963 _impl_._has_bits_[0] |= 0x00000002u;
964 return _impl_.global_cfg_var_.Mutable(GetArenaForAllocation());
966inline std::string* GobyMOOSAppConfig_Initializer::release_global_cfg_var() {
968 if (!_internal_has_global_cfg_var()) {
971 _impl_._has_bits_[0] &= ~0x00000002u;
972 auto* p = _impl_.global_cfg_var_.Release();
973#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
974 if (_impl_.global_cfg_var_.IsDefault()) {
975 _impl_.global_cfg_var_.Set(
"", GetArenaForAllocation());
980inline void GobyMOOSAppConfig_Initializer::set_allocated_global_cfg_var(std::string* global_cfg_var) {
981 if (global_cfg_var !=
nullptr) {
982 _impl_._has_bits_[0] |= 0x00000002u;
984 _impl_._has_bits_[0] &= ~0x00000002u;
986 _impl_.global_cfg_var_.SetAllocated(global_cfg_var, GetArenaForAllocation());
987#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
988 if (_impl_.global_cfg_var_.IsDefault()) {
989 _impl_.global_cfg_var_.Set(
"", GetArenaForAllocation());
996inline bool GobyMOOSAppConfig_Initializer::_internal_has_dval()
const {
997 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1000inline bool GobyMOOSAppConfig_Initializer::has_dval()
const {
1001 return _internal_has_dval();
1003inline void GobyMOOSAppConfig_Initializer::clear_dval() {
1005 _impl_._has_bits_[0] &= ~0x00000008u;
1007inline double GobyMOOSAppConfig_Initializer::_internal_dval()
const {
1008 return _impl_.dval_;
1010inline double GobyMOOSAppConfig_Initializer::dval()
const {
1012 return _internal_dval();
1014inline void GobyMOOSAppConfig_Initializer::_internal_set_dval(
double value) {
1015 _impl_._has_bits_[0] |= 0x00000008u;
1016 _impl_.dval_ = value;
1018inline void GobyMOOSAppConfig_Initializer::set_dval(
double value) {
1019 _internal_set_dval(value);
1024inline bool GobyMOOSAppConfig_Initializer::_internal_has_sval()
const {
1025 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1028inline bool GobyMOOSAppConfig_Initializer::has_sval()
const {
1029 return _internal_has_sval();
1031inline void GobyMOOSAppConfig_Initializer::clear_sval() {
1032 _impl_.sval_.ClearToEmpty();
1033 _impl_._has_bits_[0] &= ~0x00000004u;
1035inline const std::string& GobyMOOSAppConfig_Initializer::sval()
const {
1037 return _internal_sval();
1039template <
typename ArgT0,
typename... ArgT>
1040inline PROTOBUF_ALWAYS_INLINE
1041void GobyMOOSAppConfig_Initializer::set_sval(ArgT0&& arg0, ArgT... args) {
1042 _impl_._has_bits_[0] |= 0x00000004u;
1043 _impl_.sval_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1046inline std::string* GobyMOOSAppConfig_Initializer::mutable_sval() {
1047 std::string* _s = _internal_mutable_sval();
1051inline const std::string& GobyMOOSAppConfig_Initializer::_internal_sval()
const {
1052 return _impl_.sval_.Get();
1054inline void GobyMOOSAppConfig_Initializer::_internal_set_sval(
const std::string& value) {
1055 _impl_._has_bits_[0] |= 0x00000004u;
1056 _impl_.sval_.Set(value, GetArenaForAllocation());
1058inline std::string* GobyMOOSAppConfig_Initializer::_internal_mutable_sval() {
1059 _impl_._has_bits_[0] |= 0x00000004u;
1060 return _impl_.sval_.Mutable(GetArenaForAllocation());
1062inline std::string* GobyMOOSAppConfig_Initializer::release_sval() {
1064 if (!_internal_has_sval()) {
1067 _impl_._has_bits_[0] &= ~0x00000004u;
1068 auto* p = _impl_.sval_.Release();
1069#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1070 if (_impl_.sval_.IsDefault()) {
1071 _impl_.sval_.Set(
"", GetArenaForAllocation());
1076inline void GobyMOOSAppConfig_Initializer::set_allocated_sval(std::string* sval) {
1077 if (sval !=
nullptr) {
1078 _impl_._has_bits_[0] |= 0x00000004u;
1080 _impl_._has_bits_[0] &= ~0x00000004u;
1082 _impl_.sval_.SetAllocated(sval, GetArenaForAllocation());
1083#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1084 if (_impl_.sval_.IsDefault()) {
1085 _impl_.sval_.Set(
"", GetArenaForAllocation());
1092inline bool GobyMOOSAppConfig_Initializer::_internal_has_trim()
const {
1093 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1096inline bool GobyMOOSAppConfig_Initializer::has_trim()
const {
1097 return _internal_has_trim();
1099inline void GobyMOOSAppConfig_Initializer::clear_trim() {
1100 _impl_.trim_ =
true;
1101 _impl_._has_bits_[0] &= ~0x00000020u;
1103inline bool GobyMOOSAppConfig_Initializer::_internal_trim()
const {
1104 return _impl_.trim_;
1106inline bool GobyMOOSAppConfig_Initializer::trim()
const {
1108 return _internal_trim();
1110inline void GobyMOOSAppConfig_Initializer::_internal_set_trim(
bool value) {
1111 _impl_._has_bits_[0] |= 0x00000020u;
1112 _impl_.trim_ = value;
1114inline void GobyMOOSAppConfig_Initializer::set_trim(
bool value) {
1115 _internal_set_trim(value);
1124inline bool GobyMOOSAppConfig::_internal_has_log()
const {
1125 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
1128inline bool GobyMOOSAppConfig::has_log()
const {
1129 return _internal_has_log();
1131inline void GobyMOOSAppConfig::clear_log() {
1133 _impl_._has_bits_[0] &= ~0x00004000u;
1135inline bool GobyMOOSAppConfig::_internal_log()
const {
1138inline bool GobyMOOSAppConfig::log()
const {
1140 return _internal_log();
1142inline void GobyMOOSAppConfig::_internal_set_log(
bool value) {
1143 _impl_._has_bits_[0] |= 0x00004000u;
1144 _impl_.log_ = value;
1146inline void GobyMOOSAppConfig::set_log(
bool value) {
1147 _internal_set_log(value);
1152inline bool GobyMOOSAppConfig::_internal_has_log_path()
const {
1153 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1156inline bool GobyMOOSAppConfig::has_log_path()
const {
1157 return _internal_has_log_path();
1159inline void GobyMOOSAppConfig::clear_log_path() {
1160 _impl_.log_path_.ClearToDefault(::goby::moos::protobuf::GobyMOOSAppConfig::Impl_::_i_give_permission_to_break_this_code_default_log_path_, GetArenaForAllocation());
1161 _impl_._has_bits_[0] &= ~0x00000001u;
1163inline const std::string& GobyMOOSAppConfig::log_path()
const {
1165 if (_impl_.log_path_.IsDefault())
return Impl_::_i_give_permission_to_break_this_code_default_log_path_.get();
1166 return _internal_log_path();
1168template <
typename ArgT0,
typename... ArgT>
1169inline PROTOBUF_ALWAYS_INLINE
1170void GobyMOOSAppConfig::set_log_path(ArgT0&& arg0, ArgT... args) {
1171 _impl_._has_bits_[0] |= 0x00000001u;
1172 _impl_.log_path_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1175inline std::string* GobyMOOSAppConfig::mutable_log_path() {
1176 std::string* _s = _internal_mutable_log_path();
1180inline const std::string& GobyMOOSAppConfig::_internal_log_path()
const {
1181 return _impl_.log_path_.Get();
1183inline void GobyMOOSAppConfig::_internal_set_log_path(
const std::string& value) {
1184 _impl_._has_bits_[0] |= 0x00000001u;
1185 _impl_.log_path_.Set(value, GetArenaForAllocation());
1187inline std::string* GobyMOOSAppConfig::_internal_mutable_log_path() {
1188 _impl_._has_bits_[0] |= 0x00000001u;
1189 return _impl_.log_path_.Mutable(::goby::moos::protobuf::GobyMOOSAppConfig::Impl_::_i_give_permission_to_break_this_code_default_log_path_, GetArenaForAllocation());
1191inline std::string* GobyMOOSAppConfig::release_log_path() {
1193 if (!_internal_has_log_path()) {
1196 _impl_._has_bits_[0] &= ~0x00000001u;
1197 auto* p = _impl_.log_path_.Release();
1200inline void GobyMOOSAppConfig::set_allocated_log_path(std::string* log_path) {
1201 if (log_path !=
nullptr) {
1202 _impl_._has_bits_[0] |= 0x00000001u;
1204 _impl_._has_bits_[0] &= ~0x00000001u;
1206 _impl_.log_path_.SetAllocated(log_path, GetArenaForAllocation());
1211inline bool GobyMOOSAppConfig::_internal_has_log_omit_file_timestamp()
const {
1212 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1215inline bool GobyMOOSAppConfig::has_log_omit_file_timestamp()
const {
1216 return _internal_has_log_omit_file_timestamp();
1218inline void GobyMOOSAppConfig::clear_log_omit_file_timestamp() {
1219 _impl_.log_omit_file_timestamp_ =
false;
1220 _impl_._has_bits_[0] &= ~0x00000008u;
1222inline bool GobyMOOSAppConfig::_internal_log_omit_file_timestamp()
const {
1223 return _impl_.log_omit_file_timestamp_;
1225inline bool GobyMOOSAppConfig::log_omit_file_timestamp()
const {
1227 return _internal_log_omit_file_timestamp();
1229inline void GobyMOOSAppConfig::_internal_set_log_omit_file_timestamp(
bool value) {
1230 _impl_._has_bits_[0] |= 0x00000008u;
1231 _impl_.log_omit_file_timestamp_ = value;
1233inline void GobyMOOSAppConfig::set_log_omit_file_timestamp(
bool value) {
1234 _internal_set_log_omit_file_timestamp(value);
1239inline bool GobyMOOSAppConfig::_internal_has_log_omit_latest_symlink()
const {
1240 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1243inline bool GobyMOOSAppConfig::has_log_omit_latest_symlink()
const {
1244 return _internal_has_log_omit_latest_symlink();
1246inline void GobyMOOSAppConfig::clear_log_omit_latest_symlink() {
1247 _impl_.log_omit_latest_symlink_ =
false;
1248 _impl_._has_bits_[0] &= ~0x00000010u;
1250inline bool GobyMOOSAppConfig::_internal_log_omit_latest_symlink()
const {
1251 return _impl_.log_omit_latest_symlink_;
1253inline bool GobyMOOSAppConfig::log_omit_latest_symlink()
const {
1255 return _internal_log_omit_latest_symlink();
1257inline void GobyMOOSAppConfig::_internal_set_log_omit_latest_symlink(
bool value) {
1258 _impl_._has_bits_[0] |= 0x00000010u;
1259 _impl_.log_omit_latest_symlink_ = value;
1261inline void GobyMOOSAppConfig::set_log_omit_latest_symlink(
bool value) {
1262 _internal_set_log_omit_latest_symlink(value);
1267inline bool GobyMOOSAppConfig::_internal_has_log_verbosity()
const {
1268 bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
1271inline bool GobyMOOSAppConfig::has_log_verbosity()
const {
1272 return _internal_has_log_verbosity();
1274inline void GobyMOOSAppConfig::clear_log_verbosity() {
1275 _impl_.log_verbosity_ = 6;
1276 _impl_._has_bits_[0] &= ~0x00008000u;
1278inline ::goby::util::protobuf::GLogConfig_Verbosity GobyMOOSAppConfig::_internal_log_verbosity()
const {
1281inline ::goby::util::protobuf::GLogConfig_Verbosity GobyMOOSAppConfig::log_verbosity()
const {
1283 return _internal_log_verbosity();
1287 _impl_._has_bits_[0] |= 0x00008000u;
1288 _impl_.log_verbosity_ = value;
1291 _internal_set_log_verbosity(value);
1296inline bool GobyMOOSAppConfig::_internal_has_community()
const {
1297 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1300inline bool GobyMOOSAppConfig::has_community()
const {
1301 return _internal_has_community();
1303inline void GobyMOOSAppConfig::clear_community() {
1304 _impl_.community_.ClearToEmpty();
1305 _impl_._has_bits_[0] &= ~0x00000002u;
1307inline const std::string& GobyMOOSAppConfig::community()
const {
1309 return _internal_community();
1311template <
typename ArgT0,
typename... ArgT>
1312inline PROTOBUF_ALWAYS_INLINE
1313void GobyMOOSAppConfig::set_community(ArgT0&& arg0, ArgT... args) {
1314 _impl_._has_bits_[0] |= 0x00000002u;
1315 _impl_.community_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1318inline std::string* GobyMOOSAppConfig::mutable_community() {
1319 std::string* _s = _internal_mutable_community();
1323inline const std::string& GobyMOOSAppConfig::_internal_community()
const {
1324 return _impl_.community_.Get();
1326inline void GobyMOOSAppConfig::_internal_set_community(
const std::string& value) {
1327 _impl_._has_bits_[0] |= 0x00000002u;
1328 _impl_.community_.Set(value, GetArenaForAllocation());
1330inline std::string* GobyMOOSAppConfig::_internal_mutable_community() {
1331 _impl_._has_bits_[0] |= 0x00000002u;
1332 return _impl_.community_.Mutable(GetArenaForAllocation());
1334inline std::string* GobyMOOSAppConfig::release_community() {
1336 if (!_internal_has_community()) {
1339 _impl_._has_bits_[0] &= ~0x00000002u;
1340 auto* p = _impl_.community_.Release();
1341#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1342 if (_impl_.community_.IsDefault()) {
1343 _impl_.community_.Set(
"", GetArenaForAllocation());
1348inline void GobyMOOSAppConfig::set_allocated_community(std::string* community) {
1349 if (community !=
nullptr) {
1350 _impl_._has_bits_[0] |= 0x00000002u;
1352 _impl_._has_bits_[0] &= ~0x00000002u;
1354 _impl_.community_.SetAllocated(community, GetArenaForAllocation());
1355#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1356 if (_impl_.community_.IsDefault()) {
1357 _impl_.community_.Set(
"", GetArenaForAllocation());
1364inline bool GobyMOOSAppConfig::_internal_has_lat_origin()
const {
1365 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1368inline bool GobyMOOSAppConfig::has_lat_origin()
const {
1369 return _internal_has_lat_origin();
1371inline void GobyMOOSAppConfig::clear_lat_origin() {
1372 _impl_.lat_origin_ = 0;
1373 _impl_._has_bits_[0] &= ~0x00000100u;
1375inline double GobyMOOSAppConfig::_internal_lat_origin()
const {
1376 return _impl_.lat_origin_;
1378inline double GobyMOOSAppConfig::lat_origin()
const {
1380 return _internal_lat_origin();
1382inline void GobyMOOSAppConfig::_internal_set_lat_origin(
double value) {
1383 _impl_._has_bits_[0] |= 0x00000100u;
1384 _impl_.lat_origin_ = value;
1386inline void GobyMOOSAppConfig::set_lat_origin(
double value) {
1387 _internal_set_lat_origin(value);
1392inline bool GobyMOOSAppConfig::_internal_has_lon_origin()
const {
1393 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1396inline bool GobyMOOSAppConfig::has_lon_origin()
const {
1397 return _internal_has_lon_origin();
1399inline void GobyMOOSAppConfig::clear_lon_origin() {
1400 _impl_.lon_origin_ = 0;
1401 _impl_._has_bits_[0] &= ~0x00000200u;
1403inline double GobyMOOSAppConfig::_internal_lon_origin()
const {
1404 return _impl_.lon_origin_;
1406inline double GobyMOOSAppConfig::lon_origin()
const {
1408 return _internal_lon_origin();
1410inline void GobyMOOSAppConfig::_internal_set_lon_origin(
double value) {
1411 _impl_._has_bits_[0] |= 0x00000200u;
1412 _impl_.lon_origin_ = value;
1414inline void GobyMOOSAppConfig::set_lon_origin(
double value) {
1415 _internal_set_lon_origin(value);
1420inline bool GobyMOOSAppConfig::_internal_has_time_warp_multiplier()
const {
1421 bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
1424inline bool GobyMOOSAppConfig::has_time_warp_multiplier()
const {
1425 return _internal_has_time_warp_multiplier();
1427inline void GobyMOOSAppConfig::clear_time_warp_multiplier() {
1428 _impl_.time_warp_multiplier_ = 1u;
1429 _impl_._has_bits_[0] &= ~0x00010000u;
1431inline uint32_t GobyMOOSAppConfig::_internal_time_warp_multiplier()
const {
1432 return _impl_.time_warp_multiplier_;
1434inline uint32_t GobyMOOSAppConfig::time_warp_multiplier()
const {
1436 return _internal_time_warp_multiplier();
1438inline void GobyMOOSAppConfig::_internal_set_time_warp_multiplier(uint32_t value) {
1439 _impl_._has_bits_[0] |= 0x00010000u;
1440 _impl_.time_warp_multiplier_ = value;
1442inline void GobyMOOSAppConfig::set_time_warp_multiplier(uint32_t value) {
1443 _internal_set_time_warp_multiplier(value);
1448inline bool GobyMOOSAppConfig::_internal_has_server_host()
const {
1449 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1452inline bool GobyMOOSAppConfig::has_server_host()
const {
1453 return _internal_has_server_host();
1455inline void GobyMOOSAppConfig::clear_server_host() {
1456 _impl_.server_host_.ClearToEmpty();
1457 _impl_._has_bits_[0] &= ~0x00000004u;
1459inline const std::string& GobyMOOSAppConfig::server_host()
const {
1461 return _internal_server_host();
1463template <
typename ArgT0,
typename... ArgT>
1464inline PROTOBUF_ALWAYS_INLINE
1465void GobyMOOSAppConfig::set_server_host(ArgT0&& arg0, ArgT... args) {
1466 _impl_._has_bits_[0] |= 0x00000004u;
1467 _impl_.server_host_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
1470inline std::string* GobyMOOSAppConfig::mutable_server_host() {
1471 std::string* _s = _internal_mutable_server_host();
1475inline const std::string& GobyMOOSAppConfig::_internal_server_host()
const {
1476 return _impl_.server_host_.Get();
1478inline void GobyMOOSAppConfig::_internal_set_server_host(
const std::string& value) {
1479 _impl_._has_bits_[0] |= 0x00000004u;
1480 _impl_.server_host_.Set(value, GetArenaForAllocation());
1482inline std::string* GobyMOOSAppConfig::_internal_mutable_server_host() {
1483 _impl_._has_bits_[0] |= 0x00000004u;
1484 return _impl_.server_host_.Mutable(GetArenaForAllocation());
1486inline std::string* GobyMOOSAppConfig::release_server_host() {
1488 if (!_internal_has_server_host()) {
1491 _impl_._has_bits_[0] &= ~0x00000004u;
1492 auto* p = _impl_.server_host_.Release();
1493#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1494 if (_impl_.server_host_.IsDefault()) {
1495 _impl_.server_host_.Set(
"", GetArenaForAllocation());
1500inline void GobyMOOSAppConfig::set_allocated_server_host(std::string* server_host) {
1501 if (server_host !=
nullptr) {
1502 _impl_._has_bits_[0] |= 0x00000004u;
1504 _impl_._has_bits_[0] &= ~0x00000004u;
1506 _impl_.server_host_.SetAllocated(server_host, GetArenaForAllocation());
1507#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1508 if (_impl_.server_host_.IsDefault()) {
1509 _impl_.server_host_.Set(
"", GetArenaForAllocation());
1516inline bool GobyMOOSAppConfig::_internal_has_server_port()
const {
1517 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1520inline bool GobyMOOSAppConfig::has_server_port()
const {
1521 return _internal_has_server_port();
1523inline void GobyMOOSAppConfig::clear_server_port() {
1524 _impl_.server_port_ = 0;
1525 _impl_._has_bits_[0] &= ~0x00000080u;
1527inline int32_t GobyMOOSAppConfig::_internal_server_port()
const {
1528 return _impl_.server_port_;
1530inline int32_t GobyMOOSAppConfig::server_port()
const {
1532 return _internal_server_port();
1534inline void GobyMOOSAppConfig::_internal_set_server_port(int32_t value) {
1535 _impl_._has_bits_[0] |= 0x00000080u;
1536 _impl_.server_port_ = value;
1538inline void GobyMOOSAppConfig::set_server_port(int32_t value) {
1539 _internal_set_server_port(value);
1544inline bool GobyMOOSAppConfig::_internal_has_app_tick()
const {
1545 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
1548inline bool GobyMOOSAppConfig::has_app_tick()
const {
1549 return _internal_has_app_tick();
1551inline void GobyMOOSAppConfig::clear_app_tick() {
1552 _impl_.app_tick_ = 10u;
1553 _impl_._has_bits_[0] &= ~0x00000800u;
1555inline uint32_t GobyMOOSAppConfig::_internal_app_tick()
const {
1556 return _impl_.app_tick_;
1558inline uint32_t GobyMOOSAppConfig::app_tick()
const {
1560 return _internal_app_tick();
1562inline void GobyMOOSAppConfig::_internal_set_app_tick(uint32_t value) {
1563 _impl_._has_bits_[0] |= 0x00000800u;
1564 _impl_.app_tick_ = value;
1566inline void GobyMOOSAppConfig::set_app_tick(uint32_t value) {
1567 _internal_set_app_tick(value);
1572inline bool GobyMOOSAppConfig::_internal_has_comm_tick()
const {
1573 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
1576inline bool GobyMOOSAppConfig::has_comm_tick()
const {
1577 return _internal_has_comm_tick();
1579inline void GobyMOOSAppConfig::clear_comm_tick() {
1580 _impl_.comm_tick_ = 10u;
1581 _impl_._has_bits_[0] &= ~0x00001000u;
1583inline uint32_t GobyMOOSAppConfig::_internal_comm_tick()
const {
1584 return _impl_.comm_tick_;
1586inline uint32_t GobyMOOSAppConfig::comm_tick()
const {
1588 return _internal_comm_tick();
1590inline void GobyMOOSAppConfig::_internal_set_comm_tick(uint32_t value) {
1591 _impl_._has_bits_[0] |= 0x00001000u;
1592 _impl_.comm_tick_ = value;
1594inline void GobyMOOSAppConfig::set_comm_tick(uint32_t value) {
1595 _internal_set_comm_tick(value);
1600inline bool GobyMOOSAppConfig::_internal_has_verbosity()
const {
1601 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
1604inline bool GobyMOOSAppConfig::has_verbosity()
const {
1605 return _internal_has_verbosity();
1607inline void GobyMOOSAppConfig::clear_verbosity() {
1608 _impl_.verbosity_ = 4;
1609 _impl_._has_bits_[0] &= ~0x00002000u;
1611inline ::goby::util::protobuf::GLogConfig_Verbosity GobyMOOSAppConfig::_internal_verbosity()
const {
1614inline ::goby::util::protobuf::GLogConfig_Verbosity GobyMOOSAppConfig::verbosity()
const {
1616 return _internal_verbosity();
1620 _impl_._has_bits_[0] |= 0x00002000u;
1621 _impl_.verbosity_ = value;
1624 _internal_set_verbosity(value);
1629inline bool GobyMOOSAppConfig::_internal_has_show_gui()
const {
1630 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1633inline bool GobyMOOSAppConfig::has_show_gui()
const {
1634 return _internal_has_show_gui();
1636inline void GobyMOOSAppConfig::clear_show_gui() {
1637 _impl_.show_gui_ =
false;
1638 _impl_._has_bits_[0] &= ~0x00000020u;
1640inline bool GobyMOOSAppConfig::_internal_show_gui()
const {
1641 return _impl_.show_gui_;
1643inline bool GobyMOOSAppConfig::show_gui()
const {
1645 return _internal_show_gui();
1647inline void GobyMOOSAppConfig::_internal_set_show_gui(
bool value) {
1648 _impl_._has_bits_[0] |= 0x00000020u;
1649 _impl_.show_gui_ = value;
1651inline void GobyMOOSAppConfig::set_show_gui(
bool value) {
1652 _internal_set_show_gui(value);
1657inline bool GobyMOOSAppConfig::_internal_has_use_binary_protobuf()
const {
1658 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1661inline bool GobyMOOSAppConfig::has_use_binary_protobuf()
const {
1662 return _internal_has_use_binary_protobuf();
1664inline void GobyMOOSAppConfig::clear_use_binary_protobuf() {
1665 _impl_.use_binary_protobuf_ =
false;
1666 _impl_._has_bits_[0] &= ~0x00000040u;
1668inline bool GobyMOOSAppConfig::_internal_use_binary_protobuf()
const {
1669 return _impl_.use_binary_protobuf_;
1671inline bool GobyMOOSAppConfig::use_binary_protobuf()
const {
1673 return _internal_use_binary_protobuf();
1675inline void GobyMOOSAppConfig::_internal_set_use_binary_protobuf(
bool value) {
1676 _impl_._has_bits_[0] |= 0x00000040u;
1677 _impl_.use_binary_protobuf_ = value;
1679inline void GobyMOOSAppConfig::set_use_binary_protobuf(
bool value) {
1680 _internal_set_use_binary_protobuf(value);
1685inline bool GobyMOOSAppConfig::_internal_has_moos_parser_technique()
const {
1686 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
1689inline bool GobyMOOSAppConfig::has_moos_parser_technique()
const {
1690 return _internal_has_moos_parser_technique();
1692inline void GobyMOOSAppConfig::clear_moos_parser_technique() {
1693 _impl_.moos_parser_technique_ = 5;
1694 _impl_._has_bits_[0] &= ~0x00000400u;
1696inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique GobyMOOSAppConfig::_internal_moos_parser_technique()
const {
1699inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique GobyMOOSAppConfig::moos_parser_technique()
const {
1701 return _internal_moos_parser_technique();
1705 _impl_._has_bits_[0] |= 0x00000400u;
1706 _impl_.moos_parser_technique_ = value;
1709 _internal_set_moos_parser_technique(value);
1714inline int GobyMOOSAppConfig::_internal_initializer_size()
const {
1715 return _impl_.initializer_.size();
1717inline int GobyMOOSAppConfig::initializer_size()
const {
1718 return _internal_initializer_size();
1720inline void GobyMOOSAppConfig::clear_initializer() {
1721 _impl_.initializer_.Clear();
1723inline ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer* GobyMOOSAppConfig::mutable_initializer(
int index) {
1725 return _impl_.initializer_.Mutable(index);
1727inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer >*
1728GobyMOOSAppConfig::mutable_initializer() {
1730 return &_impl_.initializer_;
1732inline const ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer& GobyMOOSAppConfig::_internal_initializer(
int index)
const {
1733 return _impl_.initializer_.Get(index);
1735inline const ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer& GobyMOOSAppConfig::initializer(
int index)
const {
1737 return _internal_initializer(index);
1739inline ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer* GobyMOOSAppConfig::_internal_add_initializer() {
1740 return _impl_.initializer_.Add();
1742inline ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer* GobyMOOSAppConfig::add_initializer() {
1747inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer >&
1748GobyMOOSAppConfig::initializer()
const {
1750 return _impl_.initializer_;
1754 #pragma GCC diagnostic pop
1765PROTOBUF_NAMESPACE_OPEN
1770 return ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type_descriptor();
1773PROTOBUF_NAMESPACE_CLOSE
1777#include <google/protobuf/port_undef.inc>
void set_dval(double value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const std::string & moos_var() const
static constexpr Type Type_MIN
size_t ByteSizeLong() const final
void set_allocated_moos_var(std::string *moos_var)
void set_allocated_global_cfg_var(std::string *global_cfg_var)
bool has_global_cfg_var() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void CopyFrom(const GobyMOOSAppConfig_Initializer &from)
std::string * mutable_moos_var()
void set_type(::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ClassData _class_data_
void MergeFrom(const GobyMOOSAppConfig_Initializer &from)
void Swap(GobyMOOSAppConfig_Initializer *other)
bool has_moos_var() const
static constexpr int kIndexInFileMessages
static const GobyMOOSAppConfig_Initializer & default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
GobyMOOSAppConfig_Initializer * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_trim(bool value)
GobyMOOSAppConfig_Initializer(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static constexpr Type Type_MAX
const std::string & global_cfg_var() const
static const GobyMOOSAppConfig_Initializer * internal_default_instance()
GobyMOOSAppConfig_Initializer & operator=(const GobyMOOSAppConfig_Initializer &from)
GobyMOOSAppConfig_Initializer(GobyMOOSAppConfig_Initializer &&from) noexcept
::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type type() const
void UnsafeArenaSwap(GobyMOOSAppConfig_Initializer *other)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
@ kGlobalCfgVarFieldNumber
friend void swap(GobyMOOSAppConfig_Initializer &a, GobyMOOSAppConfig_Initializer &b)
PROTOBUF_NODISCARD std::string * release_global_cfg_var()
int GetCachedSize() const final
void set_moos_var(ArgT0 &&arg0, ArgT... args)
PROTOBUF_CONSTEXPR GobyMOOSAppConfig_Initializer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
~GobyMOOSAppConfig_Initializer() override
GobyMOOSAppConfig_Initializer(const GobyMOOSAppConfig_Initializer &from)
std::string * mutable_global_cfg_var()
std::string * mutable_sval()
static bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type *value)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static constexpr Type INI_STRING
void clear_global_cfg_var()
static const std::string & Type_Name(T enum_t_value)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PROTOBUF_NODISCARD std::string * release_moos_var()
static bool Type_IsValid(int value)
GobyMOOSAppConfig_Initializer()
static constexpr int Type_ARRAYSIZE
bool IsInitialized() const final
void set_sval(ArgT0 &&arg0, ArgT... args)
GobyMOOSAppConfig_Initializer & operator=(GobyMOOSAppConfig_Initializer &&from) noexcept
void set_allocated_sval(std::string *sval)
static constexpr Type INI_DOUBLE
void set_global_cfg_var(ArgT0 &&arg0, ArgT... args)
const std::string & sval() const
PROTOBUF_NODISCARD std::string * release_sval()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
void set_server_host(ArgT0 &&arg0, ArgT... args)
void Swap(GobyMOOSAppConfig *other)
static const ClassData _class_data_
void set_log_path(ArgT0 &&arg0, ArgT... args)
~GobyMOOSAppConfig() override
GobyMOOSAppConfig & operator=(GobyMOOSAppConfig &&from) noexcept
void MergeFrom(const GobyMOOSAppConfig &from)
PROTOBUF_CONSTEXPR GobyMOOSAppConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
GobyMOOSAppConfig(GobyMOOSAppConfig &&from) noexcept
GobyMOOSAppConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
GobyMOOSAppConfig & operator=(const GobyMOOSAppConfig &from)
static const GobyMOOSAppConfig * internal_default_instance()
void set_community(ArgT0 &&arg0, ArgT... args)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
friend void swap(GobyMOOSAppConfig &a, GobyMOOSAppConfig &b)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
GobyMOOSAppConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void UnsafeArenaSwap(GobyMOOSAppConfig *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void CopyFrom(const GobyMOOSAppConfig &from)
GobyMOOSAppConfig(const GobyMOOSAppConfig &from)
static const GobyMOOSAppConfig & default_instance()
const EnumDescriptor * GetEnumDescriptor< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto
constexpr int GobyMOOSAppConfig_Initializer_Type_Type_ARRAYSIZE
bool TranslatorEntry_ParserSerializerTechnique_IsValid(int value)
GobyMOOSAppConfigDefaultTypeInternal _GobyMOOSAppConfig_default_instance_
GobyMOOSAppConfig_Initializer_Type
@ GobyMOOSAppConfig_Initializer_Type_INI_DOUBLE
@ GobyMOOSAppConfig_Initializer_Type_INI_STRING
GobyMOOSAppConfig_InitializerDefaultTypeInternal _GobyMOOSAppConfig_Initializer_default_instance_
TranslatorEntry_ParserSerializerTechnique
constexpr GobyMOOSAppConfig_Initializer_Type GobyMOOSAppConfig_Initializer_Type_Type_MAX
const std::string & GobyMOOSAppConfig_Initializer_Type_Name(T enum_t_value)
bool GobyMOOSAppConfig_Initializer_Type_IsValid(int value)
constexpr GobyMOOSAppConfig_Initializer_Type GobyMOOSAppConfig_Initializer_Type_Type_MIN
bool GobyMOOSAppConfig_Initializer_Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GobyMOOSAppConfig_Initializer_Type *value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GobyMOOSAppConfig_Initializer_Type_descriptor()
bool GLogConfig_Verbosity_IsValid(int value)
The global namespace for the Goby project.
static const uint32_t offsets[]