Goby3 3.1.5a
2024.05.23
Loading...
Searching...
No Matches
modemdriver_config.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/zeromq/protobuf/modemdriver_config.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fmodemdriver_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fmodemdriver_5fconfig_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/unknown_field_set.h>
36#include "dccl/option_extensions.pb.h"
38#include <boost/units/quantity.hpp>
39#include <boost/units/absolute.hpp>
40#include <boost/units/dimensionless_type.hpp>
41#include <boost/units/make_scaled_unit.hpp>
42// @@protoc_insertion_point(includes)
43#include <google/protobuf/port_def.inc>
44#define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fmodemdriver_5fconfig_2eproto
45PROTOBUF_NAMESPACE_OPEN
46namespace internal {
47class AnyMetadata;
48} // namespace internal
49PROTOBUF_NAMESPACE_CLOSE
50
51// Internal implementation detail -- do not use these members.
55extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fmodemdriver_5fconfig_2eproto;
56namespace goby {
57namespace apps {
58namespace zeromq {
59namespace acomms {
60namespace protobuf {
61class ModemDriverConfig;
62struct ModemDriverConfigDefaultTypeInternal;
63extern ModemDriverConfigDefaultTypeInternal _ModemDriverConfig_default_instance_;
64} // namespace protobuf
65} // namespace acomms
66} // namespace zeromq
67} // namespace apps
68} // namespace goby
69PROTOBUF_NAMESPACE_OPEN
70template<> ::goby::apps::zeromq::acomms::protobuf::ModemDriverConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::acomms::protobuf::ModemDriverConfig>(Arena*);
71PROTOBUF_NAMESPACE_CLOSE
72namespace goby {
73namespace apps {
74namespace zeromq {
75namespace acomms {
76namespace protobuf {
77
78// ===================================================================
79
80class ModemDriverConfig final :
81 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig) */ {
82 public:
83 inline ModemDriverConfig() : ModemDriverConfig(nullptr) {}
85 explicit PROTOBUF_CONSTEXPR ModemDriverConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
86
90 *this = ::std::move(from);
91 }
92
94 CopyFrom(from);
95 return *this;
96 }
98 if (this == &from) return *this;
99 if (GetOwningArena() == from.GetOwningArena()
100 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
101 && GetOwningArena() != nullptr
102 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
103 ) {
104 InternalSwap(&from);
105 } else {
106 CopyFrom(from);
107 }
108 return *this;
109 }
110
111 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
112 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
113 }
114 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
115 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
116 }
117
118 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
119 return GetDescriptor();
120 }
121 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
122 return default_instance().GetMetadata().descriptor;
123 }
124 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
125 return default_instance().GetMetadata().reflection;
126 }
129 }
131 return reinterpret_cast<const ModemDriverConfig*>(
133 }
134 static constexpr int kIndexInFileMessages =
135 0;
136
138 a.Swap(&b);
139 }
140 inline void Swap(ModemDriverConfig* other) {
141 if (other == this) return;
142 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
143 if (GetOwningArena() != nullptr &&
144 GetOwningArena() == other->GetOwningArena()) {
145 #else // PROTOBUF_FORCE_COPY_IN_SWAP
146 if (GetOwningArena() == other->GetOwningArena()) {
147 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
148 InternalSwap(other);
149 } else {
150 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
151 }
152 }
154 if (other == this) return;
155 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
156 InternalSwap(other);
157 }
158
159 // implements Message ----------------------------------------------
160
161 ModemDriverConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
162 return CreateMaybeMessage<ModemDriverConfig>(arena);
163 }
164 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
165 void CopyFrom(const ModemDriverConfig& from);
166 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
167 void MergeFrom( const ModemDriverConfig& from) {
168 ModemDriverConfig::MergeImpl(*this, from);
169 }
170 private:
171 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
172 public:
173 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
174 bool IsInitialized() const final;
175
176 size_t ByteSizeLong() const final;
177 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
179 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
180 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
181
182 private:
183 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
184 void SharedDtor();
185 void SetCachedSize(int size) const final;
186 void InternalSwap(ModemDriverConfig* other);
187
188 private:
189 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
190 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
191 return "goby.apps.zeromq.acomms.protobuf.ModemDriverConfig";
192 }
193 protected:
194 explicit ModemDriverConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
195 bool is_message_owned = false);
196 public:
197
198 static const ClassData _class_data_;
199 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
200
201 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
202
203 // nested types ----------------------------------------------------
204
205 // accessors -------------------------------------------------------
206
207 enum : int {
213 };
214 // optional .goby.middleware.protobuf.AppConfig app = 1;
215 bool has_app() const;
216 private:
217 bool _internal_has_app() const;
218 public:
219 void clear_app();
220 const ::goby::middleware::protobuf::AppConfig& app() const;
221 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
224 private:
225 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
226 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
227 public:
231
232 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
233 bool has_interprocess() const;
234 private:
235 bool _internal_has_interprocess() const;
236 public:
238 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
239 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
242 private:
243 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
244 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
245 public:
249
250 // required .goby.acomms.protobuf.DriverConfig driver_cfg = 3;
251 bool has_driver_cfg() const;
252 private:
253 bool _internal_has_driver_cfg() const;
254 public:
256 const ::goby::acomms::protobuf::DriverConfig& driver_cfg() const;
257 PROTOBUF_NODISCARD ::goby::acomms::protobuf::DriverConfig* release_driver_cfg();
260 private:
261 const ::goby::acomms::protobuf::DriverConfig& _internal_driver_cfg() const;
262 ::goby::acomms::protobuf::DriverConfig* _internal_mutable_driver_cfg();
263 public:
267
268 // optional float data_request_timeout = 5 [default = 1, (.goby.field) = {
269 bool has_data_request_timeout() const;
270 private:
271 bool _internal_has_data_request_timeout() const;
272 public:
274 float data_request_timeout() const;
275 void set_data_request_timeout(float value);
276 private:
277 float _internal_data_request_timeout() const;
278 void _internal_set_data_request_timeout(float value);
279 public:
280
281 // optional int32 status_period_s = 6 [default = 300, (.goby.field) = {
282 bool has_status_period_s() const;
283 private:
284 bool _internal_has_status_period_s() const;
285 public:
287 int32_t status_period_s() const;
288 void set_status_period_s(int32_t value);
289 private:
290 int32_t _internal_status_period_s() const;
291 void _internal_set_status_period_s(int32_t value);
292 public:
293
294 // @@protoc_insertion_point(class_scope:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig)
295 private:
296 class _Internal;
297
298 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
299 typedef void InternalArenaConstructable_;
300 typedef void DestructorSkippable_;
301 struct Impl_ {
302 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
303 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
307 float data_request_timeout_;
308 int32_t status_period_s_;
309 };
310 union { Impl_ _impl_; };
311 friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fmodemdriver_5fconfig_2eproto;
312};
313// ===================================================================
314
315
316// ===================================================================
317
318#ifdef __GNUC__
319 #pragma GCC diagnostic push
320 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
321#endif // __GNUC__
322// ModemDriverConfig
323
324// optional .goby.middleware.protobuf.AppConfig app = 1;
325inline bool ModemDriverConfig::_internal_has_app() const {
326 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
327 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
328 return value;
329}
330inline bool ModemDriverConfig::has_app() const {
331 return _internal_has_app();
332}
333inline const ::goby::middleware::protobuf::AppConfig& ModemDriverConfig::_internal_app() const {
334 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
335 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
337}
338inline const ::goby::middleware::protobuf::AppConfig& ModemDriverConfig::app() const {
339 // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.app)
340 return _internal_app();
341}
344 if (GetArenaForAllocation() == nullptr) {
345 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
346 }
347 _impl_.app_ = app;
348 if (app) {
349 _impl_._has_bits_[0] |= 0x00000001u;
350 } else {
351 _impl_._has_bits_[0] &= ~0x00000001u;
352 }
353 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.app)
354}
355inline ::goby::middleware::protobuf::AppConfig* ModemDriverConfig::release_app() {
356 _impl_._has_bits_[0] &= ~0x00000001u;
358 _impl_.app_ = nullptr;
359#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
360 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
361 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
362 if (GetArenaForAllocation() == nullptr) { delete old; }
363#else // PROTOBUF_FORCE_COPY_IN_RELEASE
364 if (GetArenaForAllocation() != nullptr) {
365 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
366 }
367#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
368 return temp;
369}
370inline ::goby::middleware::protobuf::AppConfig* ModemDriverConfig::unsafe_arena_release_app() {
371 // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.app)
372 _impl_._has_bits_[0] &= ~0x00000001u;
374 _impl_.app_ = nullptr;
375 return temp;
376}
377inline ::goby::middleware::protobuf::AppConfig* ModemDriverConfig::_internal_mutable_app() {
378 _impl_._has_bits_[0] |= 0x00000001u;
379 if (_impl_.app_ == nullptr) {
380 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
381 _impl_.app_ = p;
382 }
383 return _impl_.app_;
384}
385inline ::goby::middleware::protobuf::AppConfig* ModemDriverConfig::mutable_app() {
386 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
387 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.app)
388 return _msg;
389}
391 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
392 if (message_arena == nullptr) {
393 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
394 }
395 if (app) {
396 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
397 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
398 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
399 if (message_arena != submessage_arena) {
400 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
401 message_arena, app, submessage_arena);
402 }
403 _impl_._has_bits_[0] |= 0x00000001u;
404 } else {
405 _impl_._has_bits_[0] &= ~0x00000001u;
406 }
407 _impl_.app_ = app;
408 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.app)
409}
410
411// optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
412inline bool ModemDriverConfig::_internal_has_interprocess() const {
413 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
414 PROTOBUF_ASSUME(!value || _impl_.interprocess_ != nullptr);
415 return value;
416}
418 return _internal_has_interprocess();
419}
420inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& ModemDriverConfig::_internal_interprocess() const {
421 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
422 return p != nullptr ? *p : reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&>(
424}
425inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& ModemDriverConfig::interprocess() const {
426 // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.interprocess)
427 return _internal_interprocess();
428}
431 if (GetArenaForAllocation() == nullptr) {
432 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
433 }
434 _impl_.interprocess_ = interprocess;
435 if (interprocess) {
436 _impl_._has_bits_[0] |= 0x00000002u;
437 } else {
438 _impl_._has_bits_[0] &= ~0x00000002u;
439 }
440 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.interprocess)
441}
442inline ::goby::zeromq::protobuf::InterProcessPortalConfig* ModemDriverConfig::release_interprocess() {
443 _impl_._has_bits_[0] &= ~0x00000002u;
445 _impl_.interprocess_ = nullptr;
446#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
447 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
448 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
449 if (GetArenaForAllocation() == nullptr) { delete old; }
450#else // PROTOBUF_FORCE_COPY_IN_RELEASE
451 if (GetArenaForAllocation() != nullptr) {
452 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
453 }
454#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
455 return temp;
456}
457inline ::goby::zeromq::protobuf::InterProcessPortalConfig* ModemDriverConfig::unsafe_arena_release_interprocess() {
458 // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.interprocess)
459 _impl_._has_bits_[0] &= ~0x00000002u;
461 _impl_.interprocess_ = nullptr;
462 return temp;
463}
464inline ::goby::zeromq::protobuf::InterProcessPortalConfig* ModemDriverConfig::_internal_mutable_interprocess() {
465 _impl_._has_bits_[0] |= 0x00000002u;
466 if (_impl_.interprocess_ == nullptr) {
468 _impl_.interprocess_ = p;
469 }
470 return _impl_.interprocess_;
471}
472inline ::goby::zeromq::protobuf::InterProcessPortalConfig* ModemDriverConfig::mutable_interprocess() {
473 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
474 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.interprocess)
475 return _msg;
476}
478 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
479 if (message_arena == nullptr) {
480 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.interprocess_);
481 }
482 if (interprocess) {
483 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
484 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
485 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess));
486 if (message_arena != submessage_arena) {
487 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
488 message_arena, interprocess, submessage_arena);
489 }
490 _impl_._has_bits_[0] |= 0x00000002u;
491 } else {
492 _impl_._has_bits_[0] &= ~0x00000002u;
493 }
494 _impl_.interprocess_ = interprocess;
495 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.interprocess)
496}
497
498// required .goby.acomms.protobuf.DriverConfig driver_cfg = 3;
499inline bool ModemDriverConfig::_internal_has_driver_cfg() const {
500 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
501 PROTOBUF_ASSUME(!value || _impl_.driver_cfg_ != nullptr);
502 return value;
503}
505 return _internal_has_driver_cfg();
506}
507inline const ::goby::acomms::protobuf::DriverConfig& ModemDriverConfig::_internal_driver_cfg() const {
508 const ::goby::acomms::protobuf::DriverConfig* p = _impl_.driver_cfg_;
509 return p != nullptr ? *p : reinterpret_cast<const ::goby::acomms::protobuf::DriverConfig&>(
511}
512inline const ::goby::acomms::protobuf::DriverConfig& ModemDriverConfig::driver_cfg() const {
513 // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.driver_cfg)
514 return _internal_driver_cfg();
515}
518 if (GetArenaForAllocation() == nullptr) {
519 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.driver_cfg_);
520 }
521 _impl_.driver_cfg_ = driver_cfg;
522 if (driver_cfg) {
523 _impl_._has_bits_[0] |= 0x00000004u;
524 } else {
525 _impl_._has_bits_[0] &= ~0x00000004u;
526 }
527 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.driver_cfg)
528}
529inline ::goby::acomms::protobuf::DriverConfig* ModemDriverConfig::release_driver_cfg() {
530 _impl_._has_bits_[0] &= ~0x00000004u;
532 _impl_.driver_cfg_ = nullptr;
533#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
534 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
535 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
536 if (GetArenaForAllocation() == nullptr) { delete old; }
537#else // PROTOBUF_FORCE_COPY_IN_RELEASE
538 if (GetArenaForAllocation() != nullptr) {
539 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
540 }
541#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
542 return temp;
543}
544inline ::goby::acomms::protobuf::DriverConfig* ModemDriverConfig::unsafe_arena_release_driver_cfg() {
545 // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.driver_cfg)
546 _impl_._has_bits_[0] &= ~0x00000004u;
548 _impl_.driver_cfg_ = nullptr;
549 return temp;
550}
551inline ::goby::acomms::protobuf::DriverConfig* ModemDriverConfig::_internal_mutable_driver_cfg() {
552 _impl_._has_bits_[0] |= 0x00000004u;
553 if (_impl_.driver_cfg_ == nullptr) {
554 auto* p = CreateMaybeMessage<::goby::acomms::protobuf::DriverConfig>(GetArenaForAllocation());
555 _impl_.driver_cfg_ = p;
556 }
557 return _impl_.driver_cfg_;
558}
559inline ::goby::acomms::protobuf::DriverConfig* ModemDriverConfig::mutable_driver_cfg() {
560 ::goby::acomms::protobuf::DriverConfig* _msg = _internal_mutable_driver_cfg();
561 // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.driver_cfg)
562 return _msg;
563}
565 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
566 if (message_arena == nullptr) {
567 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.driver_cfg_);
568 }
569 if (driver_cfg) {
570 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
571 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
572 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(driver_cfg));
573 if (message_arena != submessage_arena) {
574 driver_cfg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
575 message_arena, driver_cfg, submessage_arena);
576 }
577 _impl_._has_bits_[0] |= 0x00000004u;
578 } else {
579 _impl_._has_bits_[0] &= ~0x00000004u;
580 }
581 _impl_.driver_cfg_ = driver_cfg;
582 // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.driver_cfg)
583}
584
585// optional float data_request_timeout = 5 [default = 1, (.goby.field) = {
586inline bool ModemDriverConfig::_internal_has_data_request_timeout() const {
587 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
588 return value;
589}
591 return _internal_has_data_request_timeout();
592}
594 _impl_.data_request_timeout_ = 1;
595 _impl_._has_bits_[0] &= ~0x00000008u;
596}
597inline float ModemDriverConfig::_internal_data_request_timeout() const {
598 return _impl_.data_request_timeout_;
599}
601 // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.data_request_timeout)
602 return _internal_data_request_timeout();
603}
604inline void ModemDriverConfig::_internal_set_data_request_timeout(float value) {
605 _impl_._has_bits_[0] |= 0x00000008u;
606 _impl_.data_request_timeout_ = value;
607}
609 _internal_set_data_request_timeout(value);
610 // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.data_request_timeout)
611}
612
613// optional int32 status_period_s = 6 [default = 300, (.goby.field) = {
614inline bool ModemDriverConfig::_internal_has_status_period_s() const {
615 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
616 return value;
617}
619 return _internal_has_status_period_s();
620}
622 _impl_.status_period_s_ = 300;
623 _impl_._has_bits_[0] &= ~0x00000010u;
624}
625inline int32_t ModemDriverConfig::_internal_status_period_s() const {
626 return _impl_.status_period_s_;
627}
629 // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.status_period_s)
630 return _internal_status_period_s();
631}
632inline void ModemDriverConfig::_internal_set_status_period_s(int32_t value) {
633 _impl_._has_bits_[0] |= 0x00000010u;
634 _impl_.status_period_s_ = value;
635}
636inline void ModemDriverConfig::set_status_period_s(int32_t value) {
637 _internal_set_status_period_s(value);
638 // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.status_period_s)
639}
640
641#ifdef __GNUC__
642 #pragma GCC diagnostic pop
643#endif // __GNUC__
644
645// @@protoc_insertion_point(namespace_scope)
646
647} // namespace protobuf
648} // namespace acomms
649} // namespace zeromq
650} // namespace apps
651} // namespace goby
652
653// @@protoc_insertion_point(global_scope)
654
655#include <google/protobuf/port_undef.inc>
656#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fmodemdriver_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
ModemDriverConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
ModemDriverConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::goby::acomms::protobuf::DriverConfig * mutable_driver_cfg()
void set_allocated_driver_cfg(::goby::acomms::protobuf::DriverConfig *driver_cfg)
::goby::acomms::protobuf::DriverConfig * unsafe_arena_release_driver_cfg()
const ::goby::middleware::protobuf::AppConfig & app() const
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
PROTOBUF_NODISCARD::goby::acomms::protobuf::DriverConfig * release_driver_cfg()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
ModemDriverConfig & operator=(const ModemDriverConfig &from)
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void unsafe_arena_set_allocated_driver_cfg(::goby::acomms::protobuf::DriverConfig *driver_cfg)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PROTOBUF_NODISCARD::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
void CopyFrom(const ModemDriverConfig &from)
::goby::middleware::protobuf::AppConfig * mutable_app()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
PROTOBUF_CONSTEXPR ModemDriverConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
friend void swap(ModemDriverConfig &a, ModemDriverConfig &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
ModemDriverConfig & operator=(ModemDriverConfig &&from) noexcept
const ::goby::acomms::protobuf::DriverConfig & driver_cfg() const
PROTOBUF_NAMESPACE_OPEN ::goby::acomms::protobuf::DriverConfig * Arena::CreateMaybeMessage<::goby::acomms::protobuf::DriverConfig >(Arena *)
::goby::zeromq::protobuf::InterProcessPortalConfig * Arena::CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig >(Arena *)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fmodemdriver_5fconfig_2eproto
DriverConfigDefaultTypeInternal _DriverConfig_default_instance_
ModemDriverConfigDefaultTypeInternal _ModemDriverConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.