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 < 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
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.
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>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
35 #include "goby/acomms/protobuf/modem_message.pb.h"
36 #include <boost/units/quantity.hpp>
37 #include <boost/units/absolute.hpp>
38 #include <boost/units/dimensionless_type.hpp>
39 #include <boost/units/make_scaled_unit.hpp>
41 #include <google/protobuf/port_def.inc>
42 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto
43 PROTOBUF_NAMESPACE_OPEN
47 PROTOBUF_NAMESPACE_CLOSE
51 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
53 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
55 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
57 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
59 static const ::PROTOBUF_NAMESPACE_ID::uint32
offsets[];
65 class HubInfoDefaultTypeInternal;
68 class TransmissionDefaultTypeInternal;
72 PROTOBUF_NAMESPACE_OPEN
73 template<> ::jaiabot::protobuf::HubInfo* Arena::CreateMaybeMessage<::jaiabot::protobuf::HubInfo>(Arena*);
74 template<> ::jaiabot::protobuf::Transmission* Arena::CreateMaybeMessage<::jaiabot::protobuf::Transmission>(Arena*);
75 PROTOBUF_NAMESPACE_CLOSE
81 class HubInfo PROTOBUF_FINAL :
82 public ::PROTOBUF_NAMESPACE_ID::Message {
90 *
this = ::std::move(from);
97 inline HubInfo&
operator=(HubInfo&& from) noexcept {
98 if (GetArena() == from.GetArena()) {
99 if (
this != &from) InternalSwap(&from);
107 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
110 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
113 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
114 return GetDescriptor();
117 return GetMetadataStatic().descriptor;
120 return GetMetadataStatic().reflection;
126 return reinterpret_cast<const HubInfo*
>(
129 static constexpr
int kIndexInFileMessages =
132 friend void swap(HubInfo& a, HubInfo& b) {
135 inline void Swap(HubInfo* other) {
136 if (other ==
this)
return;
137 if (GetArena() == other->GetArena()) {
140 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
144 if (other ==
this)
return;
145 GOOGLE_DCHECK(GetArena() == other->GetArena());
151 inline HubInfo*
New() const final {
152 return CreateMaybeMessage<HubInfo>(
nullptr);
155 HubInfo*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
156 return CreateMaybeMessage<HubInfo>(arena);
158 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
159 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
162 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
163 bool IsInitialized() const final;
165 size_t ByteSizeLong() const final;
166 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
167 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
168 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
169 int GetCachedSize() const final {
return _cached_size_.Get(); }
172 inline void SharedCtor();
173 inline void SharedDtor();
174 void SetCachedSize(
int size)
const final;
175 void InternalSwap(HubInfo* other);
176 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
177 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
178 return "jaiabot.protobuf.HubInfo";
181 explicit HubInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183 static void ArenaDtor(
void*
object);
184 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
189 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
201 kHubIdFieldNumber = 1,
202 kModemIdFieldNumber = 2,
203 kChangedFieldNumber = 3,
208 bool _internal_has_hub_id()
const;
211 ::PROTOBUF_NAMESPACE_ID::int32
hub_id()
const;
214 ::PROTOBUF_NAMESPACE_ID::int32 _internal_hub_id()
const;
215 void _internal_set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value);
221 bool _internal_has_modem_id()
const;
227 ::PROTOBUF_NAMESPACE_ID::int32 _internal_modem_id()
const;
228 void _internal_set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value);
234 bool _internal_has_changed()
const;
240 bool _internal_changed()
const;
241 void _internal_set_changed(
bool value);
248 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
249 typedef void InternalArenaConstructable_;
250 typedef void DestructorSkippable_;
251 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
252 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
253 ::PROTOBUF_NAMESPACE_ID::int32 hub_id_;
254 ::PROTOBUF_NAMESPACE_ID::int32 modem_id_;
256 friend struct ::TableStruct_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto;
261 public ::PROTOBUF_NAMESPACE_ID::Message {
269 *
this = ::std::move(from);
272 inline Transmission&
operator=(
const Transmission& from) {
276 inline Transmission&
operator=(Transmission&& from) noexcept {
277 if (GetArena() == from.GetArena()) {
278 if (
this != &from) InternalSwap(&from);
286 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
289 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
292 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
293 return GetDescriptor();
296 return GetMetadataStatic().descriptor;
299 return GetMetadataStatic().reflection;
305 return reinterpret_cast<const Transmission*
>(
308 static constexpr
int kIndexInFileMessages =
311 friend void swap(Transmission& a, Transmission& b) {
314 inline void Swap(Transmission* other) {
315 if (other ==
this)
return;
316 if (GetArena() == other->GetArena()) {
319 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
323 if (other ==
this)
return;
324 GOOGLE_DCHECK(GetArena() == other->GetArena());
330 inline Transmission*
New() const final {
331 return CreateMaybeMessage<Transmission>(
nullptr);
334 Transmission*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
335 return CreateMaybeMessage<Transmission>(arena);
337 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
338 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
341 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
342 bool IsInitialized() const final;
344 size_t ByteSizeLong() const final;
345 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
346 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
347 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
348 int GetCachedSize() const final {
return _cached_size_.Get(); }
351 inline void SharedCtor();
352 inline void SharedDtor();
353 void SetCachedSize(
int size)
const final;
354 void InternalSwap(Transmission* other);
355 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
356 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
357 return "jaiabot.protobuf.Transmission";
362 static void ArenaDtor(
void*
object);
363 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
368 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
385 bool _internal_has_hub()
const;
388 const ::jaiabot::protobuf::HubInfo&
hub()
const;
393 const ::jaiabot::protobuf::HubInfo& _internal_hub()
const;
394 ::jaiabot::protobuf::HubInfo* _internal_mutable_hub();
397 ::jaiabot::protobuf::HubInfo* hub);
404 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
405 typedef void InternalArenaConstructable_;
406 typedef void DestructorSkippable_;
407 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
408 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
409 ::jaiabot::protobuf::HubInfo* hub_;
410 friend struct ::TableStruct_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto;
415 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission,
416 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::jaiabot::protobuf::Transmission >, 11,
false >
422 #pragma GCC diagnostic push
423 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
428 inline bool HubInfo::_internal_has_hub_id()
const {
429 bool value = (_has_bits_[0] & 0x00000001u) != 0;
432 inline bool HubInfo::has_hub_id()
const {
433 return _internal_has_hub_id();
435 inline void HubInfo::clear_hub_id() {
437 _has_bits_[0] &= ~0x00000001u;
439 inline ::PROTOBUF_NAMESPACE_ID::int32 HubInfo::_internal_hub_id()
const {
442 inline ::PROTOBUF_NAMESPACE_ID::int32 HubInfo::hub_id()
const {
444 return _internal_hub_id();
446 inline void HubInfo::_internal_set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
447 _has_bits_[0] |= 0x00000001u;
450 inline void HubInfo::set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
451 _internal_set_hub_id(value);
456 inline bool HubInfo::_internal_has_modem_id()
const {
457 bool value = (_has_bits_[0] & 0x00000002u) != 0;
460 inline bool HubInfo::has_modem_id()
const {
461 return _internal_has_modem_id();
463 inline void HubInfo::clear_modem_id() {
465 _has_bits_[0] &= ~0x00000002u;
467 inline ::PROTOBUF_NAMESPACE_ID::int32 HubInfo::_internal_modem_id()
const {
470 inline ::PROTOBUF_NAMESPACE_ID::int32 HubInfo::modem_id()
const {
472 return _internal_modem_id();
474 inline void HubInfo::_internal_set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
475 _has_bits_[0] |= 0x00000002u;
478 inline void HubInfo::set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
479 _internal_set_modem_id(value);
484 inline bool HubInfo::_internal_has_changed()
const {
485 bool value = (_has_bits_[0] & 0x00000004u) != 0;
488 inline bool HubInfo::has_changed()
const {
489 return _internal_has_changed();
491 inline void HubInfo::clear_changed() {
493 _has_bits_[0] &= ~0x00000004u;
495 inline bool HubInfo::_internal_changed()
const {
498 inline bool HubInfo::changed()
const {
500 return _internal_changed();
502 inline void HubInfo::_internal_set_changed(
bool value) {
503 _has_bits_[0] |= 0x00000004u;
506 inline void HubInfo::set_changed(
bool value) {
507 _internal_set_changed(value);
516 inline bool Transmission::_internal_has_hub()
const {
517 bool value = (_has_bits_[0] & 0x00000001u) != 0;
518 PROTOBUF_ASSUME(!value || hub_ !=
nullptr);
521 inline bool Transmission::has_hub()
const {
522 return _internal_has_hub();
524 inline void Transmission::clear_hub() {
525 if (hub_ !=
nullptr) hub_->Clear();
526 _has_bits_[0] &= ~0x00000001u;
528 inline const ::jaiabot::protobuf::HubInfo& Transmission::_internal_hub()
const {
529 const ::jaiabot::protobuf::HubInfo* p = hub_;
530 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::protobuf::HubInfo*
>(
533 inline const ::jaiabot::protobuf::HubInfo& Transmission::hub()
const {
535 return _internal_hub();
537 inline void Transmission::unsafe_arena_set_allocated_hub(
538 ::jaiabot::protobuf::HubInfo* hub) {
539 if (GetArena() ==
nullptr) {
540 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(hub_);
544 _has_bits_[0] |= 0x00000001u;
546 _has_bits_[0] &= ~0x00000001u;
550 inline ::jaiabot::protobuf::HubInfo* Transmission::release_hub() {
551 auto temp = unsafe_arena_release_hub();
552 if (GetArena() !=
nullptr) {
553 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
557 inline ::jaiabot::protobuf::HubInfo* Transmission::unsafe_arena_release_hub() {
559 _has_bits_[0] &= ~0x00000001u;
560 ::jaiabot::protobuf::HubInfo* temp = hub_;
564 inline ::jaiabot::protobuf::HubInfo* Transmission::_internal_mutable_hub() {
565 _has_bits_[0] |= 0x00000001u;
566 if (hub_ ==
nullptr) {
567 auto* p = CreateMaybeMessage<::jaiabot::protobuf::HubInfo>(GetArena());
572 inline ::jaiabot::protobuf::HubInfo* Transmission::mutable_hub() {
574 return _internal_mutable_hub();
576 inline void Transmission::set_allocated_hub(::jaiabot::protobuf::HubInfo* hub) {
577 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
578 if (message_arena ==
nullptr) {
582 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
583 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(hub);
584 if (message_arena != submessage_arena) {
585 hub = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
586 message_arena, hub, submessage_arena);
588 _has_bits_[0] |= 0x00000001u;
590 _has_bits_[0] &= ~0x00000001u;
597 #pragma GCC diagnostic pop
609 #include <google/protobuf/port_undef.inc>
void UnsafeArenaSwap(Transmission *other)
HubInfo(HubInfo &&from) noexcept
::PROTOBUF_NAMESPACE_ID::int32 hub_id() const
Transmission * New() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void Swap(HubInfo *other)
Transmission * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void set_changed(bool value)
::PROTOBUF_NAMESPACE_ID::int32 modem_id() const
Transmission(const Transmission &from)
static const Transmission * internal_default_instance()
static const HubInfo & default_instance()
void set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void CopyFrom(const HubInfo &from)
friend void swap(HubInfo &a, HubInfo &b)
void set_allocated_hub(::jaiabot::protobuf::HubInfo *hub)
HubInfo(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void MergeFrom(const HubInfo &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const Transmission &from)
void set_hub_id(::PROTOBUF_NAMESPACE_ID::int32 value)
const ::jaiabot::protobuf::HubInfo & hub() const
Transmission & operator=(const Transmission &from)
void unsafe_arena_set_allocated_hub(::jaiabot::protobuf::HubInfo *hub)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(HubInfo *other)
Transmission(::PROTOBUF_NAMESPACE_ID::Arena *arena)
HubInfo * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void Swap(Transmission *other)
static const HubInfo * internal_default_instance()
HubInfo & operator=(HubInfo &&from) noexcept
static const Transmission & default_instance()
void CopyFrom(const Transmission &from)
bool has_modem_id() const
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
HubInfo & operator=(const HubInfo &from)
::jaiabot::protobuf::HubInfo * mutable_hub()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
HubInfo * New() const final
Transmission & operator=(Transmission &&from) noexcept
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Transmission(Transmission &&from) noexcept
static void InitAsDefaultInstance()
::jaiabot::protobuf::HubInfo * unsafe_arena_release_hub()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
friend void swap(Transmission &a, Transmission &b)
HubInfo(const HubInfo &from)
::jaiabot::protobuf::HubInfo * release_hub()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fmodem_5fmessage_5fextensions_2eproto
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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
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::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)