Goby3  3.1.5
2024.05.14
test_config.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/test/acomms/mmdriver2/test_config.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fmmdriver2_2ftest_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>
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 // @@protoc_insertion_point(includes)
44 #include <google/protobuf/port_def.inc>
45 #define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto
46 PROTOBUF_NAMESPACE_OPEN
47 namespace internal {
48 class AnyMetadata;
49 } // namespace internal
50 PROTOBUF_NAMESPACE_CLOSE
51 
52 // Internal implementation detail -- do not use these members.
54  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
55  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
57  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
61  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
63 };
64 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto;
65 namespace goby {
66 namespace test {
67 namespace protobuf {
68 class MMDriverTest2Config;
69 class MMDriverTest2ConfigDefaultTypeInternal;
70 extern MMDriverTest2ConfigDefaultTypeInternal _MMDriverTest2Config_default_instance_;
71 } // namespace protobuf
72 } // namespace test
73 } // namespace goby
74 PROTOBUF_NAMESPACE_OPEN
75 template<> ::goby::test::protobuf::MMDriverTest2Config* Arena::CreateMaybeMessage<::goby::test::protobuf::MMDriverTest2Config>(Arena*);
76 PROTOBUF_NAMESPACE_CLOSE
77 namespace goby {
78 namespace test {
79 namespace protobuf {
80 
81 // ===================================================================
82 
83 class MMDriverTest2Config PROTOBUF_FINAL :
84  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.protobuf.MMDriverTest2Config) */ {
85  public:
86  inline MMDriverTest2Config() : MMDriverTest2Config(nullptr) {};
88 
89  MMDriverTest2Config(const MMDriverTest2Config& from);
90  MMDriverTest2Config(MMDriverTest2Config&& from) noexcept
91  : MMDriverTest2Config() {
92  *this = ::std::move(from);
93  }
94 
95  inline MMDriverTest2Config& operator=(const MMDriverTest2Config& from) {
96  CopyFrom(from);
97  return *this;
98  }
99  inline MMDriverTest2Config& operator=(MMDriverTest2Config&& from) noexcept {
100  if (GetArena() == from.GetArena()) {
101  if (this != &from) InternalSwap(&from);
102  } else {
103  CopyFrom(from);
104  }
105  return *this;
106  }
107 
108  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
109  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
110  }
111  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
112  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
113  }
114 
115  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
116  return GetDescriptor();
117  }
118  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
119  return GetMetadataStatic().descriptor;
120  }
121  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
122  return GetMetadataStatic().reflection;
123  }
124  static const MMDriverTest2Config& default_instance();
125 
126  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
127  static inline const MMDriverTest2Config* internal_default_instance() {
128  return reinterpret_cast<const MMDriverTest2Config*>(
130  }
131  static constexpr int kIndexInFileMessages =
132  0;
133 
134  friend void swap(MMDriverTest2Config& a, MMDriverTest2Config& b) {
135  a.Swap(&b);
136  }
137  inline void Swap(MMDriverTest2Config* other) {
138  if (other == this) return;
139  if (GetArena() == other->GetArena()) {
140  InternalSwap(other);
141  } else {
142  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
143  }
144  }
145  void UnsafeArenaSwap(MMDriverTest2Config* other) {
146  if (other == this) return;
147  GOOGLE_DCHECK(GetArena() == other->GetArena());
148  InternalSwap(other);
149  }
150 
151  // implements Message ----------------------------------------------
152 
153  inline MMDriverTest2Config* New() const final {
154  return CreateMaybeMessage<MMDriverTest2Config>(nullptr);
155  }
156 
157  MMDriverTest2Config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
158  return CreateMaybeMessage<MMDriverTest2Config>(arena);
159  }
160  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
161  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
162  void CopyFrom(const MMDriverTest2Config& from);
163  void MergeFrom(const MMDriverTest2Config& from);
164  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
165  bool IsInitialized() const final;
166 
167  size_t ByteSizeLong() const final;
168  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
169  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
170  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
171  int GetCachedSize() const final { return _cached_size_.Get(); }
172 
173  private:
174  inline void SharedCtor();
175  inline void SharedDtor();
176  void SetCachedSize(int size) const final;
177  void InternalSwap(MMDriverTest2Config* other);
178  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
179  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
180  return "goby.test.protobuf.MMDriverTest2Config";
181  }
182  protected:
183  explicit MMDriverTest2Config(::PROTOBUF_NAMESPACE_ID::Arena* arena);
184  private:
185  static void ArenaDtor(void* object);
186  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
187  public:
188 
189  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
190  private:
191  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
192  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto);
194  }
195 
196  public:
197 
198  // nested types ----------------------------------------------------
199 
200  // accessors -------------------------------------------------------
201 
202  enum : int {
204  kAppFieldNumber = 1,
205  kMm1CfgFieldNumber = 10,
206  kMm2CfgFieldNumber = 11,
207  kRepeatFieldNumber = 21,
208  };
209  // repeated .goby.acomms.protobuf.ModemTransmission transmission = 20 [(.goby.field) = {
210  int transmission_size() const;
211  private:
212  int _internal_transmission_size() const;
213  public:
215  ::goby::acomms::protobuf::ModemTransmission* mutable_transmission(int index);
216  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
218  private:
219  const ::goby::acomms::protobuf::ModemTransmission& _internal_transmission(int index) const;
220  ::goby::acomms::protobuf::ModemTransmission* _internal_add_transmission();
221  public:
222  const ::goby::acomms::protobuf::ModemTransmission& transmission(int index) const;
223  ::goby::acomms::protobuf::ModemTransmission* add_transmission();
224  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
225  transmission() const;
226 
227  // optional .goby.middleware.protobuf.AppConfig app = 1;
228  bool has_app() const;
229  private:
230  bool _internal_has_app() const;
231  public:
232  void clear_app();
233  const ::goby::middleware::protobuf::AppConfig& app() const;
234  ::goby::middleware::protobuf::AppConfig* release_app();
235  ::goby::middleware::protobuf::AppConfig* mutable_app();
236  void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
237  private:
238  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
239  ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
240  public:
242  ::goby::middleware::protobuf::AppConfig* app);
243  ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
244 
245  // required .goby.acomms.protobuf.DriverConfig mm1_cfg = 10 [(.goby.field) = {
246  bool has_mm1_cfg() const;
247  private:
248  bool _internal_has_mm1_cfg() const;
249  public:
251  const ::goby::acomms::protobuf::DriverConfig& mm1_cfg() const;
252  ::goby::acomms::protobuf::DriverConfig* release_mm1_cfg();
253  ::goby::acomms::protobuf::DriverConfig* mutable_mm1_cfg();
254  void set_allocated_mm1_cfg(::goby::acomms::protobuf::DriverConfig* mm1_cfg);
255  private:
256  const ::goby::acomms::protobuf::DriverConfig& _internal_mm1_cfg() const;
257  ::goby::acomms::protobuf::DriverConfig* _internal_mutable_mm1_cfg();
258  public:
260  ::goby::acomms::protobuf::DriverConfig* mm1_cfg);
261  ::goby::acomms::protobuf::DriverConfig* unsafe_arena_release_mm1_cfg();
262 
263  // required .goby.acomms.protobuf.DriverConfig mm2_cfg = 11 [(.goby.field) = {
264  bool has_mm2_cfg() const;
265  private:
266  bool _internal_has_mm2_cfg() const;
267  public:
269  const ::goby::acomms::protobuf::DriverConfig& mm2_cfg() const;
270  ::goby::acomms::protobuf::DriverConfig* release_mm2_cfg();
271  ::goby::acomms::protobuf::DriverConfig* mutable_mm2_cfg();
272  void set_allocated_mm2_cfg(::goby::acomms::protobuf::DriverConfig* mm2_cfg);
273  private:
274  const ::goby::acomms::protobuf::DriverConfig& _internal_mm2_cfg() const;
275  ::goby::acomms::protobuf::DriverConfig* _internal_mutable_mm2_cfg();
276  public:
278  ::goby::acomms::protobuf::DriverConfig* mm2_cfg);
279  ::goby::acomms::protobuf::DriverConfig* unsafe_arena_release_mm2_cfg();
280 
281  // optional int32 repeat = 21 [default = 1, (.goby.field) = {
282  bool has_repeat() const;
283  private:
284  bool _internal_has_repeat() const;
285  public:
286  void clear_repeat();
289  private:
290  ::PROTOBUF_NAMESPACE_ID::int32 _internal_repeat() const;
291  void _internal_set_repeat(::PROTOBUF_NAMESPACE_ID::int32 value);
292  public:
293 
294  // @@protoc_insertion_point(class_scope:goby.test.protobuf.MMDriverTest2Config)
295  private:
296  class _Internal;
297 
298  // helper for ByteSizeLong()
299  size_t RequiredFieldsByteSizeFallback() const;
300 
301  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
302  typedef void InternalArenaConstructable_;
303  typedef void DestructorSkippable_;
304  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
305  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
306  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > transmission_;
307  ::goby::middleware::protobuf::AppConfig* app_;
308  ::goby::acomms::protobuf::DriverConfig* mm1_cfg_;
309  ::goby::acomms::protobuf::DriverConfig* mm2_cfg_;
311  friend struct ::TableStruct_goby_2ftest_2facomms_2fmmdriver2_2ftest_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 // MMDriverTest2Config
323 
324 // optional .goby.middleware.protobuf.AppConfig app = 1;
325 inline bool MMDriverTest2Config::_internal_has_app() const {
326  bool value = (_has_bits_[0] & 0x00000001u) != 0;
327  PROTOBUF_ASSUME(!value || app_ != nullptr);
328  return value;
329 }
330 inline bool MMDriverTest2Config::has_app() const {
331  return _internal_has_app();
332 }
333 inline const ::goby::middleware::protobuf::AppConfig& MMDriverTest2Config::_internal_app() const {
334  const ::goby::middleware::protobuf::AppConfig* p = app_;
335  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
337 }
338 inline const ::goby::middleware::protobuf::AppConfig& MMDriverTest2Config::app() const {
339  // @@protoc_insertion_point(field_get:goby.test.protobuf.MMDriverTest2Config.app)
340  return _internal_app();
341 }
342 inline void MMDriverTest2Config::unsafe_arena_set_allocated_app(
343  ::goby::middleware::protobuf::AppConfig* app) {
344  if (GetArena() == nullptr) {
345  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
346  }
347  app_ = app;
348  if (app) {
349  _has_bits_[0] |= 0x00000001u;
350  } else {
351  _has_bits_[0] &= ~0x00000001u;
352  }
353  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.protobuf.MMDriverTest2Config.app)
354 }
355 inline ::goby::middleware::protobuf::AppConfig* MMDriverTest2Config::release_app() {
356  auto temp = unsafe_arena_release_app();
357  if (GetArena() != nullptr) {
358  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
359  }
360  return temp;
361 }
362 inline ::goby::middleware::protobuf::AppConfig* MMDriverTest2Config::unsafe_arena_release_app() {
363  // @@protoc_insertion_point(field_release:goby.test.protobuf.MMDriverTest2Config.app)
364  _has_bits_[0] &= ~0x00000001u;
365  ::goby::middleware::protobuf::AppConfig* temp = app_;
366  app_ = nullptr;
367  return temp;
368 }
369 inline ::goby::middleware::protobuf::AppConfig* MMDriverTest2Config::_internal_mutable_app() {
370  _has_bits_[0] |= 0x00000001u;
371  if (app_ == nullptr) {
372  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
373  app_ = p;
374  }
375  return app_;
376 }
377 inline ::goby::middleware::protobuf::AppConfig* MMDriverTest2Config::mutable_app() {
378  // @@protoc_insertion_point(field_mutable:goby.test.protobuf.MMDriverTest2Config.app)
379  return _internal_mutable_app();
380 }
381 inline void MMDriverTest2Config::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
382  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
383  if (message_arena == nullptr) {
384  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(app_);
385  }
386  if (app) {
387  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
388  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app)->GetArena();
389  if (message_arena != submessage_arena) {
390  app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
391  message_arena, app, submessage_arena);
392  }
393  _has_bits_[0] |= 0x00000001u;
394  } else {
395  _has_bits_[0] &= ~0x00000001u;
396  }
397  app_ = app;
398  // @@protoc_insertion_point(field_set_allocated:goby.test.protobuf.MMDriverTest2Config.app)
399 }
400 
401 // required .goby.acomms.protobuf.DriverConfig mm1_cfg = 10 [(.goby.field) = {
402 inline bool MMDriverTest2Config::_internal_has_mm1_cfg() const {
403  bool value = (_has_bits_[0] & 0x00000002u) != 0;
404  PROTOBUF_ASSUME(!value || mm1_cfg_ != nullptr);
405  return value;
406 }
407 inline bool MMDriverTest2Config::has_mm1_cfg() const {
408  return _internal_has_mm1_cfg();
409 }
410 inline const ::goby::acomms::protobuf::DriverConfig& MMDriverTest2Config::_internal_mm1_cfg() const {
411  const ::goby::acomms::protobuf::DriverConfig* p = mm1_cfg_;
412  return p != nullptr ? *p : *reinterpret_cast<const ::goby::acomms::protobuf::DriverConfig*>(
414 }
415 inline const ::goby::acomms::protobuf::DriverConfig& MMDriverTest2Config::mm1_cfg() const {
416  // @@protoc_insertion_point(field_get:goby.test.protobuf.MMDriverTest2Config.mm1_cfg)
417  return _internal_mm1_cfg();
418 }
419 inline void MMDriverTest2Config::unsafe_arena_set_allocated_mm1_cfg(
420  ::goby::acomms::protobuf::DriverConfig* mm1_cfg) {
421  if (GetArena() == nullptr) {
422  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mm1_cfg_);
423  }
424  mm1_cfg_ = mm1_cfg;
425  if (mm1_cfg) {
426  _has_bits_[0] |= 0x00000002u;
427  } else {
428  _has_bits_[0] &= ~0x00000002u;
429  }
430  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.protobuf.MMDriverTest2Config.mm1_cfg)
431 }
432 inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::release_mm1_cfg() {
433  auto temp = unsafe_arena_release_mm1_cfg();
434  if (GetArena() != nullptr) {
435  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
436  }
437  return temp;
438 }
439 inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::unsafe_arena_release_mm1_cfg() {
440  // @@protoc_insertion_point(field_release:goby.test.protobuf.MMDriverTest2Config.mm1_cfg)
441  _has_bits_[0] &= ~0x00000002u;
442  ::goby::acomms::protobuf::DriverConfig* temp = mm1_cfg_;
443  mm1_cfg_ = nullptr;
444  return temp;
445 }
446 inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::_internal_mutable_mm1_cfg() {
447  _has_bits_[0] |= 0x00000002u;
448  if (mm1_cfg_ == nullptr) {
449  auto* p = CreateMaybeMessage<::goby::acomms::protobuf::DriverConfig>(GetArena());
450  mm1_cfg_ = p;
451  }
452  return mm1_cfg_;
453 }
454 inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::mutable_mm1_cfg() {
455  // @@protoc_insertion_point(field_mutable:goby.test.protobuf.MMDriverTest2Config.mm1_cfg)
456  return _internal_mutable_mm1_cfg();
457 }
458 inline void MMDriverTest2Config::set_allocated_mm1_cfg(::goby::acomms::protobuf::DriverConfig* mm1_cfg) {
459  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
460  if (message_arena == nullptr) {
461  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(mm1_cfg_);
462  }
463  if (mm1_cfg) {
464  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
465  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mm1_cfg)->GetArena();
466  if (message_arena != submessage_arena) {
467  mm1_cfg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
468  message_arena, mm1_cfg, submessage_arena);
469  }
470  _has_bits_[0] |= 0x00000002u;
471  } else {
472  _has_bits_[0] &= ~0x00000002u;
473  }
474  mm1_cfg_ = mm1_cfg;
475  // @@protoc_insertion_point(field_set_allocated:goby.test.protobuf.MMDriverTest2Config.mm1_cfg)
476 }
477 
478 // required .goby.acomms.protobuf.DriverConfig mm2_cfg = 11 [(.goby.field) = {
479 inline bool MMDriverTest2Config::_internal_has_mm2_cfg() const {
480  bool value = (_has_bits_[0] & 0x00000004u) != 0;
481  PROTOBUF_ASSUME(!value || mm2_cfg_ != nullptr);
482  return value;
483 }
484 inline bool MMDriverTest2Config::has_mm2_cfg() const {
485  return _internal_has_mm2_cfg();
486 }
487 inline const ::goby::acomms::protobuf::DriverConfig& MMDriverTest2Config::_internal_mm2_cfg() const {
488  const ::goby::acomms::protobuf::DriverConfig* p = mm2_cfg_;
489  return p != nullptr ? *p : *reinterpret_cast<const ::goby::acomms::protobuf::DriverConfig*>(
491 }
492 inline const ::goby::acomms::protobuf::DriverConfig& MMDriverTest2Config::mm2_cfg() const {
493  // @@protoc_insertion_point(field_get:goby.test.protobuf.MMDriverTest2Config.mm2_cfg)
494  return _internal_mm2_cfg();
495 }
496 inline void MMDriverTest2Config::unsafe_arena_set_allocated_mm2_cfg(
497  ::goby::acomms::protobuf::DriverConfig* mm2_cfg) {
498  if (GetArena() == nullptr) {
499  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mm2_cfg_);
500  }
501  mm2_cfg_ = mm2_cfg;
502  if (mm2_cfg) {
503  _has_bits_[0] |= 0x00000004u;
504  } else {
505  _has_bits_[0] &= ~0x00000004u;
506  }
507  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.protobuf.MMDriverTest2Config.mm2_cfg)
508 }
509 inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::release_mm2_cfg() {
510  auto temp = unsafe_arena_release_mm2_cfg();
511  if (GetArena() != nullptr) {
512  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
513  }
514  return temp;
515 }
516 inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::unsafe_arena_release_mm2_cfg() {
517  // @@protoc_insertion_point(field_release:goby.test.protobuf.MMDriverTest2Config.mm2_cfg)
518  _has_bits_[0] &= ~0x00000004u;
519  ::goby::acomms::protobuf::DriverConfig* temp = mm2_cfg_;
520  mm2_cfg_ = nullptr;
521  return temp;
522 }
523 inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::_internal_mutable_mm2_cfg() {
524  _has_bits_[0] |= 0x00000004u;
525  if (mm2_cfg_ == nullptr) {
526  auto* p = CreateMaybeMessage<::goby::acomms::protobuf::DriverConfig>(GetArena());
527  mm2_cfg_ = p;
528  }
529  return mm2_cfg_;
530 }
531 inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::mutable_mm2_cfg() {
532  // @@protoc_insertion_point(field_mutable:goby.test.protobuf.MMDriverTest2Config.mm2_cfg)
533  return _internal_mutable_mm2_cfg();
534 }
535 inline void MMDriverTest2Config::set_allocated_mm2_cfg(::goby::acomms::protobuf::DriverConfig* mm2_cfg) {
536  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
537  if (message_arena == nullptr) {
538  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(mm2_cfg_);
539  }
540  if (mm2_cfg) {
541  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
542  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mm2_cfg)->GetArena();
543  if (message_arena != submessage_arena) {
544  mm2_cfg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
545  message_arena, mm2_cfg, submessage_arena);
546  }
547  _has_bits_[0] |= 0x00000004u;
548  } else {
549  _has_bits_[0] &= ~0x00000004u;
550  }
551  mm2_cfg_ = mm2_cfg;
552  // @@protoc_insertion_point(field_set_allocated:goby.test.protobuf.MMDriverTest2Config.mm2_cfg)
553 }
554 
555 // repeated .goby.acomms.protobuf.ModemTransmission transmission = 20 [(.goby.field) = {
556 inline int MMDriverTest2Config::_internal_transmission_size() const {
557  return transmission_.size();
558 }
559 inline int MMDriverTest2Config::transmission_size() const {
560  return _internal_transmission_size();
561 }
562 inline ::goby::acomms::protobuf::ModemTransmission* MMDriverTest2Config::mutable_transmission(int index) {
563  // @@protoc_insertion_point(field_mutable:goby.test.protobuf.MMDriverTest2Config.transmission)
564  return transmission_.Mutable(index);
565 }
566 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
567 MMDriverTest2Config::mutable_transmission() {
568  // @@protoc_insertion_point(field_mutable_list:goby.test.protobuf.MMDriverTest2Config.transmission)
569  return &transmission_;
570 }
571 inline const ::goby::acomms::protobuf::ModemTransmission& MMDriverTest2Config::_internal_transmission(int index) const {
572  return transmission_.Get(index);
573 }
574 inline const ::goby::acomms::protobuf::ModemTransmission& MMDriverTest2Config::transmission(int index) const {
575  // @@protoc_insertion_point(field_get:goby.test.protobuf.MMDriverTest2Config.transmission)
576  return _internal_transmission(index);
577 }
578 inline ::goby::acomms::protobuf::ModemTransmission* MMDriverTest2Config::_internal_add_transmission() {
579  return transmission_.Add();
580 }
581 inline ::goby::acomms::protobuf::ModemTransmission* MMDriverTest2Config::add_transmission() {
582  // @@protoc_insertion_point(field_add:goby.test.protobuf.MMDriverTest2Config.transmission)
583  return _internal_add_transmission();
584 }
585 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
587  // @@protoc_insertion_point(field_list:goby.test.protobuf.MMDriverTest2Config.transmission)
588  return transmission_;
589 }
590 
591 // optional int32 repeat = 21 [default = 1, (.goby.field) = {
592 inline bool MMDriverTest2Config::_internal_has_repeat() const {
593  bool value = (_has_bits_[0] & 0x00000008u) != 0;
594  return value;
595 }
596 inline bool MMDriverTest2Config::has_repeat() const {
597  return _internal_has_repeat();
598 }
599 inline void MMDriverTest2Config::clear_repeat() {
600  repeat_ = 1;
601  _has_bits_[0] &= ~0x00000008u;
602 }
603 inline ::PROTOBUF_NAMESPACE_ID::int32 MMDriverTest2Config::_internal_repeat() const {
604  return repeat_;
605 }
606 inline ::PROTOBUF_NAMESPACE_ID::int32 MMDriverTest2Config::repeat() const {
607  // @@protoc_insertion_point(field_get:goby.test.protobuf.MMDriverTest2Config.repeat)
608  return _internal_repeat();
609 }
610 inline void MMDriverTest2Config::_internal_set_repeat(::PROTOBUF_NAMESPACE_ID::int32 value) {
611  _has_bits_[0] |= 0x00000008u;
612  repeat_ = value;
613 }
614 inline void MMDriverTest2Config::set_repeat(::PROTOBUF_NAMESPACE_ID::int32 value) {
615  _internal_set_repeat(value);
616  // @@protoc_insertion_point(field_set:goby.test.protobuf.MMDriverTest2Config.repeat)
617 }
618 
619 #ifdef __GNUC__
620  #pragma GCC diagnostic pop
621 #endif // __GNUC__
622 
623 // @@protoc_insertion_point(namespace_scope)
624 
625 } // namespace protobuf
626 } // namespace test
627 } // namespace goby
628 
629 // @@protoc_insertion_point(global_scope)
630 
631 #include <google/protobuf/port_undef.inc>
632 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::goby::acomms::protobuf::DriverConfig * release_mm2_cfg()
::goby::acomms::protobuf::ModemTransmission * mutable_transmission(int index)
void UnsafeArenaSwap(MMDriverTest2Config *other)
void Swap(MMDriverTest2Config *other)
const ::goby::acomms::protobuf::DriverConfig & mm2_cfg() const
void set_repeat(::PROTOBUF_NAMESPACE_ID::int32 value)
MMDriverTest2Config & operator=(MMDriverTest2Config &&from) noexcept
MMDriverTest2Config(const MMDriverTest2Config &from)
MMDriverTest2Config(::PROTOBUF_NAMESPACE_ID::Arena *arena)
friend void swap(MMDriverTest2Config &a, MMDriverTest2Config &b)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::goby::middleware::protobuf::AppConfig * release_app()
MMDriverTest2Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::goby::acomms::protobuf::DriverConfig * release_mm1_cfg()
::goby::acomms::protobuf::DriverConfig * unsafe_arena_release_mm1_cfg()
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > & transmission() const
void set_allocated_mm1_cfg(::goby::acomms::protobuf::DriverConfig *mm1_cfg)
::goby::acomms::protobuf::DriverConfig * unsafe_arena_release_mm2_cfg()
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > * mutable_transmission()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::goby::acomms::protobuf::DriverConfig & mm1_cfg() const
::goby::acomms::protobuf::DriverConfig * mutable_mm2_cfg()
void MergeFrom(const MMDriverTest2Config &from)
const ::goby::middleware::protobuf::AppConfig & app() const
MMDriverTest2Config * New() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
::goby::acomms::protobuf::ModemTransmission * add_transmission()
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void unsafe_arena_set_allocated_mm2_cfg(::goby::acomms::protobuf::DriverConfig *mm2_cfg)
::goby::middleware::protobuf::AppConfig * mutable_app()
static const MMDriverTest2Config & default_instance()
static const MMDriverTest2Config * internal_default_instance()
::goby::acomms::protobuf::DriverConfig * mutable_mm1_cfg()
::PROTOBUF_NAMESPACE_ID::int32 repeat() const
MMDriverTest2Config(MMDriverTest2Config &&from) noexcept
void unsafe_arena_set_allocated_mm1_cfg(::goby::acomms::protobuf::DriverConfig *mm1_cfg)
void CopyFrom(const MMDriverTest2Config &from)
const ::goby::acomms::protobuf::ModemTransmission & transmission(int index) const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_allocated_mm2_cfg(::goby::acomms::protobuf::DriverConfig *mm2_cfg)
MMDriverTest2Config & operator=(const MMDriverTest2Config &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
@ value
the parser finished reading a JSON value
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::benthos::protobuf::Transmission >, 11, false > transmission
DriverConfigDefaultTypeInternal _DriverConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
MMDriverTest2ConfigDefaultTypeInternal _MMDriverTest2Config_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::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto