4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto
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
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.
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>
31#include <google/protobuf/extension_set.h>
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>
42#include <google/protobuf/port_def.inc>
43#define PROTOBUF_INTERNAL_EXPORT_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto
44PROTOBUF_NAMESPACE_OPEN
48PROTOBUF_NAMESPACE_CLOSE
59struct MMDriverTest2ConfigDefaultTypeInternal;
64PROTOBUF_NAMESPACE_OPEN
66PROTOBUF_NAMESPACE_CLOSE
74 public ::PROTOBUF_NAMESPACE_ID::Message {
78 explicit PROTOBUF_CONSTEXPR
MMDriverTest2Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
83 *
this = ::std::move(from);
91 if (
this == &from)
return *
this;
92 if (GetOwningArena() == from.GetOwningArena()
93 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
94 && GetOwningArena() !=
nullptr
105 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
108 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
134 if (other ==
this)
return;
135 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
136 if (GetOwningArena() !=
nullptr &&
137 GetOwningArena() == other->GetOwningArena()) {
139 if (GetOwningArena() == other->GetOwningArena()) {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
147 if (other ==
this)
return;
148 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
155 return CreateMaybeMessage<MMDriverTest2Config>(arena);
157 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
159 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
161 MMDriverTest2Config::MergeImpl(*
this, from);
164 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
166 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
172 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
176 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
178 void SetCachedSize(
int size)
const final;
182 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184 return "goby.test.protobuf.MMDriverTest2Config";
188 bool is_message_owned =
false);
192 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
210 int _internal_transmission_size()
const;
214 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
217 const ::goby::acomms::protobuf::ModemTransmission& _internal_transmission(
int index)
const;
220 const ::goby::acomms::protobuf::ModemTransmission&
transmission(
int index)
const;
222 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
228 bool _internal_has_app()
const;
231 const ::goby::middleware::protobuf::AppConfig&
app()
const;
232 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig*
release_app();
236 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
246 bool _internal_has_mm1_cfg()
const;
249 const ::goby::acomms::protobuf::DriverConfig&
mm1_cfg()
const;
250 PROTOBUF_NODISCARD ::goby::acomms::protobuf::DriverConfig*
release_mm1_cfg();
254 const ::goby::acomms::protobuf::DriverConfig& _internal_mm1_cfg()
const;
264 bool _internal_has_mm2_cfg()
const;
267 const ::goby::acomms::protobuf::DriverConfig&
mm2_cfg()
const;
268 PROTOBUF_NODISCARD ::goby::acomms::protobuf::DriverConfig*
release_mm2_cfg();
272 const ::goby::acomms::protobuf::DriverConfig& _internal_mm2_cfg()
const;
282 bool _internal_has_repeat()
const;
288 int32_t _internal_repeat()
const;
289 void _internal_set_repeat(int32_t value);
297 size_t RequiredFieldsByteSizeFallback()
const;
299 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
300 typedef void InternalArenaConstructable_;
301 typedef void DestructorSkippable_;
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_;
312 friend struct ::TableStruct_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto;
320 #pragma GCC diagnostic push
321 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
326inline bool MMDriverTest2Config::_internal_has_app()
const {
327 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
328 PROTOBUF_ASSUME(!value ||
_impl_.app_ !=
nullptr);
332 return _internal_has_app();
334inline const ::goby::middleware::protobuf::AppConfig& MMDriverTest2Config::_internal_app()
const {
335 const ::goby::middleware::protobuf::AppConfig* p =
_impl_.app_;
341 return _internal_app();
345 if (GetArenaForAllocation() ==
nullptr) {
346 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.app_);
350 _impl_._has_bits_[0] |= 0x00000001u;
352 _impl_._has_bits_[0] &= ~0x00000001u;
357 _impl_._has_bits_[0] &= ~0x00000001u;
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; }
365 if (GetArenaForAllocation() !=
nullptr) {
366 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
373 _impl_._has_bits_[0] &= ~0x00000001u;
378inline ::goby::middleware::protobuf::AppConfig* MMDriverTest2Config::_internal_mutable_app() {
379 _impl_._has_bits_[0] |= 0x00000001u;
380 if (
_impl_.app_ ==
nullptr) {
392 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
393 if (message_arena ==
nullptr) {
394 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.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);
404 _impl_._has_bits_[0] |= 0x00000001u;
406 _impl_._has_bits_[0] &= ~0x00000001u;
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);
419 return _internal_has_mm1_cfg();
421inline const ::goby::acomms::protobuf::DriverConfig& MMDriverTest2Config::_internal_mm1_cfg()
const {
422 const ::goby::acomms::protobuf::DriverConfig* p =
_impl_.mm1_cfg_;
428 return _internal_mm1_cfg();
432 if (GetArenaForAllocation() ==
nullptr) {
433 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.mm1_cfg_);
437 _impl_._has_bits_[0] |= 0x00000002u;
439 _impl_._has_bits_[0] &= ~0x00000002u;
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; }
452 if (GetArenaForAllocation() !=
nullptr) {
453 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
460 _impl_._has_bits_[0] &= ~0x00000002u;
462 _impl_.mm1_cfg_ =
nullptr;
465inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::_internal_mutable_mm1_cfg() {
466 _impl_._has_bits_[0] |= 0x00000002u;
467 if (
_impl_.mm1_cfg_ ==
nullptr) {
479 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
480 if (message_arena ==
nullptr) {
481 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.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);
491 _impl_._has_bits_[0] |= 0x00000002u;
493 _impl_._has_bits_[0] &= ~0x00000002u;
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);
506 return _internal_has_mm2_cfg();
508inline const ::goby::acomms::protobuf::DriverConfig& MMDriverTest2Config::_internal_mm2_cfg()
const {
509 const ::goby::acomms::protobuf::DriverConfig* p =
_impl_.mm2_cfg_;
515 return _internal_mm2_cfg();
519 if (GetArenaForAllocation() ==
nullptr) {
520 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.mm2_cfg_);
524 _impl_._has_bits_[0] |= 0x00000004u;
526 _impl_._has_bits_[0] &= ~0x00000004u;
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; }
539 if (GetArenaForAllocation() !=
nullptr) {
540 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
547 _impl_._has_bits_[0] &= ~0x00000004u;
549 _impl_.mm2_cfg_ =
nullptr;
552inline ::goby::acomms::protobuf::DriverConfig* MMDriverTest2Config::_internal_mutable_mm2_cfg() {
553 _impl_._has_bits_[0] |= 0x00000004u;
554 if (
_impl_.mm2_cfg_ ==
nullptr) {
566 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
567 if (message_arena ==
nullptr) {
568 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
_impl_.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);
578 _impl_._has_bits_[0] |= 0x00000004u;
580 _impl_._has_bits_[0] &= ~0x00000004u;
587inline int MMDriverTest2Config::_internal_transmission_size()
const {
588 return _impl_.transmission_.size();
591 return _internal_transmission_size();
595 return _impl_.transmission_.Mutable(index);
597inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
600 return &
_impl_.transmission_;
602inline const ::goby::acomms::protobuf::ModemTransmission& MMDriverTest2Config::_internal_transmission(
int index)
const {
603 return _impl_.transmission_.Get(index);
607 return _internal_transmission(index);
609inline ::goby::acomms::protobuf::ModemTransmission* MMDriverTest2Config::_internal_add_transmission() {
610 return _impl_.transmission_.Add();
617inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
620 return _impl_.transmission_;
624inline bool MMDriverTest2Config::_internal_has_repeat()
const {
625 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
629 return _internal_has_repeat();
633 _impl_._has_bits_[0] &= ~0x00000008u;
635inline int32_t MMDriverTest2Config::_internal_repeat()
const {
640 return _internal_repeat();
642inline void MMDriverTest2Config::_internal_set_repeat(int32_t value) {
643 _impl_._has_bits_[0] |= 0x00000008u;
647 _internal_set_repeat(value);
652 #pragma GCC diagnostic pop
663#include <google/protobuf/port_undef.inc>
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()
void clear_transmission()
::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()
@ kTransmissionFieldNumber
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
size_t ByteSizeLong() const final
MMDriverTest2Config & operator=(MMDriverTest2Config &&from) noexcept
bool IsInitialized() const final
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
static const ClassData _class_data_
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > * mutable_transmission()
~MMDriverTest2Config() override
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()
static constexpr int kIndexInFileMessages
void set_allocated_mm1_cfg(::goby::acomms::protobuf::DriverConfig *mm1_cfg)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_repeat(int32_t value)
const ::goby::middleware::protobuf::AppConfig & app() const
void CopyFrom(const MMDriverTest2Config &from)
int transmission_size() const
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()
int GetCachedSize() const final
::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.
static const uint32_t offsets[]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2ftest_2facomms_2fmmdriver2_2ftest_5fconfig_2eproto