Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
goby_moos_app.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/moos/protobuf/goby_moos_app.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto
6
7#include <limits>
8#include <string>
9
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
14#error your headers.
15#endif
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.
20#endif
21
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> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
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>
41// @@protoc_insertion_point(includes)
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto
44PROTOBUF_NAMESPACE_OPEN
45namespace internal {
46class AnyMetadata;
47} // namespace internal
48PROTOBUF_NAMESPACE_CLOSE
49
50// Internal implementation detail -- do not use these members.
54extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto;
55namespace goby {
56namespace moos {
57namespace protobuf {
58class GobyMOOSAppConfig;
59struct GobyMOOSAppConfigDefaultTypeInternal;
60extern GobyMOOSAppConfigDefaultTypeInternal _GobyMOOSAppConfig_default_instance_;
61class GobyMOOSAppConfig_Initializer;
62struct GobyMOOSAppConfig_InitializerDefaultTypeInternal;
63extern GobyMOOSAppConfig_InitializerDefaultTypeInternal _GobyMOOSAppConfig_Initializer_default_instance_;
64} // namespace protobuf
65} // namespace moos
66} // namespace goby
67PROTOBUF_NAMESPACE_OPEN
68template<> ::goby::moos::protobuf::GobyMOOSAppConfig* Arena::CreateMaybeMessage<::goby::moos::protobuf::GobyMOOSAppConfig>(Arena*);
69template<> ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer* Arena::CreateMaybeMessage<::goby::moos::protobuf::GobyMOOSAppConfig_Initializer>(Arena*);
70PROTOBUF_NAMESPACE_CLOSE
71namespace goby {
72namespace moos {
73namespace protobuf {
74
83
84const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* GobyMOOSAppConfig_Initializer_Type_descriptor();
85template<typename T>
86inline const std::string& GobyMOOSAppConfig_Initializer_Type_Name(T enum_t_value) {
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(
92}
94 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, GobyMOOSAppConfig_Initializer_Type* value) {
95 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<GobyMOOSAppConfig_Initializer_Type>(
97}
98// ===================================================================
99
101 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.moos.protobuf.GobyMOOSAppConfig.Initializer) */ {
102 public:
105 explicit PROTOBUF_CONSTEXPR GobyMOOSAppConfig_Initializer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
106
110 *this = ::std::move(from);
111 }
112
114 CopyFrom(from);
115 return *this;
116 }
118 if (this == &from) return *this;
119 if (GetOwningArena() == from.GetOwningArena()
120 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
121 && GetOwningArena() != nullptr
122 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
123 ) {
124 InternalSwap(&from);
125 } else {
126 CopyFrom(from);
127 }
128 return *this;
129 }
130
131 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
132 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
133 }
134 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
135 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
136 }
137
138 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
139 return GetDescriptor();
140 }
141 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
142 return default_instance().GetMetadata().descriptor;
143 }
144 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
145 return default_instance().GetMetadata().reflection;
146 }
154 static constexpr int kIndexInFileMessages =
155 0;
156
161 if (other == this) return;
162 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
163 if (GetOwningArena() != nullptr &&
164 GetOwningArena() == other->GetOwningArena()) {
165 #else // PROTOBUF_FORCE_COPY_IN_SWAP
166 if (GetOwningArena() == other->GetOwningArena()) {
167 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
168 InternalSwap(other);
169 } else {
170 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
171 }
172 }
174 if (other == this) return;
175 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
176 InternalSwap(other);
177 }
178
179 // implements Message ----------------------------------------------
180
181 GobyMOOSAppConfig_Initializer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
182 return CreateMaybeMessage<GobyMOOSAppConfig_Initializer>(arena);
183 }
184 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
186 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
188 GobyMOOSAppConfig_Initializer::MergeImpl(*this, from);
189 }
190 private:
191 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
192 public:
193 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
194 bool IsInitialized() const final;
195
196 size_t ByteSizeLong() const final;
197 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
199 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
200 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
201
202 private:
203 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
204 void SharedDtor();
205 void SetCachedSize(int size) const final;
206 void InternalSwap(GobyMOOSAppConfig_Initializer* other);
207
208 private:
209 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
210 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
211 return "goby.moos.protobuf.GobyMOOSAppConfig.Initializer";
212 }
213 protected:
214 explicit GobyMOOSAppConfig_Initializer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
215 bool is_message_owned = false);
216 public:
217
218 static const ClassData _class_data_;
219 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
220
221 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
222
223 // nested types ----------------------------------------------------
224
226 static constexpr Type INI_DOUBLE =
228 static constexpr Type INI_STRING =
230 static inline bool Type_IsValid(int value) {
232 }
233 static constexpr Type Type_MIN =
235 static constexpr Type Type_MAX =
237 static constexpr int Type_ARRAYSIZE =
239 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
243 template<typename T>
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.");
248 return GobyMOOSAppConfig_Initializer_Type_Name(enum_t_value);
249 }
250 static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
251 Type* value) {
253 }
254
255 // accessors -------------------------------------------------------
256
257 enum : int {
264 };
265 // required string moos_var = 2 [(.goby.field) = {
266 bool has_moos_var() const;
267 private:
268 bool _internal_has_moos_var() const;
269 public:
270 void clear_moos_var();
271 const std::string& moos_var() const;
272 template <typename ArgT0 = const std::string&, typename... ArgT>
273 void set_moos_var(ArgT0&& arg0, ArgT... args);
274 std::string* mutable_moos_var();
275 PROTOBUF_NODISCARD std::string* release_moos_var();
276 void set_allocated_moos_var(std::string* moos_var);
277 private:
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();
281 public:
282
283 // optional string global_cfg_var = 3 [(.goby.field) = {
284 bool has_global_cfg_var() const;
285 private:
286 bool _internal_has_global_cfg_var() const;
287 public:
289 const std::string& global_cfg_var() const;
290 template <typename ArgT0 = const std::string&, typename... ArgT>
291 void set_global_cfg_var(ArgT0&& arg0, ArgT... args);
292 std::string* mutable_global_cfg_var();
293 PROTOBUF_NODISCARD std::string* release_global_cfg_var();
295 private:
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();
299 public:
300
301 // optional string sval = 5 [(.goby.field) = {
302 bool has_sval() const;
303 private:
304 bool _internal_has_sval() const;
305 public:
306 void clear_sval();
307 const std::string& sval() const;
308 template <typename ArgT0 = const std::string&, typename... ArgT>
309 void set_sval(ArgT0&& arg0, ArgT... args);
310 std::string* mutable_sval();
311 PROTOBUF_NODISCARD std::string* release_sval();
312 void set_allocated_sval(std::string* sval);
313 private:
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();
317 public:
318
319 // optional double dval = 4 [(.goby.field) = {
320 bool has_dval() const;
321 private:
322 bool _internal_has_dval() const;
323 public:
324 void clear_dval();
325 double dval() const;
326 void set_dval(double value);
327 private:
328 double _internal_dval() const;
329 void _internal_set_dval(double value);
330 public:
331
332 // required .goby.moos.protobuf.GobyMOOSAppConfig.Initializer.Type type = 1 [(.goby.field) = {
333 bool has_type() const;
334 private:
335 bool _internal_has_type() const;
336 public:
337 void clear_type();
340 private:
343 public:
344
345 // optional bool trim = 6 [default = true, (.goby.field) = {
346 bool has_trim() const;
347 private:
348 bool _internal_has_trim() const;
349 public:
350 void clear_trim();
351 bool trim() const;
352 void set_trim(bool value);
353 private:
354 bool _internal_trim() const;
355 void _internal_set_trim(bool value);
356 public:
357
358 // @@protoc_insertion_point(class_scope:goby.moos.protobuf.GobyMOOSAppConfig.Initializer)
359 private:
360 class _Internal;
361
362 // helper for ByteSizeLong()
363 size_t RequiredFieldsByteSizeFallback() const;
364
365 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
366 typedef void InternalArenaConstructable_;
367 typedef void DestructorSkippable_;
368 struct Impl_ {
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_;
374 double dval_;
375 int type_;
376 bool trim_;
377 };
378 union { Impl_ _impl_; };
379 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto;
380};
381// -------------------------------------------------------------------
382
383class GobyMOOSAppConfig final :
384 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.moos.protobuf.GobyMOOSAppConfig) */ {
385 public:
388 explicit PROTOBUF_CONSTEXPR GobyMOOSAppConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
389
393 *this = ::std::move(from);
394 }
395
397 CopyFrom(from);
398 return *this;
399 }
401 if (this == &from) return *this;
402 if (GetOwningArena() == from.GetOwningArena()
403 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
404 && GetOwningArena() != nullptr
405 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
406 ) {
407 InternalSwap(&from);
408 } else {
409 CopyFrom(from);
410 }
411 return *this;
412 }
413
414 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
415 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
416 }
417 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
418 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
419 }
420
421 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
422 return GetDescriptor();
423 }
424 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
425 return default_instance().GetMetadata().descriptor;
426 }
427 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
428 return default_instance().GetMetadata().reflection;
429 }
431 return *internal_default_instance();
432 }
434 return reinterpret_cast<const GobyMOOSAppConfig*>(
436 }
437 static constexpr int kIndexInFileMessages =
438 1;
439
441 a.Swap(&b);
442 }
443 inline void Swap(GobyMOOSAppConfig* other) {
444 if (other == this) return;
445 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
446 if (GetOwningArena() != nullptr &&
447 GetOwningArena() == other->GetOwningArena()) {
448 #else // PROTOBUF_FORCE_COPY_IN_SWAP
449 if (GetOwningArena() == other->GetOwningArena()) {
450 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
451 InternalSwap(other);
452 } else {
453 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
454 }
455 }
457 if (other == this) return;
458 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
459 InternalSwap(other);
460 }
461
462 // implements Message ----------------------------------------------
463
464 GobyMOOSAppConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
465 return CreateMaybeMessage<GobyMOOSAppConfig>(arena);
466 }
467 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
468 void CopyFrom(const GobyMOOSAppConfig& from);
469 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
470 void MergeFrom( const GobyMOOSAppConfig& from) {
471 GobyMOOSAppConfig::MergeImpl(*this, from);
472 }
473 private:
474 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
475 public:
476 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
477 bool IsInitialized() const final;
478
479 size_t ByteSizeLong() 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(); }
484
485 private:
486 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
487 void SharedDtor();
488 void SetCachedSize(int size) const final;
489 void InternalSwap(GobyMOOSAppConfig* other);
490
491 private:
492 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
493 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
494 return "goby.moos.protobuf.GobyMOOSAppConfig";
495 }
496 protected:
497 explicit GobyMOOSAppConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
498 bool is_message_owned = false);
499 public:
500
501 static const ClassData _class_data_;
502 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
503
504 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
505
506 // nested types ----------------------------------------------------
507
509
510 // accessors -------------------------------------------------------
511
512 enum : int {
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,
531 };
532 // repeated .goby.moos.protobuf.GobyMOOSAppConfig.Initializer initializer = 10 [(.goby.field) = {
533 int initializer_size() const;
534 private:
535 int _internal_initializer_size() const;
536 public:
537 void clear_initializer();
538 ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer* mutable_initializer(int index);
539 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer >*
540 mutable_initializer();
541 private:
542 const ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer& _internal_initializer(int index) const;
544 public:
545 const ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer& initializer(int index) const;
547 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer >&
548 initializer() const;
549
550 // optional string log_path = 101 [default = "./", (.goby.field) = {
551 bool has_log_path() const;
552 private:
553 bool _internal_has_log_path() const;
554 public:
555 void clear_log_path();
556 const std::string& log_path() const;
557 template <typename ArgT0 = const std::string&, typename... ArgT>
558 void set_log_path(ArgT0&& arg0, ArgT... args);
559 std::string* mutable_log_path();
560 PROTOBUF_NODISCARD std::string* release_log_path();
561 void set_allocated_log_path(std::string* log_path);
562 private:
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();
566 public:
567
568 // optional string community = 102 [(.goby.field) = {
569 bool has_community() const;
570 private:
571 bool _internal_has_community() const;
572 public:
573 void clear_community();
574 const std::string& community() const;
575 template <typename ArgT0 = const std::string&, typename... ArgT>
576 void set_community(ArgT0&& arg0, ArgT... args);
577 std::string* mutable_community();
578 PROTOBUF_NODISCARD std::string* release_community();
579 void set_allocated_community(std::string* community);
580 private:
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();
584 public:
585
586 // optional string server_host = 107 [(.goby.field) = {
587 bool has_server_host() const;
588 private:
589 bool _internal_has_server_host() const;
590 public:
591 void clear_server_host();
592 const std::string& server_host() const;
593 template <typename ArgT0 = const std::string&, typename... ArgT>
594 void set_server_host(ArgT0&& arg0, ArgT... args);
595 std::string* mutable_server_host();
596 PROTOBUF_NODISCARD std::string* release_server_host();
597 void set_allocated_server_host(std::string* server_host);
598 private:
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();
602 public:
603
604 // optional bool log_omit_file_timestamp = 111 [default = false, (.goby.field) = {
605 bool has_log_omit_file_timestamp() const;
606 private:
607 bool _internal_has_log_omit_file_timestamp() const;
608 public:
609 void clear_log_omit_file_timestamp();
610 bool log_omit_file_timestamp() const;
611 void set_log_omit_file_timestamp(bool value);
612 private:
613 bool _internal_log_omit_file_timestamp() const;
614 void _internal_set_log_omit_file_timestamp(bool value);
615 public:
616
617 // optional bool log_omit_latest_symlink = 112 [default = false, (.goby.field) = {
618 bool has_log_omit_latest_symlink() const;
619 private:
620 bool _internal_has_log_omit_latest_symlink() const;
621 public:
622 void clear_log_omit_latest_symlink();
623 bool log_omit_latest_symlink() const;
624 void set_log_omit_latest_symlink(bool value);
625 private:
626 bool _internal_log_omit_latest_symlink() const;
627 void _internal_set_log_omit_latest_symlink(bool value);
628 public:
629
630 // optional bool show_gui = 4 [default = false, (.goby.field) = {
631 bool has_show_gui() const;
632 private:
633 bool _internal_has_show_gui() const;
634 public:
635 void clear_show_gui();
636 bool show_gui() const;
637 void set_show_gui(bool value);
638 private:
639 bool _internal_show_gui() const;
640 void _internal_set_show_gui(bool value);
641 public:
642
643 // optional bool use_binary_protobuf = 109 [default = false, (.goby.field) = {
644 bool has_use_binary_protobuf() const;
645 private:
646 bool _internal_has_use_binary_protobuf() const;
647 public:
648 void clear_use_binary_protobuf();
649 bool use_binary_protobuf() const;
650 void set_use_binary_protobuf(bool value);
651 private:
652 bool _internal_use_binary_protobuf() const;
653 void _internal_set_use_binary_protobuf(bool value);
654 public:
655
656 // optional int32 server_port = 108 [(.goby.field) = {
657 bool has_server_port() const;
658 private:
659 bool _internal_has_server_port() const;
660 public:
661 void clear_server_port();
662 int32_t server_port() const;
663 void set_server_port(int32_t value);
664 private:
665 int32_t _internal_server_port() const;
666 void _internal_set_server_port(int32_t value);
667 public:
668
669 // optional double lat_origin = 103 [(.goby.field) = {
670 bool has_lat_origin() const;
671 private:
672 bool _internal_has_lat_origin() const;
673 public:
674 void clear_lat_origin();
675 double lat_origin() const;
676 void set_lat_origin(double value);
677 private:
678 double _internal_lat_origin() const;
679 void _internal_set_lat_origin(double value);
680 public:
681
682 // optional double lon_origin = 104 [(.goby.field) = {
683 bool has_lon_origin() const;
684 private:
685 bool _internal_has_lon_origin() const;
686 public:
687 void clear_lon_origin();
688 double lon_origin() const;
689 void set_lon_origin(double value);
690 private:
691 double _internal_lon_origin() const;
692 void _internal_set_lon_origin(double value);
693 public:
694
695 // optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique moos_parser_technique = 110 [default = TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT, (.goby.field) = {
696 bool has_moos_parser_technique() const;
697 private:
698 bool _internal_has_moos_parser_technique() const;
699 public:
700 void clear_moos_parser_technique();
702 void set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value);
703 private:
704 ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique _internal_moos_parser_technique() const;
705 void _internal_set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value);
706 public:
707
708 // optional uint32 app_tick = 1 [default = 10, (.goby.field) = {
709 bool has_app_tick() const;
710 private:
711 bool _internal_has_app_tick() const;
712 public:
713 void clear_app_tick();
714 uint32_t app_tick() const;
715 void set_app_tick(uint32_t value);
716 private:
717 uint32_t _internal_app_tick() const;
718 void _internal_set_app_tick(uint32_t value);
719 public:
720
721 // optional uint32 comm_tick = 2 [default = 10, (.goby.field) = {
722 bool has_comm_tick() const;
723 private:
724 bool _internal_has_comm_tick() const;
725 public:
726 void clear_comm_tick();
727 uint32_t comm_tick() const;
728 void set_comm_tick(uint32_t value);
729 private:
730 uint32_t _internal_comm_tick() const;
731 void _internal_set_comm_tick(uint32_t value);
732 public:
733
734 // optional .goby.util.protobuf.GLogConfig.Verbosity verbosity = 3 [default = VERBOSE, (.goby.field) = {
735 bool has_verbosity() const;
736 private:
737 bool _internal_has_verbosity() const;
738 public:
739 void clear_verbosity();
741 void set_verbosity(::goby::util::protobuf::GLogConfig_Verbosity value);
742 private:
743 ::goby::util::protobuf::GLogConfig_Verbosity _internal_verbosity() const;
744 void _internal_set_verbosity(::goby::util::protobuf::GLogConfig_Verbosity value);
745 public:
746
747 // optional bool log = 100 [default = true, (.goby.field) = {
748 bool has_log() const;
749 private:
750 bool _internal_has_log() const;
751 public:
752 void clear_log();
753 bool log() const;
754 void set_log(bool value);
755 private:
756 bool _internal_log() const;
757 void _internal_set_log(bool value);
758 public:
759
760 // optional .goby.util.protobuf.GLogConfig.Verbosity log_verbosity = 105 [default = DEBUG2, (.goby.field) = {
761 bool has_log_verbosity() const;
762 private:
763 bool _internal_has_log_verbosity() const;
764 public:
765 void clear_log_verbosity();
767 void set_log_verbosity(::goby::util::protobuf::GLogConfig_Verbosity value);
768 private:
769 ::goby::util::protobuf::GLogConfig_Verbosity _internal_log_verbosity() const;
770 void _internal_set_log_verbosity(::goby::util::protobuf::GLogConfig_Verbosity value);
771 public:
772
773 // optional uint32 time_warp_multiplier = 106 [default = 1, (.goby.field) = {
774 bool has_time_warp_multiplier() const;
775 private:
776 bool _internal_has_time_warp_multiplier() const;
777 public:
778 void clear_time_warp_multiplier();
779 uint32_t time_warp_multiplier() const;
780 void set_time_warp_multiplier(uint32_t value);
781 private:
782 uint32_t _internal_time_warp_multiplier() const;
783 void _internal_set_time_warp_multiplier(uint32_t value);
784 public:
785
786 // @@protoc_insertion_point(class_scope:goby.moos.protobuf.GobyMOOSAppConfig)
787 private:
788 class _Internal;
789
790 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
791 typedef void InternalArenaConstructable_;
792 typedef void DestructorSkippable_;
793 struct Impl_ {
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_;
803 bool show_gui_;
804 bool use_binary_protobuf_;
805 int32_t server_port_;
806 double lat_origin_;
807 double lon_origin_;
808 int moos_parser_technique_;
809 uint32_t app_tick_;
810 uint32_t comm_tick_;
811 int verbosity_;
812 bool log_;
813 int log_verbosity_;
814 uint32_t time_warp_multiplier_;
815 };
816 union { Impl_ _impl_; };
817 friend struct ::TableStruct_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto;
818};
819// ===================================================================
820
821
822// ===================================================================
823
824#ifdef __GNUC__
825 #pragma GCC diagnostic push
826 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
827#endif // __GNUC__
828// GobyMOOSAppConfig_Initializer
829
830// required .goby.moos.protobuf.GobyMOOSAppConfig.Initializer.Type type = 1 [(.goby.field) = {
831inline bool GobyMOOSAppConfig_Initializer::_internal_has_type() const {
832 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
833 return value;
834}
835inline bool GobyMOOSAppConfig_Initializer::has_type() const {
836 return _internal_has_type();
837}
838inline void GobyMOOSAppConfig_Initializer::clear_type() {
839 _impl_.type_ = 1;
840 _impl_._has_bits_[0] &= ~0x00000010u;
841}
842inline ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type GobyMOOSAppConfig_Initializer::_internal_type() const {
843 return static_cast< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type >(_impl_.type_);
844}
845inline ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type GobyMOOSAppConfig_Initializer::type() const {
846 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.type)
847 return _internal_type();
848}
849inline void GobyMOOSAppConfig_Initializer::_internal_set_type(::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type value) {
851 _impl_._has_bits_[0] |= 0x00000010u;
852 _impl_.type_ = value;
853}
854inline void GobyMOOSAppConfig_Initializer::set_type(::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type value) {
855 _internal_set_type(value);
856 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.type)
857}
858
859// required string moos_var = 2 [(.goby.field) = {
860inline bool GobyMOOSAppConfig_Initializer::_internal_has_moos_var() const {
861 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
862 return value;
863}
864inline bool GobyMOOSAppConfig_Initializer::has_moos_var() const {
865 return _internal_has_moos_var();
866}
867inline void GobyMOOSAppConfig_Initializer::clear_moos_var() {
868 _impl_.moos_var_.ClearToEmpty();
869 _impl_._has_bits_[0] &= ~0x00000001u;
870}
871inline const std::string& GobyMOOSAppConfig_Initializer::moos_var() const {
872 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.moos_var)
873 return _internal_moos_var();
874}
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());
880 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.moos_var)
881}
882inline std::string* GobyMOOSAppConfig_Initializer::mutable_moos_var() {
883 std::string* _s = _internal_mutable_moos_var();
884 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.moos_var)
885 return _s;
886}
887inline const std::string& GobyMOOSAppConfig_Initializer::_internal_moos_var() const {
888 return _impl_.moos_var_.Get();
889}
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());
893}
894inline std::string* GobyMOOSAppConfig_Initializer::_internal_mutable_moos_var() {
895 _impl_._has_bits_[0] |= 0x00000001u;
896 return _impl_.moos_var_.Mutable(GetArenaForAllocation());
897}
898inline std::string* GobyMOOSAppConfig_Initializer::release_moos_var() {
899 // @@protoc_insertion_point(field_release:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.moos_var)
900 if (!_internal_has_moos_var()) {
901 return nullptr;
902 }
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());
908 }
909#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
910 return p;
911}
912inline void GobyMOOSAppConfig_Initializer::set_allocated_moos_var(std::string* moos_var) {
913 if (moos_var != nullptr) {
914 _impl_._has_bits_[0] |= 0x00000001u;
915 } else {
916 _impl_._has_bits_[0] &= ~0x00000001u;
917 }
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());
922 }
923#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
924 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.moos_var)
925}
926
927// optional string global_cfg_var = 3 [(.goby.field) = {
928inline bool GobyMOOSAppConfig_Initializer::_internal_has_global_cfg_var() const {
929 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
930 return value;
931}
932inline bool GobyMOOSAppConfig_Initializer::has_global_cfg_var() const {
933 return _internal_has_global_cfg_var();
934}
935inline void GobyMOOSAppConfig_Initializer::clear_global_cfg_var() {
936 _impl_.global_cfg_var_.ClearToEmpty();
937 _impl_._has_bits_[0] &= ~0x00000002u;
938}
939inline const std::string& GobyMOOSAppConfig_Initializer::global_cfg_var() const {
940 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.global_cfg_var)
941 return _internal_global_cfg_var();
942}
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());
948 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.global_cfg_var)
949}
950inline std::string* GobyMOOSAppConfig_Initializer::mutable_global_cfg_var() {
951 std::string* _s = _internal_mutable_global_cfg_var();
952 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.global_cfg_var)
953 return _s;
954}
955inline const std::string& GobyMOOSAppConfig_Initializer::_internal_global_cfg_var() const {
956 return _impl_.global_cfg_var_.Get();
957}
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());
961}
962inline std::string* GobyMOOSAppConfig_Initializer::_internal_mutable_global_cfg_var() {
963 _impl_._has_bits_[0] |= 0x00000002u;
964 return _impl_.global_cfg_var_.Mutable(GetArenaForAllocation());
965}
966inline std::string* GobyMOOSAppConfig_Initializer::release_global_cfg_var() {
967 // @@protoc_insertion_point(field_release:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.global_cfg_var)
968 if (!_internal_has_global_cfg_var()) {
969 return nullptr;
970 }
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());
976 }
977#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
978 return p;
979}
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;
983 } else {
984 _impl_._has_bits_[0] &= ~0x00000002u;
985 }
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());
990 }
991#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
992 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.global_cfg_var)
993}
994
995// optional double dval = 4 [(.goby.field) = {
996inline bool GobyMOOSAppConfig_Initializer::_internal_has_dval() const {
997 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
998 return value;
999}
1000inline bool GobyMOOSAppConfig_Initializer::has_dval() const {
1001 return _internal_has_dval();
1002}
1003inline void GobyMOOSAppConfig_Initializer::clear_dval() {
1004 _impl_.dval_ = 0;
1005 _impl_._has_bits_[0] &= ~0x00000008u;
1006}
1007inline double GobyMOOSAppConfig_Initializer::_internal_dval() const {
1008 return _impl_.dval_;
1009}
1010inline double GobyMOOSAppConfig_Initializer::dval() const {
1011 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.dval)
1012 return _internal_dval();
1013}
1014inline void GobyMOOSAppConfig_Initializer::_internal_set_dval(double value) {
1015 _impl_._has_bits_[0] |= 0x00000008u;
1016 _impl_.dval_ = value;
1017}
1018inline void GobyMOOSAppConfig_Initializer::set_dval(double value) {
1019 _internal_set_dval(value);
1020 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.dval)
1021}
1022
1023// optional string sval = 5 [(.goby.field) = {
1024inline bool GobyMOOSAppConfig_Initializer::_internal_has_sval() const {
1025 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1026 return value;
1027}
1028inline bool GobyMOOSAppConfig_Initializer::has_sval() const {
1029 return _internal_has_sval();
1030}
1031inline void GobyMOOSAppConfig_Initializer::clear_sval() {
1032 _impl_.sval_.ClearToEmpty();
1033 _impl_._has_bits_[0] &= ~0x00000004u;
1034}
1035inline const std::string& GobyMOOSAppConfig_Initializer::sval() const {
1036 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.sval)
1037 return _internal_sval();
1038}
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());
1044 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.sval)
1045}
1046inline std::string* GobyMOOSAppConfig_Initializer::mutable_sval() {
1047 std::string* _s = _internal_mutable_sval();
1048 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.sval)
1049 return _s;
1050}
1051inline const std::string& GobyMOOSAppConfig_Initializer::_internal_sval() const {
1052 return _impl_.sval_.Get();
1053}
1054inline void GobyMOOSAppConfig_Initializer::_internal_set_sval(const std::string& value) {
1055 _impl_._has_bits_[0] |= 0x00000004u;
1056 _impl_.sval_.Set(value, GetArenaForAllocation());
1057}
1058inline std::string* GobyMOOSAppConfig_Initializer::_internal_mutable_sval() {
1059 _impl_._has_bits_[0] |= 0x00000004u;
1060 return _impl_.sval_.Mutable(GetArenaForAllocation());
1061}
1062inline std::string* GobyMOOSAppConfig_Initializer::release_sval() {
1063 // @@protoc_insertion_point(field_release:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.sval)
1064 if (!_internal_has_sval()) {
1065 return nullptr;
1066 }
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());
1072 }
1073#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1074 return p;
1075}
1076inline void GobyMOOSAppConfig_Initializer::set_allocated_sval(std::string* sval) {
1077 if (sval != nullptr) {
1078 _impl_._has_bits_[0] |= 0x00000004u;
1079 } else {
1080 _impl_._has_bits_[0] &= ~0x00000004u;
1081 }
1082 _impl_.sval_.SetAllocated(sval, GetArenaForAllocation());
1083#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1084 if (_impl_.sval_.IsDefault()) {
1085 _impl_.sval_.Set("", GetArenaForAllocation());
1086 }
1087#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1088 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.sval)
1089}
1090
1091// optional bool trim = 6 [default = true, (.goby.field) = {
1092inline bool GobyMOOSAppConfig_Initializer::_internal_has_trim() const {
1093 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1094 return value;
1095}
1096inline bool GobyMOOSAppConfig_Initializer::has_trim() const {
1097 return _internal_has_trim();
1098}
1099inline void GobyMOOSAppConfig_Initializer::clear_trim() {
1100 _impl_.trim_ = true;
1101 _impl_._has_bits_[0] &= ~0x00000020u;
1102}
1103inline bool GobyMOOSAppConfig_Initializer::_internal_trim() const {
1104 return _impl_.trim_;
1105}
1106inline bool GobyMOOSAppConfig_Initializer::trim() const {
1107 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.trim)
1108 return _internal_trim();
1109}
1110inline void GobyMOOSAppConfig_Initializer::_internal_set_trim(bool value) {
1111 _impl_._has_bits_[0] |= 0x00000020u;
1112 _impl_.trim_ = value;
1113}
1114inline void GobyMOOSAppConfig_Initializer::set_trim(bool value) {
1115 _internal_set_trim(value);
1116 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.Initializer.trim)
1117}
1118
1119// -------------------------------------------------------------------
1120
1121// GobyMOOSAppConfig
1122
1123// optional bool log = 100 [default = true, (.goby.field) = {
1124inline bool GobyMOOSAppConfig::_internal_has_log() const {
1125 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
1126 return value;
1127}
1128inline bool GobyMOOSAppConfig::has_log() const {
1129 return _internal_has_log();
1130}
1131inline void GobyMOOSAppConfig::clear_log() {
1132 _impl_.log_ = true;
1133 _impl_._has_bits_[0] &= ~0x00004000u;
1134}
1135inline bool GobyMOOSAppConfig::_internal_log() const {
1136 return _impl_.log_;
1137}
1138inline bool GobyMOOSAppConfig::log() const {
1139 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.log)
1140 return _internal_log();
1141}
1142inline void GobyMOOSAppConfig::_internal_set_log(bool value) {
1143 _impl_._has_bits_[0] |= 0x00004000u;
1144 _impl_.log_ = value;
1145}
1146inline void GobyMOOSAppConfig::set_log(bool value) {
1147 _internal_set_log(value);
1148 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.log)
1149}
1150
1151// optional string log_path = 101 [default = "./", (.goby.field) = {
1152inline bool GobyMOOSAppConfig::_internal_has_log_path() const {
1153 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1154 return value;
1155}
1156inline bool GobyMOOSAppConfig::has_log_path() const {
1157 return _internal_has_log_path();
1158}
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;
1162}
1163inline const std::string& GobyMOOSAppConfig::log_path() const {
1164 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.log_path)
1165 if (_impl_.log_path_.IsDefault()) return Impl_::_i_give_permission_to_break_this_code_default_log_path_.get();
1166 return _internal_log_path();
1167}
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());
1173 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.log_path)
1174}
1175inline std::string* GobyMOOSAppConfig::mutable_log_path() {
1176 std::string* _s = _internal_mutable_log_path();
1177 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.GobyMOOSAppConfig.log_path)
1178 return _s;
1179}
1180inline const std::string& GobyMOOSAppConfig::_internal_log_path() const {
1181 return _impl_.log_path_.Get();
1182}
1183inline void GobyMOOSAppConfig::_internal_set_log_path(const std::string& value) {
1184 _impl_._has_bits_[0] |= 0x00000001u;
1185 _impl_.log_path_.Set(value, GetArenaForAllocation());
1186}
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());
1190}
1191inline std::string* GobyMOOSAppConfig::release_log_path() {
1192 // @@protoc_insertion_point(field_release:goby.moos.protobuf.GobyMOOSAppConfig.log_path)
1193 if (!_internal_has_log_path()) {
1194 return nullptr;
1195 }
1196 _impl_._has_bits_[0] &= ~0x00000001u;
1197 auto* p = _impl_.log_path_.Release();
1198 return p;
1199}
1200inline void GobyMOOSAppConfig::set_allocated_log_path(std::string* log_path) {
1201 if (log_path != nullptr) {
1202 _impl_._has_bits_[0] |= 0x00000001u;
1203 } else {
1204 _impl_._has_bits_[0] &= ~0x00000001u;
1205 }
1206 _impl_.log_path_.SetAllocated(log_path, GetArenaForAllocation());
1207 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.GobyMOOSAppConfig.log_path)
1208}
1209
1210// optional bool log_omit_file_timestamp = 111 [default = false, (.goby.field) = {
1211inline bool GobyMOOSAppConfig::_internal_has_log_omit_file_timestamp() const {
1212 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1213 return value;
1214}
1215inline bool GobyMOOSAppConfig::has_log_omit_file_timestamp() const {
1216 return _internal_has_log_omit_file_timestamp();
1217}
1218inline void GobyMOOSAppConfig::clear_log_omit_file_timestamp() {
1219 _impl_.log_omit_file_timestamp_ = false;
1220 _impl_._has_bits_[0] &= ~0x00000008u;
1221}
1222inline bool GobyMOOSAppConfig::_internal_log_omit_file_timestamp() const {
1223 return _impl_.log_omit_file_timestamp_;
1224}
1225inline bool GobyMOOSAppConfig::log_omit_file_timestamp() const {
1226 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.log_omit_file_timestamp)
1227 return _internal_log_omit_file_timestamp();
1228}
1229inline void GobyMOOSAppConfig::_internal_set_log_omit_file_timestamp(bool value) {
1230 _impl_._has_bits_[0] |= 0x00000008u;
1231 _impl_.log_omit_file_timestamp_ = value;
1232}
1233inline void GobyMOOSAppConfig::set_log_omit_file_timestamp(bool value) {
1234 _internal_set_log_omit_file_timestamp(value);
1235 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.log_omit_file_timestamp)
1236}
1237
1238// optional bool log_omit_latest_symlink = 112 [default = false, (.goby.field) = {
1239inline bool GobyMOOSAppConfig::_internal_has_log_omit_latest_symlink() const {
1240 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1241 return value;
1242}
1243inline bool GobyMOOSAppConfig::has_log_omit_latest_symlink() const {
1244 return _internal_has_log_omit_latest_symlink();
1245}
1246inline void GobyMOOSAppConfig::clear_log_omit_latest_symlink() {
1247 _impl_.log_omit_latest_symlink_ = false;
1248 _impl_._has_bits_[0] &= ~0x00000010u;
1249}
1250inline bool GobyMOOSAppConfig::_internal_log_omit_latest_symlink() const {
1251 return _impl_.log_omit_latest_symlink_;
1252}
1253inline bool GobyMOOSAppConfig::log_omit_latest_symlink() const {
1254 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.log_omit_latest_symlink)
1255 return _internal_log_omit_latest_symlink();
1256}
1257inline void GobyMOOSAppConfig::_internal_set_log_omit_latest_symlink(bool value) {
1258 _impl_._has_bits_[0] |= 0x00000010u;
1259 _impl_.log_omit_latest_symlink_ = value;
1260}
1261inline void GobyMOOSAppConfig::set_log_omit_latest_symlink(bool value) {
1262 _internal_set_log_omit_latest_symlink(value);
1263 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.log_omit_latest_symlink)
1264}
1265
1266// optional .goby.util.protobuf.GLogConfig.Verbosity log_verbosity = 105 [default = DEBUG2, (.goby.field) = {
1267inline bool GobyMOOSAppConfig::_internal_has_log_verbosity() const {
1268 bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
1269 return value;
1270}
1271inline bool GobyMOOSAppConfig::has_log_verbosity() const {
1272 return _internal_has_log_verbosity();
1273}
1274inline void GobyMOOSAppConfig::clear_log_verbosity() {
1275 _impl_.log_verbosity_ = 6;
1276 _impl_._has_bits_[0] &= ~0x00008000u;
1277}
1278inline ::goby::util::protobuf::GLogConfig_Verbosity GobyMOOSAppConfig::_internal_log_verbosity() const {
1279 return static_cast< ::goby::util::protobuf::GLogConfig_Verbosity >(_impl_.log_verbosity_);
1280}
1281inline ::goby::util::protobuf::GLogConfig_Verbosity GobyMOOSAppConfig::log_verbosity() const {
1282 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.log_verbosity)
1283 return _internal_log_verbosity();
1284}
1285inline void GobyMOOSAppConfig::_internal_set_log_verbosity(::goby::util::protobuf::GLogConfig_Verbosity value) {
1287 _impl_._has_bits_[0] |= 0x00008000u;
1288 _impl_.log_verbosity_ = value;
1289}
1290inline void GobyMOOSAppConfig::set_log_verbosity(::goby::util::protobuf::GLogConfig_Verbosity value) {
1291 _internal_set_log_verbosity(value);
1292 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.log_verbosity)
1293}
1294
1295// optional string community = 102 [(.goby.field) = {
1296inline bool GobyMOOSAppConfig::_internal_has_community() const {
1297 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1298 return value;
1299}
1300inline bool GobyMOOSAppConfig::has_community() const {
1301 return _internal_has_community();
1302}
1303inline void GobyMOOSAppConfig::clear_community() {
1304 _impl_.community_.ClearToEmpty();
1305 _impl_._has_bits_[0] &= ~0x00000002u;
1306}
1307inline const std::string& GobyMOOSAppConfig::community() const {
1308 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.community)
1309 return _internal_community();
1310}
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());
1316 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.community)
1317}
1318inline std::string* GobyMOOSAppConfig::mutable_community() {
1319 std::string* _s = _internal_mutable_community();
1320 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.GobyMOOSAppConfig.community)
1321 return _s;
1322}
1323inline const std::string& GobyMOOSAppConfig::_internal_community() const {
1324 return _impl_.community_.Get();
1325}
1326inline void GobyMOOSAppConfig::_internal_set_community(const std::string& value) {
1327 _impl_._has_bits_[0] |= 0x00000002u;
1328 _impl_.community_.Set(value, GetArenaForAllocation());
1329}
1330inline std::string* GobyMOOSAppConfig::_internal_mutable_community() {
1331 _impl_._has_bits_[0] |= 0x00000002u;
1332 return _impl_.community_.Mutable(GetArenaForAllocation());
1333}
1334inline std::string* GobyMOOSAppConfig::release_community() {
1335 // @@protoc_insertion_point(field_release:goby.moos.protobuf.GobyMOOSAppConfig.community)
1336 if (!_internal_has_community()) {
1337 return nullptr;
1338 }
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());
1344 }
1345#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1346 return p;
1347}
1348inline void GobyMOOSAppConfig::set_allocated_community(std::string* community) {
1349 if (community != nullptr) {
1350 _impl_._has_bits_[0] |= 0x00000002u;
1351 } else {
1352 _impl_._has_bits_[0] &= ~0x00000002u;
1353 }
1354 _impl_.community_.SetAllocated(community, GetArenaForAllocation());
1355#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1356 if (_impl_.community_.IsDefault()) {
1357 _impl_.community_.Set("", GetArenaForAllocation());
1358 }
1359#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1360 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.GobyMOOSAppConfig.community)
1361}
1362
1363// optional double lat_origin = 103 [(.goby.field) = {
1364inline bool GobyMOOSAppConfig::_internal_has_lat_origin() const {
1365 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1366 return value;
1367}
1368inline bool GobyMOOSAppConfig::has_lat_origin() const {
1369 return _internal_has_lat_origin();
1370}
1371inline void GobyMOOSAppConfig::clear_lat_origin() {
1372 _impl_.lat_origin_ = 0;
1373 _impl_._has_bits_[0] &= ~0x00000100u;
1374}
1375inline double GobyMOOSAppConfig::_internal_lat_origin() const {
1376 return _impl_.lat_origin_;
1377}
1378inline double GobyMOOSAppConfig::lat_origin() const {
1379 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.lat_origin)
1380 return _internal_lat_origin();
1381}
1382inline void GobyMOOSAppConfig::_internal_set_lat_origin(double value) {
1383 _impl_._has_bits_[0] |= 0x00000100u;
1384 _impl_.lat_origin_ = value;
1385}
1386inline void GobyMOOSAppConfig::set_lat_origin(double value) {
1387 _internal_set_lat_origin(value);
1388 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.lat_origin)
1389}
1390
1391// optional double lon_origin = 104 [(.goby.field) = {
1392inline bool GobyMOOSAppConfig::_internal_has_lon_origin() const {
1393 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1394 return value;
1395}
1396inline bool GobyMOOSAppConfig::has_lon_origin() const {
1397 return _internal_has_lon_origin();
1398}
1399inline void GobyMOOSAppConfig::clear_lon_origin() {
1400 _impl_.lon_origin_ = 0;
1401 _impl_._has_bits_[0] &= ~0x00000200u;
1402}
1403inline double GobyMOOSAppConfig::_internal_lon_origin() const {
1404 return _impl_.lon_origin_;
1405}
1406inline double GobyMOOSAppConfig::lon_origin() const {
1407 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.lon_origin)
1408 return _internal_lon_origin();
1409}
1410inline void GobyMOOSAppConfig::_internal_set_lon_origin(double value) {
1411 _impl_._has_bits_[0] |= 0x00000200u;
1412 _impl_.lon_origin_ = value;
1413}
1414inline void GobyMOOSAppConfig::set_lon_origin(double value) {
1415 _internal_set_lon_origin(value);
1416 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.lon_origin)
1417}
1418
1419// optional uint32 time_warp_multiplier = 106 [default = 1, (.goby.field) = {
1420inline bool GobyMOOSAppConfig::_internal_has_time_warp_multiplier() const {
1421 bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
1422 return value;
1423}
1424inline bool GobyMOOSAppConfig::has_time_warp_multiplier() const {
1425 return _internal_has_time_warp_multiplier();
1426}
1427inline void GobyMOOSAppConfig::clear_time_warp_multiplier() {
1428 _impl_.time_warp_multiplier_ = 1u;
1429 _impl_._has_bits_[0] &= ~0x00010000u;
1430}
1431inline uint32_t GobyMOOSAppConfig::_internal_time_warp_multiplier() const {
1432 return _impl_.time_warp_multiplier_;
1433}
1434inline uint32_t GobyMOOSAppConfig::time_warp_multiplier() const {
1435 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.time_warp_multiplier)
1436 return _internal_time_warp_multiplier();
1437}
1438inline void GobyMOOSAppConfig::_internal_set_time_warp_multiplier(uint32_t value) {
1439 _impl_._has_bits_[0] |= 0x00010000u;
1440 _impl_.time_warp_multiplier_ = value;
1441}
1442inline void GobyMOOSAppConfig::set_time_warp_multiplier(uint32_t value) {
1443 _internal_set_time_warp_multiplier(value);
1444 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.time_warp_multiplier)
1445}
1446
1447// optional string server_host = 107 [(.goby.field) = {
1448inline bool GobyMOOSAppConfig::_internal_has_server_host() const {
1449 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1450 return value;
1451}
1452inline bool GobyMOOSAppConfig::has_server_host() const {
1453 return _internal_has_server_host();
1454}
1455inline void GobyMOOSAppConfig::clear_server_host() {
1456 _impl_.server_host_.ClearToEmpty();
1457 _impl_._has_bits_[0] &= ~0x00000004u;
1458}
1459inline const std::string& GobyMOOSAppConfig::server_host() const {
1460 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.server_host)
1461 return _internal_server_host();
1462}
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());
1468 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.server_host)
1469}
1470inline std::string* GobyMOOSAppConfig::mutable_server_host() {
1471 std::string* _s = _internal_mutable_server_host();
1472 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.GobyMOOSAppConfig.server_host)
1473 return _s;
1474}
1475inline const std::string& GobyMOOSAppConfig::_internal_server_host() const {
1476 return _impl_.server_host_.Get();
1477}
1478inline void GobyMOOSAppConfig::_internal_set_server_host(const std::string& value) {
1479 _impl_._has_bits_[0] |= 0x00000004u;
1480 _impl_.server_host_.Set(value, GetArenaForAllocation());
1481}
1482inline std::string* GobyMOOSAppConfig::_internal_mutable_server_host() {
1483 _impl_._has_bits_[0] |= 0x00000004u;
1484 return _impl_.server_host_.Mutable(GetArenaForAllocation());
1485}
1486inline std::string* GobyMOOSAppConfig::release_server_host() {
1487 // @@protoc_insertion_point(field_release:goby.moos.protobuf.GobyMOOSAppConfig.server_host)
1488 if (!_internal_has_server_host()) {
1489 return nullptr;
1490 }
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());
1496 }
1497#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1498 return p;
1499}
1500inline void GobyMOOSAppConfig::set_allocated_server_host(std::string* server_host) {
1501 if (server_host != nullptr) {
1502 _impl_._has_bits_[0] |= 0x00000004u;
1503 } else {
1504 _impl_._has_bits_[0] &= ~0x00000004u;
1505 }
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());
1510 }
1511#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1512 // @@protoc_insertion_point(field_set_allocated:goby.moos.protobuf.GobyMOOSAppConfig.server_host)
1513}
1514
1515// optional int32 server_port = 108 [(.goby.field) = {
1516inline bool GobyMOOSAppConfig::_internal_has_server_port() const {
1517 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1518 return value;
1519}
1520inline bool GobyMOOSAppConfig::has_server_port() const {
1521 return _internal_has_server_port();
1522}
1523inline void GobyMOOSAppConfig::clear_server_port() {
1524 _impl_.server_port_ = 0;
1525 _impl_._has_bits_[0] &= ~0x00000080u;
1526}
1527inline int32_t GobyMOOSAppConfig::_internal_server_port() const {
1528 return _impl_.server_port_;
1529}
1530inline int32_t GobyMOOSAppConfig::server_port() const {
1531 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.server_port)
1532 return _internal_server_port();
1533}
1534inline void GobyMOOSAppConfig::_internal_set_server_port(int32_t value) {
1535 _impl_._has_bits_[0] |= 0x00000080u;
1536 _impl_.server_port_ = value;
1537}
1538inline void GobyMOOSAppConfig::set_server_port(int32_t value) {
1539 _internal_set_server_port(value);
1540 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.server_port)
1541}
1542
1543// optional uint32 app_tick = 1 [default = 10, (.goby.field) = {
1544inline bool GobyMOOSAppConfig::_internal_has_app_tick() const {
1545 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
1546 return value;
1547}
1548inline bool GobyMOOSAppConfig::has_app_tick() const {
1549 return _internal_has_app_tick();
1550}
1551inline void GobyMOOSAppConfig::clear_app_tick() {
1552 _impl_.app_tick_ = 10u;
1553 _impl_._has_bits_[0] &= ~0x00000800u;
1554}
1555inline uint32_t GobyMOOSAppConfig::_internal_app_tick() const {
1556 return _impl_.app_tick_;
1557}
1558inline uint32_t GobyMOOSAppConfig::app_tick() const {
1559 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.app_tick)
1560 return _internal_app_tick();
1561}
1562inline void GobyMOOSAppConfig::_internal_set_app_tick(uint32_t value) {
1563 _impl_._has_bits_[0] |= 0x00000800u;
1564 _impl_.app_tick_ = value;
1565}
1566inline void GobyMOOSAppConfig::set_app_tick(uint32_t value) {
1567 _internal_set_app_tick(value);
1568 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.app_tick)
1569}
1570
1571// optional uint32 comm_tick = 2 [default = 10, (.goby.field) = {
1572inline bool GobyMOOSAppConfig::_internal_has_comm_tick() const {
1573 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
1574 return value;
1575}
1576inline bool GobyMOOSAppConfig::has_comm_tick() const {
1577 return _internal_has_comm_tick();
1578}
1579inline void GobyMOOSAppConfig::clear_comm_tick() {
1580 _impl_.comm_tick_ = 10u;
1581 _impl_._has_bits_[0] &= ~0x00001000u;
1582}
1583inline uint32_t GobyMOOSAppConfig::_internal_comm_tick() const {
1584 return _impl_.comm_tick_;
1585}
1586inline uint32_t GobyMOOSAppConfig::comm_tick() const {
1587 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.comm_tick)
1588 return _internal_comm_tick();
1589}
1590inline void GobyMOOSAppConfig::_internal_set_comm_tick(uint32_t value) {
1591 _impl_._has_bits_[0] |= 0x00001000u;
1592 _impl_.comm_tick_ = value;
1593}
1594inline void GobyMOOSAppConfig::set_comm_tick(uint32_t value) {
1595 _internal_set_comm_tick(value);
1596 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.comm_tick)
1597}
1598
1599// optional .goby.util.protobuf.GLogConfig.Verbosity verbosity = 3 [default = VERBOSE, (.goby.field) = {
1600inline bool GobyMOOSAppConfig::_internal_has_verbosity() const {
1601 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
1602 return value;
1603}
1604inline bool GobyMOOSAppConfig::has_verbosity() const {
1605 return _internal_has_verbosity();
1606}
1607inline void GobyMOOSAppConfig::clear_verbosity() {
1608 _impl_.verbosity_ = 4;
1609 _impl_._has_bits_[0] &= ~0x00002000u;
1610}
1611inline ::goby::util::protobuf::GLogConfig_Verbosity GobyMOOSAppConfig::_internal_verbosity() const {
1612 return static_cast< ::goby::util::protobuf::GLogConfig_Verbosity >(_impl_.verbosity_);
1613}
1614inline ::goby::util::protobuf::GLogConfig_Verbosity GobyMOOSAppConfig::verbosity() const {
1615 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.verbosity)
1616 return _internal_verbosity();
1617}
1618inline void GobyMOOSAppConfig::_internal_set_verbosity(::goby::util::protobuf::GLogConfig_Verbosity value) {
1620 _impl_._has_bits_[0] |= 0x00002000u;
1621 _impl_.verbosity_ = value;
1622}
1623inline void GobyMOOSAppConfig::set_verbosity(::goby::util::protobuf::GLogConfig_Verbosity value) {
1624 _internal_set_verbosity(value);
1625 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.verbosity)
1626}
1627
1628// optional bool show_gui = 4 [default = false, (.goby.field) = {
1629inline bool GobyMOOSAppConfig::_internal_has_show_gui() const {
1630 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1631 return value;
1632}
1633inline bool GobyMOOSAppConfig::has_show_gui() const {
1634 return _internal_has_show_gui();
1635}
1636inline void GobyMOOSAppConfig::clear_show_gui() {
1637 _impl_.show_gui_ = false;
1638 _impl_._has_bits_[0] &= ~0x00000020u;
1639}
1640inline bool GobyMOOSAppConfig::_internal_show_gui() const {
1641 return _impl_.show_gui_;
1642}
1643inline bool GobyMOOSAppConfig::show_gui() const {
1644 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.show_gui)
1645 return _internal_show_gui();
1646}
1647inline void GobyMOOSAppConfig::_internal_set_show_gui(bool value) {
1648 _impl_._has_bits_[0] |= 0x00000020u;
1649 _impl_.show_gui_ = value;
1650}
1651inline void GobyMOOSAppConfig::set_show_gui(bool value) {
1652 _internal_set_show_gui(value);
1653 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.show_gui)
1654}
1655
1656// optional bool use_binary_protobuf = 109 [default = false, (.goby.field) = {
1657inline bool GobyMOOSAppConfig::_internal_has_use_binary_protobuf() const {
1658 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1659 return value;
1660}
1661inline bool GobyMOOSAppConfig::has_use_binary_protobuf() const {
1662 return _internal_has_use_binary_protobuf();
1663}
1664inline void GobyMOOSAppConfig::clear_use_binary_protobuf() {
1665 _impl_.use_binary_protobuf_ = false;
1666 _impl_._has_bits_[0] &= ~0x00000040u;
1667}
1668inline bool GobyMOOSAppConfig::_internal_use_binary_protobuf() const {
1669 return _impl_.use_binary_protobuf_;
1670}
1671inline bool GobyMOOSAppConfig::use_binary_protobuf() const {
1672 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.use_binary_protobuf)
1673 return _internal_use_binary_protobuf();
1674}
1675inline void GobyMOOSAppConfig::_internal_set_use_binary_protobuf(bool value) {
1676 _impl_._has_bits_[0] |= 0x00000040u;
1677 _impl_.use_binary_protobuf_ = value;
1678}
1679inline void GobyMOOSAppConfig::set_use_binary_protobuf(bool value) {
1680 _internal_set_use_binary_protobuf(value);
1681 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.use_binary_protobuf)
1682}
1683
1684// optional .goby.moos.protobuf.TranslatorEntry.ParserSerializerTechnique moos_parser_technique = 110 [default = TECHNIQUE_PREFIXED_PROTOBUF_TEXT_FORMAT, (.goby.field) = {
1685inline bool GobyMOOSAppConfig::_internal_has_moos_parser_technique() const {
1686 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
1687 return value;
1688}
1689inline bool GobyMOOSAppConfig::has_moos_parser_technique() const {
1690 return _internal_has_moos_parser_technique();
1691}
1692inline void GobyMOOSAppConfig::clear_moos_parser_technique() {
1693 _impl_.moos_parser_technique_ = 5;
1694 _impl_._has_bits_[0] &= ~0x00000400u;
1695}
1696inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique GobyMOOSAppConfig::_internal_moos_parser_technique() const {
1697 return static_cast< ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique >(_impl_.moos_parser_technique_);
1698}
1699inline ::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique GobyMOOSAppConfig::moos_parser_technique() const {
1700 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.moos_parser_technique)
1701 return _internal_moos_parser_technique();
1702}
1703inline void GobyMOOSAppConfig::_internal_set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value) {
1705 _impl_._has_bits_[0] |= 0x00000400u;
1706 _impl_.moos_parser_technique_ = value;
1707}
1708inline void GobyMOOSAppConfig::set_moos_parser_technique(::goby::moos::protobuf::TranslatorEntry_ParserSerializerTechnique value) {
1709 _internal_set_moos_parser_technique(value);
1710 // @@protoc_insertion_point(field_set:goby.moos.protobuf.GobyMOOSAppConfig.moos_parser_technique)
1711}
1712
1713// repeated .goby.moos.protobuf.GobyMOOSAppConfig.Initializer initializer = 10 [(.goby.field) = {
1714inline int GobyMOOSAppConfig::_internal_initializer_size() const {
1715 return _impl_.initializer_.size();
1716}
1717inline int GobyMOOSAppConfig::initializer_size() const {
1718 return _internal_initializer_size();
1719}
1720inline void GobyMOOSAppConfig::clear_initializer() {
1721 _impl_.initializer_.Clear();
1722}
1723inline ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer* GobyMOOSAppConfig::mutable_initializer(int index) {
1724 // @@protoc_insertion_point(field_mutable:goby.moos.protobuf.GobyMOOSAppConfig.initializer)
1725 return _impl_.initializer_.Mutable(index);
1726}
1727inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer >*
1728GobyMOOSAppConfig::mutable_initializer() {
1729 // @@protoc_insertion_point(field_mutable_list:goby.moos.protobuf.GobyMOOSAppConfig.initializer)
1730 return &_impl_.initializer_;
1731}
1732inline const ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer& GobyMOOSAppConfig::_internal_initializer(int index) const {
1733 return _impl_.initializer_.Get(index);
1734}
1735inline const ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer& GobyMOOSAppConfig::initializer(int index) const {
1736 // @@protoc_insertion_point(field_get:goby.moos.protobuf.GobyMOOSAppConfig.initializer)
1737 return _internal_initializer(index);
1738}
1739inline ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer* GobyMOOSAppConfig::_internal_add_initializer() {
1740 return _impl_.initializer_.Add();
1741}
1742inline ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer* GobyMOOSAppConfig::add_initializer() {
1743 ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer* _add = _internal_add_initializer();
1744 // @@protoc_insertion_point(field_add:goby.moos.protobuf.GobyMOOSAppConfig.initializer)
1745 return _add;
1746}
1747inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer >&
1748GobyMOOSAppConfig::initializer() const {
1749 // @@protoc_insertion_point(field_list:goby.moos.protobuf.GobyMOOSAppConfig.initializer)
1750 return _impl_.initializer_;
1751}
1752
1753#ifdef __GNUC__
1754 #pragma GCC diagnostic pop
1755#endif // __GNUC__
1756// -------------------------------------------------------------------
1757
1758
1759// @@protoc_insertion_point(namespace_scope)
1760
1761} // namespace protobuf
1762} // namespace moos
1763} // namespace goby
1764
1765PROTOBUF_NAMESPACE_OPEN
1766
1767template <> struct is_proto_enum< ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type> : ::std::true_type {};
1768template <>
1770 return ::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type_descriptor();
1771}
1772
1773PROTOBUF_NAMESPACE_CLOSE
1774
1775// @@protoc_insertion_point(global_scope)
1776
1777#include <google/protobuf/port_undef.inc>
1778#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fmoos_2fprotobuf_2fgoby_5fmoos_5fapp_2eproto
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_allocated_global_cfg_var(std::string *global_cfg_var)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void CopyFrom(const GobyMOOSAppConfig_Initializer &from)
void set_type(::goby::moos::protobuf::GobyMOOSAppConfig_Initializer_Type value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const GobyMOOSAppConfig_Initializer &from)
void Swap(GobyMOOSAppConfig_Initializer *other)
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
GobyMOOSAppConfig_Initializer(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
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()
friend void swap(GobyMOOSAppConfig_Initializer &a, GobyMOOSAppConfig_Initializer &b)
PROTOBUF_NODISCARD std::string * release_global_cfg_var()
void set_moos_var(ArgT0 &&arg0, ArgT... args)
PROTOBUF_CONSTEXPR GobyMOOSAppConfig_Initializer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
GobyMOOSAppConfig_Initializer(const GobyMOOSAppConfig_Initializer &from)
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 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()
void set_sval(ArgT0 &&arg0, ArgT... args)
GobyMOOSAppConfig_Initializer & operator=(GobyMOOSAppConfig_Initializer &&from) noexcept
void set_global_cfg_var(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
void set_server_host(ArgT0 &&arg0, ArgT... args)
void Swap(GobyMOOSAppConfig *other)
void set_log_path(ArgT0 &&arg0, ArgT... args)
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_InitializerDefaultTypeInternal _GobyMOOSAppConfig_Initializer_default_instance_
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.
#define ByteSizeLong