4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_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>
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>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.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_goby_2facomms_2fprotobuf_2fstore_5fserver_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[];
65 class StoreServerRequest;
66 class StoreServerRequestDefaultTypeInternal;
68 class StoreServerResponse;
69 class StoreServerResponseDefaultTypeInternal;
74 PROTOBUF_NAMESPACE_OPEN
75 template<> ::goby::acomms::protobuf::StoreServerRequest* Arena::CreateMaybeMessage<::goby::acomms::protobuf::StoreServerRequest>(Arena*);
76 template<> ::goby::acomms::protobuf::StoreServerResponse* Arena::CreateMaybeMessage<::goby::acomms::protobuf::StoreServerResponse>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
84 class StoreServerRequest PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
92 : StoreServerRequest() {
93 *
this = ::std::move(from);
96 inline StoreServerRequest&
operator=(
const StoreServerRequest& from) {
100 inline StoreServerRequest&
operator=(StoreServerRequest&& from) noexcept {
101 if (GetArena() == from.GetArena()) {
102 if (
this != &from) InternalSwap(&from);
110 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
113 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
116 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
117 return GetDescriptor();
120 return GetMetadataStatic().descriptor;
123 return GetMetadataStatic().reflection;
129 return reinterpret_cast<const StoreServerRequest*
>(
132 static constexpr
int kIndexInFileMessages =
135 friend void swap(StoreServerRequest& a, StoreServerRequest& b) {
138 inline void Swap(StoreServerRequest* other) {
139 if (other ==
this)
return;
140 if (GetArena() == other->GetArena()) {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
147 if (other ==
this)
return;
148 GOOGLE_DCHECK(GetArena() == other->GetArena());
154 inline StoreServerRequest*
New() const final {
155 return CreateMaybeMessage<StoreServerRequest>(
nullptr);
158 StoreServerRequest*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
159 return CreateMaybeMessage<StoreServerRequest>(arena);
161 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
162 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
165 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
166 bool IsInitialized() const final;
169 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
170 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
171 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
172 int GetCachedSize() const final {
return _cached_size_.Get(); }
175 inline void SharedCtor();
176 inline void SharedDtor();
177 void SetCachedSize(
int size)
const final;
178 void InternalSwap(StoreServerRequest* other);
179 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
180 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
181 return "goby.acomms.protobuf.StoreServerRequest";
186 static void ArenaDtor(
void*
object);
187 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
192 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
204 kOutboxFieldNumber = 2,
205 kRequestIdFieldNumber = 3,
206 kModemIdFieldNumber = 1,
211 int _internal_outbox_size()
const;
215 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
218 const ::goby::acomms::protobuf::ModemTransmission& _internal_outbox(
int index)
const;
219 ::goby::acomms::protobuf::ModemTransmission* _internal_add_outbox();
221 const ::goby::acomms::protobuf::ModemTransmission&
outbox(
int index)
const;
223 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
229 bool _internal_has_request_id()
const;
242 bool _internal_has_modem_id()
const;
256 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
257 typedef void InternalArenaConstructable_;
258 typedef void DestructorSkippable_;
259 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
260 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
261 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > outbox_;
264 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto;
269 public ::PROTOBUF_NAMESPACE_ID::Message {
276 : StoreServerResponse() {
277 *
this = ::std::move(from);
280 inline StoreServerResponse&
operator=(
const StoreServerResponse& from) {
284 inline StoreServerResponse&
operator=(StoreServerResponse&& from) noexcept {
285 if (GetArena() == from.GetArena()) {
286 if (
this != &from) InternalSwap(&from);
294 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
297 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
300 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
301 return GetDescriptor();
304 return GetMetadataStatic().descriptor;
307 return GetMetadataStatic().reflection;
313 return reinterpret_cast<const StoreServerResponse*
>(
316 static constexpr
int kIndexInFileMessages =
319 friend void swap(StoreServerResponse& a, StoreServerResponse& b) {
322 inline void Swap(StoreServerResponse* other) {
323 if (other ==
this)
return;
324 if (GetArena() == other->GetArena()) {
327 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
331 if (other ==
this)
return;
332 GOOGLE_DCHECK(GetArena() == other->GetArena());
338 inline StoreServerResponse*
New() const final {
339 return CreateMaybeMessage<StoreServerResponse>(
nullptr);
342 StoreServerResponse*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
343 return CreateMaybeMessage<StoreServerResponse>(arena);
345 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
346 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
349 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
350 bool IsInitialized() const final;
353 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
354 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
355 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
356 int GetCachedSize() const final {
return _cached_size_.Get(); }
359 inline void SharedCtor();
360 inline void SharedDtor();
361 void SetCachedSize(
int size)
const final;
362 void InternalSwap(StoreServerResponse* other);
363 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
364 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
365 return "goby.acomms.protobuf.StoreServerResponse";
370 static void ArenaDtor(
void*
object);
371 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
376 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
388 kInboxFieldNumber = 2,
389 kRequestIdFieldNumber = 3,
390 kModemIdFieldNumber = 1,
395 int _internal_inbox_size()
const;
399 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
402 const ::goby::acomms::protobuf::ModemTransmission& _internal_inbox(
int index)
const;
403 ::goby::acomms::protobuf::ModemTransmission* _internal_add_inbox();
405 const ::goby::acomms::protobuf::ModemTransmission&
inbox(
int index)
const;
406 ::goby::acomms::protobuf::ModemTransmission*
add_inbox();
407 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
413 bool _internal_has_request_id()
const;
426 bool _internal_has_modem_id()
const;
440 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
441 typedef void InternalArenaConstructable_;
442 typedef void DestructorSkippable_;
443 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
444 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
445 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > inbox_;
448 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto;
456 #pragma GCC diagnostic push
457 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
462 inline bool StoreServerRequest::_internal_has_modem_id()
const {
463 bool value = (_has_bits_[0] & 0x00000002u) != 0;
466 inline bool StoreServerRequest::has_modem_id()
const {
467 return _internal_has_modem_id();
469 inline void StoreServerRequest::clear_modem_id() {
471 _has_bits_[0] &= ~0x00000002u;
478 return _internal_modem_id();
481 _has_bits_[0] |= 0x00000002u;
485 _internal_set_modem_id(value);
490 inline int StoreServerRequest::_internal_outbox_size()
const {
491 return outbox_.size();
493 inline int StoreServerRequest::outbox_size()
const {
494 return _internal_outbox_size();
496 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerRequest::mutable_outbox(
int index) {
498 return outbox_.Mutable(index);
500 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
501 StoreServerRequest::mutable_outbox() {
505 inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerRequest::_internal_outbox(
int index)
const {
506 return outbox_.Get(index);
508 inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerRequest::outbox(
int index)
const {
510 return _internal_outbox(index);
512 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerRequest::_internal_add_outbox() {
513 return outbox_.Add();
515 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerRequest::add_outbox() {
517 return _internal_add_outbox();
519 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
520 StoreServerRequest::outbox()
const {
526 inline bool StoreServerRequest::_internal_has_request_id()
const {
527 bool value = (_has_bits_[0] & 0x00000001u) != 0;
530 inline bool StoreServerRequest::has_request_id()
const {
531 return _internal_has_request_id();
533 inline void StoreServerRequest::clear_request_id() {
534 request_id_ = PROTOBUF_ULONGLONG(0);
535 _has_bits_[0] &= ~0x00000001u;
542 return _internal_request_id();
545 _has_bits_[0] |= 0x00000001u;
549 _internal_set_request_id(value);
558 inline bool StoreServerResponse::_internal_has_modem_id()
const {
559 bool value = (_has_bits_[0] & 0x00000002u) != 0;
562 inline bool StoreServerResponse::has_modem_id()
const {
563 return _internal_has_modem_id();
565 inline void StoreServerResponse::clear_modem_id() {
567 _has_bits_[0] &= ~0x00000002u;
574 return _internal_modem_id();
577 _has_bits_[0] |= 0x00000002u;
581 _internal_set_modem_id(value);
586 inline int StoreServerResponse::_internal_inbox_size()
const {
587 return inbox_.size();
589 inline int StoreServerResponse::inbox_size()
const {
590 return _internal_inbox_size();
592 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerResponse::mutable_inbox(
int index) {
594 return inbox_.Mutable(index);
596 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
597 StoreServerResponse::mutable_inbox() {
601 inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerResponse::_internal_inbox(
int index)
const {
602 return inbox_.Get(index);
604 inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerResponse::inbox(
int index)
const {
606 return _internal_inbox(index);
608 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerResponse::_internal_add_inbox() {
611 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerResponse::add_inbox() {
613 return _internal_add_inbox();
615 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
616 StoreServerResponse::inbox()
const {
622 inline bool StoreServerResponse::_internal_has_request_id()
const {
623 bool value = (_has_bits_[0] & 0x00000001u) != 0;
626 inline bool StoreServerResponse::has_request_id()
const {
627 return _internal_has_request_id();
629 inline void StoreServerResponse::clear_request_id() {
630 request_id_ = PROTOBUF_ULONGLONG(0);
631 _has_bits_[0] &= ~0x00000001u;
638 return _internal_request_id();
641 _has_bits_[0] |= 0x00000001u;
645 _internal_set_request_id(value);
650 #pragma GCC diagnostic pop
663 #include <google/protobuf/port_undef.inc>
void set_request_id(::PROTOBUF_NAMESPACE_ID::uint64 value)
void MergeFrom(const StoreServerResponse &from)
static const StoreServerRequest & default_instance()
::goby::acomms::protobuf::ModemTransmission * mutable_inbox(int index)
void CopyFrom(const StoreServerResponse &from)
StoreServerRequest * New() const final
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
StoreServerResponse(const StoreServerResponse &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::PROTOBUF_NAMESPACE_ID::uint64 request_id() const
::goby::acomms::protobuf::ModemTransmission * add_inbox()
void MergeFrom(const StoreServerRequest &from)
void CopyFrom(const StoreServerRequest &from)
StoreServerResponse & operator=(StoreServerResponse &&from) noexcept
StoreServerRequest(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void UnsafeArenaSwap(StoreServerResponse *other)
const ::goby::acomms::protobuf::ModemTransmission & inbox(int index) const
::PROTOBUF_NAMESPACE_ID::int32 modem_id() const
StoreServerRequest(StoreServerRequest &&from) noexcept
void Swap(StoreServerResponse *other)
static const StoreServerResponse * internal_default_instance()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
StoreServerRequest & operator=(StoreServerRequest &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > & inbox() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > & outbox() const
static void InitAsDefaultInstance()
StoreServerResponse(StoreServerResponse &&from) noexcept
StoreServerResponse & operator=(const StoreServerResponse &from)
bool has_modem_id() const
bool has_request_id() const
StoreServerResponse(::PROTOBUF_NAMESPACE_ID::Arena *arena)
virtual ~StoreServerResponse()
::goby::acomms::protobuf::ModemTransmission * add_outbox()
void Swap(StoreServerRequest *other)
StoreServerResponse * New() const final
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > * mutable_outbox()
virtual ~StoreServerRequest()
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > * mutable_inbox()
friend void swap(StoreServerRequest &a, StoreServerRequest &b)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const StoreServerRequest * internal_default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(StoreServerRequest *other)
::goby::acomms::protobuf::ModemTransmission * mutable_outbox(int index)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
StoreServerRequest & operator=(const StoreServerRequest &from)
StoreServerResponse * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
StoreServerRequest(const StoreServerRequest &from)
static const StoreServerResponse & default_instance()
const ::goby::acomms::protobuf::ModemTransmission & outbox(int index) const
friend void swap(StoreServerResponse &a, StoreServerResponse &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value)
StoreServerRequest * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
@ value
the parser finished reading a JSON value
StoreServerResponseDefaultTypeInternal _StoreServerResponse_default_instance_
StoreServerRequestDefaultTypeInternal _StoreServerRequest_default_instance_
The global namespace for the Goby project.
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)