Goby3  3.1.5
2024.05.14
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 < 3012000
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 3012004 < 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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
38 #include "dccl/option_extensions.pb.h"
40 #include <boost/units/quantity.hpp>
41 #include <boost/units/absolute.hpp>
42 #include <boost/units/dimensionless_type.hpp>
43 #include <boost/units/make_scaled_unit.hpp>
44 // @@protoc_insertion_point(includes)
45 #include <google/protobuf/port_def.inc>
46 #define PROTOBUF_INTERNAL_EXPORT_goby_2fzeromq_2fprotobuf_2fmodemdriver_5fconfig_2eproto
47 PROTOBUF_NAMESPACE_OPEN
48 namespace internal {
49 class AnyMetadata;
50 } // namespace internal
51 PROTOBUF_NAMESPACE_CLOSE
52 
53 // Internal implementation detail -- do not use these members.
55  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
56  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
57  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
62  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
64 };
65 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fmodemdriver_5fconfig_2eproto;
66 namespace goby {
67 namespace apps {
68 namespace zeromq {
69 namespace acomms {
70 namespace protobuf {
71 class ModemDriverConfig;
72 class ModemDriverConfigDefaultTypeInternal;
73 extern ModemDriverConfigDefaultTypeInternal _ModemDriverConfig_default_instance_;
74 } // namespace protobuf
75 } // namespace acomms
76 } // namespace zeromq
77 } // namespace apps
78 } // namespace goby
79 PROTOBUF_NAMESPACE_OPEN
80 template<> ::goby::apps::zeromq::acomms::protobuf::ModemDriverConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::acomms::protobuf::ModemDriverConfig>(Arena*);
81 PROTOBUF_NAMESPACE_CLOSE
82 namespace goby {
83 namespace apps {
84 namespace zeromq {
85 namespace acomms {
86 namespace protobuf {
87 
88 // ===================================================================
89 
90 class ModemDriverConfig PROTOBUF_FINAL :
91  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig) */ {
92  public:
93  inline ModemDriverConfig() : ModemDriverConfig(nullptr) {};
94  virtual ~ModemDriverConfig();
95 
96  ModemDriverConfig(const ModemDriverConfig& from);
97  ModemDriverConfig(ModemDriverConfig&& from) noexcept
98  : ModemDriverConfig() {
99  *this = ::std::move(from);
100  }
101 
102  inline ModemDriverConfig& operator=(const ModemDriverConfig& from) {
103  CopyFrom(from);
104  return *this;
105  }
106  inline ModemDriverConfig& operator=(ModemDriverConfig&& from) noexcept {
107  if (GetArena() == from.GetArena()) {
108  if (this != &from) InternalSwap(&from);
109  } else {
110  CopyFrom(from);
111  }
112  return *this;
113  }
114 
115  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
116  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
117  }
118  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
119  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
120  }
121 
122  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
123  return GetDescriptor();
124  }
125  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
126  return GetMetadataStatic().descriptor;
127  }
128  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
129  return GetMetadataStatic().reflection;
130  }
131  static const ModemDriverConfig& default_instance();
132 
133  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
134  static inline const ModemDriverConfig* internal_default_instance() {
135  return reinterpret_cast<const ModemDriverConfig*>(
137  }
138  static constexpr int kIndexInFileMessages =
139  0;
140 
141  friend void swap(ModemDriverConfig& a, ModemDriverConfig& b) {
142  a.Swap(&b);
143  }
144  inline void Swap(ModemDriverConfig* other) {
145  if (other == this) return;
146  if (GetArena() == other->GetArena()) {
147  InternalSwap(other);
148  } else {
149  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
150  }
151  }
152  void UnsafeArenaSwap(ModemDriverConfig* other) {
153  if (other == this) return;
154  GOOGLE_DCHECK(GetArena() == other->GetArena());
155  InternalSwap(other);
156  }
157 
158  // implements Message ----------------------------------------------
159 
160  inline ModemDriverConfig* New() const final {
161  return CreateMaybeMessage<ModemDriverConfig>(nullptr);
162  }
163 
164  ModemDriverConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
165  return CreateMaybeMessage<ModemDriverConfig>(arena);
166  }
167  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
168  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
169  void CopyFrom(const ModemDriverConfig& from);
170  void MergeFrom(const ModemDriverConfig& from);
171  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
172  bool IsInitialized() const final;
173 
174  size_t ByteSizeLong() const final;
175  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
176  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
177  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
178  int GetCachedSize() const final { return _cached_size_.Get(); }
179 
180  private:
181  inline void SharedCtor();
182  inline void SharedDtor();
183  void SetCachedSize(int size) const final;
184  void InternalSwap(ModemDriverConfig* other);
185  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
186  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
187  return "goby.apps.zeromq.acomms.protobuf.ModemDriverConfig";
188  }
189  protected:
190  explicit ModemDriverConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena);
191  private:
192  static void ArenaDtor(void* object);
193  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
194  public:
195 
196  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
197  private:
198  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
199  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2fzeromq_2fprotobuf_2fmodemdriver_5fconfig_2eproto);
201  }
202 
203  public:
204 
205  // nested types ----------------------------------------------------
206 
207  // accessors -------------------------------------------------------
208 
209  enum : int {
210  kAppFieldNumber = 1,
211  kInterprocessFieldNumber = 2,
212  kDriverCfgFieldNumber = 3,
213  kDataRequestTimeoutFieldNumber = 5,
214  kStatusPeriodSFieldNumber = 6,
215  };
216  // optional .goby.middleware.protobuf.AppConfig app = 1;
217  bool has_app() const;
218  private:
219  bool _internal_has_app() const;
220  public:
221  void clear_app();
222  const ::goby::middleware::protobuf::AppConfig& app() const;
223  ::goby::middleware::protobuf::AppConfig* release_app();
224  ::goby::middleware::protobuf::AppConfig* mutable_app();
225  void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
226  private:
227  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
228  ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
229  public:
231  ::goby::middleware::protobuf::AppConfig* app);
232  ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
233 
234  // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
235  bool has_interprocess() const;
236  private:
237  bool _internal_has_interprocess() const;
238  public:
240  const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
241  ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
242  ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
243  void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
244  private:
245  const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
246  ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
247  public:
249  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
250  ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
251 
252  // required .goby.acomms.protobuf.DriverConfig driver_cfg = 3;
253  bool has_driver_cfg() const;
254  private:
255  bool _internal_has_driver_cfg() const;
256  public:
258  const ::goby::acomms::protobuf::DriverConfig& driver_cfg() const;
259  ::goby::acomms::protobuf::DriverConfig* release_driver_cfg();
260  ::goby::acomms::protobuf::DriverConfig* mutable_driver_cfg();
261  void set_allocated_driver_cfg(::goby::acomms::protobuf::DriverConfig* driver_cfg);
262  private:
263  const ::goby::acomms::protobuf::DriverConfig& _internal_driver_cfg() const;
264  ::goby::acomms::protobuf::DriverConfig* _internal_mutable_driver_cfg();
265  public:
267  ::goby::acomms::protobuf::DriverConfig* driver_cfg);
268  ::goby::acomms::protobuf::DriverConfig* unsafe_arena_release_driver_cfg();
269 
270  // optional float data_request_timeout = 5 [default = 1, (.goby.field) = {
272  private:
273  bool _internal_has_data_request_timeout() const;
274  public:
276  float data_request_timeout() const;
277  void set_data_request_timeout(float value);
278  private:
279  float _internal_data_request_timeout() const;
280  void _internal_set_data_request_timeout(float value);
281  public:
282 
283  // optional int32 status_period_s = 6 [default = 300, (.goby.field) = {
284  bool has_status_period_s() const;
285  private:
286  bool _internal_has_status_period_s() const;
287  public:
291  private:
292  ::PROTOBUF_NAMESPACE_ID::int32 _internal_status_period_s() const;
293  void _internal_set_status_period_s(::PROTOBUF_NAMESPACE_ID::int32 value);
294  public:
295 
296  // @@protoc_insertion_point(class_scope:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig)
297  private:
298  class _Internal;
299 
300  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
301  typedef void InternalArenaConstructable_;
302  typedef void DestructorSkippable_;
303  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
304  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
305  ::goby::middleware::protobuf::AppConfig* app_;
306  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
307  ::goby::acomms::protobuf::DriverConfig* driver_cfg_;
308  float data_request_timeout_;
309  ::PROTOBUF_NAMESPACE_ID::int32 status_period_s_;
310  friend struct ::TableStruct_goby_2fzeromq_2fprotobuf_2fmodemdriver_5fconfig_2eproto;
311 };
312 // ===================================================================
313 
314 
315 // ===================================================================
316 
317 #ifdef __GNUC__
318  #pragma GCC diagnostic push
319  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
320 #endif // __GNUC__
321 // ModemDriverConfig
322 
323 // optional .goby.middleware.protobuf.AppConfig app = 1;
324 inline bool ModemDriverConfig::_internal_has_app() const {
325  bool value = (_has_bits_[0] & 0x00000001u) != 0;
326  PROTOBUF_ASSUME(!value || app_ != nullptr);
327  return value;
328 }
329 inline bool ModemDriverConfig::has_app() const {
330  return _internal_has_app();
331 }
332 inline const ::goby::middleware::protobuf::AppConfig& ModemDriverConfig::_internal_app() const {
333  const ::goby::middleware::protobuf::AppConfig* p = app_;
334  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
336 }
337 inline const ::goby::middleware::protobuf::AppConfig& ModemDriverConfig::app() const {
338  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.app)
339  return _internal_app();
340 }
341 inline void ModemDriverConfig::unsafe_arena_set_allocated_app(
342  ::goby::middleware::protobuf::AppConfig* app) {
343  if (GetArena() == nullptr) {
344  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
345  }
346  app_ = app;
347  if (app) {
348  _has_bits_[0] |= 0x00000001u;
349  } else {
350  _has_bits_[0] &= ~0x00000001u;
351  }
352  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.app)
353 }
354 inline ::goby::middleware::protobuf::AppConfig* ModemDriverConfig::release_app() {
355  auto temp = unsafe_arena_release_app();
356  if (GetArena() != nullptr) {
357  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
358  }
359  return temp;
360 }
361 inline ::goby::middleware::protobuf::AppConfig* ModemDriverConfig::unsafe_arena_release_app() {
362  // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.app)
363  _has_bits_[0] &= ~0x00000001u;
364  ::goby::middleware::protobuf::AppConfig* temp = app_;
365  app_ = nullptr;
366  return temp;
367 }
368 inline ::goby::middleware::protobuf::AppConfig* ModemDriverConfig::_internal_mutable_app() {
369  _has_bits_[0] |= 0x00000001u;
370  if (app_ == nullptr) {
371  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
372  app_ = p;
373  }
374  return app_;
375 }
376 inline ::goby::middleware::protobuf::AppConfig* ModemDriverConfig::mutable_app() {
377  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.app)
378  return _internal_mutable_app();
379 }
380 inline void ModemDriverConfig::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
381  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
382  if (message_arena == nullptr) {
383  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
384  }
385  if (app) {
386  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
387  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app)->GetArena();
388  if (message_arena != submessage_arena) {
389  app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
390  message_arena, app, submessage_arena);
391  }
392  _has_bits_[0] |= 0x00000001u;
393  } else {
394  _has_bits_[0] &= ~0x00000001u;
395  }
396  app_ = app;
397  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.app)
398 }
399 
400 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
401 inline bool ModemDriverConfig::_internal_has_interprocess() const {
402  bool value = (_has_bits_[0] & 0x00000002u) != 0;
403  PROTOBUF_ASSUME(!value || interprocess_ != nullptr);
404  return value;
405 }
406 inline bool ModemDriverConfig::has_interprocess() const {
407  return _internal_has_interprocess();
408 }
409 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& ModemDriverConfig::_internal_interprocess() const {
410  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
411  return p != nullptr ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*>(
413 }
414 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& ModemDriverConfig::interprocess() const {
415  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.interprocess)
416  return _internal_interprocess();
417 }
418 inline void ModemDriverConfig::unsafe_arena_set_allocated_interprocess(
419  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
420  if (GetArena() == nullptr) {
421  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
422  }
423  interprocess_ = interprocess;
424  if (interprocess) {
425  _has_bits_[0] |= 0x00000002u;
426  } else {
427  _has_bits_[0] &= ~0x00000002u;
428  }
429  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.interprocess)
430 }
431 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* ModemDriverConfig::release_interprocess() {
432  auto temp = unsafe_arena_release_interprocess();
433  if (GetArena() != nullptr) {
434  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
435  }
436  return temp;
437 }
438 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* ModemDriverConfig::unsafe_arena_release_interprocess() {
439  // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.interprocess)
440  _has_bits_[0] &= ~0x00000002u;
441  ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
442  interprocess_ = nullptr;
443  return temp;
444 }
445 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* ModemDriverConfig::_internal_mutable_interprocess() {
446  _has_bits_[0] |= 0x00000002u;
447  if (interprocess_ == nullptr) {
448  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
449  interprocess_ = p;
450  }
451  return interprocess_;
452 }
453 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* ModemDriverConfig::mutable_interprocess() {
454  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.interprocess)
455  return _internal_mutable_interprocess();
456 }
457 inline void ModemDriverConfig::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
458  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
459  if (message_arena == nullptr) {
460  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess_);
461  }
462  if (interprocess) {
463  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
464  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(interprocess)->GetArena();
465  if (message_arena != submessage_arena) {
466  interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
467  message_arena, interprocess, submessage_arena);
468  }
469  _has_bits_[0] |= 0x00000002u;
470  } else {
471  _has_bits_[0] &= ~0x00000002u;
472  }
473  interprocess_ = interprocess;
474  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.interprocess)
475 }
476 
477 // required .goby.acomms.protobuf.DriverConfig driver_cfg = 3;
478 inline bool ModemDriverConfig::_internal_has_driver_cfg() const {
479  bool value = (_has_bits_[0] & 0x00000004u) != 0;
480  PROTOBUF_ASSUME(!value || driver_cfg_ != nullptr);
481  return value;
482 }
483 inline bool ModemDriverConfig::has_driver_cfg() const {
484  return _internal_has_driver_cfg();
485 }
486 inline const ::goby::acomms::protobuf::DriverConfig& ModemDriverConfig::_internal_driver_cfg() const {
487  const ::goby::acomms::protobuf::DriverConfig* p = driver_cfg_;
488  return p != nullptr ? *p : *reinterpret_cast<const ::goby::acomms::protobuf::DriverConfig*>(
490 }
491 inline const ::goby::acomms::protobuf::DriverConfig& ModemDriverConfig::driver_cfg() const {
492  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.driver_cfg)
493  return _internal_driver_cfg();
494 }
495 inline void ModemDriverConfig::unsafe_arena_set_allocated_driver_cfg(
496  ::goby::acomms::protobuf::DriverConfig* driver_cfg) {
497  if (GetArena() == nullptr) {
498  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(driver_cfg_);
499  }
500  driver_cfg_ = driver_cfg;
501  if (driver_cfg) {
502  _has_bits_[0] |= 0x00000004u;
503  } else {
504  _has_bits_[0] &= ~0x00000004u;
505  }
506  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.driver_cfg)
507 }
508 inline ::goby::acomms::protobuf::DriverConfig* ModemDriverConfig::release_driver_cfg() {
509  auto temp = unsafe_arena_release_driver_cfg();
510  if (GetArena() != nullptr) {
511  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
512  }
513  return temp;
514 }
515 inline ::goby::acomms::protobuf::DriverConfig* ModemDriverConfig::unsafe_arena_release_driver_cfg() {
516  // @@protoc_insertion_point(field_release:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.driver_cfg)
517  _has_bits_[0] &= ~0x00000004u;
518  ::goby::acomms::protobuf::DriverConfig* temp = driver_cfg_;
519  driver_cfg_ = nullptr;
520  return temp;
521 }
522 inline ::goby::acomms::protobuf::DriverConfig* ModemDriverConfig::_internal_mutable_driver_cfg() {
523  _has_bits_[0] |= 0x00000004u;
524  if (driver_cfg_ == nullptr) {
525  auto* p = CreateMaybeMessage<::goby::acomms::protobuf::DriverConfig>(GetArena());
526  driver_cfg_ = p;
527  }
528  return driver_cfg_;
529 }
530 inline ::goby::acomms::protobuf::DriverConfig* ModemDriverConfig::mutable_driver_cfg() {
531  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.driver_cfg)
532  return _internal_mutable_driver_cfg();
533 }
534 inline void ModemDriverConfig::set_allocated_driver_cfg(::goby::acomms::protobuf::DriverConfig* driver_cfg) {
535  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
536  if (message_arena == nullptr) {
537  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(driver_cfg_);
538  }
539  if (driver_cfg) {
540  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
541  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(driver_cfg)->GetArena();
542  if (message_arena != submessage_arena) {
543  driver_cfg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
544  message_arena, driver_cfg, submessage_arena);
545  }
546  _has_bits_[0] |= 0x00000004u;
547  } else {
548  _has_bits_[0] &= ~0x00000004u;
549  }
550  driver_cfg_ = driver_cfg;
551  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.driver_cfg)
552 }
553 
554 // optional float data_request_timeout = 5 [default = 1, (.goby.field) = {
555 inline bool ModemDriverConfig::_internal_has_data_request_timeout() const {
556  bool value = (_has_bits_[0] & 0x00000008u) != 0;
557  return value;
558 }
559 inline bool ModemDriverConfig::has_data_request_timeout() const {
560  return _internal_has_data_request_timeout();
561 }
562 inline void ModemDriverConfig::clear_data_request_timeout() {
563  data_request_timeout_ = 1;
564  _has_bits_[0] &= ~0x00000008u;
565 }
566 inline float ModemDriverConfig::_internal_data_request_timeout() const {
567  return data_request_timeout_;
568 }
569 inline float ModemDriverConfig::data_request_timeout() const {
570  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.data_request_timeout)
571  return _internal_data_request_timeout();
572 }
573 inline void ModemDriverConfig::_internal_set_data_request_timeout(float value) {
574  _has_bits_[0] |= 0x00000008u;
575  data_request_timeout_ = value;
576 }
577 inline void ModemDriverConfig::set_data_request_timeout(float value) {
578  _internal_set_data_request_timeout(value);
579  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.data_request_timeout)
580 }
581 
582 // optional int32 status_period_s = 6 [default = 300, (.goby.field) = {
583 inline bool ModemDriverConfig::_internal_has_status_period_s() const {
584  bool value = (_has_bits_[0] & 0x00000010u) != 0;
585  return value;
586 }
587 inline bool ModemDriverConfig::has_status_period_s() const {
588  return _internal_has_status_period_s();
589 }
590 inline void ModemDriverConfig::clear_status_period_s() {
591  status_period_s_ = 300;
592  _has_bits_[0] &= ~0x00000010u;
593 }
594 inline ::PROTOBUF_NAMESPACE_ID::int32 ModemDriverConfig::_internal_status_period_s() const {
595  return status_period_s_;
596 }
597 inline ::PROTOBUF_NAMESPACE_ID::int32 ModemDriverConfig::status_period_s() const {
598  // @@protoc_insertion_point(field_get:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.status_period_s)
599  return _internal_status_period_s();
600 }
601 inline void ModemDriverConfig::_internal_set_status_period_s(::PROTOBUF_NAMESPACE_ID::int32 value) {
602  _has_bits_[0] |= 0x00000010u;
603  status_period_s_ = value;
604 }
605 inline void ModemDriverConfig::set_status_period_s(::PROTOBUF_NAMESPACE_ID::int32 value) {
606  _internal_set_status_period_s(value);
607  // @@protoc_insertion_point(field_set:goby.apps.zeromq.acomms.protobuf.ModemDriverConfig.status_period_s)
608 }
609 
610 #ifdef __GNUC__
611  #pragma GCC diagnostic pop
612 #endif // __GNUC__
613 
614 // @@protoc_insertion_point(namespace_scope)
615 
616 } // namespace protobuf
617 } // namespace acomms
618 } // namespace zeromq
619 } // namespace apps
620 } // namespace goby
621 
622 // @@protoc_insertion_point(global_scope)
623 
624 #include <google/protobuf/port_undef.inc>
625 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fmodemdriver_5fconfig_2eproto
static const ModemDriverConfig & default_instance()
static const ModemDriverConfig * internal_default_instance()
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
void CopyFrom(const ModemDriverConfig &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
ModemDriverConfig * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
ModemDriverConfig & operator=(const ModemDriverConfig &from)
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
ModemDriverConfig(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::goby::middleware::protobuf::AppConfig * release_app()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
ModemDriverConfig & operator=(ModemDriverConfig &&from) noexcept
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
::goby::acomms::protobuf::DriverConfig * unsafe_arena_release_driver_cfg()
void set_allocated_driver_cfg(::goby::acomms::protobuf::DriverConfig *driver_cfg)
const ::goby::acomms::protobuf::DriverConfig & driver_cfg() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
::PROTOBUF_NAMESPACE_ID::int32 status_period_s() const
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::goby::acomms::protobuf::DriverConfig * release_driver_cfg()
::goby::middleware::protobuf::AppConfig * mutable_app()
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void MergeFrom(const ModemDriverConfig &from)
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void unsafe_arena_set_allocated_driver_cfg(::goby::acomms::protobuf::DriverConfig *driver_cfg)
friend void swap(ModemDriverConfig &a, ModemDriverConfig &b)
::goby::acomms::protobuf::DriverConfig * mutable_driver_cfg()
void set_status_period_s(::PROTOBUF_NAMESPACE_ID::int32 value)
ModemDriverConfig(const ModemDriverConfig &from)
const ::goby::middleware::protobuf::AppConfig & app() const
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2fzeromq_2fprotobuf_2fmodemdriver_5fconfig_2eproto
@ value
the parser finished reading a JSON value
DriverConfigDefaultTypeInternal _DriverConfig_default_instance_
ModemDriverConfigDefaultTypeInternal _ModemDriverConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
The global namespace for the Goby project.
std::int32_t int32
std::uint32_t uint32
#define ByteSizeLong
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)