JaiaBot 2.0.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/drivers/atlas_scientific_ezo_ec/config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fatlas_5fscientific_5fezo_5fec_2fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fatlas_5fscientific_5fezo_5fec_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>
33#include "goby/middleware/protobuf/app_config.pb.h"
34#include "goby/zeromq/protobuf/interprocess_config.pb.h"
35#include "goby/middleware/protobuf/udp_config.pb.h"
36#include <boost/units/quantity.hpp>
37#include <boost/units/absolute.hpp>
38#include <boost/units/dimensionless_type.hpp>
39#include <boost/units/make_scaled_unit.hpp>
40// @@protoc_insertion_point(includes)
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_bin_2fdrivers_2fatlas_5fscientific_5fezo_5fec_2fconfig_2eproto
43PROTOBUF_NAMESPACE_OPEN
44namespace internal {
45class AnyMetadata;
46} // namespace internal
47PROTOBUF_NAMESPACE_CLOSE
48
49// Internal implementation detail -- do not use these members.
53extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fdrivers_2fatlas_5fscientific_5fezo_5fec_2fconfig_2eproto;
54namespace jaiabot {
55namespace config {
56class AtlasSalinityPublisher;
57struct AtlasSalinityPublisherDefaultTypeInternal;
58extern AtlasSalinityPublisherDefaultTypeInternal _AtlasSalinityPublisher_default_instance_;
59} // namespace config
60} // namespace jaiabot
61PROTOBUF_NAMESPACE_OPEN
62template<> ::jaiabot::config::AtlasSalinityPublisher* Arena::CreateMaybeMessage<::jaiabot::config::AtlasSalinityPublisher>(Arena*);
63PROTOBUF_NAMESPACE_CLOSE
64namespace jaiabot {
65namespace config {
66
67// ===================================================================
68
70 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.AtlasSalinityPublisher) */ {
71 public:
74 explicit PROTOBUF_CONSTEXPR AtlasSalinityPublisher(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
75
79 *this = ::std::move(from);
80 }
81
83 CopyFrom(from);
84 return *this;
85 }
87 if (this == &from) return *this;
88 if (GetOwningArena() == from.GetOwningArena()
89 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
90 && GetOwningArena() != nullptr
91 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
92 ) {
93 InternalSwap(&from);
94 } else {
95 CopyFrom(from);
96 }
97 return *this;
98 }
99
100 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
101 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
102 }
103 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
104 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
105 }
106
107 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
108 return GetDescriptor();
109 }
110 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
111 return default_instance().GetMetadata().descriptor;
112 }
113 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
114 return default_instance().GetMetadata().reflection;
115 }
120 return reinterpret_cast<const AtlasSalinityPublisher*>(
122 }
123 static constexpr int kIndexInFileMessages =
124 0;
125
127 a.Swap(&b);
128 }
129 inline void Swap(AtlasSalinityPublisher* other) {
130 if (other == this) return;
131 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
132 if (GetOwningArena() != nullptr &&
133 GetOwningArena() == other->GetOwningArena()) {
134 #else // PROTOBUF_FORCE_COPY_IN_SWAP
135 if (GetOwningArena() == other->GetOwningArena()) {
136 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
137 InternalSwap(other);
138 } else {
139 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
140 }
141 }
143 if (other == this) return;
144 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
145 InternalSwap(other);
146 }
147
148 // implements Message ----------------------------------------------
149
150 AtlasSalinityPublisher* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
151 return CreateMaybeMessage<AtlasSalinityPublisher>(arena);
152 }
153 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
155 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
157 AtlasSalinityPublisher::MergeImpl(*this, from);
158 }
159 private:
160 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
161 public:
162 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
163 bool IsInitialized() const final;
164
165 size_t ByteSizeLong() const final;
166 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
168 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
169 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
170
171 private:
172 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
173 void SharedDtor();
174 void SetCachedSize(int size) const final;
175 void InternalSwap(AtlasSalinityPublisher* other);
176
177 private:
178 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
179 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
180 return "jaiabot.config.AtlasSalinityPublisher";
181 }
182 protected:
183 explicit AtlasSalinityPublisher(::PROTOBUF_NAMESPACE_ID::Arena* arena,
184 bool is_message_owned = false);
185 public:
186
187 static const ClassData _class_data_;
188 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
189
190 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
191
192 // nested types ----------------------------------------------------
193
194 // accessors -------------------------------------------------------
195
196 enum : int {
202 };
203 // optional .goby.middleware.protobuf.AppConfig app = 1;
204 bool has_app() const;
205 private:
206 bool _internal_has_app() const;
207 public:
208 void clear_app();
209 const ::goby::middleware::protobuf::AppConfig& app() const;
210 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
211 ::goby::middleware::protobuf::AppConfig* mutable_app();
212 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
213 private:
214 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
215 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
216 public:
218 ::goby::middleware::protobuf::AppConfig* app);
219 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
220
221 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
222 bool has_interprocess() const;
223 private:
224 bool _internal_has_interprocess() const;
225 public:
227 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
228 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
229 ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
230 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
231 private:
232 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
233 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
234 public:
236 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
237 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
238
239 // required .goby.middleware.protobuf.UDPPointToPointConfig udp_config = 3;
240 bool has_udp_config() const;
241 private:
242 bool _internal_has_udp_config() const;
243 public:
245 const ::goby::middleware::protobuf::UDPPointToPointConfig& udp_config() const;
246 PROTOBUF_NODISCARD ::goby::middleware::protobuf::UDPPointToPointConfig* release_udp_config();
247 ::goby::middleware::protobuf::UDPPointToPointConfig* mutable_udp_config();
248 void set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* udp_config);
249 private:
250 const ::goby::middleware::protobuf::UDPPointToPointConfig& _internal_udp_config() const;
251 ::goby::middleware::protobuf::UDPPointToPointConfig* _internal_mutable_udp_config();
252 public:
254 ::goby::middleware::protobuf::UDPPointToPointConfig* udp_config);
255 ::goby::middleware::protobuf::UDPPointToPointConfig* unsafe_arena_release_udp_config();
256
257 // optional int32 atlas_salinity_report_timeout_seconds = 10 [default = 40];
259 private:
260 bool _internal_has_atlas_salinity_report_timeout_seconds() const;
261 public:
265 private:
266 int32_t _internal_atlas_salinity_report_timeout_seconds() const;
267 void _internal_set_atlas_salinity_report_timeout_seconds(int32_t value);
268 public:
269
270 // optional bool atlas_salinity_report_in_simulation = 11 [default = true];
272 private:
273 bool _internal_has_atlas_salinity_report_in_simulation() const;
274 public:
278 private:
279 bool _internal_atlas_salinity_report_in_simulation() const;
280 void _internal_set_atlas_salinity_report_in_simulation(bool value);
281 public:
282
283 // @@protoc_insertion_point(class_scope:jaiabot.config.AtlasSalinityPublisher)
284 private:
285 class _Internal;
286
287 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
288 typedef void InternalArenaConstructable_;
289 typedef void DestructorSkippable_;
290 struct Impl_ {
291 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
292 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
293 ::goby::middleware::protobuf::AppConfig* app_;
294 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
295 ::goby::middleware::protobuf::UDPPointToPointConfig* udp_config_;
296 int32_t atlas_salinity_report_timeout_seconds_;
297 bool atlas_salinity_report_in_simulation_;
298 };
299 union { Impl_ _impl_; };
300 friend struct ::TableStruct_bin_2fdrivers_2fatlas_5fscientific_5fezo_5fec_2fconfig_2eproto;
301};
302// ===================================================================
303
304
305// ===================================================================
306
307#ifdef __GNUC__
308 #pragma GCC diagnostic push
309 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
310#endif // __GNUC__
311// AtlasSalinityPublisher
312
313// optional .goby.middleware.protobuf.AppConfig app = 1;
314inline bool AtlasSalinityPublisher::_internal_has_app() const {
315 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
316 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
317 return value;
318}
320 return _internal_has_app();
321}
322inline const ::goby::middleware::protobuf::AppConfig& AtlasSalinityPublisher::_internal_app() const {
323 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
324 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
325 ::goby::middleware::protobuf::_AppConfig_default_instance_);
326}
327inline const ::goby::middleware::protobuf::AppConfig& AtlasSalinityPublisher::app() const {
328 // @@protoc_insertion_point(field_get:jaiabot.config.AtlasSalinityPublisher.app)
329 return _internal_app();
330}
332 ::goby::middleware::protobuf::AppConfig* app) {
333 if (GetArenaForAllocation() == nullptr) {
334 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
335 }
336 _impl_.app_ = app;
337 if (app) {
338 _impl_._has_bits_[0] |= 0x00000001u;
339 } else {
340 _impl_._has_bits_[0] &= ~0x00000001u;
341 }
342 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.AtlasSalinityPublisher.app)
343}
344inline ::goby::middleware::protobuf::AppConfig* AtlasSalinityPublisher::release_app() {
345 _impl_._has_bits_[0] &= ~0x00000001u;
346 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
347 _impl_.app_ = nullptr;
348#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
349 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
350 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
351 if (GetArenaForAllocation() == nullptr) { delete old; }
352#else // PROTOBUF_FORCE_COPY_IN_RELEASE
353 if (GetArenaForAllocation() != nullptr) {
354 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
355 }
356#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
357 return temp;
358}
359inline ::goby::middleware::protobuf::AppConfig* AtlasSalinityPublisher::unsafe_arena_release_app() {
360 // @@protoc_insertion_point(field_release:jaiabot.config.AtlasSalinityPublisher.app)
361 _impl_._has_bits_[0] &= ~0x00000001u;
362 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
363 _impl_.app_ = nullptr;
364 return temp;
365}
366inline ::goby::middleware::protobuf::AppConfig* AtlasSalinityPublisher::_internal_mutable_app() {
367 _impl_._has_bits_[0] |= 0x00000001u;
368 if (_impl_.app_ == nullptr) {
369 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
370 _impl_.app_ = p;
371 }
372 return _impl_.app_;
373}
374inline ::goby::middleware::protobuf::AppConfig* AtlasSalinityPublisher::mutable_app() {
375 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
376 // @@protoc_insertion_point(field_mutable:jaiabot.config.AtlasSalinityPublisher.app)
377 return _msg;
378}
379inline void AtlasSalinityPublisher::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
380 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
381 if (message_arena == nullptr) {
382 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
383 }
384 if (app) {
385 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
386 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
387 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
388 if (message_arena != submessage_arena) {
389 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
390 message_arena, app, submessage_arena);
391 }
392 _impl_._has_bits_[0] |= 0x00000001u;
393 } else {
394 _impl_._has_bits_[0] &= ~0x00000001u;
395 }
396 _impl_.app_ = app;
397 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.AtlasSalinityPublisher.app)
398}
399
400// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
401inline bool AtlasSalinityPublisher::_internal_has_interprocess() const {
402 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
403 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
404 return value;
405}
407 return _internal_has_interprocess();
408}
409inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& AtlasSalinityPublisher::_internal_interprocess() const {
410 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
411 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
412 ::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
413}
414inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& AtlasSalinityPublisher::interprocess() const {
415 // @@protoc_insertion_point(field_get:jaiabot.config.AtlasSalinityPublisher.interprocess)
416 return _internal_interprocess();
417}
419 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
420 if (GetArenaForAllocation() == nullptr) {
421 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
422 }
423 _impl_.interprocess_ = interprocess;
424 if (interprocess) {
425 _impl_._has_bits_[0] |= 0x00000002u;
426 } else {
427 _impl_._has_bits_[0] &= ~0x00000002u;
428 }
429 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.AtlasSalinityPublisher.interprocess)
430}
431inline ::goby::zeromq::protobuf::InterProcessPortalConfig* AtlasSalinityPublisher::release_interprocess() {
432 _impl_._has_bits_[0] &= ~0x00000002u;
433 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
434 _impl_.interprocess_ = nullptr;
435#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
436 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
437 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
438 if (GetArenaForAllocation() == nullptr) { delete old; }
439#else // PROTOBUF_FORCE_COPY_IN_RELEASE
440 if (GetArenaForAllocation() != nullptr) {
441 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
442 }
443#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
444 return temp;
445}
446inline ::goby::zeromq::protobuf::InterProcessPortalConfig* AtlasSalinityPublisher::unsafe_arena_release_interprocess() {
447 // @@protoc_insertion_point(field_release:jaiabot.config.AtlasSalinityPublisher.interprocess)
448 _impl_._has_bits_[0] &= ~0x00000002u;
449 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
450 _impl_.interprocess_ = nullptr;
451 return temp;
452}
453inline ::goby::zeromq::protobuf::InterProcessPortalConfig* AtlasSalinityPublisher::_internal_mutable_interprocess() {
454 _impl_._has_bits_[0] |= 0x00000002u;
455 if (_impl_.interprocess_ == nullptr) {
456 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaForAllocation());
457 _impl_.interprocess_ = p;
458 }
459 return _impl_.interprocess_;
460}
461inline ::goby::zeromq::protobuf::InterProcessPortalConfig* AtlasSalinityPublisher::mutable_interprocess() {
462 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
463 // @@protoc_insertion_point(field_mutable:jaiabot.config.AtlasSalinityPublisher.interprocess)
464 return _msg;
465}
466inline void AtlasSalinityPublisher::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
467 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
468 if (message_arena == nullptr) {
469 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
470 }
471 if (interprocess) {
472 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
473 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
474 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
475 if (message_arena != submessage_arena) {
476 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
477 message_arena, interprocess, submessage_arena);
478 }
479 _impl_._has_bits_[0] |= 0x00000002u;
480 } else {
481 _impl_._has_bits_[0] &= ~0x00000002u;
482 }
483 _impl_.interprocess_ = interprocess;
484 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.AtlasSalinityPublisher.interprocess)
485}
486
487// required .goby.middleware.protobuf.UDPPointToPointConfig udp_config = 3;
488inline bool AtlasSalinityPublisher::_internal_has_udp_config() const {
489 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
490 PROTOBUF_ASSUME(!value || _impl_.udp_config_ != nullptr);
491 return value;
492}
494 return _internal_has_udp_config();
495}
496inline const ::goby::middleware::protobuf::UDPPointToPointConfig& AtlasSalinityPublisher::_internal_udp_config() const {
497 const ::goby::middleware::protobuf::UDPPointToPointConfig* p = _impl_.udp_config_;
498 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::UDPPointToPointConfig&>(
499 ::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
500}
501inline const ::goby::middleware::protobuf::UDPPointToPointConfig& AtlasSalinityPublisher::udp_config() const {
502 // @@protoc_insertion_point(field_get:jaiabot.config.AtlasSalinityPublisher.udp_config)
503 return _internal_udp_config();
504}
506 ::goby::middleware::protobuf::UDPPointToPointConfig* udp_config) {
507 if (GetArenaForAllocation() == nullptr) {
508 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.udp_config_);
509 }
510 _impl_.udp_config_ = udp_config;
511 if (udp_config) {
512 _impl_._has_bits_[0] |= 0x00000004u;
513 } else {
514 _impl_._has_bits_[0] &= ~0x00000004u;
515 }
516 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.config.AtlasSalinityPublisher.udp_config)
517}
518inline ::goby::middleware::protobuf::UDPPointToPointConfig* AtlasSalinityPublisher::release_udp_config() {
519 _impl_._has_bits_[0] &= ~0x00000004u;
520 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.udp_config_;
521 _impl_.udp_config_ = nullptr;
522#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
523 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
524 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
525 if (GetArenaForAllocation() == nullptr) { delete old; }
526#else // PROTOBUF_FORCE_COPY_IN_RELEASE
527 if (GetArenaForAllocation() != nullptr) {
528 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
529 }
530#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
531 return temp;
532}
533inline ::goby::middleware::protobuf::UDPPointToPointConfig* AtlasSalinityPublisher::unsafe_arena_release_udp_config() {
534 // @@protoc_insertion_point(field_release:jaiabot.config.AtlasSalinityPublisher.udp_config)
535 _impl_._has_bits_[0] &= ~0x00000004u;
536 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.udp_config_;
537 _impl_.udp_config_ = nullptr;
538 return temp;
539}
540inline ::goby::middleware::protobuf::UDPPointToPointConfig* AtlasSalinityPublisher::_internal_mutable_udp_config() {
541 _impl_._has_bits_[0] |= 0x00000004u;
542 if (_impl_.udp_config_ == nullptr) {
543 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(GetArenaForAllocation());
544 _impl_.udp_config_ = p;
545 }
546 return _impl_.udp_config_;
547}
548inline ::goby::middleware::protobuf::UDPPointToPointConfig* AtlasSalinityPublisher::mutable_udp_config() {
549 ::goby::middleware::protobuf::UDPPointToPointConfig* _msg = _internal_mutable_udp_config();
550 // @@protoc_insertion_point(field_mutable:jaiabot.config.AtlasSalinityPublisher.udp_config)
551 return _msg;
552}
553inline void AtlasSalinityPublisher::set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* udp_config) {
554 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
555 if (message_arena == nullptr) {
556 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.udp_config_);
557 }
558 if (udp_config) {
559 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
560 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
561 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(udp_config));
562 if (message_arena != submessage_arena) {
563 udp_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
564 message_arena, udp_config, submessage_arena);
565 }
566 _impl_._has_bits_[0] |= 0x00000004u;
567 } else {
568 _impl_._has_bits_[0] &= ~0x00000004u;
569 }
570 _impl_.udp_config_ = udp_config;
571 // @@protoc_insertion_point(field_set_allocated:jaiabot.config.AtlasSalinityPublisher.udp_config)
572}
573
574// optional int32 atlas_salinity_report_timeout_seconds = 10 [default = 40];
575inline bool AtlasSalinityPublisher::_internal_has_atlas_salinity_report_timeout_seconds() const {
576 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
577 return value;
578}
580 return _internal_has_atlas_salinity_report_timeout_seconds();
581}
583 _impl_.atlas_salinity_report_timeout_seconds_ = 40;
584 _impl_._has_bits_[0] &= ~0x00000008u;
585}
586inline int32_t AtlasSalinityPublisher::_internal_atlas_salinity_report_timeout_seconds() const {
587 return _impl_.atlas_salinity_report_timeout_seconds_;
588}
590 // @@protoc_insertion_point(field_get:jaiabot.config.AtlasSalinityPublisher.atlas_salinity_report_timeout_seconds)
591 return _internal_atlas_salinity_report_timeout_seconds();
592}
593inline void AtlasSalinityPublisher::_internal_set_atlas_salinity_report_timeout_seconds(int32_t value) {
594 _impl_._has_bits_[0] |= 0x00000008u;
595 _impl_.atlas_salinity_report_timeout_seconds_ = value;
596}
598 _internal_set_atlas_salinity_report_timeout_seconds(value);
599 // @@protoc_insertion_point(field_set:jaiabot.config.AtlasSalinityPublisher.atlas_salinity_report_timeout_seconds)
600}
601
602// optional bool atlas_salinity_report_in_simulation = 11 [default = true];
603inline bool AtlasSalinityPublisher::_internal_has_atlas_salinity_report_in_simulation() const {
604 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
605 return value;
606}
608 return _internal_has_atlas_salinity_report_in_simulation();
609}
611 _impl_.atlas_salinity_report_in_simulation_ = true;
612 _impl_._has_bits_[0] &= ~0x00000010u;
613}
614inline bool AtlasSalinityPublisher::_internal_atlas_salinity_report_in_simulation() const {
615 return _impl_.atlas_salinity_report_in_simulation_;
616}
618 // @@protoc_insertion_point(field_get:jaiabot.config.AtlasSalinityPublisher.atlas_salinity_report_in_simulation)
619 return _internal_atlas_salinity_report_in_simulation();
620}
621inline void AtlasSalinityPublisher::_internal_set_atlas_salinity_report_in_simulation(bool value) {
622 _impl_._has_bits_[0] |= 0x00000010u;
623 _impl_.atlas_salinity_report_in_simulation_ = value;
624}
626 _internal_set_atlas_salinity_report_in_simulation(value);
627 // @@protoc_insertion_point(field_set:jaiabot.config.AtlasSalinityPublisher.atlas_salinity_report_in_simulation)
628}
629
630#ifdef __GNUC__
631 #pragma GCC diagnostic pop
632#endif // __GNUC__
633
634// @@protoc_insertion_point(namespace_scope)
635
636} // namespace config
637} // namespace jaiabot
638
639// @@protoc_insertion_point(global_scope)
640
641#include <google/protobuf/port_undef.inc>
642#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_bin_2fdrivers_2fatlas_5fscientific_5fezo_5fec_2fconfig_2eproto
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
Definition config.pb.h:431
void UnsafeArenaSwap(AtlasSalinityPublisher *other)
Definition config.pb.h:142
PROTOBUF_NODISCARD::goby::middleware::protobuf::UDPPointToPointConfig * release_udp_config()
Definition config.pb.h:518
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition config.pb.h:113
void set_atlas_salinity_report_timeout_seconds(int32_t value)
Definition config.pb.h:597
void Swap(AtlasSalinityPublisher *other)
Definition config.pb.h:129
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const AtlasSalinityPublisher & default_instance()
Definition config.pb.h:116
AtlasSalinityPublisher(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
Definition config.pb.h:414
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
Definition config.pb.h:418
AtlasSalinityPublisher & operator=(const AtlasSalinityPublisher &from)
Definition config.pb.h:82
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
Definition config.pb.h:461
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition config.pb.h:110
friend void swap(AtlasSalinityPublisher &a, AtlasSalinityPublisher &b)
Definition config.pb.h:126
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
Definition config.pb.h:331
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
Definition config.pb.h:446
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ClassData _class_data_
Definition config.pb.h:187
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition config.pb.h:103
int32_t atlas_salinity_report_timeout_seconds() const
Definition config.pb.h:589
::goby::middleware::protobuf::AppConfig * mutable_app()
Definition config.pb.h:374
AtlasSalinityPublisher(AtlasSalinityPublisher &&from) noexcept
Definition config.pb.h:77
AtlasSalinityPublisher(const AtlasSalinityPublisher &from)
void set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *udp_config)
Definition config.pb.h:553
static const AtlasSalinityPublisher * internal_default_instance()
Definition config.pb.h:119
void CopyFrom(const AtlasSalinityPublisher &from)
::goby::middleware::protobuf::UDPPointToPointConfig * mutable_udp_config()
Definition config.pb.h:548
void set_atlas_salinity_report_in_simulation(bool value)
Definition config.pb.h:625
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
Definition config.pb.h:359
PROTOBUF_CONSTEXPR AtlasSalinityPublisher(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::goby::middleware::protobuf::AppConfig & app() const
Definition config.pb.h:327
const ::goby::middleware::protobuf::UDPPointToPointConfig & udp_config() const
Definition config.pb.h:501
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
Definition config.pb.h:344
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
Definition config.pb.h:466
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition config.pb.h:107
::goby::middleware::protobuf::UDPPointToPointConfig * unsafe_arena_release_udp_config()
Definition config.pb.h:533
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition config.pb.h:100
void unsafe_arena_set_allocated_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *udp_config)
Definition config.pb.h:505
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
Definition config.pb.h:379
bool has_atlas_salinity_report_timeout_seconds() const
Definition config.pb.h:579
AtlasSalinityPublisher * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition config.pb.h:150
void MergeFrom(const AtlasSalinityPublisher &from)
Definition config.pb.h:156
AtlasSalinityPublisher & operator=(AtlasSalinityPublisher &&from) noexcept
Definition config.pb.h:86
static constexpr int kIndexInFileMessages
Definition config.pb.h:123
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fdrivers_2fatlas_5fscientific_5fezo_5fec_2fconfig_2eproto
AtlasSalinityPublisherDefaultTypeInternal _AtlasSalinityPublisher_default_instance_