JaiaBot 2.6.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: bin/simulator/config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fsimulator_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2fsimulator_2fconfig_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>
24#include <google/protobuf/arena.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>
29#include <google/protobuf/message.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>
34#include "goby/middleware/protobuf/app_config.pb.h"
35#include "goby/zeromq/protobuf/interprocess_config.pb.h"
36#include "goby/moos/protobuf/moos_gateway_config.pb.h"
37#include "goby/middleware/protobuf/udp_config.pb.h"
39#include <boost/units/quantity.hpp>
40#include <boost/units/absolute.hpp>
41#include <boost/units/dimensionless_type.hpp>
42#include <boost/units/make_scaled_unit.hpp>
43
44#include <boost/units/systems/angle/degrees.hpp>
45
46#include <boost/units/systems/temperature/celsius.hpp>
47
48#include <boost/units/systems/si.hpp>
49// @@protoc_insertion_point(includes)
50#include <google/protobuf/port_def.inc>
51#define PROTOBUF_INTERNAL_EXPORT_bin_2fsimulator_2fconfig_2eproto
52PROTOBUF_NAMESPACE_OPEN
53namespace internal {
54class AnyMetadata;
55} // namespace internal
56PROTOBUF_NAMESPACE_CLOSE
57
58// Internal implementation detail -- do not use these members.
60 static const uint32_t offsets[];
61};
62extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fsimulator_2fconfig_2eproto;
63namespace jaiabot {
64namespace config {
65class ArduinoSimThread;
66struct ArduinoSimThreadDefaultTypeInternal;
67extern ArduinoSimThreadDefaultTypeInternal _ArduinoSimThread_default_instance_;
68class Simulator;
69struct SimulatorDefaultTypeInternal;
70extern SimulatorDefaultTypeInternal _Simulator_default_instance_;
71class Simulator_ScalarSample;
72struct Simulator_ScalarSampleDefaultTypeInternal;
73extern Simulator_ScalarSampleDefaultTypeInternal _Simulator_ScalarSample_default_instance_;
74} // namespace config
75} // namespace jaiabot
76PROTOBUF_NAMESPACE_OPEN
77template<> ::jaiabot::config::ArduinoSimThread* Arena::CreateMaybeMessage<::jaiabot::config::ArduinoSimThread>(Arena*);
78template<> ::jaiabot::config::Simulator* Arena::CreateMaybeMessage<::jaiabot::config::Simulator>(Arena*);
79template<> ::jaiabot::config::Simulator_ScalarSample* Arena::CreateMaybeMessage<::jaiabot::config::Simulator_ScalarSample>(Arena*);
80PROTOBUF_NAMESPACE_CLOSE
81namespace jaiabot {
82namespace config {
83
84// ===================================================================
85
87 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.Simulator.ScalarSample) */ {
88 public:
91 explicit PROTOBUF_CONSTEXPR Simulator_ScalarSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
92
96 *this = ::std::move(from);
97 }
98
100 CopyFrom(from);
101 return *this;
102 }
104 if (this == &from) return *this;
105 if (GetOwningArena() == from.GetOwningArena()
106 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
107 && GetOwningArena() != nullptr
108 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
109 ) {
110 InternalSwap(&from);
111 } else {
112 CopyFrom(from);
113 }
114 return *this;
115 }
116
117 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
118 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
119 }
120 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
121 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
122 }
123
124 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
125 return GetDescriptor();
126 }
127 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
128 return default_instance().GetMetadata().descriptor;
129 }
130 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
131 return default_instance().GetMetadata().reflection;
132 }
137 return reinterpret_cast<const Simulator_ScalarSample*>(
139 }
140 static constexpr int kIndexInFileMessages =
141 0;
142
144 a.Swap(&b);
145 }
146 inline void Swap(Simulator_ScalarSample* other) {
147 if (other == this) return;
148 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
149 if (GetOwningArena() != nullptr &&
150 GetOwningArena() == other->GetOwningArena()) {
151 #else // PROTOBUF_FORCE_COPY_IN_SWAP
152 if (GetOwningArena() == other->GetOwningArena()) {
153 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
154 InternalSwap(other);
155 } else {
156 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
157 }
158 }
160 if (other == this) return;
161 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
162 InternalSwap(other);
163 }
164
165 // implements Message ----------------------------------------------
166
167 Simulator_ScalarSample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
168 return CreateMaybeMessage<Simulator_ScalarSample>(arena);
169 }
170 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
172 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
174 Simulator_ScalarSample::MergeImpl(*this, from);
175 }
176 private:
177 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
178 public:
179 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
180 bool IsInitialized() const final;
181
182 size_t ByteSizeLong() const final;
183 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
185 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
186 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
187
188 private:
189 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
190 void SharedDtor();
191 void SetCachedSize(int size) const final;
192 void InternalSwap(Simulator_ScalarSample* other);
193
194 private:
195 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
196 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
197 return "jaiabot.config.Simulator.ScalarSample";
198 }
199 protected:
200 explicit Simulator_ScalarSample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
201 bool is_message_owned = false);
202 public:
203
204 static const ClassData _class_data_;
205 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
206
207 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
208
209 // nested types ----------------------------------------------------
210
211 // accessors -------------------------------------------------------
212
213 enum : int {
217 };
218 // optional double depth = 1 [(.dccl.field) = {
219 bool has_depth() const;
220 private:
221 bool _internal_has_depth() const;
222 public:
223 void clear_depth();
224 double depth() const;
225 void set_depth(double value);
226 private:
227 double _internal_depth() const;
228 void _internal_set_depth(double value);
229 public:
230
231 // optional double temperature = 2 [(.dccl.field) = {
232 bool has_temperature() const;
233 private:
234 bool _internal_has_temperature() const;
235 public:
236 void clear_temperature();
237 double temperature() const;
238 void set_temperature(double value);
239 private:
240 double _internal_temperature() const;
241 void _internal_set_temperature(double value);
242 public:
243
244 // optional double salinity = 3;
245 bool has_salinity() const;
246 private:
247 bool _internal_has_salinity() const;
248 public:
249 void clear_salinity();
250 double salinity() const;
251 void set_salinity(double value);
252 private:
253 double _internal_salinity() const;
254 void _internal_set_salinity(double value);
255 public:
256
257 typedef boost::units::length_dimension depth_dimension;
258
259 typedef boost::units::unit<depth_dimension,boost::units::si::system> depth_unit;
260
261 template<typename Quantity >
262 void set_depth_with_units(Quantity value_w_units)
263 { set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
264
265 template<typename Quantity >
266 Quantity depth_with_units() const
267 { return Quantity(depth() * depth_unit()); };
268
269 boost::units::quantity< depth_unit,double > depth_with_units() const
270 { return depth_with_units<boost::units::quantity< depth_unit,double > >(); };
271
272 typedef boost::units::temperature_dimension temperature_dimension;
273
274 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> > temperature_unit;
275
276 template<typename Quantity >
277 void set_temperature_with_units(Quantity value_w_units)
278 { set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
279
280 template<typename Quantity >
281 Quantity temperature_with_units() const
282 { return Quantity(temperature() * temperature_unit()); };
283
284 boost::units::quantity< temperature_unit,double > temperature_with_units() const
285 { return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
286
287 // @@protoc_insertion_point(class_scope:jaiabot.config.Simulator.ScalarSample)
288 private:
289 class _Internal;
290
291 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
292 typedef void InternalArenaConstructable_;
293 typedef void DestructorSkippable_;
294 struct Impl_ {
295 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
296 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
297 double depth_;
298 double temperature_;
299 double salinity_;
300 };
301 union { Impl_ _impl_; };
302 friend struct ::TableStruct_bin_2fsimulator_2fconfig_2eproto;
303};
304// -------------------------------------------------------------------
305
306class Simulator final :
307 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.Simulator) */ {
308 public:
309 inline Simulator() : Simulator(nullptr) {}
310 ~Simulator() override;
311 explicit PROTOBUF_CONSTEXPR Simulator(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
312
313 Simulator(const Simulator& from);
314 Simulator(Simulator&& from) noexcept
315 : Simulator() {
316 *this = ::std::move(from);
317 }
318
319 inline Simulator& operator=(const Simulator& from) {
320 CopyFrom(from);
321 return *this;
322 }
323 inline Simulator& operator=(Simulator&& from) noexcept {
324 if (this == &from) return *this;
325 if (GetOwningArena() == from.GetOwningArena()
326 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
327 && GetOwningArena() != nullptr
328 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
329 ) {
330 InternalSwap(&from);
331 } else {
332 CopyFrom(from);
333 }
334 return *this;
335 }
336
337 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
338 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
339 }
340 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
341 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
342 }
343
344 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
345 return GetDescriptor();
346 }
347 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
348 return default_instance().GetMetadata().descriptor;
349 }
350 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
351 return default_instance().GetMetadata().reflection;
352 }
353 static const Simulator& default_instance() {
354 return *internal_default_instance();
355 }
356 static inline const Simulator* internal_default_instance() {
357 return reinterpret_cast<const Simulator*>(
359 }
360 static constexpr int kIndexInFileMessages =
361 1;
362
363 friend void swap(Simulator& a, Simulator& b) {
364 a.Swap(&b);
365 }
366 inline void Swap(Simulator* other) {
367 if (other == this) return;
368 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
369 if (GetOwningArena() != nullptr &&
370 GetOwningArena() == other->GetOwningArena()) {
371 #else // PROTOBUF_FORCE_COPY_IN_SWAP
372 if (GetOwningArena() == other->GetOwningArena()) {
373 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
374 InternalSwap(other);
375 } else {
376 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
377 }
378 }
380 if (other == this) return;
381 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
382 InternalSwap(other);
383 }
384
385 // implements Message ----------------------------------------------
386
387 Simulator* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
388 return CreateMaybeMessage<Simulator>(arena);
389 }
390 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
391 void CopyFrom(const Simulator& from);
392 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
393 void MergeFrom( const Simulator& from) {
394 Simulator::MergeImpl(*this, from);
395 }
396 private:
397 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
398 public:
399 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
400 bool IsInitialized() const final;
401
402 size_t ByteSizeLong() const final;
403 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
404 uint8_t* _InternalSerialize(
405 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
406 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
407
408 private:
409 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
410 void SharedDtor();
411 void SetCachedSize(int size) const final;
412 void InternalSwap(Simulator* other);
413
414 private:
415 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
416 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
417 return "jaiabot.config.Simulator";
418 }
419 protected:
420 explicit Simulator(::PROTOBUF_NAMESPACE_ID::Arena* arena,
421 bool is_message_owned = false);
422 public:
423
424 static const ClassData _class_data_;
425 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
426
427 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
428
429 // nested types ----------------------------------------------------
430
432
433 // accessors -------------------------------------------------------
434
435 enum : int {
436 kSampleFieldNumber = 40,
437 kHubGpsdDeviceFieldNumber = 43,
438 kAppFieldNumber = 1,
439 kInterprocessFieldNumber = 2,
440 kMoosFieldNumber = 10,
441 kGpsUdpConfigFieldNumber = 20,
442 kUdpGatewayConfigFieldNumber = 21,
443 kStartLocationFieldNumber = 26,
444 kArduinoConfigFieldNumber = 60,
445 kHeadingRandMaxFieldNumber = 30,
446 kVerticalDiveRateFieldNumber = 31,
447 kSeafloorDepthFieldNumber = 32,
448 kTemperatureStdevFieldNumber = 41,
449 kSalinityStdevFieldNumber = 42,
450 kEnableGpsFieldNumber = 25,
451 kIsBotSimFieldNumber = 28,
452 kGpsHdopRandMaxFieldNumber = 27,
453 kGpsPdopRandMaxFieldNumber = 29,
454 kSeafloorWavelengthFieldNumber = 33,
455 kSeafloorAmplitudeFieldNumber = 34,
456 kGpsHdopDropoutFieldNumber = 35,
457 kGpsPdopDropoutFieldNumber = 36,
458 kMinimumThrustFieldNumber = 37,
459 kPitchAtRestFieldNumber = 38,
460 };
461 // repeated .jaiabot.config.Simulator.ScalarSample sample = 40;
462 int sample_size() const;
463 private:
464 int _internal_sample_size() const;
465 public:
466 void clear_sample();
467 ::jaiabot::config::Simulator_ScalarSample* mutable_sample(int index);
468 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample >*
469 mutable_sample();
470 private:
471 const ::jaiabot::config::Simulator_ScalarSample& _internal_sample(int index) const;
472 ::jaiabot::config::Simulator_ScalarSample* _internal_add_sample();
473 public:
474 const ::jaiabot::config::Simulator_ScalarSample& sample(int index) const;
476 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample >&
477 sample() const;
478
479 // optional string hub_gpsd_device = 43;
480 bool has_hub_gpsd_device() const;
481 private:
482 bool _internal_has_hub_gpsd_device() const;
483 public:
484 void clear_hub_gpsd_device();
485 const std::string& hub_gpsd_device() const;
486 template <typename ArgT0 = const std::string&, typename... ArgT>
487 void set_hub_gpsd_device(ArgT0&& arg0, ArgT... args);
488 std::string* mutable_hub_gpsd_device();
489 PROTOBUF_NODISCARD std::string* release_hub_gpsd_device();
490 void set_allocated_hub_gpsd_device(std::string* hub_gpsd_device);
491 private:
492 const std::string& _internal_hub_gpsd_device() const;
493 inline PROTOBUF_ALWAYS_INLINE void _internal_set_hub_gpsd_device(const std::string& value);
494 std::string* _internal_mutable_hub_gpsd_device();
495 public:
496
497 // optional .goby.middleware.protobuf.AppConfig app = 1;
498 bool has_app() const;
499 private:
500 bool _internal_has_app() const;
501 public:
502 void clear_app();
503 const ::goby::middleware::protobuf::AppConfig& app() const;
504 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
505 ::goby::middleware::protobuf::AppConfig* mutable_app();
506 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
507 private:
508 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
509 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
510 public:
511 void unsafe_arena_set_allocated_app(
512 ::goby::middleware::protobuf::AppConfig* app);
513 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
514
515 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
516 bool has_interprocess() const;
517 private:
518 bool _internal_has_interprocess() const;
519 public:
521 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
522 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
523 ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
524 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
525 private:
526 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
527 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
528 public:
529 void unsafe_arena_set_allocated_interprocess(
530 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
531 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
532
533 // optional .goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig moos = 10;
534 bool has_moos() const;
535 private:
536 bool _internal_has_moos() const;
537 public:
539 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& moos() const;
540 PROTOBUF_NODISCARD ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* release_moos();
541 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* mutable_moos();
542 void set_allocated_moos(::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos);
543 private:
544 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& _internal_moos() const;
545 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* _internal_mutable_moos();
546 public:
547 void unsafe_arena_set_allocated_moos(
548 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos);
549 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* unsafe_arena_release_moos();
550
551 // optional .goby.middleware.protobuf.UDPPointToPointConfig gps_udp_config = 20;
552 bool has_gps_udp_config() const;
553 private:
554 bool _internal_has_gps_udp_config() const;
555 public:
557 const ::goby::middleware::protobuf::UDPPointToPointConfig& gps_udp_config() const;
558 PROTOBUF_NODISCARD ::goby::middleware::protobuf::UDPPointToPointConfig* release_gps_udp_config();
559 ::goby::middleware::protobuf::UDPPointToPointConfig* mutable_gps_udp_config();
560 void set_allocated_gps_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* gps_udp_config);
561 private:
562 const ::goby::middleware::protobuf::UDPPointToPointConfig& _internal_gps_udp_config() const;
563 ::goby::middleware::protobuf::UDPPointToPointConfig* _internal_mutable_gps_udp_config();
564 public:
565 void unsafe_arena_set_allocated_gps_udp_config(
566 ::goby::middleware::protobuf::UDPPointToPointConfig* gps_udp_config);
567 ::goby::middleware::protobuf::UDPPointToPointConfig* unsafe_arena_release_gps_udp_config();
568
569 // optional .goby.middleware.protobuf.UDPPointToPointConfig udp_gateway_config = 21;
570 bool has_udp_gateway_config() const;
571 private:
572 bool _internal_has_udp_gateway_config() const;
573 public:
575 const ::goby::middleware::protobuf::UDPPointToPointConfig& udp_gateway_config() const;
576 PROTOBUF_NODISCARD ::goby::middleware::protobuf::UDPPointToPointConfig* release_udp_gateway_config();
577 ::goby::middleware::protobuf::UDPPointToPointConfig* mutable_udp_gateway_config();
578 void set_allocated_udp_gateway_config(::goby::middleware::protobuf::UDPPointToPointConfig* udp_gateway_config);
579 private:
580 const ::goby::middleware::protobuf::UDPPointToPointConfig& _internal_udp_gateway_config() const;
581 ::goby::middleware::protobuf::UDPPointToPointConfig* _internal_mutable_udp_gateway_config();
582 public:
583 void unsafe_arena_set_allocated_udp_gateway_config(
584 ::goby::middleware::protobuf::UDPPointToPointConfig* udp_gateway_config);
585 ::goby::middleware::protobuf::UDPPointToPointConfig* unsafe_arena_release_udp_gateway_config();
586
587 // optional .jaiabot.protobuf.GeographicCoordinate start_location = 26;
588 bool has_start_location() const;
589 private:
590 bool _internal_has_start_location() const;
591 public:
593 const ::jaiabot::protobuf::GeographicCoordinate& start_location() const;
594 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_start_location();
595 ::jaiabot::protobuf::GeographicCoordinate* mutable_start_location();
596 void set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location);
597 private:
598 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location() const;
599 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_start_location();
600 public:
601 void unsafe_arena_set_allocated_start_location(
603 ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_start_location();
604
605 // optional .jaiabot.config.ArduinoSimThread arduino_config = 60;
606 bool has_arduino_config() const;
607 private:
608 bool _internal_has_arduino_config() const;
609 public:
610 void clear_arduino_config();
611 const ::jaiabot::config::ArduinoSimThread& arduino_config() const;
612 PROTOBUF_NODISCARD ::jaiabot::config::ArduinoSimThread* release_arduino_config();
613 ::jaiabot::config::ArduinoSimThread* mutable_arduino_config();
614 void set_allocated_arduino_config(::jaiabot::config::ArduinoSimThread* arduino_config);
615 private:
616 const ::jaiabot::config::ArduinoSimThread& _internal_arduino_config() const;
617 ::jaiabot::config::ArduinoSimThread* _internal_mutable_arduino_config();
618 public:
619 void unsafe_arena_set_allocated_arduino_config(
621 ::jaiabot::config::ArduinoSimThread* unsafe_arena_release_arduino_config();
622
623 // optional double heading_rand_max = 30 [default = 0];
624 bool has_heading_rand_max() const;
625 private:
626 bool _internal_has_heading_rand_max() const;
627 public:
628 void clear_heading_rand_max();
629 double heading_rand_max() const;
630 void set_heading_rand_max(double value);
631 private:
632 double _internal_heading_rand_max() const;
633 void _internal_set_heading_rand_max(double value);
634 public:
635
636 // optional double vertical_dive_rate = 31 [(.dccl.field) = {
637 bool has_vertical_dive_rate() const;
638 private:
639 bool _internal_has_vertical_dive_rate() const;
640 public:
641 void clear_vertical_dive_rate();
642 double vertical_dive_rate() const;
643 void set_vertical_dive_rate(double value);
644 private:
645 double _internal_vertical_dive_rate() const;
646 void _internal_set_vertical_dive_rate(double value);
647 public:
648
649 // optional double seafloor_depth = 32 [(.dccl.field) = {
650 bool has_seafloor_depth() const;
651 private:
652 bool _internal_has_seafloor_depth() const;
653 public:
654 void clear_seafloor_depth();
655 double seafloor_depth() const;
656 void set_seafloor_depth(double value);
657 private:
658 double _internal_seafloor_depth() const;
659 void _internal_set_seafloor_depth(double value);
660 public:
661
662 // optional double temperature_stdev = 41 [(.dccl.field) = {
663 bool has_temperature_stdev() const;
664 private:
665 bool _internal_has_temperature_stdev() const;
666 public:
667 void clear_temperature_stdev();
668 double temperature_stdev() const;
669 void set_temperature_stdev(double value);
670 private:
671 double _internal_temperature_stdev() const;
672 void _internal_set_temperature_stdev(double value);
673 public:
674
675 // optional double salinity_stdev = 42;
676 bool has_salinity_stdev() const;
677 private:
678 bool _internal_has_salinity_stdev() const;
679 public:
680 void clear_salinity_stdev();
681 double salinity_stdev() const;
682 void set_salinity_stdev(double value);
683 private:
684 double _internal_salinity_stdev() const;
685 void _internal_set_salinity_stdev(double value);
686 public:
687
688 // optional bool enable_gps = 25 [default = true];
689 bool has_enable_gps() const;
690 private:
691 bool _internal_has_enable_gps() const;
692 public:
693 void clear_enable_gps();
694 bool enable_gps() const;
695 void set_enable_gps(bool value);
696 private:
697 bool _internal_enable_gps() const;
698 void _internal_set_enable_gps(bool value);
699 public:
700
701 // optional bool is_bot_sim = 28 [default = true];
702 bool has_is_bot_sim() const;
703 private:
704 bool _internal_has_is_bot_sim() const;
705 public:
706 void clear_is_bot_sim();
707 bool is_bot_sim() const;
708 void set_is_bot_sim(bool value);
709 private:
710 bool _internal_is_bot_sim() const;
711 void _internal_set_is_bot_sim(bool value);
712 public:
713
714 // optional double gps_hdop_rand_max = 27 [default = 1.3];
715 bool has_gps_hdop_rand_max() const;
716 private:
717 bool _internal_has_gps_hdop_rand_max() const;
718 public:
719 void clear_gps_hdop_rand_max();
720 double gps_hdop_rand_max() const;
721 void set_gps_hdop_rand_max(double value);
722 private:
723 double _internal_gps_hdop_rand_max() const;
724 void _internal_set_gps_hdop_rand_max(double value);
725 public:
726
727 // optional double gps_pdop_rand_max = 29 [default = 2.2];
728 bool has_gps_pdop_rand_max() const;
729 private:
730 bool _internal_has_gps_pdop_rand_max() const;
731 public:
732 void clear_gps_pdop_rand_max();
733 double gps_pdop_rand_max() const;
734 void set_gps_pdop_rand_max(double value);
735 private:
736 double _internal_gps_pdop_rand_max() const;
737 void _internal_set_gps_pdop_rand_max(double value);
738 public:
739
740 // optional double seafloor_wavelength = 33 [default = 100, (.dccl.field) = {
741 bool has_seafloor_wavelength() const;
742 private:
743 bool _internal_has_seafloor_wavelength() const;
744 public:
745 void clear_seafloor_wavelength();
746 double seafloor_wavelength() const;
747 void set_seafloor_wavelength(double value);
748 private:
749 double _internal_seafloor_wavelength() const;
750 void _internal_set_seafloor_wavelength(double value);
751 public:
752
753 // optional double seafloor_amplitude = 34 [default = 5, (.dccl.field) = {
754 bool has_seafloor_amplitude() const;
755 private:
756 bool _internal_has_seafloor_amplitude() const;
757 public:
758 void clear_seafloor_amplitude();
759 double seafloor_amplitude() const;
760 void set_seafloor_amplitude(double value);
761 private:
762 double _internal_seafloor_amplitude() const;
763 void _internal_set_seafloor_amplitude(double value);
764 public:
765
766 // optional double gps_hdop_dropout = 35 [default = 20];
767 bool has_gps_hdop_dropout() const;
768 private:
769 bool _internal_has_gps_hdop_dropout() const;
770 public:
771 void clear_gps_hdop_dropout();
772 double gps_hdop_dropout() const;
773 void set_gps_hdop_dropout(double value);
774 private:
775 double _internal_gps_hdop_dropout() const;
776 void _internal_set_gps_hdop_dropout(double value);
777 public:
778
779 // optional double gps_pdop_dropout = 36 [default = 20];
780 bool has_gps_pdop_dropout() const;
781 private:
782 bool _internal_has_gps_pdop_dropout() const;
783 public:
784 void clear_gps_pdop_dropout();
785 double gps_pdop_dropout() const;
786 void set_gps_pdop_dropout(double value);
787 private:
788 double _internal_gps_pdop_dropout() const;
789 void _internal_set_gps_pdop_dropout(double value);
790 public:
791
792 // optional double minimum_thrust = 37 [default = 5];
793 bool has_minimum_thrust() const;
794 private:
795 bool _internal_has_minimum_thrust() const;
796 public:
797 void clear_minimum_thrust();
798 double minimum_thrust() const;
799 void set_minimum_thrust(double value);
800 private:
801 double _internal_minimum_thrust() const;
802 void _internal_set_minimum_thrust(double value);
803 public:
804
805 // optional double pitch_at_rest = 38 [default = 85, (.dccl.field) = {
806 bool has_pitch_at_rest() const;
807 private:
808 bool _internal_has_pitch_at_rest() const;
809 public:
810 void clear_pitch_at_rest();
811 double pitch_at_rest() const;
812 void set_pitch_at_rest(double value);
813 private:
814 double _internal_pitch_at_rest() const;
815 void _internal_set_pitch_at_rest(double value);
816 public:
817
818 typedef boost::units::velocity_dimension vertical_dive_rate_dimension;
819
820 typedef boost::units::unit<vertical_dive_rate_dimension,boost::units::si::system> vertical_dive_rate_unit;
821
822 template<typename Quantity >
823 void set_vertical_dive_rate_with_units(Quantity value_w_units)
824 { set_vertical_dive_rate(boost::units::quantity<vertical_dive_rate_unit,double >(value_w_units).value() ); };
825
826 template<typename Quantity >
828 { return Quantity(vertical_dive_rate() * vertical_dive_rate_unit()); };
829
830 boost::units::quantity< vertical_dive_rate_unit,double > vertical_dive_rate_with_units() const
831 { return vertical_dive_rate_with_units<boost::units::quantity< vertical_dive_rate_unit,double > >(); };
832
833 typedef boost::units::length_dimension seafloor_depth_dimension;
834
835 typedef boost::units::unit<seafloor_depth_dimension,boost::units::si::system> seafloor_depth_unit;
836
837 template<typename Quantity >
838 void set_seafloor_depth_with_units(Quantity value_w_units)
839 { set_seafloor_depth(boost::units::quantity<seafloor_depth_unit,double >(value_w_units).value() ); };
840
841 template<typename Quantity >
843 { return Quantity(seafloor_depth() * seafloor_depth_unit()); };
844
845 boost::units::quantity< seafloor_depth_unit,double > seafloor_depth_with_units() const
846 { return seafloor_depth_with_units<boost::units::quantity< seafloor_depth_unit,double > >(); };
847
848 typedef boost::units::length_dimension seafloor_wavelength_dimension;
849
850 typedef boost::units::unit<seafloor_wavelength_dimension,boost::units::si::system> seafloor_wavelength_unit;
851
852 template<typename Quantity >
853 void set_seafloor_wavelength_with_units(Quantity value_w_units)
854 { set_seafloor_wavelength(boost::units::quantity<seafloor_wavelength_unit,double >(value_w_units).value() ); };
855
856 template<typename Quantity >
858 { return Quantity(seafloor_wavelength() * seafloor_wavelength_unit()); };
859
860 boost::units::quantity< seafloor_wavelength_unit,double > seafloor_wavelength_with_units() const
861 { return seafloor_wavelength_with_units<boost::units::quantity< seafloor_wavelength_unit,double > >(); };
862
863 typedef boost::units::length_dimension seafloor_amplitude_dimension;
864
865 typedef boost::units::unit<seafloor_amplitude_dimension,boost::units::si::system> seafloor_amplitude_unit;
866
867 template<typename Quantity >
868 void set_seafloor_amplitude_with_units(Quantity value_w_units)
869 { set_seafloor_amplitude(boost::units::quantity<seafloor_amplitude_unit,double >(value_w_units).value() ); };
870
871 template<typename Quantity >
873 { return Quantity(seafloor_amplitude() * seafloor_amplitude_unit()); };
874
875 boost::units::quantity< seafloor_amplitude_unit,double > seafloor_amplitude_with_units() const
876 { return seafloor_amplitude_with_units<boost::units::quantity< seafloor_amplitude_unit,double > >(); };
877
878 typedef boost::units::plane_angle_dimension pitch_at_rest_dimension;
879
880 typedef boost::units::unit<pitch_at_rest_dimension,boost::units::degree::system> pitch_at_rest_unit;
881
882 template<typename Quantity >
883 void set_pitch_at_rest_with_units(Quantity value_w_units)
884 { set_pitch_at_rest(boost::units::quantity<pitch_at_rest_unit,double >(value_w_units).value() ); };
885
886 template<typename Quantity >
888 { return Quantity(pitch_at_rest() * pitch_at_rest_unit()); };
889
890 boost::units::quantity< pitch_at_rest_unit,double > pitch_at_rest_with_units() const
891 { return pitch_at_rest_with_units<boost::units::quantity< pitch_at_rest_unit,double > >(); };
892
893 typedef boost::units::temperature_dimension temperature_stdev_dimension;
894
895 typedef boost::units::unit<temperature_stdev_dimension,boost::units::celsius::system> temperature_stdev_unit;
896
897 template<typename Quantity >
898 void set_temperature_stdev_with_units(Quantity value_w_units)
899 { set_temperature_stdev(boost::units::quantity<temperature_stdev_unit,double >(value_w_units).value() ); };
900
901 template<typename Quantity >
903 { return Quantity(temperature_stdev() * temperature_stdev_unit()); };
904
905 boost::units::quantity< temperature_stdev_unit,double > temperature_stdev_with_units() const
906 { return temperature_stdev_with_units<boost::units::quantity< temperature_stdev_unit,double > >(); };
907
908 // @@protoc_insertion_point(class_scope:jaiabot.config.Simulator)
909 private:
910 class _Internal;
911
912 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
913 typedef void InternalArenaConstructable_;
914 typedef void DestructorSkippable_;
915 struct Impl_ {
916 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
917 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
918 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample > sample_;
919 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hub_gpsd_device_;
920 ::goby::middleware::protobuf::AppConfig* app_;
921 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
922 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos_;
923 ::goby::middleware::protobuf::UDPPointToPointConfig* gps_udp_config_;
924 ::goby::middleware::protobuf::UDPPointToPointConfig* udp_gateway_config_;
927 double heading_rand_max_;
928 double vertical_dive_rate_;
929 double seafloor_depth_;
930 double temperature_stdev_;
931 double salinity_stdev_;
932 bool enable_gps_;
933 bool is_bot_sim_;
934 double gps_hdop_rand_max_;
935 double gps_pdop_rand_max_;
936 double seafloor_wavelength_;
937 double seafloor_amplitude_;
938 double gps_hdop_dropout_;
939 double gps_pdop_dropout_;
940 double minimum_thrust_;
941 double pitch_at_rest_;
942 };
943 union { Impl_ _impl_; };
944 friend struct ::TableStruct_bin_2fsimulator_2fconfig_2eproto;
945};
946// -------------------------------------------------------------------
947
948class ArduinoSimThread final :
949 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.ArduinoSimThread) */ {
950 public:
951 inline ArduinoSimThread() : ArduinoSimThread(nullptr) {}
953 explicit PROTOBUF_CONSTEXPR ArduinoSimThread(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
954
957 : ArduinoSimThread() {
958 *this = ::std::move(from);
959 }
960
962 CopyFrom(from);
963 return *this;
964 }
965 inline ArduinoSimThread& operator=(ArduinoSimThread&& from) noexcept {
966 if (this == &from) return *this;
967 if (GetOwningArena() == from.GetOwningArena()
968 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
969 && GetOwningArena() != nullptr
970 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
971 ) {
972 InternalSwap(&from);
973 } else {
974 CopyFrom(from);
975 }
976 return *this;
977 }
978
979 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
980 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
981 }
982 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
983 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
984 }
985
986 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
987 return GetDescriptor();
988 }
989 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
990 return default_instance().GetMetadata().descriptor;
991 }
992 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
993 return default_instance().GetMetadata().reflection;
994 }
996 return *internal_default_instance();
997 }
999 return reinterpret_cast<const ArduinoSimThread*>(
1001 }
1002 static constexpr int kIndexInFileMessages =
1003 2;
1004
1006 a.Swap(&b);
1007 }
1008 inline void Swap(ArduinoSimThread* other) {
1009 if (other == this) return;
1010 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1011 if (GetOwningArena() != nullptr &&
1012 GetOwningArena() == other->GetOwningArena()) {
1013 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1014 if (GetOwningArena() == other->GetOwningArena()) {
1015 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1016 InternalSwap(other);
1017 } else {
1018 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1019 }
1020 }
1022 if (other == this) return;
1023 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1024 InternalSwap(other);
1025 }
1026
1027 // implements Message ----------------------------------------------
1028
1029 ArduinoSimThread* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1030 return CreateMaybeMessage<ArduinoSimThread>(arena);
1031 }
1032 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1033 void CopyFrom(const ArduinoSimThread& from);
1034 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1035 void MergeFrom( const ArduinoSimThread& from) {
1036 ArduinoSimThread::MergeImpl(*this, from);
1037 }
1038 private:
1039 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1040 public:
1041 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1042 bool IsInitialized() const final;
1043
1044 size_t ByteSizeLong() const final;
1045 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1046 uint8_t* _InternalSerialize(
1047 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1048 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1049
1050 private:
1051 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1052 void SharedDtor();
1053 void SetCachedSize(int size) const final;
1054 void InternalSwap(ArduinoSimThread* other);
1055
1056 private:
1057 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1058 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1059 return "jaiabot.config.ArduinoSimThread";
1060 }
1061 protected:
1062 explicit ArduinoSimThread(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1063 bool is_message_owned = false);
1064 public:
1065
1066 static const ClassData _class_data_;
1067 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1068
1069 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1070
1071 // nested types ----------------------------------------------------
1072
1073 // accessors -------------------------------------------------------
1074
1075 enum : int {
1076 kVoltagePeriodFieldNumber = 1,
1077 kVoltageStepDecreaseFieldNumber = 2,
1078 kVoltageStartFieldNumber = 3,
1079 kResetVoltageLevelFieldNumber = 4,
1080 };
1081 // optional int32 voltage_period = 1 [default = 1];
1082 bool has_voltage_period() const;
1083 private:
1084 bool _internal_has_voltage_period() const;
1085 public:
1086 void clear_voltage_period();
1087 int32_t voltage_period() const;
1088 void set_voltage_period(int32_t value);
1089 private:
1090 int32_t _internal_voltage_period() const;
1091 void _internal_set_voltage_period(int32_t value);
1092 public:
1093
1094 // optional double voltage_step_decrease = 2 [default = 0.1];
1095 bool has_voltage_step_decrease() const;
1096 private:
1097 bool _internal_has_voltage_step_decrease() const;
1098 public:
1099 void clear_voltage_step_decrease();
1100 double voltage_step_decrease() const;
1101 void set_voltage_step_decrease(double value);
1102 private:
1103 double _internal_voltage_step_decrease() const;
1104 void _internal_set_voltage_step_decrease(double value);
1105 public:
1106
1107 // optional double voltage_start = 3 [default = 24];
1108 bool has_voltage_start() const;
1109 private:
1110 bool _internal_has_voltage_start() const;
1111 public:
1112 void clear_voltage_start();
1113 double voltage_start() const;
1114 void set_voltage_start(double value);
1115 private:
1116 double _internal_voltage_start() const;
1117 void _internal_set_voltage_start(double value);
1118 public:
1119
1120 // optional double reset_voltage_level = 4 [default = 15];
1121 bool has_reset_voltage_level() const;
1122 private:
1123 bool _internal_has_reset_voltage_level() const;
1124 public:
1125 void clear_reset_voltage_level();
1126 double reset_voltage_level() const;
1127 void set_reset_voltage_level(double value);
1128 private:
1129 double _internal_reset_voltage_level() const;
1130 void _internal_set_reset_voltage_level(double value);
1131 public:
1132
1133 // @@protoc_insertion_point(class_scope:jaiabot.config.ArduinoSimThread)
1134 private:
1135 class _Internal;
1136
1137 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1138 typedef void InternalArenaConstructable_;
1139 typedef void DestructorSkippable_;
1140 struct Impl_ {
1141 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1142 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1143 int32_t voltage_period_;
1144 double voltage_step_decrease_;
1145 double voltage_start_;
1146 double reset_voltage_level_;
1147 };
1148 union { Impl_ _impl_; };
1149 friend struct ::TableStruct_bin_2fsimulator_2fconfig_2eproto;
1150};
1151// ===================================================================
1152
1153
1154// ===================================================================
1155
1156#ifdef __GNUC__
1157 #pragma GCC diagnostic push
1158 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1159#endif // __GNUC__
1160// Simulator_ScalarSample
1161
1162// optional double depth = 1 [(.dccl.field) = {
1163inline bool Simulator_ScalarSample::_internal_has_depth() const {
1164 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1165 return value;
1166}
1167inline bool Simulator_ScalarSample::has_depth() const {
1168 return _internal_has_depth();
1169}
1170inline void Simulator_ScalarSample::clear_depth() {
1171 _impl_.depth_ = 0;
1172 _impl_._has_bits_[0] &= ~0x00000001u;
1173}
1174inline double Simulator_ScalarSample::_internal_depth() const {
1175 return _impl_.depth_;
1176}
1177inline double Simulator_ScalarSample::depth() const {
1178 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.ScalarSample.depth)
1179 return _internal_depth();
1180}
1181inline void Simulator_ScalarSample::_internal_set_depth(double value) {
1182 _impl_._has_bits_[0] |= 0x00000001u;
1183 _impl_.depth_ = value;
1184}
1185inline void Simulator_ScalarSample::set_depth(double value) {
1186 _internal_set_depth(value);
1187 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.ScalarSample.depth)
1188}
1189
1190// optional double temperature = 2 [(.dccl.field) = {
1191inline bool Simulator_ScalarSample::_internal_has_temperature() const {
1192 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1193 return value;
1194}
1195inline bool Simulator_ScalarSample::has_temperature() const {
1196 return _internal_has_temperature();
1197}
1198inline void Simulator_ScalarSample::clear_temperature() {
1199 _impl_.temperature_ = 0;
1200 _impl_._has_bits_[0] &= ~0x00000002u;
1201}
1202inline double Simulator_ScalarSample::_internal_temperature() const {
1203 return _impl_.temperature_;
1204}
1205inline double Simulator_ScalarSample::temperature() const {
1206 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.ScalarSample.temperature)
1207 return _internal_temperature();
1208}
1209inline void Simulator_ScalarSample::_internal_set_temperature(double value) {
1210 _impl_._has_bits_[0] |= 0x00000002u;
1211 _impl_.temperature_ = value;
1212}
1213inline void Simulator_ScalarSample::set_temperature(double value) {
1214 _internal_set_temperature(value);
1215 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.ScalarSample.temperature)
1216}
1217
1218// optional double salinity = 3;
1219inline bool Simulator_ScalarSample::_internal_has_salinity() const {
1220 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1221 return value;
1222}
1223inline bool Simulator_ScalarSample::has_salinity() const {
1224 return _internal_has_salinity();
1225}
1226inline void Simulator_ScalarSample::clear_salinity() {
1227 _impl_.salinity_ = 0;
1228 _impl_._has_bits_[0] &= ~0x00000004u;
1229}
1230inline double Simulator_ScalarSample::_internal_salinity() const {
1231 return _impl_.salinity_;
1232}
1233inline double Simulator_ScalarSample::salinity() const {
1234 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.ScalarSample.salinity)
1235 return _internal_salinity();
1236}
1237inline void Simulator_ScalarSample::_internal_set_salinity(double value) {
1238 _impl_._has_bits_[0] |= 0x00000004u;
1239 _impl_.salinity_ = value;
1240}
1241inline void Simulator_ScalarSample::set_salinity(double value) {
1242 _internal_set_salinity(value);
1243 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.ScalarSample.salinity)
1244}
1245
1246// -------------------------------------------------------------------
1247
1248// Simulator
1249
1250// optional .goby.middleware.protobuf.AppConfig app = 1;
1251inline bool Simulator::_internal_has_app() const {
1252 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1253 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
1254 return value;
1255}
1256inline bool Simulator::has_app() const {
1257 return _internal_has_app();
1258}
1259inline const ::goby::middleware::protobuf::AppConfig& Simulator::_internal_app() const {
1260 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
1261 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
1262 ::goby::middleware::protobuf::_AppConfig_default_instance_);
1263}
1264inline const ::goby::middleware::protobuf::AppConfig& Simulator::app() const {
1265 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.app)
1266 return _internal_app();
1267}
1268inline void Simulator::unsafe_arena_set_allocated_app(
1269 ::goby::middleware::protobuf::AppConfig* app) {
1270 if (GetArenaForAllocation() == nullptr) {
1271 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
1272 }
1273 _impl_.app_ = app;
1274 if (app) {
1275 _impl_._has_bits_[0] |= 0x00000002u;
1276 } else {
1277 _impl_._has_bits_[0] &= ~0x00000002u;
1278 }
1279 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.Simulator.app)
1280}
1281inline ::goby::middleware::protobuf::AppConfig* Simulator::release_app() {
1282 _impl_._has_bits_[0] &= ~0x00000002u;
1283 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
1284 _impl_.app_ = nullptr;
1285#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1286 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1287 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1288 if (GetArenaForAllocation() == nullptr) { delete old; }
1289#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1290 if (GetArenaForAllocation() != nullptr) {
1291 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1292 }
1293#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1294 return temp;
1295}
1296inline ::goby::middleware::protobuf::AppConfig* Simulator::unsafe_arena_release_app() {
1297 // @@protoc_insertion_point(field_release:jaiabot.config.Simulator.app)
1298 _impl_._has_bits_[0] &= ~0x00000002u;
1299 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
1300 _impl_.app_ = nullptr;
1301 return temp;
1302}
1303inline ::goby::middleware::protobuf::AppConfig* Simulator::_internal_mutable_app() {
1304 _impl_._has_bits_[0] |= 0x00000002u;
1305 if (_impl_.app_ == nullptr) {
1306 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
1307 _impl_.app_ = p;
1308 }
1309 return _impl_.app_;
1310}
1311inline ::goby::middleware::protobuf::AppConfig* Simulator::mutable_app() {
1312 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
1313 // @@protoc_insertion_point(field_mutable:jaiabot.config.Simulator.app)
1314 return _msg;
1315}
1316inline void Simulator::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
1317 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1318 if (message_arena == nullptr) {
1319 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
1320 }
1321 if (app) {
1322 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1323 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1324 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
1325 if (message_arena != submessage_arena) {
1326 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1327 message_arena, app, submessage_arena);
1328 }
1329 _impl_._has_bits_[0] |= 0x00000002u;
1330 } else {
1331 _impl_._has_bits_[0] &= ~0x00000002u;
1332 }
1333 _impl_.app_ = app;
1334 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.Simulator.app)
1335}
1336
1337// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
1338inline bool Simulator::_internal_has_interprocess() const {
1339 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1340 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
1341 return value;
1342}
1343inline bool Simulator::has_interprocess() const {
1344 return _internal_has_interprocess();
1345}
1346inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& Simulator::_internal_interprocess() const {
1347 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1348 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
1349 ::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
1350}
1351inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& Simulator::interprocess() const {
1352 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.interprocess)
1353 return _internal_interprocess();
1354}
1355inline void Simulator::unsafe_arena_set_allocated_interprocess(
1356 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
1357 if (GetArenaForAllocation() == nullptr) {
1358 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
1359 }
1360 _impl_.interprocess_ = interprocess;
1361 if (interprocess) {
1362 _impl_._has_bits_[0] |= 0x00000004u;
1363 } else {
1364 _impl_._has_bits_[0] &= ~0x00000004u;
1365 }
1366 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.Simulator.interprocess)
1367}
1368inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Simulator::release_interprocess() {
1369 _impl_._has_bits_[0] &= ~0x00000004u;
1370 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1371 _impl_.interprocess_ = nullptr;
1372#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1373 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1374 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1375 if (GetArenaForAllocation() == nullptr) { delete old; }
1376#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1377 if (GetArenaForAllocation() != nullptr) {
1378 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1379 }
1380#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1381 return temp;
1382}
1383inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Simulator::unsafe_arena_release_interprocess() {
1384 // @@protoc_insertion_point(field_release:jaiabot.config.Simulator.interprocess)
1385 _impl_._has_bits_[0] &= ~0x00000004u;
1386 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1387 _impl_.interprocess_ = nullptr;
1388 return temp;
1389}
1390inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Simulator::_internal_mutable_interprocess() {
1391 _impl_._has_bits_[0] |= 0x00000004u;
1392 if (_impl_.interprocess_ == nullptr) {
1393 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaForAllocation());
1394 _impl_.interprocess_ = p;
1395 }
1396 return _impl_.interprocess_;
1397}
1398inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Simulator::mutable_interprocess() {
1399 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
1400 // @@protoc_insertion_point(field_mutable:jaiabot.config.Simulator.interprocess)
1401 return _msg;
1402}
1403inline void Simulator::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
1404 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1405 if (message_arena == nullptr) {
1406 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
1407 }
1408 if (interprocess) {
1409 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1410 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1411 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
1412 if (message_arena != submessage_arena) {
1413 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1414 message_arena, interprocess, submessage_arena);
1415 }
1416 _impl_._has_bits_[0] |= 0x00000004u;
1417 } else {
1418 _impl_._has_bits_[0] &= ~0x00000004u;
1419 }
1420 _impl_.interprocess_ = interprocess;
1421 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.Simulator.interprocess)
1422}
1423
1424// optional .goby.apps.moos.protobuf.GobyMOOSGatewayConfig.MOOSConfig moos = 10;
1425inline bool Simulator::_internal_has_moos() const {
1426 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1427 PROTOBUF_ASSUME(!value || _impl_.moos_ != nullptr);
1428 return value;
1429}
1430inline bool Simulator::has_moos() const {
1431 return _internal_has_moos();
1432}
1433inline const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& Simulator::_internal_moos() const {
1434 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* p = _impl_.moos_;
1435 return p != nullptr ? *p : reinterpret_cast<const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig&>(
1436 ::goby::apps::moos::protobuf::_GobyMOOSGatewayConfig_MOOSConfig_default_instance_);
1437}
1438inline const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& Simulator::moos() const {
1439 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.moos)
1440 return _internal_moos();
1441}
1442inline void Simulator::unsafe_arena_set_allocated_moos(
1443 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos) {
1444 if (GetArenaForAllocation() == nullptr) {
1445 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.moos_);
1446 }
1447 _impl_.moos_ = moos;
1448 if (moos) {
1449 _impl_._has_bits_[0] |= 0x00000008u;
1450 } else {
1451 _impl_._has_bits_[0] &= ~0x00000008u;
1452 }
1453 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.Simulator.moos)
1454}
1455inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* Simulator::release_moos() {
1456 _impl_._has_bits_[0] &= ~0x00000008u;
1457 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* temp = _impl_.moos_;
1458 _impl_.moos_ = nullptr;
1459#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1460 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1461 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1462 if (GetArenaForAllocation() == nullptr) { delete old; }
1463#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1464 if (GetArenaForAllocation() != nullptr) {
1465 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1466 }
1467#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1468 return temp;
1469}
1470inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* Simulator::unsafe_arena_release_moos() {
1471 // @@protoc_insertion_point(field_release:jaiabot.config.Simulator.moos)
1472 _impl_._has_bits_[0] &= ~0x00000008u;
1473 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* temp = _impl_.moos_;
1474 _impl_.moos_ = nullptr;
1475 return temp;
1476}
1477inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* Simulator::_internal_mutable_moos() {
1478 _impl_._has_bits_[0] |= 0x00000008u;
1479 if (_impl_.moos_ == nullptr) {
1480 auto* p = CreateMaybeMessage<::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig>(GetArenaForAllocation());
1481 _impl_.moos_ = p;
1482 }
1483 return _impl_.moos_;
1484}
1485inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* Simulator::mutable_moos() {
1486 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* _msg = _internal_mutable_moos();
1487 // @@protoc_insertion_point(field_mutable:jaiabot.config.Simulator.moos)
1488 return _msg;
1489}
1490inline void Simulator::set_allocated_moos(::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos) {
1491 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1492 if (message_arena == nullptr) {
1493 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.moos_);
1494 }
1495 if (moos) {
1496 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1497 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1498 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(moos));
1499 if (message_arena != submessage_arena) {
1500 moos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1501 message_arena, moos, submessage_arena);
1502 }
1503 _impl_._has_bits_[0] |= 0x00000008u;
1504 } else {
1505 _impl_._has_bits_[0] &= ~0x00000008u;
1506 }
1507 _impl_.moos_ = moos;
1508 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.Simulator.moos)
1509}
1510
1511// optional .goby.middleware.protobuf.UDPPointToPointConfig gps_udp_config = 20;
1512inline bool Simulator::_internal_has_gps_udp_config() const {
1513 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1514 PROTOBUF_ASSUME(!value || _impl_.gps_udp_config_ != nullptr);
1515 return value;
1516}
1517inline bool Simulator::has_gps_udp_config() const {
1518 return _internal_has_gps_udp_config();
1519}
1520inline const ::goby::middleware::protobuf::UDPPointToPointConfig& Simulator::_internal_gps_udp_config() const {
1521 const ::goby::middleware::protobuf::UDPPointToPointConfig* p = _impl_.gps_udp_config_;
1522 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::UDPPointToPointConfig&>(
1523 ::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
1524}
1525inline const ::goby::middleware::protobuf::UDPPointToPointConfig& Simulator::gps_udp_config() const {
1526 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.gps_udp_config)
1527 return _internal_gps_udp_config();
1528}
1529inline void Simulator::unsafe_arena_set_allocated_gps_udp_config(
1530 ::goby::middleware::protobuf::UDPPointToPointConfig* gps_udp_config) {
1531 if (GetArenaForAllocation() == nullptr) {
1532 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.gps_udp_config_);
1533 }
1534 _impl_.gps_udp_config_ = gps_udp_config;
1535 if (gps_udp_config) {
1536 _impl_._has_bits_[0] |= 0x00000010u;
1537 } else {
1538 _impl_._has_bits_[0] &= ~0x00000010u;
1539 }
1540 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.Simulator.gps_udp_config)
1541}
1542inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::release_gps_udp_config() {
1543 _impl_._has_bits_[0] &= ~0x00000010u;
1544 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.gps_udp_config_;
1545 _impl_.gps_udp_config_ = nullptr;
1546#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1547 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1548 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1549 if (GetArenaForAllocation() == nullptr) { delete old; }
1550#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1551 if (GetArenaForAllocation() != nullptr) {
1552 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1553 }
1554#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1555 return temp;
1556}
1557inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::unsafe_arena_release_gps_udp_config() {
1558 // @@protoc_insertion_point(field_release:jaiabot.config.Simulator.gps_udp_config)
1559 _impl_._has_bits_[0] &= ~0x00000010u;
1560 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.gps_udp_config_;
1561 _impl_.gps_udp_config_ = nullptr;
1562 return temp;
1563}
1564inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::_internal_mutable_gps_udp_config() {
1565 _impl_._has_bits_[0] |= 0x00000010u;
1566 if (_impl_.gps_udp_config_ == nullptr) {
1567 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(GetArenaForAllocation());
1568 _impl_.gps_udp_config_ = p;
1569 }
1570 return _impl_.gps_udp_config_;
1571}
1572inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::mutable_gps_udp_config() {
1573 ::goby::middleware::protobuf::UDPPointToPointConfig* _msg = _internal_mutable_gps_udp_config();
1574 // @@protoc_insertion_point(field_mutable:jaiabot.config.Simulator.gps_udp_config)
1575 return _msg;
1576}
1577inline void Simulator::set_allocated_gps_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* gps_udp_config) {
1578 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1579 if (message_arena == nullptr) {
1580 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.gps_udp_config_);
1581 }
1582 if (gps_udp_config) {
1583 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1584 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1585 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gps_udp_config));
1586 if (message_arena != submessage_arena) {
1587 gps_udp_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1588 message_arena, gps_udp_config, submessage_arena);
1589 }
1590 _impl_._has_bits_[0] |= 0x00000010u;
1591 } else {
1592 _impl_._has_bits_[0] &= ~0x00000010u;
1593 }
1594 _impl_.gps_udp_config_ = gps_udp_config;
1595 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.Simulator.gps_udp_config)
1596}
1597
1598// optional .goby.middleware.protobuf.UDPPointToPointConfig udp_gateway_config = 21;
1599inline bool Simulator::_internal_has_udp_gateway_config() const {
1600 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1601 PROTOBUF_ASSUME(!value || _impl_.udp_gateway_config_ != nullptr);
1602 return value;
1603}
1604inline bool Simulator::has_udp_gateway_config() const {
1605 return _internal_has_udp_gateway_config();
1606}
1607inline const ::goby::middleware::protobuf::UDPPointToPointConfig& Simulator::_internal_udp_gateway_config() const {
1608 const ::goby::middleware::protobuf::UDPPointToPointConfig* p = _impl_.udp_gateway_config_;
1609 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::UDPPointToPointConfig&>(
1610 ::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
1611}
1612inline const ::goby::middleware::protobuf::UDPPointToPointConfig& Simulator::udp_gateway_config() const {
1613 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.udp_gateway_config)
1614 return _internal_udp_gateway_config();
1615}
1616inline void Simulator::unsafe_arena_set_allocated_udp_gateway_config(
1617 ::goby::middleware::protobuf::UDPPointToPointConfig* udp_gateway_config) {
1618 if (GetArenaForAllocation() == nullptr) {
1619 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.udp_gateway_config_);
1620 }
1621 _impl_.udp_gateway_config_ = udp_gateway_config;
1622 if (udp_gateway_config) {
1623 _impl_._has_bits_[0] |= 0x00000020u;
1624 } else {
1625 _impl_._has_bits_[0] &= ~0x00000020u;
1626 }
1627 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.Simulator.udp_gateway_config)
1628}
1629inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::release_udp_gateway_config() {
1630 _impl_._has_bits_[0] &= ~0x00000020u;
1631 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.udp_gateway_config_;
1632 _impl_.udp_gateway_config_ = nullptr;
1633#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1634 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1635 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1636 if (GetArenaForAllocation() == nullptr) { delete old; }
1637#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1638 if (GetArenaForAllocation() != nullptr) {
1639 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1640 }
1641#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1642 return temp;
1643}
1644inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::unsafe_arena_release_udp_gateway_config() {
1645 // @@protoc_insertion_point(field_release:jaiabot.config.Simulator.udp_gateway_config)
1646 _impl_._has_bits_[0] &= ~0x00000020u;
1647 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.udp_gateway_config_;
1648 _impl_.udp_gateway_config_ = nullptr;
1649 return temp;
1650}
1651inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::_internal_mutable_udp_gateway_config() {
1652 _impl_._has_bits_[0] |= 0x00000020u;
1653 if (_impl_.udp_gateway_config_ == nullptr) {
1654 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(GetArenaForAllocation());
1655 _impl_.udp_gateway_config_ = p;
1656 }
1657 return _impl_.udp_gateway_config_;
1658}
1659inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::mutable_udp_gateway_config() {
1660 ::goby::middleware::protobuf::UDPPointToPointConfig* _msg = _internal_mutable_udp_gateway_config();
1661 // @@protoc_insertion_point(field_mutable:jaiabot.config.Simulator.udp_gateway_config)
1662 return _msg;
1663}
1664inline void Simulator::set_allocated_udp_gateway_config(::goby::middleware::protobuf::UDPPointToPointConfig* udp_gateway_config) {
1665 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1666 if (message_arena == nullptr) {
1667 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.udp_gateway_config_);
1668 }
1669 if (udp_gateway_config) {
1670 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1671 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1672 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(udp_gateway_config));
1673 if (message_arena != submessage_arena) {
1674 udp_gateway_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1675 message_arena, udp_gateway_config, submessage_arena);
1676 }
1677 _impl_._has_bits_[0] |= 0x00000020u;
1678 } else {
1679 _impl_._has_bits_[0] &= ~0x00000020u;
1680 }
1681 _impl_.udp_gateway_config_ = udp_gateway_config;
1682 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.Simulator.udp_gateway_config)
1683}
1684
1685// optional bool enable_gps = 25 [default = true];
1686inline bool Simulator::_internal_has_enable_gps() const {
1687 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
1688 return value;
1689}
1690inline bool Simulator::has_enable_gps() const {
1691 return _internal_has_enable_gps();
1692}
1693inline void Simulator::clear_enable_gps() {
1694 _impl_.enable_gps_ = true;
1695 _impl_._has_bits_[0] &= ~0x00002000u;
1696}
1697inline bool Simulator::_internal_enable_gps() const {
1698 return _impl_.enable_gps_;
1699}
1700inline bool Simulator::enable_gps() const {
1701 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.enable_gps)
1702 return _internal_enable_gps();
1703}
1704inline void Simulator::_internal_set_enable_gps(bool value) {
1705 _impl_._has_bits_[0] |= 0x00002000u;
1706 _impl_.enable_gps_ = value;
1707}
1708inline void Simulator::set_enable_gps(bool value) {
1709 _internal_set_enable_gps(value);
1710 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.enable_gps)
1711}
1712
1713// optional .jaiabot.protobuf.GeographicCoordinate start_location = 26;
1714inline bool Simulator::_internal_has_start_location() const {
1715 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1716 PROTOBUF_ASSUME(!value || _impl_.start_location_ != nullptr);
1717 return value;
1718}
1719inline bool Simulator::has_start_location() const {
1720 return _internal_has_start_location();
1721}
1722inline const ::jaiabot::protobuf::GeographicCoordinate& Simulator::_internal_start_location() const {
1723 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.start_location_;
1724 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate&>(
1726}
1727inline const ::jaiabot::protobuf::GeographicCoordinate& Simulator::start_location() const {
1728 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.start_location)
1729 return _internal_start_location();
1730}
1731inline void Simulator::unsafe_arena_set_allocated_start_location(
1733 if (GetArenaForAllocation() == nullptr) {
1734 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
1735 }
1736 _impl_.start_location_ = start_location;
1737 if (start_location) {
1738 _impl_._has_bits_[0] |= 0x00000040u;
1739 } else {
1740 _impl_._has_bits_[0] &= ~0x00000040u;
1741 }
1742 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.Simulator.start_location)
1743}
1744inline ::jaiabot::protobuf::GeographicCoordinate* Simulator::release_start_location() {
1745 _impl_._has_bits_[0] &= ~0x00000040u;
1746 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
1747 _impl_.start_location_ = nullptr;
1748#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1749 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1750 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1751 if (GetArenaForAllocation() == nullptr) { delete old; }
1752#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1753 if (GetArenaForAllocation() != nullptr) {
1754 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1755 }
1756#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1757 return temp;
1758}
1759inline ::jaiabot::protobuf::GeographicCoordinate* Simulator::unsafe_arena_release_start_location() {
1760 // @@protoc_insertion_point(field_release:jaiabot.config.Simulator.start_location)
1761 _impl_._has_bits_[0] &= ~0x00000040u;
1762 ::jaiabot::protobuf::GeographicCoordinate* temp = _impl_.start_location_;
1763 _impl_.start_location_ = nullptr;
1764 return temp;
1765}
1766inline ::jaiabot::protobuf::GeographicCoordinate* Simulator::_internal_mutable_start_location() {
1767 _impl_._has_bits_[0] |= 0x00000040u;
1768 if (_impl_.start_location_ == nullptr) {
1769 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArenaForAllocation());
1770 _impl_.start_location_ = p;
1771 }
1772 return _impl_.start_location_;
1773}
1774inline ::jaiabot::protobuf::GeographicCoordinate* Simulator::mutable_start_location() {
1775 ::jaiabot::protobuf::GeographicCoordinate* _msg = _internal_mutable_start_location();
1776 // @@protoc_insertion_point(field_mutable:jaiabot.config.Simulator.start_location)
1777 return _msg;
1778}
1779inline void Simulator::set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location) {
1780 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1781 if (message_arena == nullptr) {
1782 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.start_location_);
1783 }
1784 if (start_location) {
1785 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1786 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1787 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(start_location));
1788 if (message_arena != submessage_arena) {
1789 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1790 message_arena, start_location, submessage_arena);
1791 }
1792 _impl_._has_bits_[0] |= 0x00000040u;
1793 } else {
1794 _impl_._has_bits_[0] &= ~0x00000040u;
1795 }
1796 _impl_.start_location_ = start_location;
1797 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.Simulator.start_location)
1798}
1799
1800// optional double gps_hdop_rand_max = 27 [default = 1.3];
1801inline bool Simulator::_internal_has_gps_hdop_rand_max() const {
1802 bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
1803 return value;
1804}
1805inline bool Simulator::has_gps_hdop_rand_max() const {
1806 return _internal_has_gps_hdop_rand_max();
1807}
1808inline void Simulator::clear_gps_hdop_rand_max() {
1809 _impl_.gps_hdop_rand_max_ = 1.3;
1810 _impl_._has_bits_[0] &= ~0x00008000u;
1811}
1812inline double Simulator::_internal_gps_hdop_rand_max() const {
1813 return _impl_.gps_hdop_rand_max_;
1814}
1815inline double Simulator::gps_hdop_rand_max() const {
1816 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.gps_hdop_rand_max)
1817 return _internal_gps_hdop_rand_max();
1818}
1819inline void Simulator::_internal_set_gps_hdop_rand_max(double value) {
1820 _impl_._has_bits_[0] |= 0x00008000u;
1821 _impl_.gps_hdop_rand_max_ = value;
1822}
1823inline void Simulator::set_gps_hdop_rand_max(double value) {
1824 _internal_set_gps_hdop_rand_max(value);
1825 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.gps_hdop_rand_max)
1826}
1827
1828// optional bool is_bot_sim = 28 [default = true];
1829inline bool Simulator::_internal_has_is_bot_sim() const {
1830 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
1831 return value;
1832}
1833inline bool Simulator::has_is_bot_sim() const {
1834 return _internal_has_is_bot_sim();
1835}
1836inline void Simulator::clear_is_bot_sim() {
1837 _impl_.is_bot_sim_ = true;
1838 _impl_._has_bits_[0] &= ~0x00004000u;
1839}
1840inline bool Simulator::_internal_is_bot_sim() const {
1841 return _impl_.is_bot_sim_;
1842}
1843inline bool Simulator::is_bot_sim() const {
1844 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.is_bot_sim)
1845 return _internal_is_bot_sim();
1846}
1847inline void Simulator::_internal_set_is_bot_sim(bool value) {
1848 _impl_._has_bits_[0] |= 0x00004000u;
1849 _impl_.is_bot_sim_ = value;
1850}
1851inline void Simulator::set_is_bot_sim(bool value) {
1852 _internal_set_is_bot_sim(value);
1853 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.is_bot_sim)
1854}
1855
1856// optional double gps_pdop_rand_max = 29 [default = 2.2];
1857inline bool Simulator::_internal_has_gps_pdop_rand_max() const {
1858 bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
1859 return value;
1860}
1861inline bool Simulator::has_gps_pdop_rand_max() const {
1862 return _internal_has_gps_pdop_rand_max();
1863}
1864inline void Simulator::clear_gps_pdop_rand_max() {
1865 _impl_.gps_pdop_rand_max_ = 2.2;
1866 _impl_._has_bits_[0] &= ~0x00010000u;
1867}
1868inline double Simulator::_internal_gps_pdop_rand_max() const {
1869 return _impl_.gps_pdop_rand_max_;
1870}
1871inline double Simulator::gps_pdop_rand_max() const {
1872 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.gps_pdop_rand_max)
1873 return _internal_gps_pdop_rand_max();
1874}
1875inline void Simulator::_internal_set_gps_pdop_rand_max(double value) {
1876 _impl_._has_bits_[0] |= 0x00010000u;
1877 _impl_.gps_pdop_rand_max_ = value;
1878}
1879inline void Simulator::set_gps_pdop_rand_max(double value) {
1880 _internal_set_gps_pdop_rand_max(value);
1881 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.gps_pdop_rand_max)
1882}
1883
1884// optional double heading_rand_max = 30 [default = 0];
1885inline bool Simulator::_internal_has_heading_rand_max() const {
1886 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1887 return value;
1888}
1889inline bool Simulator::has_heading_rand_max() const {
1890 return _internal_has_heading_rand_max();
1891}
1892inline void Simulator::clear_heading_rand_max() {
1893 _impl_.heading_rand_max_ = 0;
1894 _impl_._has_bits_[0] &= ~0x00000100u;
1895}
1896inline double Simulator::_internal_heading_rand_max() const {
1897 return _impl_.heading_rand_max_;
1898}
1899inline double Simulator::heading_rand_max() const {
1900 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.heading_rand_max)
1901 return _internal_heading_rand_max();
1902}
1903inline void Simulator::_internal_set_heading_rand_max(double value) {
1904 _impl_._has_bits_[0] |= 0x00000100u;
1905 _impl_.heading_rand_max_ = value;
1906}
1907inline void Simulator::set_heading_rand_max(double value) {
1908 _internal_set_heading_rand_max(value);
1909 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.heading_rand_max)
1910}
1911
1912// optional double vertical_dive_rate = 31 [(.dccl.field) = {
1913inline bool Simulator::_internal_has_vertical_dive_rate() const {
1914 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1915 return value;
1916}
1917inline bool Simulator::has_vertical_dive_rate() const {
1918 return _internal_has_vertical_dive_rate();
1919}
1920inline void Simulator::clear_vertical_dive_rate() {
1921 _impl_.vertical_dive_rate_ = 0;
1922 _impl_._has_bits_[0] &= ~0x00000200u;
1923}
1924inline double Simulator::_internal_vertical_dive_rate() const {
1925 return _impl_.vertical_dive_rate_;
1926}
1927inline double Simulator::vertical_dive_rate() const {
1928 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.vertical_dive_rate)
1929 return _internal_vertical_dive_rate();
1930}
1931inline void Simulator::_internal_set_vertical_dive_rate(double value) {
1932 _impl_._has_bits_[0] |= 0x00000200u;
1933 _impl_.vertical_dive_rate_ = value;
1934}
1935inline void Simulator::set_vertical_dive_rate(double value) {
1936 _internal_set_vertical_dive_rate(value);
1937 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.vertical_dive_rate)
1938}
1939
1940// optional double seafloor_depth = 32 [(.dccl.field) = {
1941inline bool Simulator::_internal_has_seafloor_depth() const {
1942 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
1943 return value;
1944}
1945inline bool Simulator::has_seafloor_depth() const {
1946 return _internal_has_seafloor_depth();
1947}
1948inline void Simulator::clear_seafloor_depth() {
1949 _impl_.seafloor_depth_ = 0;
1950 _impl_._has_bits_[0] &= ~0x00000400u;
1951}
1952inline double Simulator::_internal_seafloor_depth() const {
1953 return _impl_.seafloor_depth_;
1954}
1955inline double Simulator::seafloor_depth() const {
1956 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.seafloor_depth)
1957 return _internal_seafloor_depth();
1958}
1959inline void Simulator::_internal_set_seafloor_depth(double value) {
1960 _impl_._has_bits_[0] |= 0x00000400u;
1961 _impl_.seafloor_depth_ = value;
1962}
1963inline void Simulator::set_seafloor_depth(double value) {
1964 _internal_set_seafloor_depth(value);
1965 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.seafloor_depth)
1966}
1967
1968// optional double seafloor_wavelength = 33 [default = 100, (.dccl.field) = {
1969inline bool Simulator::_internal_has_seafloor_wavelength() const {
1970 bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
1971 return value;
1972}
1973inline bool Simulator::has_seafloor_wavelength() const {
1974 return _internal_has_seafloor_wavelength();
1975}
1976inline void Simulator::clear_seafloor_wavelength() {
1977 _impl_.seafloor_wavelength_ = 100;
1978 _impl_._has_bits_[0] &= ~0x00020000u;
1979}
1980inline double Simulator::_internal_seafloor_wavelength() const {
1981 return _impl_.seafloor_wavelength_;
1982}
1983inline double Simulator::seafloor_wavelength() const {
1984 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.seafloor_wavelength)
1985 return _internal_seafloor_wavelength();
1986}
1987inline void Simulator::_internal_set_seafloor_wavelength(double value) {
1988 _impl_._has_bits_[0] |= 0x00020000u;
1989 _impl_.seafloor_wavelength_ = value;
1990}
1991inline void Simulator::set_seafloor_wavelength(double value) {
1992 _internal_set_seafloor_wavelength(value);
1993 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.seafloor_wavelength)
1994}
1995
1996// optional double seafloor_amplitude = 34 [default = 5, (.dccl.field) = {
1997inline bool Simulator::_internal_has_seafloor_amplitude() const {
1998 bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
1999 return value;
2000}
2001inline bool Simulator::has_seafloor_amplitude() const {
2002 return _internal_has_seafloor_amplitude();
2003}
2004inline void Simulator::clear_seafloor_amplitude() {
2005 _impl_.seafloor_amplitude_ = 5;
2006 _impl_._has_bits_[0] &= ~0x00040000u;
2007}
2008inline double Simulator::_internal_seafloor_amplitude() const {
2009 return _impl_.seafloor_amplitude_;
2010}
2011inline double Simulator::seafloor_amplitude() const {
2012 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.seafloor_amplitude)
2013 return _internal_seafloor_amplitude();
2014}
2015inline void Simulator::_internal_set_seafloor_amplitude(double value) {
2016 _impl_._has_bits_[0] |= 0x00040000u;
2017 _impl_.seafloor_amplitude_ = value;
2018}
2019inline void Simulator::set_seafloor_amplitude(double value) {
2020 _internal_set_seafloor_amplitude(value);
2021 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.seafloor_amplitude)
2022}
2023
2024// optional double gps_hdop_dropout = 35 [default = 20];
2025inline bool Simulator::_internal_has_gps_hdop_dropout() const {
2026 bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
2027 return value;
2028}
2029inline bool Simulator::has_gps_hdop_dropout() const {
2030 return _internal_has_gps_hdop_dropout();
2031}
2032inline void Simulator::clear_gps_hdop_dropout() {
2033 _impl_.gps_hdop_dropout_ = 20;
2034 _impl_._has_bits_[0] &= ~0x00080000u;
2035}
2036inline double Simulator::_internal_gps_hdop_dropout() const {
2037 return _impl_.gps_hdop_dropout_;
2038}
2039inline double Simulator::gps_hdop_dropout() const {
2040 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.gps_hdop_dropout)
2041 return _internal_gps_hdop_dropout();
2042}
2043inline void Simulator::_internal_set_gps_hdop_dropout(double value) {
2044 _impl_._has_bits_[0] |= 0x00080000u;
2045 _impl_.gps_hdop_dropout_ = value;
2046}
2047inline void Simulator::set_gps_hdop_dropout(double value) {
2048 _internal_set_gps_hdop_dropout(value);
2049 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.gps_hdop_dropout)
2050}
2051
2052// optional double gps_pdop_dropout = 36 [default = 20];
2053inline bool Simulator::_internal_has_gps_pdop_dropout() const {
2054 bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
2055 return value;
2056}
2057inline bool Simulator::has_gps_pdop_dropout() const {
2058 return _internal_has_gps_pdop_dropout();
2059}
2060inline void Simulator::clear_gps_pdop_dropout() {
2061 _impl_.gps_pdop_dropout_ = 20;
2062 _impl_._has_bits_[0] &= ~0x00100000u;
2063}
2064inline double Simulator::_internal_gps_pdop_dropout() const {
2065 return _impl_.gps_pdop_dropout_;
2066}
2067inline double Simulator::gps_pdop_dropout() const {
2068 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.gps_pdop_dropout)
2069 return _internal_gps_pdop_dropout();
2070}
2071inline void Simulator::_internal_set_gps_pdop_dropout(double value) {
2072 _impl_._has_bits_[0] |= 0x00100000u;
2073 _impl_.gps_pdop_dropout_ = value;
2074}
2075inline void Simulator::set_gps_pdop_dropout(double value) {
2076 _internal_set_gps_pdop_dropout(value);
2077 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.gps_pdop_dropout)
2078}
2079
2080// optional double minimum_thrust = 37 [default = 5];
2081inline bool Simulator::_internal_has_minimum_thrust() const {
2082 bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
2083 return value;
2084}
2085inline bool Simulator::has_minimum_thrust() const {
2086 return _internal_has_minimum_thrust();
2087}
2088inline void Simulator::clear_minimum_thrust() {
2089 _impl_.minimum_thrust_ = 5;
2090 _impl_._has_bits_[0] &= ~0x00200000u;
2091}
2092inline double Simulator::_internal_minimum_thrust() const {
2093 return _impl_.minimum_thrust_;
2094}
2095inline double Simulator::minimum_thrust() const {
2096 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.minimum_thrust)
2097 return _internal_minimum_thrust();
2098}
2099inline void Simulator::_internal_set_minimum_thrust(double value) {
2100 _impl_._has_bits_[0] |= 0x00200000u;
2101 _impl_.minimum_thrust_ = value;
2102}
2103inline void Simulator::set_minimum_thrust(double value) {
2104 _internal_set_minimum_thrust(value);
2105 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.minimum_thrust)
2106}
2107
2108// optional double pitch_at_rest = 38 [default = 85, (.dccl.field) = {
2109inline bool Simulator::_internal_has_pitch_at_rest() const {
2110 bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
2111 return value;
2112}
2113inline bool Simulator::has_pitch_at_rest() const {
2114 return _internal_has_pitch_at_rest();
2115}
2116inline void Simulator::clear_pitch_at_rest() {
2117 _impl_.pitch_at_rest_ = 85;
2118 _impl_._has_bits_[0] &= ~0x00400000u;
2119}
2120inline double Simulator::_internal_pitch_at_rest() const {
2121 return _impl_.pitch_at_rest_;
2122}
2123inline double Simulator::pitch_at_rest() const {
2124 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.pitch_at_rest)
2125 return _internal_pitch_at_rest();
2126}
2127inline void Simulator::_internal_set_pitch_at_rest(double value) {
2128 _impl_._has_bits_[0] |= 0x00400000u;
2129 _impl_.pitch_at_rest_ = value;
2130}
2131inline void Simulator::set_pitch_at_rest(double value) {
2132 _internal_set_pitch_at_rest(value);
2133 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.pitch_at_rest)
2134}
2135
2136// repeated .jaiabot.config.Simulator.ScalarSample sample = 40;
2137inline int Simulator::_internal_sample_size() const {
2138 return _impl_.sample_.size();
2139}
2140inline int Simulator::sample_size() const {
2141 return _internal_sample_size();
2142}
2143inline void Simulator::clear_sample() {
2144 _impl_.sample_.Clear();
2145}
2146inline ::jaiabot::config::Simulator_ScalarSample* Simulator::mutable_sample(int index) {
2147 // @@protoc_insertion_point(field_mutable:jaiabot.config.Simulator.sample)
2148 return _impl_.sample_.Mutable(index);
2149}
2150inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample >*
2151Simulator::mutable_sample() {
2152 // @@protoc_insertion_point(field_mutable_list:jaiabot.config.Simulator.sample)
2153 return &_impl_.sample_;
2154}
2155inline const ::jaiabot::config::Simulator_ScalarSample& Simulator::_internal_sample(int index) const {
2156 return _impl_.sample_.Get(index);
2157}
2158inline const ::jaiabot::config::Simulator_ScalarSample& Simulator::sample(int index) const {
2159 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.sample)
2160 return _internal_sample(index);
2161}
2162inline ::jaiabot::config::Simulator_ScalarSample* Simulator::_internal_add_sample() {
2163 return _impl_.sample_.Add();
2164}
2165inline ::jaiabot::config::Simulator_ScalarSample* Simulator::add_sample() {
2166 ::jaiabot::config::Simulator_ScalarSample* _add = _internal_add_sample();
2167 // @@protoc_insertion_point(field_add:jaiabot.config.Simulator.sample)
2168 return _add;
2169}
2170inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample >&
2171Simulator::sample() const {
2172 // @@protoc_insertion_point(field_list:jaiabot.config.Simulator.sample)
2173 return _impl_.sample_;
2174}
2175
2176// optional double temperature_stdev = 41 [(.dccl.field) = {
2177inline bool Simulator::_internal_has_temperature_stdev() const {
2178 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
2179 return value;
2180}
2181inline bool Simulator::has_temperature_stdev() const {
2182 return _internal_has_temperature_stdev();
2183}
2184inline void Simulator::clear_temperature_stdev() {
2185 _impl_.temperature_stdev_ = 0;
2186 _impl_._has_bits_[0] &= ~0x00000800u;
2187}
2188inline double Simulator::_internal_temperature_stdev() const {
2189 return _impl_.temperature_stdev_;
2190}
2191inline double Simulator::temperature_stdev() const {
2192 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.temperature_stdev)
2193 return _internal_temperature_stdev();
2194}
2195inline void Simulator::_internal_set_temperature_stdev(double value) {
2196 _impl_._has_bits_[0] |= 0x00000800u;
2197 _impl_.temperature_stdev_ = value;
2198}
2199inline void Simulator::set_temperature_stdev(double value) {
2200 _internal_set_temperature_stdev(value);
2201 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.temperature_stdev)
2202}
2203
2204// optional double salinity_stdev = 42;
2205inline bool Simulator::_internal_has_salinity_stdev() const {
2206 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
2207 return value;
2208}
2209inline bool Simulator::has_salinity_stdev() const {
2210 return _internal_has_salinity_stdev();
2211}
2212inline void Simulator::clear_salinity_stdev() {
2213 _impl_.salinity_stdev_ = 0;
2214 _impl_._has_bits_[0] &= ~0x00001000u;
2215}
2216inline double Simulator::_internal_salinity_stdev() const {
2217 return _impl_.salinity_stdev_;
2218}
2219inline double Simulator::salinity_stdev() const {
2220 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.salinity_stdev)
2221 return _internal_salinity_stdev();
2222}
2223inline void Simulator::_internal_set_salinity_stdev(double value) {
2224 _impl_._has_bits_[0] |= 0x00001000u;
2225 _impl_.salinity_stdev_ = value;
2226}
2227inline void Simulator::set_salinity_stdev(double value) {
2228 _internal_set_salinity_stdev(value);
2229 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.salinity_stdev)
2230}
2231
2232// optional string hub_gpsd_device = 43;
2233inline bool Simulator::_internal_has_hub_gpsd_device() const {
2234 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2235 return value;
2236}
2237inline bool Simulator::has_hub_gpsd_device() const {
2238 return _internal_has_hub_gpsd_device();
2239}
2240inline void Simulator::clear_hub_gpsd_device() {
2241 _impl_.hub_gpsd_device_.ClearToEmpty();
2242 _impl_._has_bits_[0] &= ~0x00000001u;
2243}
2244inline const std::string& Simulator::hub_gpsd_device() const {
2245 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.hub_gpsd_device)
2246 return _internal_hub_gpsd_device();
2247}
2248template <typename ArgT0, typename... ArgT>
2249inline PROTOBUF_ALWAYS_INLINE
2250void Simulator::set_hub_gpsd_device(ArgT0&& arg0, ArgT... args) {
2251 _impl_._has_bits_[0] |= 0x00000001u;
2252 _impl_.hub_gpsd_device_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2253 // @@protoc_insertion_point(field_set:jaiabot.config.Simulator.hub_gpsd_device)
2254}
2255inline std::string* Simulator::mutable_hub_gpsd_device() {
2256 std::string* _s = _internal_mutable_hub_gpsd_device();
2257 // @@protoc_insertion_point(field_mutable:jaiabot.config.Simulator.hub_gpsd_device)
2258 return _s;
2259}
2260inline const std::string& Simulator::_internal_hub_gpsd_device() const {
2261 return _impl_.hub_gpsd_device_.Get();
2262}
2263inline void Simulator::_internal_set_hub_gpsd_device(const std::string& value) {
2264 _impl_._has_bits_[0] |= 0x00000001u;
2265 _impl_.hub_gpsd_device_.Set(value, GetArenaForAllocation());
2266}
2267inline std::string* Simulator::_internal_mutable_hub_gpsd_device() {
2268 _impl_._has_bits_[0] |= 0x00000001u;
2269 return _impl_.hub_gpsd_device_.Mutable(GetArenaForAllocation());
2270}
2271inline std::string* Simulator::release_hub_gpsd_device() {
2272 // @@protoc_insertion_point(field_release:jaiabot.config.Simulator.hub_gpsd_device)
2273 if (!_internal_has_hub_gpsd_device()) {
2274 return nullptr;
2275 }
2276 _impl_._has_bits_[0] &= ~0x00000001u;
2277 auto* p = _impl_.hub_gpsd_device_.Release();
2278#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2279 if (_impl_.hub_gpsd_device_.IsDefault()) {
2280 _impl_.hub_gpsd_device_.Set("", GetArenaForAllocation());
2281 }
2282#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2283 return p;
2284}
2285inline void Simulator::set_allocated_hub_gpsd_device(std::string* hub_gpsd_device) {
2286 if (hub_gpsd_device != nullptr) {
2287 _impl_._has_bits_[0] |= 0x00000001u;
2288 } else {
2289 _impl_._has_bits_[0] &= ~0x00000001u;
2290 }
2291 _impl_.hub_gpsd_device_.SetAllocated(hub_gpsd_device, GetArenaForAllocation());
2292#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2293 if (_impl_.hub_gpsd_device_.IsDefault()) {
2294 _impl_.hub_gpsd_device_.Set("", GetArenaForAllocation());
2295 }
2296#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2297 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.Simulator.hub_gpsd_device)
2298}
2299
2300// optional .jaiabot.config.ArduinoSimThread arduino_config = 60;
2301inline bool Simulator::_internal_has_arduino_config() const {
2302 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
2303 PROTOBUF_ASSUME(!value || _impl_.arduino_config_ != nullptr);
2304 return value;
2305}
2306inline bool Simulator::has_arduino_config() const {
2307 return _internal_has_arduino_config();
2308}
2309inline void Simulator::clear_arduino_config() {
2310 if (_impl_.arduino_config_ != nullptr) _impl_.arduino_config_->Clear();
2311 _impl_._has_bits_[0] &= ~0x00000080u;
2312}
2313inline const ::jaiabot::config::ArduinoSimThread& Simulator::_internal_arduino_config() const {
2314 const ::jaiabot::config::ArduinoSimThread* p = _impl_.arduino_config_;
2315 return p != nullptr ? *p : reinterpret_cast<const ::jaiabot::config::ArduinoSimThread&>(
2317}
2318inline const ::jaiabot::config::ArduinoSimThread& Simulator::arduino_config() const {
2319 // @@protoc_insertion_point(field_get:jaiabot.config.Simulator.arduino_config)
2320 return _internal_arduino_config();
2321}
2322inline void Simulator::unsafe_arena_set_allocated_arduino_config(
2323 ::jaiabot::config::ArduinoSimThread* arduino_config) {
2324 if (GetArenaForAllocation() == nullptr) {
2325 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.arduino_config_);
2326 }
2327 _impl_.arduino_config_ = arduino_config;
2328 if (arduino_config) {
2329 _impl_._has_bits_[0] |= 0x00000080u;
2330 } else {
2331 _impl_._has_bits_[0] &= ~0x00000080u;
2332 }
2333 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.Simulator.arduino_config)
2334}
2335inline ::jaiabot::config::ArduinoSimThread* Simulator::release_arduino_config() {
2336 _impl_._has_bits_[0] &= ~0x00000080u;
2337 ::jaiabot::config::ArduinoSimThread* temp = _impl_.arduino_config_;
2338 _impl_.arduino_config_ = nullptr;
2339#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2340 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2341 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2342 if (GetArenaForAllocation() == nullptr) { delete old; }
2343#else // PROTOBUF_FORCE_COPY_IN_RELEASE
2344 if (GetArenaForAllocation() != nullptr) {
2345 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2346 }
2347#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
2348 return temp;
2349}
2350inline ::jaiabot::config::ArduinoSimThread* Simulator::unsafe_arena_release_arduino_config() {
2351 // @@protoc_insertion_point(field_release:jaiabot.config.Simulator.arduino_config)
2352 _impl_._has_bits_[0] &= ~0x00000080u;
2353 ::jaiabot::config::ArduinoSimThread* temp = _impl_.arduino_config_;
2354 _impl_.arduino_config_ = nullptr;
2355 return temp;
2356}
2357inline ::jaiabot::config::ArduinoSimThread* Simulator::_internal_mutable_arduino_config() {
2358 _impl_._has_bits_[0] |= 0x00000080u;
2359 if (_impl_.arduino_config_ == nullptr) {
2360 auto* p = CreateMaybeMessage<::jaiabot::config::ArduinoSimThread>(GetArenaForAllocation());
2361 _impl_.arduino_config_ = p;
2362 }
2363 return _impl_.arduino_config_;
2364}
2365inline ::jaiabot::config::ArduinoSimThread* Simulator::mutable_arduino_config() {
2366 ::jaiabot::config::ArduinoSimThread* _msg = _internal_mutable_arduino_config();
2367 // @@protoc_insertion_point(field_mutable:jaiabot.config.Simulator.arduino_config)
2368 return _msg;
2369}
2370inline void Simulator::set_allocated_arduino_config(::jaiabot::config::ArduinoSimThread* arduino_config) {
2371 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2372 if (message_arena == nullptr) {
2373 delete _impl_.arduino_config_;
2374 }
2375 if (arduino_config) {
2376 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2377 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(arduino_config);
2378 if (message_arena != submessage_arena) {
2379 arduino_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2380 message_arena, arduino_config, submessage_arena);
2381 }
2382 _impl_._has_bits_[0] |= 0x00000080u;
2383 } else {
2384 _impl_._has_bits_[0] &= ~0x00000080u;
2385 }
2386 _impl_.arduino_config_ = arduino_config;
2387 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.Simulator.arduino_config)
2388}
2389
2390// -------------------------------------------------------------------
2391
2392// ArduinoSimThread
2393
2394// optional int32 voltage_period = 1 [default = 1];
2395inline bool ArduinoSimThread::_internal_has_voltage_period() const {
2396 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2397 return value;
2398}
2399inline bool ArduinoSimThread::has_voltage_period() const {
2400 return _internal_has_voltage_period();
2401}
2402inline void ArduinoSimThread::clear_voltage_period() {
2403 _impl_.voltage_period_ = 1;
2404 _impl_._has_bits_[0] &= ~0x00000001u;
2405}
2406inline int32_t ArduinoSimThread::_internal_voltage_period() const {
2407 return _impl_.voltage_period_;
2408}
2409inline int32_t ArduinoSimThread::voltage_period() const {
2410 // @@protoc_insertion_point(field_get:jaiabot.config.ArduinoSimThread.voltage_period)
2411 return _internal_voltage_period();
2412}
2413inline void ArduinoSimThread::_internal_set_voltage_period(int32_t value) {
2414 _impl_._has_bits_[0] |= 0x00000001u;
2415 _impl_.voltage_period_ = value;
2416}
2417inline void ArduinoSimThread::set_voltage_period(int32_t value) {
2418 _internal_set_voltage_period(value);
2419 // @@protoc_insertion_point(field_set:jaiabot.config.ArduinoSimThread.voltage_period)
2420}
2421
2422// optional double voltage_step_decrease = 2 [default = 0.1];
2423inline bool ArduinoSimThread::_internal_has_voltage_step_decrease() const {
2424 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2425 return value;
2426}
2427inline bool ArduinoSimThread::has_voltage_step_decrease() const {
2428 return _internal_has_voltage_step_decrease();
2429}
2430inline void ArduinoSimThread::clear_voltage_step_decrease() {
2431 _impl_.voltage_step_decrease_ = 0.1;
2432 _impl_._has_bits_[0] &= ~0x00000002u;
2433}
2434inline double ArduinoSimThread::_internal_voltage_step_decrease() const {
2435 return _impl_.voltage_step_decrease_;
2436}
2437inline double ArduinoSimThread::voltage_step_decrease() const {
2438 // @@protoc_insertion_point(field_get:jaiabot.config.ArduinoSimThread.voltage_step_decrease)
2439 return _internal_voltage_step_decrease();
2440}
2441inline void ArduinoSimThread::_internal_set_voltage_step_decrease(double value) {
2442 _impl_._has_bits_[0] |= 0x00000002u;
2443 _impl_.voltage_step_decrease_ = value;
2444}
2445inline void ArduinoSimThread::set_voltage_step_decrease(double value) {
2446 _internal_set_voltage_step_decrease(value);
2447 // @@protoc_insertion_point(field_set:jaiabot.config.ArduinoSimThread.voltage_step_decrease)
2448}
2449
2450// optional double voltage_start = 3 [default = 24];
2451inline bool ArduinoSimThread::_internal_has_voltage_start() const {
2452 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2453 return value;
2454}
2455inline bool ArduinoSimThread::has_voltage_start() const {
2456 return _internal_has_voltage_start();
2457}
2458inline void ArduinoSimThread::clear_voltage_start() {
2459 _impl_.voltage_start_ = 24;
2460 _impl_._has_bits_[0] &= ~0x00000004u;
2461}
2462inline double ArduinoSimThread::_internal_voltage_start() const {
2463 return _impl_.voltage_start_;
2464}
2465inline double ArduinoSimThread::voltage_start() const {
2466 // @@protoc_insertion_point(field_get:jaiabot.config.ArduinoSimThread.voltage_start)
2467 return _internal_voltage_start();
2468}
2469inline void ArduinoSimThread::_internal_set_voltage_start(double value) {
2470 _impl_._has_bits_[0] |= 0x00000004u;
2471 _impl_.voltage_start_ = value;
2472}
2473inline void ArduinoSimThread::set_voltage_start(double value) {
2474 _internal_set_voltage_start(value);
2475 // @@protoc_insertion_point(field_set:jaiabot.config.ArduinoSimThread.voltage_start)
2476}
2477
2478// optional double reset_voltage_level = 4 [default = 15];
2479inline bool ArduinoSimThread::_internal_has_reset_voltage_level() const {
2480 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2481 return value;
2482}
2483inline bool ArduinoSimThread::has_reset_voltage_level() const {
2484 return _internal_has_reset_voltage_level();
2485}
2486inline void ArduinoSimThread::clear_reset_voltage_level() {
2487 _impl_.reset_voltage_level_ = 15;
2488 _impl_._has_bits_[0] &= ~0x00000008u;
2489}
2490inline double ArduinoSimThread::_internal_reset_voltage_level() const {
2491 return _impl_.reset_voltage_level_;
2492}
2493inline double ArduinoSimThread::reset_voltage_level() const {
2494 // @@protoc_insertion_point(field_get:jaiabot.config.ArduinoSimThread.reset_voltage_level)
2495 return _internal_reset_voltage_level();
2496}
2497inline void ArduinoSimThread::_internal_set_reset_voltage_level(double value) {
2498 _impl_._has_bits_[0] |= 0x00000008u;
2499 _impl_.reset_voltage_level_ = value;
2500}
2501inline void ArduinoSimThread::set_reset_voltage_level(double value) {
2502 _internal_set_reset_voltage_level(value);
2503 // @@protoc_insertion_point(field_set:jaiabot.config.ArduinoSimThread.reset_voltage_level)
2504}
2505
2506#ifdef __GNUC__
2507 #pragma GCC diagnostic pop
2508#endif // __GNUC__
2509// -------------------------------------------------------------------
2510
2511// -------------------------------------------------------------------
2512
2513
2514// @@protoc_insertion_point(namespace_scope)
2515
2516} // namespace config
2517} // namespace jaiabot
2518
2519// @@protoc_insertion_point(global_scope)
2520
2521#include <google/protobuf/port_undef.inc>
2522#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_bin_2fsimulator_2fconfig_2eproto
void MergeFrom(const ArduinoSimThread &from)
Definition config.pb.h:1035
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition config.pb.h:992
ArduinoSimThread & operator=(const ArduinoSimThread &from)
Definition config.pb.h:961
void CopyFrom(const ArduinoSimThread &from)
static const ArduinoSimThread * internal_default_instance()
Definition config.pb.h:998
static const ClassData _class_data_
Definition config.pb.h:1066
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_CONSTEXPR ArduinoSimThread(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
ArduinoSimThread(const ArduinoSimThread &from)
friend void swap(ArduinoSimThread &a, ArduinoSimThread &b)
Definition config.pb.h:1005
void Swap(ArduinoSimThread *other)
Definition config.pb.h:1008
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition config.pb.h:989
void UnsafeArenaSwap(ArduinoSimThread *other)
Definition config.pb.h:1021
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition config.pb.h:979
static const ArduinoSimThread & default_instance()
Definition config.pb.h:995
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition config.pb.h:986
ArduinoSimThread * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition config.pb.h:1029
ArduinoSimThread & operator=(ArduinoSimThread &&from) noexcept
Definition config.pb.h:965
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition config.pb.h:982
ArduinoSimThread(ArduinoSimThread &&from) noexcept
Definition config.pb.h:956
ArduinoSimThread(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::temperature_dimension temperature_dimension
Definition config.pb.h:272
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PROTOBUF_CONSTEXPR Simulator_ScalarSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
boost::units::unit< depth_dimension, boost::units::si::system > depth_unit
Definition config.pb.h:259
void set_temperature_with_units(Quantity value_w_units)
Definition config.pb.h:277
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void UnsafeArenaSwap(Simulator_ScalarSample *other)
Definition config.pb.h:159
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
Definition config.pb.h:274
static constexpr int kIndexInFileMessages
Definition config.pb.h:140
void Swap(Simulator_ScalarSample *other)
Definition config.pb.h:146
static const Simulator_ScalarSample & default_instance()
Definition config.pb.h:133
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition config.pb.h:124
Simulator_ScalarSample(Simulator_ScalarSample &&from) noexcept
Definition config.pb.h:94
Simulator_ScalarSample & operator=(Simulator_ScalarSample &&from) noexcept
Definition config.pb.h:103
boost::units::quantity< depth_unit, double > depth_with_units() const
Definition config.pb.h:269
void CopyFrom(const Simulator_ScalarSample &from)
Simulator_ScalarSample & operator=(const Simulator_ScalarSample &from)
Definition config.pb.h:99
boost::units::length_dimension depth_dimension
Definition config.pb.h:257
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition config.pb.h:130
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition config.pb.h:117
friend void swap(Simulator_ScalarSample &a, Simulator_ScalarSample &b)
Definition config.pb.h:143
static const ClassData _class_data_
Definition config.pb.h:204
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const Simulator_ScalarSample &from)
Definition config.pb.h:173
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition config.pb.h:127
static const Simulator_ScalarSample * internal_default_instance()
Definition config.pb.h:136
boost::units::quantity< temperature_unit, double > temperature_with_units() const
Definition config.pb.h:284
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Simulator_ScalarSample(const Simulator_ScalarSample &from)
Simulator_ScalarSample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition config.pb.h:167
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition config.pb.h:120
Simulator_ScalarSample(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_depth_with_units(Quantity value_w_units)
Definition config.pb.h:262
boost::units::unit< seafloor_depth_dimension, boost::units::si::system > seafloor_depth_unit
Definition config.pb.h:835
boost::units::plane_angle_dimension pitch_at_rest_dimension
Definition config.pb.h:878
Simulator & operator=(const Simulator &from)
Definition config.pb.h:319
boost::units::unit< seafloor_wavelength_dimension, boost::units::si::system > seafloor_wavelength_unit
Definition config.pb.h:850
void set_seafloor_amplitude_with_units(Quantity value_w_units)
Definition config.pb.h:868
boost::units::length_dimension seafloor_wavelength_dimension
Definition config.pb.h:848
Simulator(Simulator &&from) noexcept
Definition config.pb.h:314
Quantity vertical_dive_rate_with_units() const
Definition config.pb.h:827
Quantity seafloor_wavelength_with_units() const
Definition config.pb.h:857
friend void swap(Simulator &a, Simulator &b)
Definition config.pb.h:363
static const Simulator & default_instance()
Definition config.pb.h:353
boost::units::unit< pitch_at_rest_dimension, boost::units::degree::system > pitch_at_rest_unit
Definition config.pb.h:880
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition config.pb.h:350
void set_temperature_stdev_with_units(Quantity value_w_units)
Definition config.pb.h:898
void MergeFrom(const Simulator &from)
Definition config.pb.h:393
void set_hub_gpsd_device(ArgT0 &&arg0, ArgT... args)
boost::units::velocity_dimension vertical_dive_rate_dimension
Definition config.pb.h:818
boost::units::quantity< seafloor_wavelength_unit, double > seafloor_wavelength_with_units() const
Definition config.pb.h:860
Simulator(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void Swap(Simulator *other)
Definition config.pb.h:366
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void UnsafeArenaSwap(Simulator *other)
Definition config.pb.h:379
void CopyFrom(const Simulator &from)
boost::units::unit< temperature_stdev_dimension, boost::units::celsius::system > temperature_stdev_unit
Definition config.pb.h:895
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition config.pb.h:340
void set_vertical_dive_rate_with_units(Quantity value_w_units)
Definition config.pb.h:823
void set_seafloor_depth_with_units(Quantity value_w_units)
Definition config.pb.h:838
boost::units::quantity< pitch_at_rest_unit, double > pitch_at_rest_with_units() const
Definition config.pb.h:890
Quantity seafloor_amplitude_with_units() const
Definition config.pb.h:872
Simulator(const Simulator &from)
boost::units::length_dimension seafloor_amplitude_dimension
Definition config.pb.h:863
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition config.pb.h:347
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition config.pb.h:337
void set_seafloor_wavelength_with_units(Quantity value_w_units)
Definition config.pb.h:853
boost::units::length_dimension seafloor_depth_dimension
Definition config.pb.h:833
Quantity temperature_stdev_with_units() const
Definition config.pb.h:902
boost::units::quantity< seafloor_amplitude_unit, double > seafloor_amplitude_with_units() const
Definition config.pb.h:875
static const ClassData _class_data_
Definition config.pb.h:424
boost::units::quantity< vertical_dive_rate_unit, double > vertical_dive_rate_with_units() const
Definition config.pb.h:830
static const Simulator * internal_default_instance()
Definition config.pb.h:356
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::quantity< seafloor_depth_unit, double > seafloor_depth_with_units() const
Definition config.pb.h:845
Quantity pitch_at_rest_with_units() const
Definition config.pb.h:887
Quantity seafloor_depth_with_units() const
Definition config.pb.h:842
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition config.pb.h:344
boost::units::unit< seafloor_amplitude_dimension, boost::units::si::system > seafloor_amplitude_unit
Definition config.pb.h:865
void set_pitch_at_rest_with_units(Quantity value_w_units)
Definition config.pb.h:883
boost::units::temperature_dimension temperature_stdev_dimension
Definition config.pb.h:893
boost::units::quantity< temperature_stdev_unit, double > temperature_stdev_with_units() const
Definition config.pb.h:905
PROTOBUF_CONSTEXPR Simulator(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Simulator * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition config.pb.h:387
Simulator & operator=(Simulator &&from) noexcept
Definition config.pb.h:323
boost::units::unit< vertical_dive_rate_dimension, boost::units::si::system > vertical_dive_rate_unit
Definition config.pb.h:820
PROTOBUF_NAMESPACE_OPEN ::jaiabot::protobuf::GeographicCoordinate * Arena::CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate >(Arena *)
ArduinoSimThreadDefaultTypeInternal _ArduinoSimThread_default_instance_
Simulator_ScalarSampleDefaultTypeInternal _Simulator_ScalarSample_default_instance_
SimulatorDefaultTypeInternal _Simulator_default_instance_
GeographicCoordinateDefaultTypeInternal _GeographicCoordinate_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fsimulator_2fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::jaiabot::config::ArduinoSimThread * Arena::CreateMaybeMessage<::jaiabot::config::ArduinoSimThread >(Arena *)