4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_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/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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto
44 static const ::google::protobuf::internal::ParseTableField
entries[];
45 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
46 static const ::google::protobuf::internal::ParseTable
schema[2];
56 class StoreServerRequest;
57 class StoreServerRequestDefaultTypeInternal;
59 class StoreServerResponse;
60 class StoreServerResponseDefaultTypeInternal;
91 *
this = ::std::move(from);
95 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96 if (
this != &from) InternalSwap(&from);
104 return _internal_metadata_.unknown_fields();
107 return _internal_metadata_.mutable_unknown_fields();
110 static const ::google::protobuf::Descriptor*
descriptor();
129 return CreateMaybeMessage<StoreServerRequest>(NULL);
133 return CreateMaybeMessage<StoreServerRequest>(arena);
135 void CopyFrom(const ::google::protobuf::Message& from)
final;
136 void MergeFrom(const ::google::protobuf::Message& from)
final;
144 ::
google::protobuf::io::CodedInputStream* input) final;
146 ::
google::protobuf::io::CodedOutputStream* output) const final;
148 bool deterministic, ::
google::protobuf::uint8* target) const final;
154 void SetCachedSize(
int size)
const final;
157 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
160 inline void* MaybeArenaPtr()
const {
199 void set_has_modem_id();
200 void clear_has_modem_id();
201 void set_has_request_id();
202 void clear_has_request_id();
204 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
205 ::
google::protobuf::internal::HasBits<1> _has_bits_;
206 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
228 *
this = ::std::move(from);
231 inline StoreServerResponse&
operator=(StoreServerResponse&& from) noexcept {
232 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
233 if (
this != &from) InternalSwap(&from);
241 return _internal_metadata_.unknown_fields();
244 return _internal_metadata_.mutable_unknown_fields();
247 static const ::google::protobuf::Descriptor*
descriptor();
266 return CreateMaybeMessage<StoreServerResponse>(NULL);
270 return CreateMaybeMessage<StoreServerResponse>(arena);
272 void CopyFrom(const ::google::protobuf::Message& from)
final;
273 void MergeFrom(const ::google::protobuf::Message& from)
final;
281 ::
google::protobuf::io::CodedInputStream* input) final;
283 ::
google::protobuf::io::CodedOutputStream* output) const final;
285 bool deterministic, ::
google::protobuf::uint8* target) const final;
291 void SetCachedSize(
int size)
const final;
294 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
297 inline void* MaybeArenaPtr()
const {
309 int inbox_size() const;
311 static const
int kInboxFieldNumber = 2;
336 void set_has_modem_id();
337 void clear_has_modem_id();
338 void set_has_request_id();
339 void clear_has_request_id();
341 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
342 ::
google::protobuf::internal::HasBits<1> _has_bits_;
343 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
355 #pragma GCC diagnostic push
356 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
362 return (_has_bits_[0] & 0x00000002u) != 0;
364 inline void StoreServerRequest::set_has_modem_id() {
365 _has_bits_[0] |= 0x00000002u;
367 inline void StoreServerRequest::clear_has_modem_id() {
368 _has_bits_[0] &= ~0x00000002u;
372 clear_has_modem_id();
386 return outbox_.size();
390 return outbox_.Mutable(index);
392 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
399 return outbox_.Get(index);
403 return outbox_.Add();
405 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
413 return (_has_bits_[0] & 0x00000001u) != 0;
415 inline void StoreServerRequest::set_has_request_id() {
416 _has_bits_[0] |= 0x00000001u;
418 inline void StoreServerRequest::clear_has_request_id() {
419 _has_bits_[0] &= ~0x00000001u;
422 request_id_ = GOOGLE_ULONGLONG(0);
423 clear_has_request_id();
430 set_has_request_id();
441 return (_has_bits_[0] & 0x00000002u) != 0;
443 inline void StoreServerResponse::set_has_modem_id() {
444 _has_bits_[0] |= 0x00000002u;
446 inline void StoreServerResponse::clear_has_modem_id() {
447 _has_bits_[0] &= ~0x00000002u;
451 clear_has_modem_id();
465 return inbox_.size();
469 return inbox_.Mutable(index);
471 inline ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
478 return inbox_.Get(index);
484 inline const ::google::protobuf::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
492 return (_has_bits_[0] & 0x00000001u) != 0;
494 inline void StoreServerResponse::set_has_request_id() {
495 _has_bits_[0] |= 0x00000001u;
497 inline void StoreServerResponse::clear_has_request_id() {
498 _has_bits_[0] &= ~0x00000001u;
501 request_id_ = GOOGLE_ULONGLONG(0);
502 clear_has_request_id();
509 set_has_request_id();
515 #pragma GCC diagnostic pop
528 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto