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() {
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;
368 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
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;
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 >&
422 bool _internal_has_request_id()
const;
428 uint64_t _internal_request_id()
const;
429 void _internal_set_request_id(uint64_t value);
435 bool _internal_has_modem_id()
const;
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;
479 return _internal_has_modem_id();
483 _impl_._has_bits_[0] &= ~0x00000002u;
485inline int32_t StoreServerRequest::_internal_modem_id()
const {
486 return _impl_.modem_id_;
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;
497 _internal_set_modem_id(value);
502inline int StoreServerRequest::_internal_outbox_size()
const {
503 return _impl_.outbox_.size();
506 return _internal_outbox_size();
510 return _impl_.outbox_.Mutable(index);
512inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
517inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerRequest::_internal_outbox(
int index)
const {
518 return _impl_.outbox_.Get(index);
522 return _internal_outbox(index);
524inline ::goby::acomms::protobuf::ModemTransmission* StoreServerRequest::_internal_add_outbox() {
525 return _impl_.outbox_.Add();
532inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
539inline bool StoreServerRequest::_internal_has_request_id()
const {
540 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
544 return _internal_has_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_;
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;
562 _internal_set_request_id(value);
571inline bool StoreServerResponse::_internal_has_modem_id()
const {
572 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
576 return _internal_has_modem_id();
580 _impl_._has_bits_[0] &= ~0x00000002u;
582inline int32_t StoreServerResponse::_internal_modem_id()
const {
583 return _impl_.modem_id_;
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;
594 _internal_set_modem_id(value);
599inline int StoreServerResponse::_internal_inbox_size()
const {
600 return _impl_.inbox_.size();
603 return _internal_inbox_size();
607 return _impl_.inbox_.Mutable(index);
609inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
614inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerResponse::_internal_inbox(
int index)
const {
615 return _impl_.inbox_.Get(index);
619 return _internal_inbox(index);
621inline ::goby::acomms::protobuf::ModemTransmission* StoreServerResponse::_internal_add_inbox() {
622 return _impl_.inbox_.Add();
629inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
636inline bool StoreServerResponse::_internal_has_request_id()
const {
637 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
641 return _internal_has_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_;
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;
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
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > & outbox() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
bool has_modem_id() const
::goby::acomms::protobuf::ModemTransmission * add_outbox()
static constexpr int kIndexInFileMessages
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)
const ::goby::acomms::protobuf::ModemTransmission & outbox(int index) const
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
::goby::acomms::protobuf::ModemTransmission * mutable_outbox(int index)
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()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::goby::acomms::protobuf::ModemTransmission * add_inbox()
StoreServerResponse(const StoreServerResponse &from)
PROTOBUF_CONSTEXPR StoreServerResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
bool has_request_id() const
void MergeFrom(const StoreServerResponse &from)
static const ClassData _class_data_
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
StoreServerResponse(StoreServerResponse &&from) noexcept
::goby::acomms::protobuf::ModemTransmission * mutable_inbox(int index)
const ::goby::acomms::protobuf::ModemTransmission & inbox(int index) const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static constexpr int kIndexInFileMessages
uint64_t request_id() const
bool has_modem_id() const
void set_modem_id(int32_t value)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
StoreServerResponse & operator=(const StoreServerResponse &from)
void Swap(StoreServerResponse *other)
void CopyFrom(const StoreServerResponse &from)
void set_request_id(uint64_t value)
bool IsInitialized() const final
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
size_t ByteSizeLong() const final
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)
int GetCachedSize() const final
*brief create JSON pointer *sa reference_tokens const string_t const string_t & b
*brief create JSON pointer *sa reference_tokens const string_t & a
*brief remove last reference token *sa JSON pointer has no nullptr
*brief write string representation of the JSON pointer to stream *sa const json_pointer & ptr
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[]