4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_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>
24#include <google/protobuf/arena.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>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/unknown_field_set.h>
33#include "goby/acomms/protobuf/modem_message.pb.h"
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
55struct HubInfoDefaultTypeInternal;
58struct TransmissionDefaultTypeInternal;
62PROTOBUF_NAMESPACE_OPEN
65PROTOBUF_NAMESPACE_CLOSE
72 public ::PROTOBUF_NAMESPACE_ID::Message {
76 explicit PROTOBUF_CONSTEXPR
HubInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
81 *
this = ::std::move(from);
89 if (
this == &from)
return *
this;
90 if (GetOwningArena() == from.GetOwningArena()
91 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
92 && GetOwningArena() !=
nullptr
103 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
106 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
109 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
122 return reinterpret_cast<const HubInfo*
>(
132 if (other ==
this)
return;
133 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
134 if (GetOwningArena() !=
nullptr &&
135 GetOwningArena() == other->GetOwningArena()) {
137 if (GetOwningArena() == other->GetOwningArena()) {
141 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
145 if (other ==
this)
return;
146 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
152 HubInfo*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
153 return CreateMaybeMessage<HubInfo>(arena);
155 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
157 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
159 HubInfo::MergeImpl(*
this, from);
162 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
164 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
170 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
176 void SetCachedSize(
int size)
const final;
177 void InternalSwap(
HubInfo* other);
180 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
181 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
182 return "jaiabot.protobuf.HubInfo";
185 explicit HubInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
186 bool is_message_owned =
false);
190 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
206 bool _internal_has_hub_id()
const;
212 int32_t _internal_hub_id()
const;
213 void _internal_set_hub_id(int32_t value);
219 bool _internal_has_modem_id()
const;
225 int32_t _internal_modem_id()
const;
226 void _internal_set_modem_id(int32_t value);
232 bool _internal_has_changed()
const;
238 bool _internal_changed()
const;
239 void _internal_set_changed(
bool value);
246 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
247 typedef void InternalArenaConstructable_;
248 typedef void DestructorSkippable_;
250 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
251 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
257 friend struct ::TableStruct_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto;
262 public ::PROTOBUF_NAMESPACE_ID::Message {
266 explicit PROTOBUF_CONSTEXPR
Transmission(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
271 *
this = ::std::move(from);
279 if (
this == &from)
return *
this;
280 if (GetOwningArena() == from.GetOwningArena()
281 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
282 && GetOwningArena() !=
nullptr
293 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
296 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
299 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
300 return GetDescriptor();
303 return default_instance().GetMetadata().descriptor;
306 return default_instance().GetMetadata().reflection;
309 return *internal_default_instance();
315 static constexpr int kIndexInFileMessages =
322 if (other ==
this)
return;
323 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
324 if (GetOwningArena() !=
nullptr &&
325 GetOwningArena() == other->GetOwningArena()) {
327 if (GetOwningArena() == other->GetOwningArena()) {
331 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
335 if (other ==
this)
return;
336 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
343 return CreateMaybeMessage<Transmission>(arena);
345 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
347 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
349 Transmission::MergeImpl(*
this, from);
352 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
354 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
355 bool IsInitialized() const final;
357 size_t ByteSizeLong() const final;
358 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
359 uint8_t* _InternalSerialize(
360 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
361 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
364 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
366 void SetCachedSize(
int size)
const final;
370 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
371 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
372 return "jaiabot.protobuf.Transmission";
376 bool is_message_owned =
false);
380 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
382 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
392 bool has_hub()
const;
394 bool _internal_has_hub()
const;
397 const ::jaiabot::protobuf::HubInfo& hub()
const;
398 PROTOBUF_NODISCARD ::jaiabot::protobuf::HubInfo* release_hub();
402 const ::jaiabot::protobuf::HubInfo& _internal_hub()
const;
405 void unsafe_arena_set_allocated_hub(
413 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
414 typedef void InternalArenaConstructable_;
415 typedef void DestructorSkippable_;
417 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
418 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
422 friend struct ::TableStruct_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto;
427extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission,
428 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaiabot::protobuf::Transmission >, 11,
false >
434 #pragma GCC diagnostic push
435 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
440inline bool HubInfo::_internal_has_hub_id()
const {
441 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
444inline bool HubInfo::has_hub_id()
const {
445 return _internal_has_hub_id();
447inline void HubInfo::clear_hub_id() {
449 _impl_._has_bits_[0] &= ~0x00000001u;
451inline int32_t HubInfo::_internal_hub_id()
const {
452 return _impl_.hub_id_;
454inline int32_t HubInfo::hub_id()
const {
456 return _internal_hub_id();
458inline void HubInfo::_internal_set_hub_id(int32_t value) {
459 _impl_._has_bits_[0] |= 0x00000001u;
460 _impl_.hub_id_ = value;
462inline void HubInfo::set_hub_id(int32_t value) {
463 _internal_set_hub_id(value);
468inline bool HubInfo::_internal_has_modem_id()
const {
469 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
472inline bool HubInfo::has_modem_id()
const {
473 return _internal_has_modem_id();
475inline void HubInfo::clear_modem_id() {
476 _impl_.modem_id_ = 0;
477 _impl_._has_bits_[0] &= ~0x00000002u;
479inline int32_t HubInfo::_internal_modem_id()
const {
480 return _impl_.modem_id_;
482inline int32_t HubInfo::modem_id()
const {
484 return _internal_modem_id();
486inline void HubInfo::_internal_set_modem_id(int32_t value) {
487 _impl_._has_bits_[0] |= 0x00000002u;
488 _impl_.modem_id_ = value;
490inline void HubInfo::set_modem_id(int32_t value) {
491 _internal_set_modem_id(value);
496inline bool HubInfo::_internal_has_changed()
const {
497 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
500inline bool HubInfo::has_changed()
const {
501 return _internal_has_changed();
503inline void HubInfo::clear_changed() {
504 _impl_.changed_ =
false;
505 _impl_._has_bits_[0] &= ~0x00000004u;
507inline bool HubInfo::_internal_changed()
const {
508 return _impl_.changed_;
510inline bool HubInfo::changed()
const {
512 return _internal_changed();
514inline void HubInfo::_internal_set_changed(
bool value) {
515 _impl_._has_bits_[0] |= 0x00000004u;
516 _impl_.changed_ = value;
518inline void HubInfo::set_changed(
bool value) {
519 _internal_set_changed(value);
528inline bool Transmission::_internal_has_hub()
const {
529 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
530 PROTOBUF_ASSUME(!value || _impl_.hub_ !=
nullptr);
533inline bool Transmission::has_hub()
const {
534 return _internal_has_hub();
536inline void Transmission::clear_hub() {
537 if (_impl_.hub_ !=
nullptr) _impl_.hub_->Clear();
538 _impl_._has_bits_[0] &= ~0x00000001u;
540inline const ::jaiabot::protobuf::HubInfo& Transmission::_internal_hub()
const {
541 const ::jaiabot::protobuf::HubInfo* p = _impl_.hub_;
545inline const ::jaiabot::protobuf::HubInfo& Transmission::hub()
const {
547 return _internal_hub();
549inline void Transmission::unsafe_arena_set_allocated_hub(
551 if (GetArenaForAllocation() ==
nullptr) {
552 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.hub_);
556 _impl_._has_bits_[0] |= 0x00000001u;
558 _impl_._has_bits_[0] &= ~0x00000001u;
562inline ::jaiabot::protobuf::HubInfo* Transmission::release_hub() {
563 _impl_._has_bits_[0] &= ~0x00000001u;
565 _impl_.hub_ =
nullptr;
566#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
567 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
568 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
569 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
571 if (GetArenaForAllocation() !=
nullptr) {
572 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
577inline ::jaiabot::protobuf::HubInfo* Transmission::unsafe_arena_release_hub() {
579 _impl_._has_bits_[0] &= ~0x00000001u;
581 _impl_.hub_ =
nullptr;
584inline ::jaiabot::protobuf::HubInfo* Transmission::_internal_mutable_hub() {
585 _impl_._has_bits_[0] |= 0x00000001u;
586 if (_impl_.hub_ ==
nullptr) {
592inline ::jaiabot::protobuf::HubInfo* Transmission::mutable_hub() {
598 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
599 if (message_arena ==
nullptr) {
603 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
604 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(hub);
605 if (message_arena != submessage_arena) {
606 hub = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
607 message_arena, hub, submessage_arena);
609 _impl_._has_bits_[0] |= 0x00000001u;
611 _impl_._has_bits_[0] &= ~0x00000001u;
618 #pragma GCC diagnostic pop
630#include <google/protobuf/port_undef.inc>
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void UnsafeArenaSwap(HubInfo *other)
void MergeFrom(const HubInfo &from)
HubInfo * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
HubInfo(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_modem_id(int32_t value)
int GetCachedSize() const final
static const HubInfo * internal_default_instance()
static constexpr int kIndexInFileMessages
HubInfo & operator=(HubInfo &&from) noexcept
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
friend void swap(HubInfo &a, HubInfo &b)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ClassData _class_data_
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
bool has_modem_id() const
void set_hub_id(int32_t value)
size_t ByteSizeLong() const final
bool IsInitialized() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void Swap(HubInfo *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
HubInfo(HubInfo &&from) noexcept
PROTOBUF_CONSTEXPR HubInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const HubInfo & default_instance()
HubInfo & operator=(const HubInfo &from)
void CopyFrom(const HubInfo &from)
void set_changed(bool value)
HubInfo(const HubInfo &from)
void CopyFrom(const Transmission &from)
Transmission(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Transmission(const Transmission &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const Transmission &from)
Transmission(Transmission &&from) noexcept
Transmission * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Transmission & operator=(const Transmission &from)
void Swap(Transmission *other)
void UnsafeArenaSwap(Transmission *other)
Transmission & operator=(Transmission &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_CONSTEXPR Transmission(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
friend void swap(Transmission &a, Transmission &b)
static const Transmission & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const ClassData _class_data_
static const Transmission * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto
PROTOBUF_NAMESPACE_OPEN ::jaiabot::protobuf::HubInfo * Arena::CreateMaybeMessage<::jaiabot::protobuf::HubInfo >(Arena *)
HubInfoDefaultTypeInternal _HubInfo_default_instance_
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaiabot::protobuf::Transmission >, 11, false > transmission
TransmissionDefaultTypeInternal _Transmission_default_instance_
static const int kTransmissionFieldNumber
static const uint32_t offsets[]