Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
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 < 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>
37#include <boost/units/quantity.hpp>
38#include <boost/units/absolute.hpp>
39#include <boost/units/dimensionless_type.hpp>
40#include <boost/units/make_scaled_unit.hpp>
41// @@protoc_insertion_point(includes)
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto
44PROTOBUF_NAMESPACE_OPEN
45namespace internal {
46class AnyMetadata;
47} // namespace internal
48PROTOBUF_NAMESPACE_CLOSE
49
50// Internal implementation detail -- do not use these members.
54extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto;
55namespace goby {
56namespace test {
57namespace protobuf {
59struct MMDriverTest2ConfigDefaultTypeInternal;
60extern MMDriverTest2ConfigDefaultTypeInternal _MMDriverTest2Config_default_instance_;
61} // namespace protobuf
62} // namespace test
63} // namespace goby
64PROTOBUF_NAMESPACE_OPEN
65template<> ::goby::test::protobuf::MMDriverTest2Config* Arena::CreateMaybeMessage<::goby::test::protobuf::MMDriverTest2Config>(Arena*);
66PROTOBUF_NAMESPACE_CLOSE
67namespace goby {
68namespace test {
69namespace protobuf {
70
71// ===================================================================
72
74 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.test.protobuf.MMDriverTest2Config) */ {
75 public:
78 explicit PROTOBUF_CONSTEXPR MMDriverTest2Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
79
83 *this = ::std::move(from);
84 }
85
87 CopyFrom(from);
88 return *this;
89 }
91 if (this == &from) return *this;
92 if (GetOwningArena() == from.GetOwningArena()
93 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
94 && GetOwningArena() != nullptr
95 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
96 ) {
97 InternalSwap(&from);
98 } else {
99 CopyFrom(from);
100 }
101 return *this;
102 }
103
104 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
105 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
106 }
107 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
108 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
109 }
110
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
112 return GetDescriptor();
113 }
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
115 return default_instance().GetMetadata().descriptor;
116 }
117 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
118 return default_instance().GetMetadata().reflection;
119 }
122 }
124 return reinterpret_cast<const MMDriverTest2Config*>(
126 }
127 static constexpr int kIndexInFileMessages =
128 0;
129
131 a.Swap(&b);
132 }
133 inline void Swap(MMDriverTest2Config* other) {
134 if (other == this) return;
135 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
136 if (GetOwningArena() != nullptr &&
137 GetOwningArena() == other->GetOwningArena()) {
138 #else // PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() == other->GetOwningArena()) {
140 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
141 InternalSwap(other);
142 } else {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
144 }
145 }
147 if (other == this) return;
148 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
149 InternalSwap(other);
150 }
151
152 // implements Message ----------------------------------------------
153
154 MMDriverTest2Config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
155 return CreateMaybeMessage<MMDriverTest2Config>(arena);
156 }
157 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
158 void CopyFrom(const MMDriverTest2Config& from);
159 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
160 void MergeFrom( const MMDriverTest2Config& from) {
161 MMDriverTest2Config::MergeImpl(*this, from);
162 }
163 private:
164 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
165 public:
166 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
167 bool IsInitialized() const final;
168
169 size_t ByteSizeLong() const final;
170 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
172 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
173 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
174
175 private:
176 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
177 void SharedDtor();
178 void SetCachedSize(int size) const final;
179 void InternalSwap(MMDriverTest2Config* other);
180
181 private:
182 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184 return "goby.test.protobuf.MMDriverTest2Config";
185 }
186 protected:
187 explicit MMDriverTest2Config(::PROTOBUF_NAMESPACE_ID::Arena* arena,
188 bool is_message_owned = false);
189 public:
190
191 static const ClassData _class_data_;
192 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
193
194 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
195
196 // nested types ----------------------------------------------------
197
198 // accessors -------------------------------------------------------
199
200 enum : int {
206 };
207 // repeated .goby.acomms.protobuf.ModemTransmission transmission = 20 [(.goby.field) = {
208 int transmission_size() const;
209 private:
210 int _internal_transmission_size() const;
211 public:
214 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
216 private:
217 const ::goby::acomms::protobuf::ModemTransmission& _internal_transmission(int index) const;
218 ::goby::acomms::protobuf::ModemTransmission* _internal_add_transmission();
219 public:
220 const ::goby::acomms::protobuf::ModemTransmission& transmission(int index) const;
222 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
223 transmission() const;
224
225 // optional .goby.middleware.protobuf.AppConfig app = 1;
226 bool has_app() const;
227 private:
228 bool _internal_has_app() const;
229 public:
230 void clear_app();
231 const ::goby::middleware::protobuf::AppConfig& app() const;
232 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
235 private:
236 const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
237 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
238 public:
242
243 // required .goby.acomms.protobuf.DriverConfig mm1_cfg = 10 [(.goby.field) = {
244 bool has_mm1_cfg() const;
245 private:
246 bool _internal_has_mm1_cfg() const;
247 public:
249 const ::goby::acomms::protobuf::DriverConfig& mm1_cfg() const;
250 PROTOBUF_NODISCARD ::goby::acomms::protobuf::DriverConfig* release_mm1_cfg();
253 private:
254 const ::goby::acomms::protobuf::DriverConfig& _internal_mm1_cfg() const;
255 ::goby::acomms::protobuf::DriverConfig* _internal_mutable_mm1_cfg();
256 public:
260
261 // required .goby.acomms.protobuf.DriverConfig mm2_cfg = 11 [(.goby.field) = {
262 bool has_mm2_cfg() const;
263 private:
264 bool _internal_has_mm2_cfg() const;
265 public:
267 const ::goby::acomms::protobuf::DriverConfig& mm2_cfg() const;
268 PROTOBUF_NODISCARD ::goby::acomms::protobuf::DriverConfig* release_mm2_cfg();
271 private:
272 const ::goby::acomms::protobuf::DriverConfig& _internal_mm2_cfg() const;
273 ::goby::acomms::protobuf::DriverConfig* _internal_mutable_mm2_cfg();
274 public:
278
279 // optional int32 repeat = 21 [default = 1, (.goby.field) = {
280 bool has_repeat() const;
281 private:
282 bool _internal_has_repeat() const;
283 public:
284 void clear_repeat();
285 int32_t repeat() const;
286 void set_repeat(int32_t value);
287 private:
288 int32_t _internal_repeat() const;
289 void _internal_set_repeat(int32_t value);
290 public:
291
292 // @@protoc_insertion_point(class_scope:goby.test.protobuf.MMDriverTest2Config)
293 private:
294 class _Internal;
295
296 // helper for ByteSizeLong()
297 size_t RequiredFieldsByteSizeFallback() const;
298
299 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
300 typedef void InternalArenaConstructable_;
301 typedef void DestructorSkippable_;
302 struct Impl_ {
303 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
304 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
305 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > transmission_;
309 int32_t repeat_;
310 };
311 union { Impl_ _impl_; };
312 friend struct ::TableStruct_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto;
313};
314// ===================================================================
315
316
317// ===================================================================
318
319#ifdef __GNUC__
320 #pragma GCC diagnostic push
321 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
322#endif // __GNUC__
323// MMDriverTest2Config
324
325// optional .goby.middleware.protobuf.AppConfig app = 1;
326inline bool MMDriverTest2Config::_internal_has_app() const {
327 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
328 PROTOBUF_ASSUME(!value || _impl_.app_ != nullptr);
329 return value;
330}
331inline bool MMDriverTest2Config::has_app() const {
332 return _internal_has_app();
333}
334inline const ::goby::middleware::protobuf::AppConfig& MMDriverTest2Config::_internal_app() const {
335 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
336 return p != nullptr ? *p : reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&>(
338}
339inline const ::goby::middleware::protobuf::AppConfig& MMDriverTest2Config::app() const {
340 // @@protoc_insertion_point(field_get:goby.test.protobuf.MMDriverTest2Config.app)
341 return _internal_app();
342}
345 if (GetArenaForAllocation() == nullptr) {
346 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
347 }
348 _impl_.app_ = app;
349 if (app) {
350 _impl_._has_bits_[0] |= 0x00000001u;
351 } else {
352 _impl_._has_bits_[0] &= ~0x00000001u;
353 }
354 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.protobuf.MMDriverTest2Config.app)
355}
356inline ::goby::middleware::protobuf::AppConfig* MMDriverTest2Config::release_app() {
357 _impl_._has_bits_[0] &= ~0x00000001u;
359 _impl_.app_ = nullptr;
360#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
361 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
362 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
363 if (GetArenaForAllocation() == nullptr) { delete old; }
364#else // PROTOBUF_FORCE_COPY_IN_RELEASE
365 if (GetArenaForAllocation() != nullptr) {
366 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
367 }
368#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
369 return temp;
370}
371inline ::goby::middleware::protobuf::AppConfig* MMDriverTest2Config::unsafe_arena_release_app() {
372 // @@protoc_insertion_point(field_release:goby.test.protobuf.MMDriverTest2Config.app)
373 _impl_._has_bits_[0] &= ~0x00000001u;
375 _impl_.app_ = nullptr;
376 return temp;
377}
378inline ::goby::middleware::protobuf::AppConfig* MMDriverTest2Config::_internal_mutable_app() {
379 _impl_._has_bits_[0] |= 0x00000001u;
380 if (_impl_.app_ == nullptr) {
381 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
382 _impl_.app_ = p;
383 }
384 return _impl_.app_;
385}
386inline ::goby::middleware::protobuf::AppConfig* MMDriverTest2Config::mutable_app() {
387 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
388 // @@protoc_insertion_point(field_mutable:goby.test.protobuf.MMDriverTest2Config.app)
389 return _msg;
390}
392 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
393 if (message_arena == nullptr) {
394 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.app_);
395 }
396 if (app) {
397 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
398 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
399 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(app));
400 if (message_arena != submessage_arena) {
401 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
402 message_arena, app, submessage_arena);
403 }
404 _impl_._has_bits_[0] |= 0x00000001u;
405 } else {
406 _impl_._has_bits_[0] &= ~0x00000001u;
407 }
408 _impl_.app_ = app;
409 // @@protoc_insertion_point(field_set_allocated:goby.test.protobuf.MMDriverTest2Config.app)
410}
411
412// required .goby.acomms.protobuf.DriverConfig mm1_cfg = 10 [(.goby.field) = {
413inline bool MMDriverTest2Config::_internal_has_mm1_cfg() const {
414 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
415 PROTOBUF_ASSUME(!value || _impl_.mm1_cfg_ != nullptr);
416 return value;
417}
419 return _internal_has_mm1_cfg();
420}
421inline const ::goby::acomms::protobuf::DriverConfig& MMDriverTest2Config::_internal_mm1_cfg() const {
422 const ::goby::acomms::protobuf::DriverConfig* p = _impl_.mm1_cfg_;
423 return p != nullptr ? *p : reinterpret_cast<const ::goby::acomms::protobuf::DriverConfig&>(
425}
426inline const ::goby::acomms::protobuf::DriverConfig& MMDriverTest2Config::mm1_cfg() const {
427 // @@protoc_insertion_point(field_get:goby.test.protobuf.MMDriverTest2Config.mm1_cfg)
428 return _internal_mm1_cfg();
429}
432 if (GetArenaForAllocation() == nullptr) {
433 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.mm1_cfg_);
434 }
435 _impl_.mm1_cfg_ = mm1_cfg;
436 if (mm1_cfg) {
437 _impl_._has_bits_[0] |= 0x00000002u;
438 } else {
439 _impl_._has_bits_[0] &= ~0x00000002u;
440 }
441 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.protobuf.MMDriverTest2Config.mm1_cfg)
442}
443inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::release_mm1_cfg() {
444 _impl_._has_bits_[0] &= ~0x00000002u;
446 _impl_.mm1_cfg_ = nullptr;
447#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
448 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
449 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
450 if (GetArenaForAllocation() == nullptr) { delete old; }
451#else // PROTOBUF_FORCE_COPY_IN_RELEASE
452 if (GetArenaForAllocation() != nullptr) {
453 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
454 }
455#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
456 return temp;
457}
458inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::unsafe_arena_release_mm1_cfg() {
459 // @@protoc_insertion_point(field_release:goby.test.protobuf.MMDriverTest2Config.mm1_cfg)
460 _impl_._has_bits_[0] &= ~0x00000002u;
462 _impl_.mm1_cfg_ = nullptr;
463 return temp;
464}
465inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::_internal_mutable_mm1_cfg() {
466 _impl_._has_bits_[0] |= 0x00000002u;
467 if (_impl_.mm1_cfg_ == nullptr) {
468 auto* p = CreateMaybeMessage<::goby::acomms::protobuf::DriverConfig>(GetArenaForAllocation());
469 _impl_.mm1_cfg_ = p;
470 }
471 return _impl_.mm1_cfg_;
472}
473inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::mutable_mm1_cfg() {
474 ::goby::acomms::protobuf::DriverConfig* _msg = _internal_mutable_mm1_cfg();
475 // @@protoc_insertion_point(field_mutable:goby.test.protobuf.MMDriverTest2Config.mm1_cfg)
476 return _msg;
477}
479 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
480 if (message_arena == nullptr) {
481 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.mm1_cfg_);
482 }
483 if (mm1_cfg) {
484 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
485 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
486 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mm1_cfg));
487 if (message_arena != submessage_arena) {
488 mm1_cfg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
489 message_arena, mm1_cfg, submessage_arena);
490 }
491 _impl_._has_bits_[0] |= 0x00000002u;
492 } else {
493 _impl_._has_bits_[0] &= ~0x00000002u;
494 }
495 _impl_.mm1_cfg_ = mm1_cfg;
496 // @@protoc_insertion_point(field_set_allocated:goby.test.protobuf.MMDriverTest2Config.mm1_cfg)
497}
498
499// required .goby.acomms.protobuf.DriverConfig mm2_cfg = 11 [(.goby.field) = {
500inline bool MMDriverTest2Config::_internal_has_mm2_cfg() const {
501 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
502 PROTOBUF_ASSUME(!value || _impl_.mm2_cfg_ != nullptr);
503 return value;
504}
506 return _internal_has_mm2_cfg();
507}
508inline const ::goby::acomms::protobuf::DriverConfig& MMDriverTest2Config::_internal_mm2_cfg() const {
509 const ::goby::acomms::protobuf::DriverConfig* p = _impl_.mm2_cfg_;
510 return p != nullptr ? *p : reinterpret_cast<const ::goby::acomms::protobuf::DriverConfig&>(
512}
513inline const ::goby::acomms::protobuf::DriverConfig& MMDriverTest2Config::mm2_cfg() const {
514 // @@protoc_insertion_point(field_get:goby.test.protobuf.MMDriverTest2Config.mm2_cfg)
515 return _internal_mm2_cfg();
516}
519 if (GetArenaForAllocation() == nullptr) {
520 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.mm2_cfg_);
521 }
522 _impl_.mm2_cfg_ = mm2_cfg;
523 if (mm2_cfg) {
524 _impl_._has_bits_[0] |= 0x00000004u;
525 } else {
526 _impl_._has_bits_[0] &= ~0x00000004u;
527 }
528 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.test.protobuf.MMDriverTest2Config.mm2_cfg)
529}
530inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::release_mm2_cfg() {
531 _impl_._has_bits_[0] &= ~0x00000004u;
533 _impl_.mm2_cfg_ = nullptr;
534#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
535 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
536 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
537 if (GetArenaForAllocation() == nullptr) { delete old; }
538#else // PROTOBUF_FORCE_COPY_IN_RELEASE
539 if (GetArenaForAllocation() != nullptr) {
540 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
541 }
542#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
543 return temp;
544}
545inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::unsafe_arena_release_mm2_cfg() {
546 // @@protoc_insertion_point(field_release:goby.test.protobuf.MMDriverTest2Config.mm2_cfg)
547 _impl_._has_bits_[0] &= ~0x00000004u;
549 _impl_.mm2_cfg_ = nullptr;
550 return temp;
551}
552inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::_internal_mutable_mm2_cfg() {
553 _impl_._has_bits_[0] |= 0x00000004u;
554 if (_impl_.mm2_cfg_ == nullptr) {
555 auto* p = CreateMaybeMessage<::goby::acomms::protobuf::DriverConfig>(GetArenaForAllocation());
556 _impl_.mm2_cfg_ = p;
557 }
558 return _impl_.mm2_cfg_;
559}
560inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::mutable_mm2_cfg() {
561 ::goby::acomms::protobuf::DriverConfig* _msg = _internal_mutable_mm2_cfg();
562 // @@protoc_insertion_point(field_mutable:goby.test.protobuf.MMDriverTest2Config.mm2_cfg)
563 return _msg;
564}
566 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
567 if (message_arena == nullptr) {
568 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.mm2_cfg_);
569 }
570 if (mm2_cfg) {
571 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
572 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
573 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(mm2_cfg));
574 if (message_arena != submessage_arena) {
575 mm2_cfg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
576 message_arena, mm2_cfg, submessage_arena);
577 }
578 _impl_._has_bits_[0] |= 0x00000004u;
579 } else {
580 _impl_._has_bits_[0] &= ~0x00000004u;
581 }
582 _impl_.mm2_cfg_ = mm2_cfg;
583 // @@protoc_insertion_point(field_set_allocated:goby.test.protobuf.MMDriverTest2Config.mm2_cfg)
584}
585
586// repeated .goby.acomms.protobuf.ModemTransmission transmission = 20 [(.goby.field) = {
587inline int MMDriverTest2Config::_internal_transmission_size() const {
588 return _impl_.transmission_.size();
589}
591 return _internal_transmission_size();
592}
593inline ::goby::acomms::protobuf::ModemTransmission* MMDriverTest2Config::mutable_transmission(int index) {
594 // @@protoc_insertion_point(field_mutable:goby.test.protobuf.MMDriverTest2Config.transmission)
595 return _impl_.transmission_.Mutable(index);
596}
597inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
599 // @@protoc_insertion_point(field_mutable_list:goby.test.protobuf.MMDriverTest2Config.transmission)
600 return &_impl_.transmission_;
601}
602inline const ::goby::acomms::protobuf::ModemTransmission& MMDriverTest2Config::_internal_transmission(int index) const {
603 return _impl_.transmission_.Get(index);
604}
605inline const ::goby::acomms::protobuf::ModemTransmission& MMDriverTest2Config::transmission(int index) const {
606 // @@protoc_insertion_point(field_get:goby.test.protobuf.MMDriverTest2Config.transmission)
607 return _internal_transmission(index);
608}
609inline ::goby::acomms::protobuf::ModemTransmission* MMDriverTest2Config::_internal_add_transmission() {
610 return _impl_.transmission_.Add();
611}
612inline ::goby::acomms::protobuf::ModemTransmission* MMDriverTest2Config::add_transmission() {
613 ::goby::acomms::protobuf::ModemTransmission* _add = _internal_add_transmission();
614 // @@protoc_insertion_point(field_add:goby.test.protobuf.MMDriverTest2Config.transmission)
615 return _add;
616}
617inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
619 // @@protoc_insertion_point(field_list:goby.test.protobuf.MMDriverTest2Config.transmission)
620 return _impl_.transmission_;
621}
622
623// optional int32 repeat = 21 [default = 1, (.goby.field) = {
624inline bool MMDriverTest2Config::_internal_has_repeat() const {
625 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
626 return value;
627}
629 return _internal_has_repeat();
630}
632 _impl_.repeat_ = 1;
633 _impl_._has_bits_[0] &= ~0x00000008u;
634}
635inline int32_t MMDriverTest2Config::_internal_repeat() const {
636 return _impl_.repeat_;
637}
638inline int32_t MMDriverTest2Config::repeat() const {
639 // @@protoc_insertion_point(field_get:goby.test.protobuf.MMDriverTest2Config.repeat)
640 return _internal_repeat();
641}
642inline void MMDriverTest2Config::_internal_set_repeat(int32_t value) {
643 _impl_._has_bits_[0] |= 0x00000008u;
644 _impl_.repeat_ = value;
645}
646inline void MMDriverTest2Config::set_repeat(int32_t value) {
647 _internal_set_repeat(value);
648 // @@protoc_insertion_point(field_set:goby.test.protobuf.MMDriverTest2Config.repeat)
649}
650
651#ifdef __GNUC__
652 #pragma GCC diagnostic pop
653#endif // __GNUC__
654
655// @@protoc_insertion_point(namespace_scope)
656
657} // namespace protobuf
658} // namespace test
659} // namespace goby
660
661// @@protoc_insertion_point(global_scope)
662
663#include <google/protobuf/port_undef.inc>
664#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::goby::middleware::protobuf::AppConfig * Arena::CreateMaybeMessage<::goby::middleware::protobuf::AppConfig >(Arena *)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
PROTOBUF_NODISCARD::goby::middleware::protobuf::AppConfig * release_app()
MMDriverTest2Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_allocated_mm2_cfg(::goby::acomms::protobuf::DriverConfig *mm2_cfg)
MMDriverTest2Config(MMDriverTest2Config &&from) noexcept
void unsafe_arena_set_allocated_mm1_cfg(::goby::acomms::protobuf::DriverConfig *mm1_cfg)
::goby::acomms::protobuf::DriverConfig * mutable_mm1_cfg()
friend void swap(MMDriverTest2Config &a, MMDriverTest2Config &b)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > & transmission() const
void UnsafeArenaSwap(MMDriverTest2Config *other)
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
static const MMDriverTest2Config * internal_default_instance()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const MMDriverTest2Config & default_instance()
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
MMDriverTest2Config(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
::goby::acomms::protobuf::DriverConfig * unsafe_arena_release_mm2_cfg()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PROTOBUF_NODISCARD::goby::acomms::protobuf::DriverConfig * release_mm2_cfg()
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
MMDriverTest2Config & operator=(MMDriverTest2Config &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::goby::acomms::protobuf::DriverConfig & mm2_cfg() const
void MergeFrom(const MMDriverTest2Config &from)
MMDriverTest2Config(const MMDriverTest2Config &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > * mutable_transmission()
PROTOBUF_CONSTEXPR MMDriverTest2Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
::goby::acomms::protobuf::DriverConfig * mutable_mm2_cfg()
MMDriverTest2Config & operator=(const MMDriverTest2Config &from)
::goby::acomms::protobuf::ModemTransmission * add_transmission()
void set_allocated_mm1_cfg(::goby::acomms::protobuf::DriverConfig *mm1_cfg)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::goby::middleware::protobuf::AppConfig & app() const
void CopyFrom(const MMDriverTest2Config &from)
const ::goby::acomms::protobuf::DriverConfig & mm1_cfg() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_NODISCARD::goby::acomms::protobuf::DriverConfig * release_mm1_cfg()
void unsafe_arena_set_allocated_mm2_cfg(::goby::acomms::protobuf::DriverConfig *mm2_cfg)
::goby::acomms::protobuf::DriverConfig * unsafe_arena_release_mm1_cfg()
::goby::middleware::protobuf::AppConfig * mutable_app()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void Swap(MMDriverTest2Config *other)
PROTOBUF_NAMESPACE_OPEN ::goby::acomms::protobuf::DriverConfig * Arena::CreateMaybeMessage<::goby::acomms::protobuf::DriverConfig >(Arena *)
DriverConfigDefaultTypeInternal _DriverConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
MMDriverTest2ConfigDefaultTypeInternal _MMDriverTest2Config_default_instance_
The global namespace for the Goby project.
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto