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 < 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>
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_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto
41PROTOBUF_NAMESPACE_OPEN
45PROTOBUF_NAMESPACE_CLOSE
55class StoreServerRequest;
56struct StoreServerRequestDefaultTypeInternal;
58class StoreServerResponse;
59struct StoreServerResponseDefaultTypeInternal;
64PROTOBUF_NAMESPACE_OPEN
67PROTOBUF_NAMESPACE_CLOSE
75 public ::PROTOBUF_NAMESPACE_ID::Message {
79 explicit PROTOBUF_CONSTEXPR
StoreServerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
84 *
this = ::std::move(from);
92 if (
this == &from)
return *
this;
93 if (GetOwningArena() == from.GetOwningArena()
94 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
95 && GetOwningArena() !=
nullptr
106 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
109 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
112 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
135 if (other ==
this)
return;
136 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
137 if (GetOwningArena() !=
nullptr &&
138 GetOwningArena() == other->GetOwningArena()) {
140 if (GetOwningArena() == other->GetOwningArena()) {
144 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
148 if (other ==
this)
return;
149 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
156 return CreateMaybeMessage<StoreServerRequest>(arena);
158 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
160 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
162 StoreServerRequest::MergeImpl(*
this, from);
165 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
167 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
173 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
177 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
179 void SetCachedSize(
int size)
const final;
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "goby.acomms.protobuf.StoreServerRequest";
189 bool is_message_owned =
false);
193 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
209 int _internal_outbox_size()
const;
213 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
216 const ::goby::acomms::protobuf::ModemTransmission& _internal_outbox(
int index)
const;
219 const ::goby::acomms::protobuf::ModemTransmission&
outbox(
int index)
const;
221 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
227 bool _internal_has_request_id()
const;
233 uint64_t _internal_request_id()
const;
234 void _internal_set_request_id(uint64_t value);
240 bool _internal_has_modem_id()
const;
246 int32_t _internal_modem_id()
const;
247 void _internal_set_modem_id(int32_t value);
254 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
255 typedef void InternalArenaConstructable_;
256 typedef void DestructorSkippable_;
258 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
259 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
260 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > outbox_;
261 uint64_t request_id_;
265 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto;
270 public ::PROTOBUF_NAMESPACE_ID::Message {
279 *
this = ::std::move(from);
287 if (
this == &from)
return *
this;
288 if (GetOwningArena() == from.GetOwningArena()
289 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
290 && GetOwningArena() !=
nullptr
301 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
304 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
307 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
308 return GetDescriptor();
311 return default_instance().GetMetadata().descriptor;
314 return default_instance().GetMetadata().reflection;
317 return *internal_default_instance();
323 static constexpr int kIndexInFileMessages =
330 if (other ==
this)
return;
331 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
332 if (GetOwningArena() !=
nullptr &&
333 GetOwningArena() == other->GetOwningArena()) {
335 if (GetOwningArena() == other->GetOwningArena()) {
339 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
343 if (other ==
this)
return;
344 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
351 return CreateMaybeMessage<StoreServerResponse>(arena);
353 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
355 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
357 StoreServerResponse::MergeImpl(*
this, from);
360 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
362 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
363 bool IsInitialized() const final;
366 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
367 uint8_t* _InternalSerialize(
368 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
369 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
372 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
374 void SetCachedSize(
int size)
const final;
378 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
379 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
380 return "goby.acomms.protobuf.StoreServerResponse";
384 bool is_message_owned =
false);
388 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
390 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
397 kInboxFieldNumber = 2,
398 kRequestIdFieldNumber = 3,
399 kModemIdFieldNumber = 1,
402 int inbox_size()
const;
404 int _internal_inbox_size()
const;
408 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
411 const ::goby::acomms::protobuf::ModemTransmission& _internal_inbox(
int index)
const;
414 const ::goby::acomms::protobuf::ModemTransmission& inbox(
int index)
const;
416 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
420 bool has_request_id()
const;
422 bool _internal_has_request_id()
const;
424 void clear_request_id();
425 uint64_t request_id()
const;
426 void set_request_id(uint64_t value);
428 uint64_t _internal_request_id()
const;
429 void _internal_set_request_id(uint64_t value);
433 bool has_modem_id()
const;
435 bool _internal_has_modem_id()
const;
437 void clear_modem_id();
438 int32_t modem_id()
const;
439 void set_modem_id(int32_t value);
441 int32_t _internal_modem_id()
const;
442 void _internal_set_modem_id(int32_t value);
449 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
450 typedef void InternalArenaConstructable_;
451 typedef void DestructorSkippable_;
453 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
454 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
455 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > inbox_;
456 uint64_t request_id_;
460 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto;
468 #pragma GCC diagnostic push
469 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
474inline bool StoreServerRequest::_internal_has_modem_id()
const {
475 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
478inline bool StoreServerRequest::has_modem_id()
const {
479 return _internal_has_modem_id();
481inline void StoreServerRequest::clear_modem_id() {
482 _impl_.modem_id_ = 0;
483 _impl_._has_bits_[0] &= ~0x00000002u;
485inline int32_t StoreServerRequest::_internal_modem_id()
const {
486 return _impl_.modem_id_;
488inline int32_t StoreServerRequest::modem_id()
const {
490 return _internal_modem_id();
492inline void StoreServerRequest::_internal_set_modem_id(int32_t value) {
493 _impl_._has_bits_[0] |= 0x00000002u;
494 _impl_.modem_id_ = value;
496inline void StoreServerRequest::set_modem_id(int32_t value) {
497 _internal_set_modem_id(value);
502inline int StoreServerRequest::_internal_outbox_size()
const {
503 return _impl_.outbox_.size();
505inline int StoreServerRequest::outbox_size()
const {
506 return _internal_outbox_size();
508inline ::goby::acomms::protobuf::ModemTransmission* StoreServerRequest::mutable_outbox(
int index) {
510 return _impl_.outbox_.Mutable(index);
512inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
513StoreServerRequest::mutable_outbox() {
515 return &_impl_.outbox_;
517inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerRequest::_internal_outbox(
int index)
const {
518 return _impl_.outbox_.Get(index);
520inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerRequest::outbox(
int index)
const {
522 return _internal_outbox(index);
524inline ::goby::acomms::protobuf::ModemTransmission* StoreServerRequest::_internal_add_outbox() {
525 return _impl_.outbox_.Add();
527inline ::goby::acomms::protobuf::ModemTransmission* StoreServerRequest::add_outbox() {
532inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
533StoreServerRequest::outbox()
const {
535 return _impl_.outbox_;
539inline bool StoreServerRequest::_internal_has_request_id()
const {
540 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
543inline bool StoreServerRequest::has_request_id()
const {
544 return _internal_has_request_id();
546inline void StoreServerRequest::clear_request_id() {
547 _impl_.request_id_ = uint64_t{0u};
548 _impl_._has_bits_[0] &= ~0x00000001u;
550inline uint64_t StoreServerRequest::_internal_request_id()
const {
551 return _impl_.request_id_;
553inline uint64_t StoreServerRequest::request_id()
const {
555 return _internal_request_id();
557inline void StoreServerRequest::_internal_set_request_id(uint64_t value) {
558 _impl_._has_bits_[0] |= 0x00000001u;
559 _impl_.request_id_ = value;
561inline void StoreServerRequest::set_request_id(uint64_t value) {
562 _internal_set_request_id(value);
571inline bool StoreServerResponse::_internal_has_modem_id()
const {
572 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
575inline bool StoreServerResponse::has_modem_id()
const {
576 return _internal_has_modem_id();
578inline void StoreServerResponse::clear_modem_id() {
579 _impl_.modem_id_ = 0;
580 _impl_._has_bits_[0] &= ~0x00000002u;
582inline int32_t StoreServerResponse::_internal_modem_id()
const {
583 return _impl_.modem_id_;
585inline int32_t StoreServerResponse::modem_id()
const {
587 return _internal_modem_id();
589inline void StoreServerResponse::_internal_set_modem_id(int32_t value) {
590 _impl_._has_bits_[0] |= 0x00000002u;
591 _impl_.modem_id_ = value;
593inline void StoreServerResponse::set_modem_id(int32_t value) {
594 _internal_set_modem_id(value);
599inline int StoreServerResponse::_internal_inbox_size()
const {
600 return _impl_.inbox_.size();
602inline int StoreServerResponse::inbox_size()
const {
603 return _internal_inbox_size();
605inline ::goby::acomms::protobuf::ModemTransmission* StoreServerResponse::mutable_inbox(
int index) {
607 return _impl_.inbox_.Mutable(index);
609inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
610StoreServerResponse::mutable_inbox() {
612 return &_impl_.inbox_;
614inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerResponse::_internal_inbox(
int index)
const {
615 return _impl_.inbox_.Get(index);
617inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerResponse::inbox(
int index)
const {
619 return _internal_inbox(index);
621inline ::goby::acomms::protobuf::ModemTransmission* StoreServerResponse::_internal_add_inbox() {
622 return _impl_.inbox_.Add();
624inline ::goby::acomms::protobuf::ModemTransmission* StoreServerResponse::add_inbox() {
629inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
630StoreServerResponse::inbox()
const {
632 return _impl_.inbox_;
636inline bool StoreServerResponse::_internal_has_request_id()
const {
637 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
640inline bool StoreServerResponse::has_request_id()
const {
641 return _internal_has_request_id();
643inline void StoreServerResponse::clear_request_id() {
644 _impl_.request_id_ = uint64_t{0u};
645 _impl_._has_bits_[0] &= ~0x00000001u;
647inline uint64_t StoreServerResponse::_internal_request_id()
const {
648 return _impl_.request_id_;
650inline uint64_t StoreServerResponse::request_id()
const {
652 return _internal_request_id();
654inline void StoreServerResponse::_internal_set_request_id(uint64_t value) {
655 _impl_._has_bits_[0] |= 0x00000001u;
656 _impl_.request_id_ = value;
658inline void StoreServerResponse::set_request_id(uint64_t value) {
659 _internal_set_request_id(value);
664 #pragma GCC diagnostic pop
677#include <google/protobuf/port_undef.inc>
void set_request_id(uint64_t value)
size_t ByteSizeLong() const final
uint64_t request_id() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
bool has_modem_id() const
::goby::acomms::protobuf::ModemTransmission * add_outbox()
static constexpr int kIndexInFileMessages
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > & outbox() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ClassData _class_data_
StoreServerRequest(StoreServerRequest &&from) noexcept
bool IsInitialized() const final
void UnsafeArenaSwap(StoreServerRequest *other)
int GetCachedSize() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
StoreServerRequest * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void CopyFrom(const StoreServerRequest &from)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
StoreServerRequest(const StoreServerRequest &from)
bool has_request_id() const
void Swap(StoreServerRequest *other)
~StoreServerRequest() override
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > * mutable_outbox()
StoreServerRequest & operator=(StoreServerRequest &&from) noexcept
friend void swap(StoreServerRequest &a, StoreServerRequest &b)
PROTOBUF_CONSTEXPR StoreServerRequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
StoreServerRequest(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const StoreServerRequest & default_instance()
StoreServerRequest & operator=(const StoreServerRequest &from)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void set_modem_id(int32_t value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const StoreServerRequest * internal_default_instance()
void MergeFrom(const StoreServerRequest &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
StoreServerResponse(const StoreServerResponse &from)
PROTOBUF_CONSTEXPR StoreServerResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const StoreServerResponse &from)
static const ClassData _class_data_
StoreServerResponse(StoreServerResponse &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
StoreServerResponse & operator=(const StoreServerResponse &from)
void Swap(StoreServerResponse *other)
void CopyFrom(const StoreServerResponse &from)
void UnsafeArenaSwap(StoreServerResponse *other)
StoreServerResponse * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
~StoreServerResponse() override
static const StoreServerResponse * internal_default_instance()
StoreServerResponse & operator=(StoreServerResponse &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
StoreServerResponse(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const StoreServerResponse & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
friend void swap(StoreServerResponse &a, StoreServerResponse &b)
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 uint32_t offsets[]