Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
frontseat_config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/middleware/protobuf/frontseat_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fconfig_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/unknown_field_set.h>
33#include "dccl/option_extensions.pb.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
42#include <boost/units/systems/si.hpp>
43// @@protoc_insertion_point(includes)
44#include <google/protobuf/port_def.inc>
45#define PROTOBUF_INTERNAL_EXPORT_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fconfig_2eproto
46PROTOBUF_NAMESPACE_OPEN
47namespace internal {
48class AnyMetadata;
49} // namespace internal
50PROTOBUF_NAMESPACE_CLOSE
51
52// Internal implementation detail -- do not use these members.
56extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fconfig_2eproto;
57namespace goby {
58namespace middleware {
59namespace frontseat {
60namespace protobuf {
61class Config;
62struct ConfigDefaultTypeInternal;
63extern ConfigDefaultTypeInternal _Config_default_instance_;
64} // namespace protobuf
65} // namespace frontseat
66} // namespace middleware
67} // namespace goby
68PROTOBUF_NAMESPACE_OPEN
69template<> ::goby::middleware::frontseat::protobuf::Config* Arena::CreateMaybeMessage<::goby::middleware::frontseat::protobuf::Config>(Arena*);
70PROTOBUF_NAMESPACE_CLOSE
71namespace goby {
72namespace middleware {
73namespace frontseat {
74namespace protobuf {
75
76// ===================================================================
77
78class Config final :
79 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.middleware.frontseat.protobuf.Config) */ {
80 public:
81 inline Config() : Config(nullptr) {}
82 ~Config() override;
83 explicit PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
84
85 Config(const Config& from);
86 Config(Config&& from) noexcept
87 : Config() {
88 *this = ::std::move(from);
89 }
90
91 inline Config& operator=(const Config& from) {
92 CopyFrom(from);
93 return *this;
94 }
95 inline Config& operator=(Config&& from) noexcept {
96 if (this == &from) return *this;
97 if (GetOwningArena() == from.GetOwningArena()
98 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
99 && GetOwningArena() != nullptr
100 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
101 ) {
102 InternalSwap(&from);
103 } else {
104 CopyFrom(from);
105 }
106 return *this;
107 }
108
109 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
110 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
111 }
112 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
113 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
114 }
115
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
117 return GetDescriptor();
118 }
119 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
120 return default_instance().GetMetadata().descriptor;
121 }
122 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
123 return default_instance().GetMetadata().reflection;
124 }
125 static const Config& default_instance() {
127 }
128 static inline const Config* internal_default_instance() {
129 return reinterpret_cast<const Config*>(
131 }
132 static constexpr int kIndexInFileMessages =
133 0;
134
135 friend void swap(Config& a, Config& b) {
136 a.Swap(&b);
137 }
138 inline void Swap(Config* other) {
139 if (other == this) return;
140 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
141 if (GetOwningArena() != nullptr &&
142 GetOwningArena() == other->GetOwningArena()) {
143 #else // PROTOBUF_FORCE_COPY_IN_SWAP
144 if (GetOwningArena() == other->GetOwningArena()) {
145 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
146 InternalSwap(other);
147 } else {
148 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
149 }
150 }
151 void UnsafeArenaSwap(Config* other) {
152 if (other == this) return;
153 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
154 InternalSwap(other);
155 }
156
157 // implements Message ----------------------------------------------
158
159 Config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
160 return CreateMaybeMessage<Config>(arena);
161 }
162 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
163 void CopyFrom(const Config& from);
164 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 void MergeFrom( const Config& from) {
166 Config::MergeImpl(*this, from);
167 }
168 private:
169 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
170 public:
171 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
172 bool IsInitialized() const final;
173
174 size_t ByteSizeLong() const final;
175 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
177 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
178 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
179
180 private:
181 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
182 void SharedDtor();
183 void SetCachedSize(int size) const final;
184 void InternalSwap(Config* other);
185
186 private:
187 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
188 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
189 return "goby.middleware.frontseat.protobuf.Config";
190 }
191 protected:
192 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena,
193 bool is_message_owned = false);
194 public:
195
196 static const ClassData _class_data_;
197 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
198
199 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
200
201 // nested types ----------------------------------------------------
202
203 // accessors -------------------------------------------------------
204
205 enum : int {
215 };
216 // optional string name = 1;
217 bool has_name() const;
218 private:
219 bool _internal_has_name() const;
220 public:
221 void clear_name();
222 const std::string& name() const;
223 template <typename ArgT0 = const std::string&, typename... ArgT>
224 void set_name(ArgT0&& arg0, ArgT... args);
225 std::string* mutable_name();
226 PROTOBUF_NODISCARD std::string* release_name();
227 void set_allocated_name(std::string* name);
228 private:
229 const std::string& _internal_name() const;
230 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
231 std::string* _internal_mutable_name();
232 public:
233
234 // optional .goby.middleware.protobuf.LatLonPoint origin = 2;
235 bool has_origin() const;
236 private:
237 bool _internal_has_origin() const;
238 public:
240 const ::goby::middleware::protobuf::LatLonPoint& origin() const;
241 PROTOBUF_NODISCARD ::goby::middleware::protobuf::LatLonPoint* release_origin();
244 private:
245 const ::goby::middleware::protobuf::LatLonPoint& _internal_origin() const;
246 ::goby::middleware::protobuf::LatLonPoint* _internal_mutable_origin();
247 public:
251
252 // optional bool exit_on_error = 21 [default = false, (.goby.field) = {
253 bool has_exit_on_error() const;
254 private:
255 bool _internal_has_exit_on_error() const;
256 public:
257 void clear_exit_on_error();
258 bool exit_on_error() const;
259 void set_exit_on_error(bool value);
260 private:
261 bool _internal_exit_on_error() const;
262 void _internal_set_exit_on_error(bool value);
263 public:
264
265 // optional .goby.middleware.frontseat.protobuf.VehicleType type = 3 [default = AUV];
266 bool has_type() const;
267 private:
268 bool _internal_has_type() const;
269 public:
270 void clear_type();
273 private:
275 void _internal_set_type(::goby::middleware::frontseat::protobuf::VehicleType value);
276 public:
277
278 // optional bool require_helm = 10 [default = true, (.goby.field) = {
279 bool has_require_helm() const;
280 private:
281 bool _internal_has_require_helm() const;
282 public:
283 void clear_require_helm();
284 bool require_helm() const;
285 void set_require_helm(bool value);
286 private:
287 bool _internal_require_helm() const;
288 void _internal_set_require_helm(bool value);
289 public:
290
291 // optional double helm_running_timeout = 11 [default = 10, (.goby.field) = {
292 bool has_helm_running_timeout() const;
293 private:
294 bool _internal_has_helm_running_timeout() const;
295 public:
297 double helm_running_timeout() const;
298 void set_helm_running_timeout(double value);
299 private:
300 double _internal_helm_running_timeout() const;
301 void _internal_set_helm_running_timeout(double value);
302 public:
303
304 // optional double frontseat_connected_timeout = 12 [default = 10, (.goby.field) = {
306 private:
307 bool _internal_has_frontseat_connected_timeout() const;
308 public:
310 double frontseat_connected_timeout() const;
311 void set_frontseat_connected_timeout(double value);
312 private:
313 double _internal_frontseat_connected_timeout() const;
314 void _internal_set_frontseat_connected_timeout(double value);
315 public:
316
317 // optional uint32 status_period = 13 [default = 5, (.goby.field) = {
318 bool has_status_period() const;
319 private:
320 bool _internal_has_status_period() const;
321 public:
322 void clear_status_period();
323 uint32_t status_period() const;
324 void set_status_period(uint32_t value);
325 private:
326 uint32_t _internal_status_period() const;
327 void _internal_set_status_period(uint32_t value);
328 public:
329
330 // optional int32 sim_warp_factor = 30 [default = 1];
331 bool has_sim_warp_factor() const;
332 private:
333 bool _internal_has_sim_warp_factor() const;
334 public:
336 int32_t sim_warp_factor() const;
337 void set_sim_warp_factor(int32_t value);
338 private:
339 int32_t _internal_sim_warp_factor() const;
340 void _internal_set_sim_warp_factor(int32_t value);
341 public:
342
343
344 template <typename _proto_TypeTraits,
345 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
346 bool _is_packed>
347 inline bool HasExtension(
348 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
349 Config, _proto_TypeTraits, _field_type, _is_packed>& id) const {
350
351 return _impl_._extensions_.Has(id.number());
352 }
353
354 template <typename _proto_TypeTraits,
355 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
356 bool _is_packed>
357 inline void ClearExtension(
358 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
359 Config, _proto_TypeTraits, _field_type, _is_packed>& id) {
360 _impl_._extensions_.ClearExtension(id.number());
361
362 }
363
364 template <typename _proto_TypeTraits,
365 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
366 bool _is_packed>
367 inline int ExtensionSize(
368 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
369 Config, _proto_TypeTraits, _field_type, _is_packed>& id) const {
370
371 return _impl_._extensions_.ExtensionSize(id.number());
372 }
373
374 template <typename _proto_TypeTraits,
375 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
376 bool _is_packed>
377 inline typename _proto_TypeTraits::Singular::ConstType GetExtension(
378 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
379 Config, _proto_TypeTraits, _field_type, _is_packed>& id) const {
380
381 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_,
382 id.default_value());
383 }
384
385 template <typename _proto_TypeTraits,
386 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
387 bool _is_packed>
388 inline typename _proto_TypeTraits::Singular::MutableType MutableExtension(
389 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
390 Config, _proto_TypeTraits, _field_type, _is_packed>& id) {
391
392 return _proto_TypeTraits::Mutable(id.number(), _field_type,
393 &_impl_._extensions_);
394 }
395
396 template <typename _proto_TypeTraits,
397 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
398 bool _is_packed>
399 inline void SetExtension(
400 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
401 Config, _proto_TypeTraits, _field_type, _is_packed>& id,
402 typename _proto_TypeTraits::Singular::ConstType value) {
403 _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_);
404
405 }
406
407 template <typename _proto_TypeTraits,
408 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
409 bool _is_packed>
411 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
412 Config, _proto_TypeTraits, _field_type, _is_packed>& id,
413 typename _proto_TypeTraits::Singular::MutableType value) {
414 _proto_TypeTraits::SetAllocated(id.number(), _field_type, value,
415 &_impl_._extensions_);
416
417 }
418 template <typename _proto_TypeTraits,
419 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
420 bool _is_packed>
422 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
423 Config, _proto_TypeTraits, _field_type, _is_packed>& id,
424 typename _proto_TypeTraits::Singular::MutableType value) {
425 _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type,
426 value, &_impl_._extensions_);
427
428 }
429 template <typename _proto_TypeTraits,
430 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
431 bool _is_packed>
432 PROTOBUF_NODISCARD inline
433 typename _proto_TypeTraits::Singular::MutableType
435 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
436 Config, _proto_TypeTraits, _field_type, _is_packed>& id) {
437
438 return _proto_TypeTraits::Release(id.number(), _field_type,
439 &_impl_._extensions_);
440 }
441 template <typename _proto_TypeTraits,
442 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
443 bool _is_packed>
444 inline typename _proto_TypeTraits::Singular::MutableType
446 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
447 Config, _proto_TypeTraits, _field_type, _is_packed>& id) {
448
449 return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type,
450 &_impl_._extensions_);
451 }
452
453 template <typename _proto_TypeTraits,
454 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
455 bool _is_packed>
456 inline typename _proto_TypeTraits::Repeated::ConstType GetExtension(
457 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
458 Config, _proto_TypeTraits, _field_type, _is_packed>& id,
459 int index) const {
460
461 return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index);
462 }
463
464 template <typename _proto_TypeTraits,
465 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
466 bool _is_packed>
467 inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension(
468 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
469 Config, _proto_TypeTraits, _field_type, _is_packed>& id,
470 int index) {
471
472 return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_);
473 }
474
475 template <typename _proto_TypeTraits,
476 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
477 bool _is_packed>
478 inline void SetExtension(
479 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
480 Config, _proto_TypeTraits, _field_type, _is_packed>& id,
481 int index, typename _proto_TypeTraits::Repeated::ConstType value) {
482 _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_);
483
484 }
485
486 template <typename _proto_TypeTraits,
487 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
488 bool _is_packed>
489 inline typename _proto_TypeTraits::Repeated::MutableType AddExtension(
490 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
491 Config, _proto_TypeTraits, _field_type, _is_packed>& id) {
492 typename _proto_TypeTraits::Repeated::MutableType to_add =
493 _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_);
494
495 return to_add;
496 }
497
498 template <typename _proto_TypeTraits,
499 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
500 bool _is_packed>
501 inline void AddExtension(
502 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
503 Config, _proto_TypeTraits, _field_type, _is_packed>& id,
504 typename _proto_TypeTraits::Repeated::ConstType value) {
505 _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value,
506 &_impl_._extensions_);
507
508 }
509
510 template <typename _proto_TypeTraits,
511 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
512 bool _is_packed>
513 inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType&
515 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
516 Config, _proto_TypeTraits, _field_type, _is_packed>& id) const {
517
518 return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_);
519 }
520
521 template <typename _proto_TypeTraits,
522 ::PROTOBUF_NAMESPACE_ID::internal::FieldType _field_type,
523 bool _is_packed>
524 inline typename _proto_TypeTraits::Repeated::RepeatedFieldType*
526 const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier<
527 Config, _proto_TypeTraits, _field_type, _is_packed>& id) {
528
529 return _proto_TypeTraits::MutableRepeated(id.number(), _field_type,
530 _is_packed, &_impl_._extensions_);
531 }
532
533 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type helm_running_timeout_dimension;
534
535 typedef boost::units::unit<helm_running_timeout_dimension,boost::units::si::system> helm_running_timeout_unit;
536
537 template<typename Quantity >
538 void set_helm_running_timeout_with_units(Quantity value_w_units)
539 { set_helm_running_timeout(boost::units::quantity<helm_running_timeout_unit,double >(value_w_units).value() ); };
540
541 template<typename Quantity >
543 { return Quantity(helm_running_timeout() * helm_running_timeout_unit()); };
544
545 boost::units::quantity< helm_running_timeout_unit,double > helm_running_timeout_with_units() const
546 { return helm_running_timeout_with_units<boost::units::quantity< helm_running_timeout_unit,double > >(); };
547
548 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type frontseat_connected_timeout_dimension;
549
550 typedef boost::units::unit<frontseat_connected_timeout_dimension,boost::units::si::system> frontseat_connected_timeout_unit;
551
552 template<typename Quantity >
554 { set_frontseat_connected_timeout(boost::units::quantity<frontseat_connected_timeout_unit,double >(value_w_units).value() ); };
555
556 template<typename Quantity >
559
560 boost::units::quantity< frontseat_connected_timeout_unit,double > frontseat_connected_timeout_with_units() const
561 { return frontseat_connected_timeout_with_units<boost::units::quantity< frontseat_connected_timeout_unit,double > >(); };
562
563 typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type status_period_dimension;
564
565 typedef boost::units::unit<status_period_dimension,boost::units::si::system> status_period_unit;
566
567 template<typename Quantity >
568 void set_status_period_with_units(Quantity value_w_units)
569 { set_status_period(boost::units::quantity<status_period_unit,google::protobuf::uint32 >(value_w_units).value() ); };
570
571 template<typename Quantity >
573 { return Quantity(status_period() * status_period_unit()); };
574
575 boost::units::quantity< status_period_unit,google::protobuf::uint32 > status_period_with_units() const
576 { return status_period_with_units<boost::units::quantity< status_period_unit,google::protobuf::uint32 > >(); };
577
578 // @@protoc_insertion_point(class_scope:goby.middleware.frontseat.protobuf.Config)
579 private:
580 class _Internal;
581
582 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
583 typedef void InternalArenaConstructable_;
584 typedef void DestructorSkippable_;
585 struct Impl_ {
586 ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
587
588 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
589 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
590 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
592 bool exit_on_error_;
593 int type_;
594 bool require_helm_;
595 double helm_running_timeout_;
596 double frontseat_connected_timeout_;
597 uint32_t status_period_;
598 int32_t sim_warp_factor_;
599 };
600 union { Impl_ _impl_; };
601 friend struct ::TableStruct_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fconfig_2eproto;
602};
603// ===================================================================
604
605
606// ===================================================================
607
608#ifdef __GNUC__
609 #pragma GCC diagnostic push
610 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
611#endif // __GNUC__
612// Config
613
614// optional string name = 1;
615inline bool Config::_internal_has_name() const {
616 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
617 return value;
618}
619inline bool Config::has_name() const {
620 return _internal_has_name();
621}
622inline void Config::clear_name() {
623 _impl_.name_.ClearToEmpty();
624 _impl_._has_bits_[0] &= ~0x00000001u;
625}
626inline const std::string& Config::name() const {
627 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Config.name)
628 return _internal_name();
629}
630template <typename ArgT0, typename... ArgT>
631inline PROTOBUF_ALWAYS_INLINE
632void Config::set_name(ArgT0&& arg0, ArgT... args) {
633 _impl_._has_bits_[0] |= 0x00000001u;
634 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
635 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.Config.name)
636}
637inline std::string* Config::mutable_name() {
638 std::string* _s = _internal_mutable_name();
639 // @@protoc_insertion_point(field_mutable:goby.middleware.frontseat.protobuf.Config.name)
640 return _s;
641}
642inline const std::string& Config::_internal_name() const {
643 return _impl_.name_.Get();
644}
645inline void Config::_internal_set_name(const std::string& value) {
646 _impl_._has_bits_[0] |= 0x00000001u;
647 _impl_.name_.Set(value, GetArenaForAllocation());
648}
649inline std::string* Config::_internal_mutable_name() {
650 _impl_._has_bits_[0] |= 0x00000001u;
651 return _impl_.name_.Mutable(GetArenaForAllocation());
652}
653inline std::string* Config::release_name() {
654 // @@protoc_insertion_point(field_release:goby.middleware.frontseat.protobuf.Config.name)
655 if (!_internal_has_name()) {
656 return nullptr;
657 }
658 _impl_._has_bits_[0] &= ~0x00000001u;
659 auto* p = _impl_.name_.Release();
660#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
661 if (_impl_.name_.IsDefault()) {
662 _impl_.name_.Set("", GetArenaForAllocation());
663 }
664#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
665 return p;
666}
667inline void Config::set_allocated_name(std::string* name) {
668 if (name != nullptr) {
669 _impl_._has_bits_[0] |= 0x00000001u;
670 } else {
671 _impl_._has_bits_[0] &= ~0x00000001u;
672 }
673 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
674#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
675 if (_impl_.name_.IsDefault()) {
676 _impl_.name_.Set("", GetArenaForAllocation());
677 }
678#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
679 // @@protoc_insertion_point(field_set_allocated:goby.middleware.frontseat.protobuf.Config.name)
680}
681
682// optional .goby.middleware.protobuf.LatLonPoint origin = 2;
683inline bool Config::_internal_has_origin() const {
684 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
685 PROTOBUF_ASSUME(!value || _impl_.origin_ != nullptr);
686 return value;
687}
688inline bool Config::has_origin() const {
689 return _internal_has_origin();
690}
691inline const ::goby::middleware::protobuf::LatLonPoint& Config::_internal_origin() const {
692 const ::goby::middleware::protobuf::LatLonPoint* p = _impl_.origin_;
693 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::LatLonPoint&>(
695}
696inline const ::goby::middleware::protobuf::LatLonPoint& Config::origin() const {
697 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Config.origin)
698 return _internal_origin();
699}
702 if (GetArenaForAllocation() == nullptr) {
703 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_);
704 }
705 _impl_.origin_ = origin;
706 if (origin) {
707 _impl_._has_bits_[0] |= 0x00000002u;
708 } else {
709 _impl_._has_bits_[0] &= ~0x00000002u;
710 }
711 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.middleware.frontseat.protobuf.Config.origin)
712}
713inline ::goby::middleware::protobuf::LatLonPoint* Config::release_origin() {
714 _impl_._has_bits_[0] &= ~0x00000002u;
716 _impl_.origin_ = nullptr;
717#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
718 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
719 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
720 if (GetArenaForAllocation() == nullptr) { delete old; }
721#else // PROTOBUF_FORCE_COPY_IN_RELEASE
722 if (GetArenaForAllocation() != nullptr) {
723 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
724 }
725#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
726 return temp;
727}
728inline ::goby::middleware::protobuf::LatLonPoint* Config::unsafe_arena_release_origin() {
729 // @@protoc_insertion_point(field_release:goby.middleware.frontseat.protobuf.Config.origin)
730 _impl_._has_bits_[0] &= ~0x00000002u;
732 _impl_.origin_ = nullptr;
733 return temp;
734}
735inline ::goby::middleware::protobuf::LatLonPoint* Config::_internal_mutable_origin() {
736 _impl_._has_bits_[0] |= 0x00000002u;
737 if (_impl_.origin_ == nullptr) {
738 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::LatLonPoint>(GetArenaForAllocation());
739 _impl_.origin_ = p;
740 }
741 return _impl_.origin_;
742}
743inline ::goby::middleware::protobuf::LatLonPoint* Config::mutable_origin() {
744 ::goby::middleware::protobuf::LatLonPoint* _msg = _internal_mutable_origin();
745 // @@protoc_insertion_point(field_mutable:goby.middleware.frontseat.protobuf.Config.origin)
746 return _msg;
747}
749 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
750 if (message_arena == nullptr) {
751 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.origin_);
752 }
753 if (origin) {
754 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
755 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
756 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(origin));
757 if (message_arena != submessage_arena) {
758 origin = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
759 message_arena, origin, submessage_arena);
760 }
761 _impl_._has_bits_[0] |= 0x00000002u;
762 } else {
763 _impl_._has_bits_[0] &= ~0x00000002u;
764 }
765 _impl_.origin_ = origin;
766 // @@protoc_insertion_point(field_set_allocated:goby.middleware.frontseat.protobuf.Config.origin)
767}
768
769// optional .goby.middleware.frontseat.protobuf.VehicleType type = 3 [default = AUV];
770inline bool Config::_internal_has_type() const {
771 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
772 return value;
773}
774inline bool Config::has_type() const {
775 return _internal_has_type();
776}
777inline void Config::clear_type() {
778 _impl_.type_ = 10;
779 _impl_._has_bits_[0] &= ~0x00000008u;
780}
781inline ::goby::middleware::frontseat::protobuf::VehicleType Config::_internal_type() const {
782 return static_cast< ::goby::middleware::frontseat::protobuf::VehicleType >(_impl_.type_);
783}
784inline ::goby::middleware::frontseat::protobuf::VehicleType Config::type() const {
785 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Config.type)
786 return _internal_type();
787}
788inline void Config::_internal_set_type(::goby::middleware::frontseat::protobuf::VehicleType value) {
790 _impl_._has_bits_[0] |= 0x00000008u;
791 _impl_.type_ = value;
792}
794 _internal_set_type(value);
795 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.Config.type)
796}
797
798// optional bool require_helm = 10 [default = true, (.goby.field) = {
799inline bool Config::_internal_has_require_helm() const {
800 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
801 return value;
802}
803inline bool Config::has_require_helm() const {
804 return _internal_has_require_helm();
805}
807 _impl_.require_helm_ = true;
808 _impl_._has_bits_[0] &= ~0x00000010u;
809}
810inline bool Config::_internal_require_helm() const {
811 return _impl_.require_helm_;
812}
813inline bool Config::require_helm() const {
814 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Config.require_helm)
815 return _internal_require_helm();
816}
817inline void Config::_internal_set_require_helm(bool value) {
818 _impl_._has_bits_[0] |= 0x00000010u;
819 _impl_.require_helm_ = value;
820}
821inline void Config::set_require_helm(bool value) {
822 _internal_set_require_helm(value);
823 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.Config.require_helm)
824}
825
826// optional double helm_running_timeout = 11 [default = 10, (.goby.field) = {
827inline bool Config::_internal_has_helm_running_timeout() const {
828 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
829 return value;
830}
832 return _internal_has_helm_running_timeout();
833}
835 _impl_.helm_running_timeout_ = 10;
836 _impl_._has_bits_[0] &= ~0x00000020u;
837}
838inline double Config::_internal_helm_running_timeout() const {
839 return _impl_.helm_running_timeout_;
840}
841inline double Config::helm_running_timeout() const {
842 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Config.helm_running_timeout)
843 return _internal_helm_running_timeout();
844}
845inline void Config::_internal_set_helm_running_timeout(double value) {
846 _impl_._has_bits_[0] |= 0x00000020u;
847 _impl_.helm_running_timeout_ = value;
848}
849inline void Config::set_helm_running_timeout(double value) {
850 _internal_set_helm_running_timeout(value);
851 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.Config.helm_running_timeout)
852}
853
854// optional double frontseat_connected_timeout = 12 [default = 10, (.goby.field) = {
855inline bool Config::_internal_has_frontseat_connected_timeout() const {
856 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
857 return value;
858}
860 return _internal_has_frontseat_connected_timeout();
861}
863 _impl_.frontseat_connected_timeout_ = 10;
864 _impl_._has_bits_[0] &= ~0x00000040u;
865}
866inline double Config::_internal_frontseat_connected_timeout() const {
867 return _impl_.frontseat_connected_timeout_;
868}
870 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Config.frontseat_connected_timeout)
871 return _internal_frontseat_connected_timeout();
872}
873inline void Config::_internal_set_frontseat_connected_timeout(double value) {
874 _impl_._has_bits_[0] |= 0x00000040u;
875 _impl_.frontseat_connected_timeout_ = value;
876}
878 _internal_set_frontseat_connected_timeout(value);
879 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.Config.frontseat_connected_timeout)
880}
881
882// optional uint32 status_period = 13 [default = 5, (.goby.field) = {
883inline bool Config::_internal_has_status_period() const {
884 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
885 return value;
886}
887inline bool Config::has_status_period() const {
888 return _internal_has_status_period();
889}
891 _impl_.status_period_ = 5u;
892 _impl_._has_bits_[0] &= ~0x00000080u;
893}
894inline uint32_t Config::_internal_status_period() const {
895 return _impl_.status_period_;
896}
897inline uint32_t Config::status_period() const {
898 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Config.status_period)
899 return _internal_status_period();
900}
901inline void Config::_internal_set_status_period(uint32_t value) {
902 _impl_._has_bits_[0] |= 0x00000080u;
903 _impl_.status_period_ = value;
904}
905inline void Config::set_status_period(uint32_t value) {
906 _internal_set_status_period(value);
907 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.Config.status_period)
908}
909
910// optional bool exit_on_error = 21 [default = false, (.goby.field) = {
911inline bool Config::_internal_has_exit_on_error() const {
912 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
913 return value;
914}
915inline bool Config::has_exit_on_error() const {
916 return _internal_has_exit_on_error();
917}
919 _impl_.exit_on_error_ = false;
920 _impl_._has_bits_[0] &= ~0x00000004u;
921}
922inline bool Config::_internal_exit_on_error() const {
923 return _impl_.exit_on_error_;
924}
925inline bool Config::exit_on_error() const {
926 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Config.exit_on_error)
927 return _internal_exit_on_error();
928}
929inline void Config::_internal_set_exit_on_error(bool value) {
930 _impl_._has_bits_[0] |= 0x00000004u;
931 _impl_.exit_on_error_ = value;
932}
933inline void Config::set_exit_on_error(bool value) {
934 _internal_set_exit_on_error(value);
935 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.Config.exit_on_error)
936}
937
938// optional int32 sim_warp_factor = 30 [default = 1];
939inline bool Config::_internal_has_sim_warp_factor() const {
940 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
941 return value;
942}
943inline bool Config::has_sim_warp_factor() const {
944 return _internal_has_sim_warp_factor();
945}
947 _impl_.sim_warp_factor_ = 1;
948 _impl_._has_bits_[0] &= ~0x00000100u;
949}
950inline int32_t Config::_internal_sim_warp_factor() const {
951 return _impl_.sim_warp_factor_;
952}
953inline int32_t Config::sim_warp_factor() const {
954 // @@protoc_insertion_point(field_get:goby.middleware.frontseat.protobuf.Config.sim_warp_factor)
955 return _internal_sim_warp_factor();
956}
957inline void Config::_internal_set_sim_warp_factor(int32_t value) {
958 _impl_._has_bits_[0] |= 0x00000100u;
959 _impl_.sim_warp_factor_ = value;
960}
961inline void Config::set_sim_warp_factor(int32_t value) {
962 _internal_set_sim_warp_factor(value);
963 // @@protoc_insertion_point(field_set:goby.middleware.frontseat.protobuf.Config.sim_warp_factor)
964}
965
966#ifdef __GNUC__
967 #pragma GCC diagnostic pop
968#endif // __GNUC__
969
970// @@protoc_insertion_point(namespace_scope)
971
972} // namespace protobuf
973} // namespace frontseat
974} // namespace middleware
975} // namespace goby
976
977// @@protoc_insertion_point(global_scope)
978
979#include <google/protobuf/port_undef.inc>
980#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fconfig_2eproto
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::quantity< helm_running_timeout_unit, double > helm_running_timeout_with_units() const
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type frontseat_connected_timeout_dimension
_proto_TypeTraits::Singular::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id)
boost::units::unit< helm_running_timeout_dimension, boost::units::si::system > helm_running_timeout_unit
::goby::middleware::frontseat::protobuf::VehicleType type() const
void set_name(ArgT0 &&arg0, ArgT... args)
void set_status_period_with_units(Quantity value_w_units)
void AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Repeated::ConstType value)
PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type helm_running_timeout_dimension
void set_frontseat_connected_timeout_with_units(Quantity value_w_units)
void set_type(::goby::middleware::frontseat::protobuf::VehicleType value)
void SetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
_proto_TypeTraits::Repeated::RepeatedFieldType * MutableRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::ConstType value)
PROTOBUF_NODISCARD std::string * release_name()
_proto_TypeTraits::Singular::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id) const
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type status_period_dimension
bool HasExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id) const
void set_helm_running_timeout_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
_proto_TypeTraits::Repeated::MutableType AddExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id)
void SetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id, int index, typename _proto_TypeTraits::Repeated::ConstType value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const _proto_TypeTraits::Repeated::RepeatedFieldType & GetRepeatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id) const
boost::units::quantity< frontseat_connected_timeout_unit, double > frontseat_connected_timeout_with_units() const
int ExtensionSize(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id) const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
boost::units::unit< frontseat_connected_timeout_dimension, boost::units::si::system > frontseat_connected_timeout_unit
void unsafe_arena_set_allocated_origin(::goby::middleware::protobuf::LatLonPoint *origin)
boost::units::quantity< status_period_unit, google::protobuf::uint32 > status_period_with_units() const
const ::goby::middleware::protobuf::LatLonPoint & origin() const
void set_allocated_origin(::goby::middleware::protobuf::LatLonPoint *origin)
boost::units::unit< status_period_dimension, boost::units::si::system > status_period_unit
_proto_TypeTraits::Singular::MutableType UnsafeArenaReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void ClearExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id)
void UnsafeArenaSetAllocatedExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id, typename _proto_TypeTraits::Singular::MutableType value)
_proto_TypeTraits::Repeated::MutableType MutableExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id, int index)
PROTOBUF_NODISCARD::goby::middleware::protobuf::LatLonPoint * release_origin()
::goby::middleware::protobuf::LatLonPoint * mutable_origin()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_NODISCARD _proto_TypeTraits::Singular::MutableType ReleaseExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id)
_proto_TypeTraits::Repeated::ConstType GetExtension(const ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< Config, _proto_TypeTraits, _field_type, _is_packed > &id, int index) const
::goby::middleware::protobuf::LatLonPoint * unsafe_arena_release_origin()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fmiddleware_2fprotobuf_2ffrontseat_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::LatLonPoint * Arena::CreateMaybeMessage<::goby::middleware::protobuf::LatLonPoint >(Arena *)
ConfigDefaultTypeInternal _Config_default_instance_
LatLonPointDefaultTypeInternal _LatLonPoint_default_instance_
The global namespace for the Goby project.