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 < 3012000
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 3012004 < 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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.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 <google/protobuf/port_def.inc>
45 #define PROTOBUF_INTERNAL_EXPORT_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto
46 PROTOBUF_NAMESPACE_OPEN
50 PROTOBUF_NAMESPACE_CLOSE
54 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
56 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
68 class GobyMOOSAppConfig;
69 class GobyMOOSAppConfigDefaultTypeInternal;
71 class GobyMOOSAppConfig_Initializer;
72 class GobyMOOSAppConfig_InitializerDefaultTypeInternal;
77 PROTOBUF_NAMESPACE_OPEN
78 template<> ::goby::moos::protobuf::GobyMOOSAppConfig* Arena::CreateMaybeMessage<::goby::moos::protobuf::GobyMOOSAppConfig>(Arena*);
79 template<> ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer* Arena::CreateMaybeMessage<::goby::moos::protobuf::GobyMOOSAppConfig_Initializer>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
97 static_assert(::std::is_same<T, GobyMOOSAppConfig_Initializer_Type>::value ||
98 ::std::is_integral<T>::value,
99 "Incorrect type passed to function GobyMOOSAppConfig_Initializer_Type_Name.");
100 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
105 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GobyMOOSAppConfig_Initializer_Type>(
111 public ::PROTOBUF_NAMESPACE_ID::Message {
118 : GobyMOOSAppConfig_Initializer() {
119 *
this = ::std::move(from);
122 inline GobyMOOSAppConfig_Initializer&
operator=(
const GobyMOOSAppConfig_Initializer& from) {
126 inline GobyMOOSAppConfig_Initializer&
operator=(GobyMOOSAppConfig_Initializer&& from) noexcept {
127 if (GetArena() == from.GetArena()) {
128 if (
this != &from) InternalSwap(&from);
136 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
139 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
142 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
143 return GetDescriptor();
146 return GetMetadataStatic().descriptor;
149 return GetMetadataStatic().reflection;
155 return reinterpret_cast<const GobyMOOSAppConfig_Initializer*
>(
158 static constexpr
int kIndexInFileMessages =
161 friend void swap(GobyMOOSAppConfig_Initializer& a, GobyMOOSAppConfig_Initializer& b) {
164 inline void Swap(GobyMOOSAppConfig_Initializer* other) {
165 if (other ==
this)
return;
166 if (GetArena() == other->GetArena()) {
169 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
173 if (other ==
this)
return;
174 GOOGLE_DCHECK(GetArena() == other->GetArena());
180 inline GobyMOOSAppConfig_Initializer*
New() const final {
181 return CreateMaybeMessage<GobyMOOSAppConfig_Initializer>(
nullptr);
184 GobyMOOSAppConfig_Initializer*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
185 return CreateMaybeMessage<GobyMOOSAppConfig_Initializer>(arena);
187 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
188 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
189 void CopyFrom(
const GobyMOOSAppConfig_Initializer& from);
190 void MergeFrom(
const GobyMOOSAppConfig_Initializer& from);
191 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
192 bool IsInitialized() const final;
195 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
196 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
197 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
198 int GetCachedSize() const final {
return _cached_size_.Get(); }
201 inline void SharedCtor();
202 inline void SharedDtor();
203 void SetCachedSize(
int size)
const final;
204 void InternalSwap(GobyMOOSAppConfig_Initializer* other);
205 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
206 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
207 return "goby.moos.protobuf.GobyMOOSAppConfig.Initializer";
212 static void ArenaDtor(
void*
object);
213 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
218 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
228 static constexpr
Type INI_DOUBLE =
230 static constexpr
Type INI_STRING =
235 static constexpr
Type Type_MIN =
237 static constexpr
Type Type_MAX =
239 static constexpr
int Type_ARRAYSIZE =
241 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
246 static inline const std::string&
Type_Name(T enum_t_value) {
247 static_assert(::std::is_same<T, Type>::value ||
248 ::std::is_integral<T>::value,
249 "Incorrect type passed to function Type_Name.");
260 kMoosVarFieldNumber = 2,
261 kGlobalCfgVarFieldNumber = 3,
262 kSvalFieldNumber = 5,
263 kDvalFieldNumber = 4,
264 kTypeFieldNumber = 1,
265 kTrimFieldNumber = 6,
270 bool _internal_has_moos_var()
const;
281 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
282 " string fields are deprecated and will be removed in a"
284 std::
string* unsafe_arena_release_moos_var();
285 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
286 "
string fields are deprecated and will be removed in a"
288 void unsafe_arena_set_allocated_moos_var(
289 std::
string* moos_var);
291 const std::
string& _internal_moos_var() const;
292 void _internal_set_moos_var(const std::
string& value);
293 std::
string* _internal_mutable_moos_var();
297 bool has_global_cfg_var() const;
299 bool _internal_has_global_cfg_var() const;
301 void clear_global_cfg_var();
302 const std::
string& global_cfg_var() const;
303 void set_global_cfg_var(const std::
string& value);
304 void set_global_cfg_var(std::
string&& value);
305 void set_global_cfg_var(const
char* value);
306 void set_global_cfg_var(const
char* value,
size_t size);
307 std::
string* mutable_global_cfg_var();
308 std::
string* release_global_cfg_var();
309 void set_allocated_global_cfg_var(std::
string* global_cfg_var);
310 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
311 "
string fields are deprecated and will be removed in a"
313 std::
string* unsafe_arena_release_global_cfg_var();
314 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
315 "
string fields are deprecated and will be removed in a"
317 void unsafe_arena_set_allocated_global_cfg_var(
318 std::
string* global_cfg_var);
320 const std::
string& _internal_global_cfg_var() const;
321 void _internal_set_global_cfg_var(const std::
string& value);
322 std::
string* _internal_mutable_global_cfg_var();
326 bool has_sval() const;
328 bool _internal_has_sval() const;
331 const std::
string& sval() const;
332 void set_sval(const std::
string& value);
333 void set_sval(std::
string&& value);
334 void set_sval(const
char* value);
335 void set_sval(const
char* value,
size_t size);
336 std::
string* mutable_sval();
337 std::
string* release_sval();
338 void set_allocated_sval(std::
string* sval);
339 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
340 "
string fields are deprecated and will be removed in a"
342 std::
string* unsafe_arena_release_sval();
343 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
344 "
string fields are deprecated and will be removed in a"
346 void unsafe_arena_set_allocated_sval(
349 const std::
string& _internal_sval() const;
350 void _internal_set_sval(const std::
string& value);
351 std::
string* _internal_mutable_sval();
355 bool has_dval() const;
357 bool _internal_has_dval() const;
361 void set_dval(
double value);
363 double _internal_dval() const;
364 void _internal_set_dval(
double value);
368 bool has_type() const;
370 bool _internal_has_type() const;
381 bool has_trim() const;
383 bool _internal_has_trim() const;
387 void set_trim(
bool value);
389 bool _internal_trim() const;
390 void _internal_set_trim(
bool value);
398 size_t RequiredFieldsByteSizeFallback() const;
400 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
401 typedef
void InternalArenaConstructable_;
402 typedef
void DestructorSkippable_;
403 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
404 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
405 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr moos_var_;
406 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr global_cfg_var_;
407 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr sval_;
416 public ::PROTOBUF_NAMESPACE_ID::Message {
423 : GobyMOOSAppConfig() {
424 *
this = ::std::move(from);
427 inline GobyMOOSAppConfig&
operator=(
const GobyMOOSAppConfig& from) {
431 inline GobyMOOSAppConfig&
operator=(GobyMOOSAppConfig&& from) noexcept {
432 if (GetArena() == from.GetArena()) {
433 if (
this != &from) InternalSwap(&from);
441 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
444 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
447 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
448 return GetDescriptor();
451 return GetMetadataStatic().descriptor;
454 return GetMetadataStatic().reflection;
460 return reinterpret_cast<const GobyMOOSAppConfig*
>(
463 static constexpr
int kIndexInFileMessages =
466 friend void swap(GobyMOOSAppConfig& a, GobyMOOSAppConfig& b) {
469 inline void Swap(GobyMOOSAppConfig* other) {
470 if (other ==
this)
return;
471 if (GetArena() == other->GetArena()) {
474 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
478 if (other ==
this)
return;
479 GOOGLE_DCHECK(GetArena() == other->GetArena());
485 inline GobyMOOSAppConfig*
New() const final {
486 return CreateMaybeMessage<GobyMOOSAppConfig>(
nullptr);
489 GobyMOOSAppConfig*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
490 return CreateMaybeMessage<GobyMOOSAppConfig>(arena);
492 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
493 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
496 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
497 bool IsInitialized() const final;
500 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
501 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
502 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
503 int GetCachedSize() const final {
return _cached_size_.Get(); }
506 inline void SharedCtor();
507 inline void SharedDtor();
508 void SetCachedSize(
int size)
const final;
509 void InternalSwap(GobyMOOSAppConfig* other);
510 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
511 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
512 return "goby.moos.protobuf.GobyMOOSAppConfig";
517 static void ArenaDtor(
void*
object);
518 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
523 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
537 kInitializerFieldNumber = 10,
538 kLogPathFieldNumber = 101,
539 kCommunityFieldNumber = 102,
540 kServerHostFieldNumber = 107,
541 kLogOmitFileTimestampFieldNumber = 111,
542 kLogOmitLatestSymlinkFieldNumber = 112,
543 kShowGuiFieldNumber = 4,
544 kUseBinaryProtobufFieldNumber = 109,
545 kServerPortFieldNumber = 108,
546 kLatOriginFieldNumber = 103,
547 kLonOriginFieldNumber = 104,
548 kMoosParserTechniqueFieldNumber = 110,
549 kAppTickFieldNumber = 1,
550 kCommTickFieldNumber = 2,
551 kVerbosityFieldNumber = 3,
552 kLogFieldNumber = 100,
553 kLogVerbosityFieldNumber = 105,
554 kTimeWarpMultiplierFieldNumber = 106,
559 int _internal_initializer_size()
const;
563 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer >*
566 const ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer& _internal_initializer(
int index)
const;
567 ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer* _internal_add_initializer();
569 const ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer&
initializer(
int index)
const;
571 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer >&
577 bool _internal_has_log_path()
const;
588 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
589 " string fields are deprecated and will be removed in a"
591 std::
string* unsafe_arena_release_log_path();
592 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
593 "
string fields are deprecated and will be removed in a"
595 void unsafe_arena_set_allocated_log_path(
596 std::
string* log_path);
598 const std::
string& _internal_log_path() const;
599 void _internal_set_log_path(const std::
string& value);
600 std::
string* _internal_mutable_log_path();
604 bool has_community() const;
606 bool _internal_has_community() const;
608 void clear_community();
609 const std::
string& community() const;
610 void set_community(const std::
string& value);
611 void set_community(std::
string&& value);
612 void set_community(const
char* value);
613 void set_community(const
char* value,
size_t size);
614 std::
string* mutable_community();
615 std::
string* release_community();
616 void set_allocated_community(std::
string* community);
617 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
618 "
string fields are deprecated and will be removed in a"
620 std::
string* unsafe_arena_release_community();
621 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
622 "
string fields are deprecated and will be removed in a"
624 void unsafe_arena_set_allocated_community(
625 std::
string* community);
627 const std::
string& _internal_community() const;
628 void _internal_set_community(const std::
string& value);
629 std::
string* _internal_mutable_community();
633 bool has_server_host() const;
635 bool _internal_has_server_host() const;
637 void clear_server_host();
638 const std::
string& server_host() const;
639 void set_server_host(const std::
string& value);
640 void set_server_host(std::
string&& value);
641 void set_server_host(const
char* value);
642 void set_server_host(const
char* value,
size_t size);
643 std::
string* mutable_server_host();
644 std::
string* release_server_host();
645 void set_allocated_server_host(std::
string* server_host);
646 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
647 "
string fields are deprecated and will be removed in a"
649 std::
string* unsafe_arena_release_server_host();
650 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
651 "
string fields are deprecated and will be removed in a"
653 void unsafe_arena_set_allocated_server_host(
654 std::
string* server_host);
656 const std::
string& _internal_server_host() const;
657 void _internal_set_server_host(const std::
string& value);
658 std::
string* _internal_mutable_server_host();
662 bool has_log_omit_file_timestamp() const;
664 bool _internal_has_log_omit_file_timestamp() const;
666 void clear_log_omit_file_timestamp();
667 bool log_omit_file_timestamp() const;
668 void set_log_omit_file_timestamp(
bool value);
670 bool _internal_log_omit_file_timestamp() const;
671 void _internal_set_log_omit_file_timestamp(
bool value);
675 bool has_log_omit_latest_symlink() const;
677 bool _internal_has_log_omit_latest_symlink() const;
679 void clear_log_omit_latest_symlink();
680 bool log_omit_latest_symlink() const;
681 void set_log_omit_latest_symlink(
bool value);
683 bool _internal_log_omit_latest_symlink() const;
684 void _internal_set_log_omit_latest_symlink(
bool value);
688 bool has_show_gui() const;
690 bool _internal_has_show_gui() const;
692 void clear_show_gui();
693 bool show_gui() const;
694 void set_show_gui(
bool value);
696 bool _internal_show_gui() const;
697 void _internal_set_show_gui(
bool value);
701 bool has_use_binary_protobuf() const;
703 bool _internal_has_use_binary_protobuf() const;
705 void clear_use_binary_protobuf();
706 bool use_binary_protobuf() const;
707 void set_use_binary_protobuf(
bool value);
709 bool _internal_use_binary_protobuf() const;
710 void _internal_set_use_binary_protobuf(
bool value);
714 bool has_server_port() const;
716 bool _internal_has_server_port() const;
718 void clear_server_port();
719 ::PROTOBUF_NAMESPACE_ID::
int32 server_port() const;
720 void set_server_port(::PROTOBUF_NAMESPACE_ID::
int32 value);
722 ::PROTOBUF_NAMESPACE_ID::
int32 _internal_server_port() const;
723 void _internal_set_server_port(::PROTOBUF_NAMESPACE_ID::
int32 value);
727 bool has_lat_origin() const;
729 bool _internal_has_lat_origin() const;
731 void clear_lat_origin();
732 double lat_origin() const;
733 void set_lat_origin(
double value);
735 double _internal_lat_origin() const;
736 void _internal_set_lat_origin(
double value);
740 bool has_lon_origin() const;
742 bool _internal_has_lon_origin() const;
744 void clear_lon_origin();
745 double lon_origin() const;
746 void set_lon_origin(
double value);
748 double _internal_lon_origin() const;
749 void _internal_set_lon_origin(
double value);
753 bool has_moos_parser_technique() const;
755 bool _internal_has_moos_parser_technique() const;
757 void clear_moos_parser_technique();
766 bool has_app_tick() const;
768 bool _internal_has_app_tick() const;
770 void clear_app_tick();
771 ::PROTOBUF_NAMESPACE_ID::
uint32 app_tick() const;
772 void set_app_tick(::PROTOBUF_NAMESPACE_ID::
uint32 value);
774 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_app_tick() const;
775 void _internal_set_app_tick(::PROTOBUF_NAMESPACE_ID::
uint32 value);
779 bool has_comm_tick() const;
781 bool _internal_has_comm_tick() const;
783 void clear_comm_tick();
784 ::PROTOBUF_NAMESPACE_ID::
uint32 comm_tick() const;
785 void set_comm_tick(::PROTOBUF_NAMESPACE_ID::
uint32 value);
787 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_comm_tick() const;
788 void _internal_set_comm_tick(::PROTOBUF_NAMESPACE_ID::
uint32 value);
792 bool has_verbosity() const;
794 bool _internal_has_verbosity() const;
796 void clear_verbosity();
805 bool has_log() const;
807 bool _internal_has_log() const;
811 void set_log(
bool value);
813 bool _internal_log() const;
814 void _internal_set_log(
bool value);
818 bool has_log_verbosity() const;
820 bool _internal_has_log_verbosity() const;
822 void clear_log_verbosity();
831 bool has_time_warp_multiplier() const;
833 bool _internal_has_time_warp_multiplier() const;
835 void clear_time_warp_multiplier();
836 ::PROTOBUF_NAMESPACE_ID::
uint32 time_warp_multiplier() const;
837 void set_time_warp_multiplier(::PROTOBUF_NAMESPACE_ID::
uint32 value);
839 ::PROTOBUF_NAMESPACE_ID::
uint32 _internal_time_warp_multiplier() const;
840 void _internal_set_time_warp_multiplier(::PROTOBUF_NAMESPACE_ID::
uint32 value);
847 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
848 typedef
void InternalArenaConstructable_;
849 typedef
void DestructorSkippable_;
850 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
851 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
852 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::
goby::moos::protobuf::GobyMOOSAppConfig_Initializer > initializer_;
854 static ::PROTOBUF_NAMESPACE_ID::
internal::ExplicitlyConstructed<std::
string> _i_give_permission_to_break_this_code_default_log_path_;
856 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr log_path_;
857 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr community_;
858 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr server_host_;
859 bool log_omit_file_timestamp_;
860 bool log_omit_latest_symlink_;
862 bool use_binary_protobuf_;
863 ::PROTOBUF_NAMESPACE_ID::
int32 server_port_;
866 int moos_parser_technique_;
867 ::PROTOBUF_NAMESPACE_ID::
uint32 app_tick_;
868 ::PROTOBUF_NAMESPACE_ID::
uint32 comm_tick_;
872 ::PROTOBUF_NAMESPACE_ID::
uint32 time_warp_multiplier_;
881 #pragma GCC diagnostic push
882 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
887 inline bool GobyMOOSAppConfig_Initializer::_internal_has_type()
const {
888 bool value = (_has_bits_[0] & 0x00000010u) != 0;
891 inline bool GobyMOOSAppConfig_Initializer::has_type()
const {
892 return _internal_has_type();
894 inline void GobyMOOSAppConfig_Initializer::clear_type() {
896 _has_bits_[0] &= ~0x00000010u;
903 return _internal_type();
907 _has_bits_[0] |= 0x00000010u;
911 _internal_set_type(value);
916 inline bool GobyMOOSAppConfig_Initializer::_internal_has_moos_var()
const {
917 bool value = (_has_bits_[0] & 0x00000001u) != 0;
920 inline bool GobyMOOSAppConfig_Initializer::has_moos_var()
const {
921 return _internal_has_moos_var();
923 inline void GobyMOOSAppConfig_Initializer::clear_moos_var() {
925 _has_bits_[0] &= ~0x00000001u;
927 inline const std::string& GobyMOOSAppConfig_Initializer::moos_var()
const {
929 return _internal_moos_var();
931 inline void GobyMOOSAppConfig_Initializer::set_moos_var(
const std::string& value) {
932 _internal_set_moos_var(value);
935 inline std::string* GobyMOOSAppConfig_Initializer::mutable_moos_var() {
937 return _internal_mutable_moos_var();
939 inline const std::string& GobyMOOSAppConfig_Initializer::_internal_moos_var()
const {
940 return moos_var_.Get();
942 inline void GobyMOOSAppConfig_Initializer::_internal_set_moos_var(
const std::string& value) {
943 _has_bits_[0] |= 0x00000001u;
946 inline void GobyMOOSAppConfig_Initializer::set_moos_var(std::string&& value) {
947 _has_bits_[0] |= 0x00000001u;
952 inline void GobyMOOSAppConfig_Initializer::set_moos_var(
const char* value) {
953 GOOGLE_DCHECK(value !=
nullptr);
954 _has_bits_[0] |= 0x00000001u;
959 inline void GobyMOOSAppConfig_Initializer::set_moos_var(
const char* value,
961 _has_bits_[0] |= 0x00000001u;
963 reinterpret_cast<const char*
>(value), size), GetArena());
966 inline std::string* GobyMOOSAppConfig_Initializer::_internal_mutable_moos_var() {
967 _has_bits_[0] |= 0x00000001u;
970 inline std::string* GobyMOOSAppConfig_Initializer::release_moos_var() {
972 if (!_internal_has_moos_var()) {
975 _has_bits_[0] &= ~0x00000001u;
978 inline void GobyMOOSAppConfig_Initializer::set_allocated_moos_var(std::string* moos_var) {
979 if (moos_var !=
nullptr) {
980 _has_bits_[0] |= 0x00000001u;
982 _has_bits_[0] &= ~0x00000001u;
988 inline std::string* GobyMOOSAppConfig_Initializer::unsafe_arena_release_moos_var() {
990 GOOGLE_DCHECK(GetArena() !=
nullptr);
991 _has_bits_[0] &= ~0x00000001u;
995 inline void GobyMOOSAppConfig_Initializer::unsafe_arena_set_allocated_moos_var(
996 std::string* moos_var) {
997 GOOGLE_DCHECK(GetArena() !=
nullptr);
998 if (moos_var !=
nullptr) {
999 _has_bits_[0] |= 0x00000001u;
1001 _has_bits_[0] &= ~0x00000001u;
1004 moos_var, GetArena());
1009 inline bool GobyMOOSAppConfig_Initializer::_internal_has_global_cfg_var()
const {
1010 bool value = (_has_bits_[0] & 0x00000002u) != 0;
1013 inline bool GobyMOOSAppConfig_Initializer::has_global_cfg_var()
const {
1014 return _internal_has_global_cfg_var();
1016 inline void GobyMOOSAppConfig_Initializer::clear_global_cfg_var() {
1018 _has_bits_[0] &= ~0x00000002u;
1020 inline const std::string& GobyMOOSAppConfig_Initializer::global_cfg_var()
const {
1022 return _internal_global_cfg_var();
1024 inline void GobyMOOSAppConfig_Initializer::set_global_cfg_var(
const std::string& value) {
1025 _internal_set_global_cfg_var(value);
1028 inline std::string* GobyMOOSAppConfig_Initializer::mutable_global_cfg_var() {
1030 return _internal_mutable_global_cfg_var();
1032 inline const std::string& GobyMOOSAppConfig_Initializer::_internal_global_cfg_var()
const {
1033 return global_cfg_var_.Get();
1035 inline void GobyMOOSAppConfig_Initializer::_internal_set_global_cfg_var(
const std::string& value) {
1036 _has_bits_[0] |= 0x00000002u;
1039 inline void GobyMOOSAppConfig_Initializer::set_global_cfg_var(std::string&& value) {
1040 _has_bits_[0] |= 0x00000002u;
1041 global_cfg_var_.Set(
1045 inline void GobyMOOSAppConfig_Initializer::set_global_cfg_var(
const char* value) {
1046 GOOGLE_DCHECK(value !=
nullptr);
1047 _has_bits_[0] |= 0x00000002u;
1052 inline void GobyMOOSAppConfig_Initializer::set_global_cfg_var(
const char* value,
1054 _has_bits_[0] |= 0x00000002u;
1056 reinterpret_cast<const char*
>(value), size), GetArena());
1059 inline std::string* GobyMOOSAppConfig_Initializer::_internal_mutable_global_cfg_var() {
1060 _has_bits_[0] |= 0x00000002u;
1063 inline std::string* GobyMOOSAppConfig_Initializer::release_global_cfg_var() {
1065 if (!_internal_has_global_cfg_var()) {
1068 _has_bits_[0] &= ~0x00000002u;
1071 inline void GobyMOOSAppConfig_Initializer::set_allocated_global_cfg_var(std::string* global_cfg_var) {
1072 if (global_cfg_var !=
nullptr) {
1073 _has_bits_[0] |= 0x00000002u;
1075 _has_bits_[0] &= ~0x00000002u;
1081 inline std::string* GobyMOOSAppConfig_Initializer::unsafe_arena_release_global_cfg_var() {
1083 GOOGLE_DCHECK(GetArena() !=
nullptr);
1084 _has_bits_[0] &= ~0x00000002u;
1088 inline void GobyMOOSAppConfig_Initializer::unsafe_arena_set_allocated_global_cfg_var(
1089 std::string* global_cfg_var) {
1090 GOOGLE_DCHECK(GetArena() !=
nullptr);
1091 if (global_cfg_var !=
nullptr) {
1092 _has_bits_[0] |= 0x00000002u;
1094 _has_bits_[0] &= ~0x00000002u;
1097 global_cfg_var, GetArena());
1102 inline bool GobyMOOSAppConfig_Initializer::_internal_has_dval()
const {
1103 bool value = (_has_bits_[0] & 0x00000008u) != 0;
1106 inline bool GobyMOOSAppConfig_Initializer::has_dval()
const {
1107 return _internal_has_dval();
1109 inline void GobyMOOSAppConfig_Initializer::clear_dval() {
1111 _has_bits_[0] &= ~0x00000008u;
1113 inline double GobyMOOSAppConfig_Initializer::_internal_dval()
const {
1116 inline double GobyMOOSAppConfig_Initializer::dval()
const {
1118 return _internal_dval();
1120 inline void GobyMOOSAppConfig_Initializer::_internal_set_dval(
double value) {
1121 _has_bits_[0] |= 0x00000008u;
1124 inline void GobyMOOSAppConfig_Initializer::set_dval(
double value) {
1125 _internal_set_dval(value);
1130 inline bool GobyMOOSAppConfig_Initializer::_internal_has_sval()
const {
1131 bool value = (_has_bits_[0] & 0x00000004u) != 0;
1134 inline bool GobyMOOSAppConfig_Initializer::has_sval()
const {
1135 return _internal_has_sval();
1137 inline void GobyMOOSAppConfig_Initializer::clear_sval() {
1139 _has_bits_[0] &= ~0x00000004u;
1141 inline const std::string& GobyMOOSAppConfig_Initializer::sval()
const {
1143 return _internal_sval();
1145 inline void GobyMOOSAppConfig_Initializer::set_sval(
const std::string& value) {
1146 _internal_set_sval(value);
1149 inline std::string* GobyMOOSAppConfig_Initializer::mutable_sval() {
1151 return _internal_mutable_sval();
1153 inline const std::string& GobyMOOSAppConfig_Initializer::_internal_sval()
const {
1156 inline void GobyMOOSAppConfig_Initializer::_internal_set_sval(
const std::string& value) {
1157 _has_bits_[0] |= 0x00000004u;
1160 inline void GobyMOOSAppConfig_Initializer::set_sval(std::string&& value) {
1161 _has_bits_[0] |= 0x00000004u;
1166 inline void GobyMOOSAppConfig_Initializer::set_sval(
const char* value) {
1167 GOOGLE_DCHECK(value !=
nullptr);
1168 _has_bits_[0] |= 0x00000004u;
1173 inline void GobyMOOSAppConfig_Initializer::set_sval(
const char* value,
1175 _has_bits_[0] |= 0x00000004u;
1177 reinterpret_cast<const char*
>(value), size), GetArena());
1180 inline std::string* GobyMOOSAppConfig_Initializer::_internal_mutable_sval() {
1181 _has_bits_[0] |= 0x00000004u;
1184 inline std::string* GobyMOOSAppConfig_Initializer::release_sval() {
1186 if (!_internal_has_sval()) {
1189 _has_bits_[0] &= ~0x00000004u;
1192 inline void GobyMOOSAppConfig_Initializer::set_allocated_sval(std::string* sval) {
1193 if (sval !=
nullptr) {
1194 _has_bits_[0] |= 0x00000004u;
1196 _has_bits_[0] &= ~0x00000004u;
1202 inline std::string* GobyMOOSAppConfig_Initializer::unsafe_arena_release_sval() {
1204 GOOGLE_DCHECK(GetArena() !=
nullptr);
1205 _has_bits_[0] &= ~0x00000004u;
1209 inline void GobyMOOSAppConfig_Initializer::unsafe_arena_set_allocated_sval(
1210 std::string* sval) {
1211 GOOGLE_DCHECK(GetArena() !=
nullptr);
1212 if (sval !=
nullptr) {
1213 _has_bits_[0] |= 0x00000004u;
1215 _has_bits_[0] &= ~0x00000004u;
1223 inline bool GobyMOOSAppConfig_Initializer::_internal_has_trim()
const {
1224 bool value = (_has_bits_[0] & 0x00000020u) != 0;
1227 inline bool GobyMOOSAppConfig_Initializer::has_trim()
const {
1228 return _internal_has_trim();
1230 inline void GobyMOOSAppConfig_Initializer::clear_trim() {
1232 _has_bits_[0] &= ~0x00000020u;
1234 inline bool GobyMOOSAppConfig_Initializer::_internal_trim()
const {
1239 return _internal_trim();
1241 inline void GobyMOOSAppConfig_Initializer::_internal_set_trim(
bool value) {
1242 _has_bits_[0] |= 0x00000020u;
1245 inline void GobyMOOSAppConfig_Initializer::set_trim(
bool value) {
1246 _internal_set_trim(value);
1255 inline bool GobyMOOSAppConfig::_internal_has_log()
const {
1256 bool value = (_has_bits_[0] & 0x00004000u) != 0;
1259 inline bool GobyMOOSAppConfig::has_log()
const {
1260 return _internal_has_log();
1262 inline void GobyMOOSAppConfig::clear_log() {
1264 _has_bits_[0] &= ~0x00004000u;
1266 inline bool GobyMOOSAppConfig::_internal_log()
const {
1269 inline bool GobyMOOSAppConfig::log()
const {
1271 return _internal_log();
1273 inline void GobyMOOSAppConfig::_internal_set_log(
bool value) {
1274 _has_bits_[0] |= 0x00004000u;
1277 inline void GobyMOOSAppConfig::set_log(
bool value) {
1278 _internal_set_log(value);
1283 inline bool GobyMOOSAppConfig::_internal_has_log_path()
const {
1284 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1287 inline bool GobyMOOSAppConfig::has_log_path()
const {
1288 return _internal_has_log_path();
1290 inline void GobyMOOSAppConfig::clear_log_path() {
1291 log_path_.ClearToDefault(&::goby::moos::protobuf::GobyMOOSAppConfig::_i_give_permission_to_break_this_code_default_log_path_.
get(), GetArena());
1292 _has_bits_[0] &= ~0x00000001u;
1294 inline const std::string& GobyMOOSAppConfig::log_path()
const {
1296 return _internal_log_path();
1298 inline void GobyMOOSAppConfig::set_log_path(
const std::string& value) {
1299 _internal_set_log_path(value);
1302 inline std::string* GobyMOOSAppConfig::mutable_log_path() {
1304 return _internal_mutable_log_path();
1306 inline const std::string& GobyMOOSAppConfig::_internal_log_path()
const {
1307 return log_path_.Get();
1309 inline void GobyMOOSAppConfig::_internal_set_log_path(
const std::string& value) {
1310 _has_bits_[0] |= 0x00000001u;
1311 log_path_.Set(&::goby::moos::protobuf::GobyMOOSAppConfig::_i_give_permission_to_break_this_code_default_log_path_.
get(), value, GetArena());
1313 inline void GobyMOOSAppConfig::set_log_path(std::string&& value) {
1314 _has_bits_[0] |= 0x00000001u;
1316 &::goby::moos::protobuf::GobyMOOSAppConfig::_i_give_permission_to_break_this_code_default_log_path_.
get(), ::std::move(value), GetArena());
1319 inline void GobyMOOSAppConfig::set_log_path(
const char* value) {
1320 GOOGLE_DCHECK(value !=
nullptr);
1321 _has_bits_[0] |= 0x00000001u;
1322 log_path_.Set(&::goby::moos::protobuf::GobyMOOSAppConfig::_i_give_permission_to_break_this_code_default_log_path_.
get(), ::std::string(value),
1326 inline void GobyMOOSAppConfig::set_log_path(
const char* value,
1328 _has_bits_[0] |= 0x00000001u;
1329 log_path_.Set(&::goby::moos::protobuf::GobyMOOSAppConfig::_i_give_permission_to_break_this_code_default_log_path_.
get(), ::std::string(
1330 reinterpret_cast<const char*
>(value), size), GetArena());
1333 inline std::string* GobyMOOSAppConfig::_internal_mutable_log_path() {
1334 _has_bits_[0] |= 0x00000001u;
1335 return log_path_.Mutable(&::goby::moos::protobuf::GobyMOOSAppConfig::_i_give_permission_to_break_this_code_default_log_path_.
get(), GetArena());
1337 inline std::string* GobyMOOSAppConfig::release_log_path() {
1339 if (!_internal_has_log_path()) {
1342 _has_bits_[0] &= ~0x00000001u;
1343 return log_path_.ReleaseNonDefault(&::goby::moos::protobuf::GobyMOOSAppConfig::_i_give_permission_to_break_this_code_default_log_path_.
get(), GetArena());
1345 inline void GobyMOOSAppConfig::set_allocated_log_path(std::string* log_path) {
1346 if (log_path !=
nullptr) {
1347 _has_bits_[0] |= 0x00000001u;
1349 _has_bits_[0] &= ~0x00000001u;
1351 log_path_.SetAllocated(&::goby::moos::protobuf::GobyMOOSAppConfig::_i_give_permission_to_break_this_code_default_log_path_.
get(), log_path,
1355 inline std::string* GobyMOOSAppConfig::unsafe_arena_release_log_path() {
1357 GOOGLE_DCHECK(GetArena() !=
nullptr);
1358 _has_bits_[0] &= ~0x00000001u;
1359 return log_path_.UnsafeArenaRelease(&::goby::moos::protobuf::GobyMOOSAppConfig::_i_give_permission_to_break_this_code_default_log_path_.
get(),
1362 inline void GobyMOOSAppConfig::unsafe_arena_set_allocated_log_path(
1363 std::string* log_path) {
1364 GOOGLE_DCHECK(GetArena() !=
nullptr);
1365 if (log_path !=
nullptr) {
1366 _has_bits_[0] |= 0x00000001u;
1368 _has_bits_[0] &= ~0x00000001u;
1370 log_path_.UnsafeArenaSetAllocated(&::goby::moos::protobuf::GobyMOOSAppConfig::_i_give_permission_to_break_this_code_default_log_path_.
get(),
1371 log_path, GetArena());
1376 inline bool GobyMOOSAppConfig::_internal_has_log_omit_file_timestamp()
const {
1377 bool value = (_has_bits_[0] & 0x00000008u) != 0;
1380 inline bool GobyMOOSAppConfig::has_log_omit_file_timestamp()
const {
1381 return _internal_has_log_omit_file_timestamp();
1383 inline void GobyMOOSAppConfig::clear_log_omit_file_timestamp() {
1384 log_omit_file_timestamp_ =
false;
1385 _has_bits_[0] &= ~0x00000008u;
1387 inline bool GobyMOOSAppConfig::_internal_log_omit_file_timestamp()
const {
1388 return log_omit_file_timestamp_;
1390 inline bool GobyMOOSAppConfig::log_omit_file_timestamp()
const {
1392 return _internal_log_omit_file_timestamp();
1394 inline void GobyMOOSAppConfig::_internal_set_log_omit_file_timestamp(
bool value) {
1395 _has_bits_[0] |= 0x00000008u;
1396 log_omit_file_timestamp_ =
value;
1398 inline void GobyMOOSAppConfig::set_log_omit_file_timestamp(
bool value) {
1399 _internal_set_log_omit_file_timestamp(value);
1404 inline bool GobyMOOSAppConfig::_internal_has_log_omit_latest_symlink()
const {
1405 bool value = (_has_bits_[0] & 0x00000010u) != 0;
1408 inline bool GobyMOOSAppConfig::has_log_omit_latest_symlink()
const {
1409 return _internal_has_log_omit_latest_symlink();
1411 inline void GobyMOOSAppConfig::clear_log_omit_latest_symlink() {
1412 log_omit_latest_symlink_ =
false;
1413 _has_bits_[0] &= ~0x00000010u;
1415 inline bool GobyMOOSAppConfig::_internal_log_omit_latest_symlink()
const {
1416 return log_omit_latest_symlink_;
1418 inline bool GobyMOOSAppConfig::log_omit_latest_symlink()
const {
1420 return _internal_log_omit_latest_symlink();
1422 inline void GobyMOOSAppConfig::_internal_set_log_omit_latest_symlink(
bool value) {
1423 _has_bits_[0] |= 0x00000010u;
1424 log_omit_latest_symlink_ =
value;
1426 inline void GobyMOOSAppConfig::set_log_omit_latest_symlink(
bool value) {
1427 _internal_set_log_omit_latest_symlink(value);
1432 inline bool GobyMOOSAppConfig::_internal_has_log_verbosity()
const {
1433 bool value = (_has_bits_[0] & 0x00008000u) != 0;
1436 inline bool GobyMOOSAppConfig::has_log_verbosity()
const {
1437 return _internal_has_log_verbosity();
1439 inline void GobyMOOSAppConfig::clear_log_verbosity() {
1441 _has_bits_[0] &= ~0x00008000u;
1448 return _internal_log_verbosity();
1452 _has_bits_[0] |= 0x00008000u;
1453 log_verbosity_ =
value;
1456 _internal_set_log_verbosity(value);
1461 inline bool GobyMOOSAppConfig::_internal_has_community()
const {
1462 bool value = (_has_bits_[0] & 0x00000002u) != 0;
1465 inline bool GobyMOOSAppConfig::has_community()
const {
1466 return _internal_has_community();
1468 inline void GobyMOOSAppConfig::clear_community() {
1470 _has_bits_[0] &= ~0x00000002u;
1472 inline const std::string& GobyMOOSAppConfig::community()
const {
1474 return _internal_community();
1476 inline void GobyMOOSAppConfig::set_community(
const std::string& value) {
1477 _internal_set_community(value);
1480 inline std::string* GobyMOOSAppConfig::mutable_community() {
1482 return _internal_mutable_community();
1484 inline const std::string& GobyMOOSAppConfig::_internal_community()
const {
1485 return community_.Get();
1487 inline void GobyMOOSAppConfig::_internal_set_community(
const std::string& value) {
1488 _has_bits_[0] |= 0x00000002u;
1491 inline void GobyMOOSAppConfig::set_community(std::string&& value) {
1492 _has_bits_[0] |= 0x00000002u;
1497 inline void GobyMOOSAppConfig::set_community(
const char* value) {
1498 GOOGLE_DCHECK(value !=
nullptr);
1499 _has_bits_[0] |= 0x00000002u;
1504 inline void GobyMOOSAppConfig::set_community(
const char* value,
1506 _has_bits_[0] |= 0x00000002u;
1508 reinterpret_cast<const char*
>(value), size), GetArena());
1511 inline std::string* GobyMOOSAppConfig::_internal_mutable_community() {
1512 _has_bits_[0] |= 0x00000002u;
1515 inline std::string* GobyMOOSAppConfig::release_community() {
1517 if (!_internal_has_community()) {
1520 _has_bits_[0] &= ~0x00000002u;
1523 inline void GobyMOOSAppConfig::set_allocated_community(std::string* community) {
1524 if (community !=
nullptr) {
1525 _has_bits_[0] |= 0x00000002u;
1527 _has_bits_[0] &= ~0x00000002u;
1533 inline std::string* GobyMOOSAppConfig::unsafe_arena_release_community() {
1535 GOOGLE_DCHECK(GetArena() !=
nullptr);
1536 _has_bits_[0] &= ~0x00000002u;
1540 inline void GobyMOOSAppConfig::unsafe_arena_set_allocated_community(
1541 std::string* community) {
1542 GOOGLE_DCHECK(GetArena() !=
nullptr);
1543 if (community !=
nullptr) {
1544 _has_bits_[0] |= 0x00000002u;
1546 _has_bits_[0] &= ~0x00000002u;
1549 community, GetArena());
1554 inline bool GobyMOOSAppConfig::_internal_has_lat_origin()
const {
1555 bool value = (_has_bits_[0] & 0x00000100u) != 0;
1558 inline bool GobyMOOSAppConfig::has_lat_origin()
const {
1559 return _internal_has_lat_origin();
1561 inline void GobyMOOSAppConfig::clear_lat_origin() {
1563 _has_bits_[0] &= ~0x00000100u;
1565 inline double GobyMOOSAppConfig::_internal_lat_origin()
const {
1568 inline double GobyMOOSAppConfig::lat_origin()
const {
1570 return _internal_lat_origin();
1572 inline void GobyMOOSAppConfig::_internal_set_lat_origin(
double value) {
1573 _has_bits_[0] |= 0x00000100u;
1574 lat_origin_ =
value;
1576 inline void GobyMOOSAppConfig::set_lat_origin(
double value) {
1577 _internal_set_lat_origin(value);
1582 inline bool GobyMOOSAppConfig::_internal_has_lon_origin()
const {
1583 bool value = (_has_bits_[0] & 0x00000200u) != 0;
1586 inline bool GobyMOOSAppConfig::has_lon_origin()
const {
1587 return _internal_has_lon_origin();
1589 inline void GobyMOOSAppConfig::clear_lon_origin() {
1591 _has_bits_[0] &= ~0x00000200u;
1593 inline double GobyMOOSAppConfig::_internal_lon_origin()
const {
1596 inline double GobyMOOSAppConfig::lon_origin()
const {
1598 return _internal_lon_origin();
1600 inline void GobyMOOSAppConfig::_internal_set_lon_origin(
double value) {
1601 _has_bits_[0] |= 0x00000200u;
1602 lon_origin_ =
value;
1604 inline void GobyMOOSAppConfig::set_lon_origin(
double value) {
1605 _internal_set_lon_origin(value);
1610 inline bool GobyMOOSAppConfig::_internal_has_time_warp_multiplier()
const {
1611 bool value = (_has_bits_[0] & 0x00010000u) != 0;
1614 inline bool GobyMOOSAppConfig::has_time_warp_multiplier()
const {
1615 return _internal_has_time_warp_multiplier();
1617 inline void GobyMOOSAppConfig::clear_time_warp_multiplier() {
1618 time_warp_multiplier_ = 1u;
1619 _has_bits_[0] &= ~0x00010000u;
1622 return time_warp_multiplier_;
1626 return _internal_time_warp_multiplier();
1629 _has_bits_[0] |= 0x00010000u;
1630 time_warp_multiplier_ =
value;
1633 _internal_set_time_warp_multiplier(value);
1638 inline bool GobyMOOSAppConfig::_internal_has_server_host()
const {
1639 bool value = (_has_bits_[0] & 0x00000004u) != 0;
1642 inline bool GobyMOOSAppConfig::has_server_host()
const {
1643 return _internal_has_server_host();
1645 inline void GobyMOOSAppConfig::clear_server_host() {
1647 _has_bits_[0] &= ~0x00000004u;
1649 inline const std::string& GobyMOOSAppConfig::server_host()
const {
1651 return _internal_server_host();
1653 inline void GobyMOOSAppConfig::set_server_host(
const std::string& value) {
1654 _internal_set_server_host(value);
1657 inline std::string* GobyMOOSAppConfig::mutable_server_host() {
1659 return _internal_mutable_server_host();
1661 inline const std::string& GobyMOOSAppConfig::_internal_server_host()
const {
1662 return server_host_.Get();
1664 inline void GobyMOOSAppConfig::_internal_set_server_host(
const std::string& value) {
1665 _has_bits_[0] |= 0x00000004u;
1668 inline void GobyMOOSAppConfig::set_server_host(std::string&& value) {
1669 _has_bits_[0] |= 0x00000004u;
1674 inline void GobyMOOSAppConfig::set_server_host(
const char* value) {
1675 GOOGLE_DCHECK(value !=
nullptr);
1676 _has_bits_[0] |= 0x00000004u;
1681 inline void GobyMOOSAppConfig::set_server_host(
const char* value,
1683 _has_bits_[0] |= 0x00000004u;
1685 reinterpret_cast<const char*
>(value), size), GetArena());
1688 inline std::string* GobyMOOSAppConfig::_internal_mutable_server_host() {
1689 _has_bits_[0] |= 0x00000004u;
1692 inline std::string* GobyMOOSAppConfig::release_server_host() {
1694 if (!_internal_has_server_host()) {
1697 _has_bits_[0] &= ~0x00000004u;
1700 inline void GobyMOOSAppConfig::set_allocated_server_host(std::string* server_host) {
1701 if (server_host !=
nullptr) {
1702 _has_bits_[0] |= 0x00000004u;
1704 _has_bits_[0] &= ~0x00000004u;
1710 inline std::string* GobyMOOSAppConfig::unsafe_arena_release_server_host() {
1712 GOOGLE_DCHECK(GetArena() !=
nullptr);
1713 _has_bits_[0] &= ~0x00000004u;
1717 inline void GobyMOOSAppConfig::unsafe_arena_set_allocated_server_host(
1718 std::string* server_host) {
1719 GOOGLE_DCHECK(GetArena() !=
nullptr);
1720 if (server_host !=
nullptr) {
1721 _has_bits_[0] |= 0x00000004u;
1723 _has_bits_[0] &= ~0x00000004u;
1726 server_host, GetArena());
1731 inline bool GobyMOOSAppConfig::_internal_has_server_port()
const {
1732 bool value = (_has_bits_[0] & 0x00000080u) != 0;
1735 inline bool GobyMOOSAppConfig::has_server_port()
const {
1736 return _internal_has_server_port();
1738 inline void GobyMOOSAppConfig::clear_server_port() {
1740 _has_bits_[0] &= ~0x00000080u;
1743 return server_port_;
1747 return _internal_server_port();
1750 _has_bits_[0] |= 0x00000080u;
1751 server_port_ =
value;
1754 _internal_set_server_port(value);
1759 inline bool GobyMOOSAppConfig::_internal_has_app_tick()
const {
1760 bool value = (_has_bits_[0] & 0x00000800u) != 0;
1763 inline bool GobyMOOSAppConfig::has_app_tick()
const {
1764 return _internal_has_app_tick();
1766 inline void GobyMOOSAppConfig::clear_app_tick() {
1768 _has_bits_[0] &= ~0x00000800u;
1775 return _internal_app_tick();
1778 _has_bits_[0] |= 0x00000800u;
1782 _internal_set_app_tick(value);
1787 inline bool GobyMOOSAppConfig::_internal_has_comm_tick()
const {
1788 bool value = (_has_bits_[0] & 0x00001000u) != 0;
1791 inline bool GobyMOOSAppConfig::has_comm_tick()
const {
1792 return _internal_has_comm_tick();
1794 inline void GobyMOOSAppConfig::clear_comm_tick() {
1796 _has_bits_[0] &= ~0x00001000u;
1803 return _internal_comm_tick();
1806 _has_bits_[0] |= 0x00001000u;
1810 _internal_set_comm_tick(value);
1815 inline bool GobyMOOSAppConfig::_internal_has_verbosity()
const {
1816 bool value = (_has_bits_[0] & 0x00002000u) != 0;
1819 inline bool GobyMOOSAppConfig::has_verbosity()
const {
1820 return _internal_has_verbosity();
1822 inline void GobyMOOSAppConfig::clear_verbosity() {
1824 _has_bits_[0] &= ~0x00002000u;
1831 return _internal_verbosity();
1835 _has_bits_[0] |= 0x00002000u;
1839 _internal_set_verbosity(value);
1844 inline bool GobyMOOSAppConfig::_internal_has_show_gui()
const {
1845 bool value = (_has_bits_[0] & 0x00000020u) != 0;
1848 inline bool GobyMOOSAppConfig::has_show_gui()
const {
1849 return _internal_has_show_gui();
1851 inline void GobyMOOSAppConfig::clear_show_gui() {
1853 _has_bits_[0] &= ~0x00000020u;
1855 inline bool GobyMOOSAppConfig::_internal_show_gui()
const {
1858 inline bool GobyMOOSAppConfig::show_gui()
const {
1860 return _internal_show_gui();
1862 inline void GobyMOOSAppConfig::_internal_set_show_gui(
bool value) {
1863 _has_bits_[0] |= 0x00000020u;
1866 inline void GobyMOOSAppConfig::set_show_gui(
bool value) {
1867 _internal_set_show_gui(value);
1872 inline bool GobyMOOSAppConfig::_internal_has_use_binary_protobuf()
const {
1873 bool value = (_has_bits_[0] & 0x00000040u) != 0;
1876 inline bool GobyMOOSAppConfig::has_use_binary_protobuf()
const {
1877 return _internal_has_use_binary_protobuf();
1879 inline void GobyMOOSAppConfig::clear_use_binary_protobuf() {
1880 use_binary_protobuf_ =
false;
1881 _has_bits_[0] &= ~0x00000040u;
1883 inline bool GobyMOOSAppConfig::_internal_use_binary_protobuf()
const {
1884 return use_binary_protobuf_;
1886 inline bool GobyMOOSAppConfig::use_binary_protobuf()
const {
1888 return _internal_use_binary_protobuf();
1890 inline void GobyMOOSAppConfig::_internal_set_use_binary_protobuf(
bool value) {
1891 _has_bits_[0] |= 0x00000040u;
1892 use_binary_protobuf_ =
value;
1894 inline void GobyMOOSAppConfig::set_use_binary_protobuf(
bool value) {
1895 _internal_set_use_binary_protobuf(value);
1900 inline bool GobyMOOSAppConfig::_internal_has_moos_parser_technique()
const {
1901 bool value = (_has_bits_[0] & 0x00000400u) != 0;
1904 inline bool GobyMOOSAppConfig::has_moos_parser_technique()
const {
1905 return _internal_has_moos_parser_technique();
1907 inline void GobyMOOSAppConfig::clear_moos_parser_technique() {
1908 moos_parser_technique_ = 5;
1909 _has_bits_[0] &= ~0x00000400u;
1916 return _internal_moos_parser_technique();
1920 _has_bits_[0] |= 0x00000400u;
1921 moos_parser_technique_ =
value;
1924 _internal_set_moos_parser_technique(value);
1929 inline int GobyMOOSAppConfig::_internal_initializer_size()
const {
1930 return initializer_.size();
1932 inline int GobyMOOSAppConfig::initializer_size()
const {
1933 return _internal_initializer_size();
1935 inline void GobyMOOSAppConfig::clear_initializer() {
1936 initializer_.Clear();
1938 inline ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer* GobyMOOSAppConfig::mutable_initializer(
int index) {
1940 return initializer_.Mutable(index);
1942 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer >*
1943 GobyMOOSAppConfig::mutable_initializer() {
1945 return &initializer_;
1947 inline const ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer& GobyMOOSAppConfig::_internal_initializer(
int index)
const {
1948 return initializer_.Get(index);
1950 inline const ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer& GobyMOOSAppConfig::initializer(
int index)
const {
1952 return _internal_initializer(index);
1954 inline ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer* GobyMOOSAppConfig::_internal_add_initializer() {
1955 return initializer_.Add();
1957 inline ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer* GobyMOOSAppConfig::add_initializer() {
1959 return _internal_add_initializer();
1961 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer >&
1962 GobyMOOSAppConfig::initializer()
const {
1964 return initializer_;
1968 #pragma GCC diagnostic pop
1979 PROTOBUF_NAMESPACE_OPEN
1983 inline const EnumDescriptor* GetEnumDescriptor< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type>() {
1987 PROTOBUF_NAMESPACE_CLOSE
1991 #include <google/protobuf/port_undef.inc>
std::string * mutable_log_path()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer > & initializer() const
bool has_moos_var() const
int initializer_size() const
static bool Type_IsValid(int value)
void set_moos_var(const char *value, size_t size)
void set_log_path(const char *value)
GobyMOOSAppConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
GobyMOOSAppConfig_Initializer(GobyMOOSAppConfig_Initializer &&from) noexcept
void CopyFrom(const GobyMOOSAppConfig_Initializer &from)
GobyMOOSAppConfig_Initializer()
void set_moos_var(std::string &&value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
::goby::moos::protobuf::GobyMOOSAppConfig_Initializer * add_initializer()
GobyMOOSAppConfig_Initializer Initializer
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
GobyMOOSAppConfig & operator=(const GobyMOOSAppConfig &from)
static const GobyMOOSAppConfig * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer > * mutable_initializer()
void Swap(GobyMOOSAppConfig *other)
static const GobyMOOSAppConfig_Initializer & default_instance()
static bool Type_Parse(const std::string &name, Type *value)
void set_moos_var(const std::string &value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_log_path(const std::string &value)
bool has_log_path() const
std::string * release_moos_var()
std::string * release_log_path()
GobyMOOSAppConfig * New() const final
GobyMOOSAppConfig_Initializer * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const GobyMOOSAppConfig & default_instance()
void set_log_path(const char *value, size_t size)
GobyMOOSAppConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
friend void swap(GobyMOOSAppConfig &a, GobyMOOSAppConfig &b)
static const GobyMOOSAppConfig_Initializer * internal_default_instance()
friend void swap(GobyMOOSAppConfig_Initializer &a, GobyMOOSAppConfig_Initializer &b)
static void InitAsDefaultInstance()
GobyMOOSAppConfig_Initializer(const GobyMOOSAppConfig_Initializer &from)
virtual ~GobyMOOSAppConfig_Initializer()
GobyMOOSAppConfig & operator=(GobyMOOSAppConfig &&from) noexcept
void set_moos_var(const char *value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void UnsafeArenaSwap(GobyMOOSAppConfig *other)
::goby::moos::protobuf::GobyMOOSAppConfig_Initializer * mutable_initializer(int index)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer & initializer(int index) const
GobyMOOSAppConfig_Initializer & operator=(const GobyMOOSAppConfig_Initializer &from)
GobyMOOSAppConfig_Initializer * New() const final
void set_allocated_moos_var(std::string *moos_var)
GobyMOOSAppConfig_Initializer_Type Type
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const std::string & log_path() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(GobyMOOSAppConfig_Initializer *other)
void set_log_path(std::string &&value)
void CopyFrom(const GobyMOOSAppConfig &from)
static const std::string & Type_Name(T enum_t_value)
GobyMOOSAppConfig(GobyMOOSAppConfig &&from) noexcept
void set_allocated_log_path(std::string *log_path)
void Swap(GobyMOOSAppConfig_Initializer *other)
std::string * mutable_moos_var()
void MergeFrom(const GobyMOOSAppConfig_Initializer &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const std::string & moos_var() const
GobyMOOSAppConfig_Initializer & operator=(GobyMOOSAppConfig_Initializer &&from) noexcept
void MergeFrom(const GobyMOOSAppConfig &from)
virtual ~GobyMOOSAppConfig()
GobyMOOSAppConfig(const GobyMOOSAppConfig &from)
GobyMOOSAppConfig_Initializer(::PROTOBUF_NAMESPACE_ID::Arena *arena)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto
@ value
the parser finished reading a JSON value
auto get(const nlohmann::detail::iteration_proxy_value< IteratorType > &i) -> decltype(i.key())
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * GobyMOOSAppConfig_Initializer_Type_descriptor()
constexpr int GobyMOOSAppConfig_Initializer_Type_Type_ARRAYSIZE
const std::string & GobyMOOSAppConfig_Initializer_Type_Name(T enum_t_value)
bool GobyMOOSAppConfig_Initializer_Type_Parse(const std::string &name, GobyMOOSAppConfig_Initializer_Type *value)
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
bool GobyMOOSAppConfig_Initializer_Type_IsValid(int value)
constexpr GobyMOOSAppConfig_Initializer_Type GobyMOOSAppConfig_Initializer_Type_Type_MIN
bool GLogConfig_Verbosity_IsValid(int value)
The global namespace for the Goby project.
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
std::pair< size_t, size_t > trim(const char *b, const char *e, size_t left, size_t right)
type
Generic JSON types used in JWTs.
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)