4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2frudics_5fshore_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2frudics_5fshore_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
35 #include <boost/units/quantity.hpp>
36 #include <boost/units/absolute.hpp>
37 #include <boost/units/dimensionless_type.hpp>
38 #include <boost/units/make_scaled_unit.hpp>
40 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2facomms_2fprotobuf_2frudics_5fshore_2eproto
45 static const ::google::protobuf::internal::ParseTableField
entries[];
46 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
47 static const ::google::protobuf::internal::ParseTable
schema[4];
57 class MODataAsyncReceive;
58 class MODataAsyncReceiveDefaultTypeInternal;
61 class MTDataRequestDefaultTypeInternal;
63 class MTDataRequest_Command;
64 class MTDataRequest_CommandDefaultTypeInternal;
67 class MTDataResponseDefaultTypeInternal;
95 return ::google::protobuf::internal::NameOfEnum(
100 return ::google::protobuf::internal::ParseNamedEnum<MTDataRequest_Command_CommandType>(
119 *
this = ::std::move(from);
123 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
124 if (
this != &from) InternalSwap(&from);
132 return _internal_metadata_.unknown_fields();
135 return _internal_metadata_.mutable_unknown_fields();
138 static const ::google::protobuf::Descriptor*
descriptor();
157 return CreateMaybeMessage<MTDataRequest_Command>(NULL);
161 return CreateMaybeMessage<MTDataRequest_Command>(arena);
163 void CopyFrom(const ::google::protobuf::Message& from)
final;
164 void MergeFrom(const ::google::protobuf::Message& from)
final;
172 ::
google::protobuf::io::CodedInputStream* input) final;
174 ::
google::protobuf::io::CodedOutputStream* output) const final;
176 bool deterministic, ::
google::protobuf::uint8* target) const final;
182 void SetCachedSize(
int size)
const final;
185 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
188 inline void* MaybeArenaPtr()
const {
211 static inline const ::google::protobuf::EnumDescriptor*
241 void set_has_modem_id();
242 void clear_has_modem_id();
244 void clear_has_type();
247 size_t RequiredFieldsByteSizeFallback()
const;
249 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
250 ::google::protobuf::internal::HasBits<1> _has_bits_;
251 mutable ::google::protobuf::internal::CachedSize _cached_size_;
254 friend struct ::protobuf_goby_2facomms_2fprotobuf_2frudics_5fshore_2eproto::TableStruct;
272 *
this = ::std::move(from);
276 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
277 if (
this != &from) InternalSwap(&from);
285 return _internal_metadata_.unknown_fields();
288 return _internal_metadata_.mutable_unknown_fields();
291 static const ::google::protobuf::Descriptor*
descriptor();
310 return CreateMaybeMessage<MTDataRequest>(NULL);
314 return CreateMaybeMessage<MTDataRequest>(arena);
316 void CopyFrom(const ::google::protobuf::Message& from)
final;
317 void MergeFrom(const ::google::protobuf::Message& from)
final;
325 ::
google::protobuf::io::CodedInputStream* input) final;
327 ::
google::protobuf::io::CodedOutputStream* output) const final;
329 bool deterministic, ::
google::protobuf::uint8* target) const final;
335 void SetCachedSize(
int size)
const final;
338 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
341 inline void* MaybeArenaPtr()
const {
387 void set_has_request_id();
388 void clear_has_request_id();
390 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
391 ::
google::protobuf::internal::HasBits<1> _has_bits_;
392 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
414 *
this = ::std::move(from);
417 inline MTDataResponse&
operator=(MTDataResponse&& from) noexcept {
418 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
419 if (
this != &from) InternalSwap(&from);
427 return _internal_metadata_.unknown_fields();
430 return _internal_metadata_.mutable_unknown_fields();
433 static const ::google::protobuf::Descriptor*
descriptor();
452 return CreateMaybeMessage<MTDataResponse>(NULL);
456 return CreateMaybeMessage<MTDataResponse>(arena);
458 void CopyFrom(const ::google::protobuf::Message& from)
final;
459 void MergeFrom(const ::google::protobuf::Message& from)
final;
467 ::
google::protobuf::io::CodedInputStream* input) final;
469 ::
google::protobuf::io::CodedOutputStream* output) const final;
471 bool deterministic, ::
google::protobuf::uint8* target) const final;
477 void SetCachedSize(
int size)
const final;
480 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
483 inline void* MaybeArenaPtr()
const {
495 int modem_id_connected_size() const;
496 void clear_modem_id_connected();
497 static const
int kModemIdConnectedFieldNumber = 1;
498 ::
google::protobuf::
int32 modem_id_connected(
int index) const;
499 void set_modem_id_connected(
int index, ::
google::protobuf::
int32 value);
500 void add_modem_id_connected(::
google::protobuf::
int32 value);
502 modem_id_connected() const;
504 mutable_modem_id_connected();
515 void set_has_request_id();
516 void clear_has_request_id();
518 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
519 ::
google::protobuf::internal::HasBits<1> _has_bits_;
520 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
521 ::
google::protobuf::RepeatedField< ::
google::protobuf::
int32 > modem_id_connected_;
541 *
this = ::std::move(from);
544 inline MODataAsyncReceive&
operator=(MODataAsyncReceive&& from) noexcept {
545 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
546 if (
this != &from) InternalSwap(&from);
554 return _internal_metadata_.unknown_fields();
557 return _internal_metadata_.mutable_unknown_fields();
560 static const ::google::protobuf::Descriptor*
descriptor();
579 return CreateMaybeMessage<MODataAsyncReceive>(NULL);
583 return CreateMaybeMessage<MODataAsyncReceive>(arena);
585 void CopyFrom(const ::google::protobuf::Message& from)
final;
586 void MergeFrom(const ::google::protobuf::Message& from)
final;
594 ::
google::protobuf::io::CodedInputStream* input) final;
596 ::
google::protobuf::io::CodedOutputStream* output) const final;
598 bool deterministic, ::
google::protobuf::uint8* target) const final;
604 void SetCachedSize(
int size)
const final;
607 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
610 inline void* MaybeArenaPtr()
const {
622 bool has_inbox() const;
624 static const
int kInboxFieldNumber = 2;
635 void set_has_inbox();
636 void clear_has_inbox();
638 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
639 ::
google::protobuf::internal::HasBits<1> _has_bits_;
640 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
650 #pragma GCC diagnostic push
651 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
657 return (_has_bits_[0] & 0x00000001u) != 0;
659 inline void MTDataRequest_Command::set_has_modem_id() {
660 _has_bits_[0] |= 0x00000001u;
662 inline void MTDataRequest_Command::clear_has_modem_id() {
663 _has_bits_[0] &= ~0x00000001u;
667 clear_has_modem_id();
681 return (_has_bits_[0] & 0x00000002u) != 0;
683 inline void MTDataRequest_Command::set_has_type() {
684 _has_bits_[0] |= 0x00000002u;
686 inline void MTDataRequest_Command::clear_has_type() {
687 _has_bits_[0] &= ~0x00000002u;
710 return outbox_.size();
714 return outbox_.Mutable(index);
716 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
723 return outbox_.Get(index);
727 return outbox_.Add();
729 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
737 return (_has_bits_[0] & 0x00000001u) != 0;
739 inline void MTDataRequest::set_has_request_id() {
740 _has_bits_[0] |= 0x00000001u;
742 inline void MTDataRequest::clear_has_request_id() {
743 _has_bits_[0] &= ~0x00000001u;
746 request_id_ = GOOGLE_ULONGLONG(0);
747 clear_has_request_id();
754 set_has_request_id();
761 return command_.size();
768 return command_.Mutable(index);
770 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::MTDataRequest_Command >*
777 return command_.Get(index);
781 return command_.Add();
783 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::MTDataRequest_Command >&
795 return modem_id_connected_.size();
798 modem_id_connected_.Clear();
802 return modem_id_connected_.Get(index);
805 modem_id_connected_.Set(index, value);
809 modem_id_connected_.Add(value);
812 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
815 return modem_id_connected_;
817 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
820 return &modem_id_connected_;
825 return (_has_bits_[0] & 0x00000001u) != 0;
827 inline void MTDataResponse::set_has_request_id() {
828 _has_bits_[0] |= 0x00000001u;
830 inline void MTDataResponse::clear_has_request_id() {
831 _has_bits_[0] &= ~0x00000001u;
834 request_id_ = GOOGLE_ULONGLONG(0);
835 clear_has_request_id();
842 set_has_request_id();
853 return (_has_bits_[0] & 0x00000001u) != 0;
855 inline void MODataAsyncReceive::set_has_inbox() {
856 _has_bits_[0] |= 0x00000001u;
858 inline void MODataAsyncReceive::clear_has_inbox() {
859 _has_bits_[0] &= ~0x00000001u;
861 inline const ::goby::acomms::protobuf::ModemTransmission& MODataAsyncReceive::_internal_inbox()
const {
865 const ::goby::acomms::protobuf::ModemTransmission* p = inbox_;
879 if (inbox_ == NULL) {
880 auto* p = CreateMaybeMessage<::goby::acomms::protobuf::ModemTransmission>(GetArenaNoVirtual());
888 if (message_arena == NULL) {
893 if (message_arena != submessage_arena) {
894 inbox = ::google::protobuf::internal::GetOwnedMessage(
895 message_arena, inbox, submessage_arena);
906 #pragma GCC diagnostic pop
926 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::MTDataRequest_Command_CommandType>() {
935 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2frudics_5fshore_2eproto