Goby3  3.1.5
2024.05.14
store_server.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/acomms/protobuf/store_server.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto
6 
7 #include <limits>
8 #include <string>
9 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.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> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
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>
40 // @@protoc_insertion_point(includes)
41 #include <google/protobuf/port_def.inc>
42 #define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto
43 PROTOBUF_NAMESPACE_OPEN
44 namespace internal {
45 class AnyMetadata;
46 } // namespace internal
47 PROTOBUF_NAMESPACE_CLOSE
48 
49 // Internal implementation detail -- do not use these members.
51  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
52  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
53  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
54  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
55  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
56  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
57  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
58  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
60 };
61 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto;
62 namespace goby {
63 namespace acomms {
64 namespace protobuf {
65 class StoreServerRequest;
66 class StoreServerRequestDefaultTypeInternal;
67 extern StoreServerRequestDefaultTypeInternal _StoreServerRequest_default_instance_;
68 class StoreServerResponse;
69 class StoreServerResponseDefaultTypeInternal;
70 extern StoreServerResponseDefaultTypeInternal _StoreServerResponse_default_instance_;
71 } // namespace protobuf
72 } // namespace acomms
73 } // namespace goby
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
78 namespace goby {
79 namespace acomms {
80 namespace protobuf {
81 
82 // ===================================================================
83 
84 class StoreServerRequest PROTOBUF_FINAL :
85  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.StoreServerRequest) */ {
86  public:
87  inline StoreServerRequest() : StoreServerRequest(nullptr) {};
89 
90  StoreServerRequest(const StoreServerRequest& from);
91  StoreServerRequest(StoreServerRequest&& from) noexcept
92  : StoreServerRequest() {
93  *this = ::std::move(from);
94  }
95 
96  inline StoreServerRequest& operator=(const StoreServerRequest& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline StoreServerRequest& operator=(StoreServerRequest&& from) noexcept {
101  if (GetArena() == from.GetArena()) {
102  if (this != &from) InternalSwap(&from);
103  } else {
104  CopyFrom(from);
105  }
106  return *this;
107  }
108 
109  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
110  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
111  }
112  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
113  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
114  }
115 
116  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
117  return GetDescriptor();
118  }
119  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
120  return GetMetadataStatic().descriptor;
121  }
122  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
123  return GetMetadataStatic().reflection;
124  }
125  static const StoreServerRequest& default_instance();
126 
127  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
128  static inline const StoreServerRequest* internal_default_instance() {
129  return reinterpret_cast<const StoreServerRequest*>(
131  }
132  static constexpr int kIndexInFileMessages =
133  0;
134 
135  friend void swap(StoreServerRequest& a, StoreServerRequest& b) {
136  a.Swap(&b);
137  }
138  inline void Swap(StoreServerRequest* other) {
139  if (other == this) return;
140  if (GetArena() == other->GetArena()) {
141  InternalSwap(other);
142  } else {
143  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
144  }
145  }
146  void UnsafeArenaSwap(StoreServerRequest* other) {
147  if (other == this) return;
148  GOOGLE_DCHECK(GetArena() == other->GetArena());
149  InternalSwap(other);
150  }
151 
152  // implements Message ----------------------------------------------
153 
154  inline StoreServerRequest* New() const final {
155  return CreateMaybeMessage<StoreServerRequest>(nullptr);
156  }
157 
158  StoreServerRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
159  return CreateMaybeMessage<StoreServerRequest>(arena);
160  }
161  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
162  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
163  void CopyFrom(const StoreServerRequest& from);
164  void MergeFrom(const StoreServerRequest& from);
165  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
166  bool IsInitialized() const final;
167 
168  size_t ByteSizeLong() 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(); }
173 
174  private:
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";
182  }
183  protected:
184  explicit StoreServerRequest(::PROTOBUF_NAMESPACE_ID::Arena* arena);
185  private:
186  static void ArenaDtor(void* object);
187  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
188  public:
189 
190  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
191  private:
192  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
193  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto);
194  return ::descriptor_table_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto.file_level_metadata[kIndexInFileMessages];
195  }
196 
197  public:
198 
199  // nested types ----------------------------------------------------
200 
201  // accessors -------------------------------------------------------
202 
203  enum : int {
204  kOutboxFieldNumber = 2,
205  kRequestIdFieldNumber = 3,
206  kModemIdFieldNumber = 1,
207  };
208  // repeated .goby.acomms.protobuf.ModemTransmission outbox = 2;
209  int outbox_size() const;
210  private:
211  int _internal_outbox_size() const;
212  public:
213  void clear_outbox();
214  ::goby::acomms::protobuf::ModemTransmission* mutable_outbox(int index);
215  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
217  private:
218  const ::goby::acomms::protobuf::ModemTransmission& _internal_outbox(int index) const;
219  ::goby::acomms::protobuf::ModemTransmission* _internal_add_outbox();
220  public:
221  const ::goby::acomms::protobuf::ModemTransmission& outbox(int index) const;
222  ::goby::acomms::protobuf::ModemTransmission* add_outbox();
223  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
224  outbox() const;
225 
226  // optional uint64 request_id = 3;
227  bool has_request_id() const;
228  private:
229  bool _internal_has_request_id() const;
230  public:
234  private:
235  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_request_id() const;
236  void _internal_set_request_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
237  public:
238 
239  // required int32 modem_id = 1;
240  bool has_modem_id() const;
241  private:
242  bool _internal_has_modem_id() const;
243  public:
247  private:
248  ::PROTOBUF_NAMESPACE_ID::int32 _internal_modem_id() const;
249  void _internal_set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value);
250  public:
251 
252  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.StoreServerRequest)
253  private:
254  class _Internal;
255 
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;
265 };
266 // -------------------------------------------------------------------
267 
268 class StoreServerResponse PROTOBUF_FINAL :
269  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.StoreServerResponse) */ {
270  public:
271  inline StoreServerResponse() : StoreServerResponse(nullptr) {};
273 
274  StoreServerResponse(const StoreServerResponse& from);
275  StoreServerResponse(StoreServerResponse&& from) noexcept
276  : StoreServerResponse() {
277  *this = ::std::move(from);
278  }
279 
280  inline StoreServerResponse& operator=(const StoreServerResponse& from) {
281  CopyFrom(from);
282  return *this;
283  }
284  inline StoreServerResponse& operator=(StoreServerResponse&& from) noexcept {
285  if (GetArena() == from.GetArena()) {
286  if (this != &from) InternalSwap(&from);
287  } else {
288  CopyFrom(from);
289  }
290  return *this;
291  }
292 
293  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
294  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
295  }
296  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
297  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
298  }
299 
300  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
301  return GetDescriptor();
302  }
303  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
304  return GetMetadataStatic().descriptor;
305  }
306  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
307  return GetMetadataStatic().reflection;
308  }
309  static const StoreServerResponse& default_instance();
310 
311  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
312  static inline const StoreServerResponse* internal_default_instance() {
313  return reinterpret_cast<const StoreServerResponse*>(
315  }
316  static constexpr int kIndexInFileMessages =
317  1;
318 
319  friend void swap(StoreServerResponse& a, StoreServerResponse& b) {
320  a.Swap(&b);
321  }
322  inline void Swap(StoreServerResponse* other) {
323  if (other == this) return;
324  if (GetArena() == other->GetArena()) {
325  InternalSwap(other);
326  } else {
327  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
328  }
329  }
330  void UnsafeArenaSwap(StoreServerResponse* other) {
331  if (other == this) return;
332  GOOGLE_DCHECK(GetArena() == other->GetArena());
333  InternalSwap(other);
334  }
335 
336  // implements Message ----------------------------------------------
337 
338  inline StoreServerResponse* New() const final {
339  return CreateMaybeMessage<StoreServerResponse>(nullptr);
340  }
341 
342  StoreServerResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
343  return CreateMaybeMessage<StoreServerResponse>(arena);
344  }
345  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
346  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
347  void CopyFrom(const StoreServerResponse& from);
348  void MergeFrom(const StoreServerResponse& from);
349  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
350  bool IsInitialized() const final;
351 
352  size_t ByteSizeLong() 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(); }
357 
358  private:
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";
366  }
367  protected:
368  explicit StoreServerResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
369  private:
370  static void ArenaDtor(void* object);
371  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
372  public:
373 
374  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
375  private:
376  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
377  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto);
378  return ::descriptor_table_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto.file_level_metadata[kIndexInFileMessages];
379  }
380 
381  public:
382 
383  // nested types ----------------------------------------------------
384 
385  // accessors -------------------------------------------------------
386 
387  enum : int {
388  kInboxFieldNumber = 2,
389  kRequestIdFieldNumber = 3,
390  kModemIdFieldNumber = 1,
391  };
392  // repeated .goby.acomms.protobuf.ModemTransmission inbox = 2;
393  int inbox_size() const;
394  private:
395  int _internal_inbox_size() const;
396  public:
397  void clear_inbox();
398  ::goby::acomms::protobuf::ModemTransmission* mutable_inbox(int index);
399  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
401  private:
402  const ::goby::acomms::protobuf::ModemTransmission& _internal_inbox(int index) const;
403  ::goby::acomms::protobuf::ModemTransmission* _internal_add_inbox();
404  public:
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 >&
408  inbox() const;
409 
410  // optional uint64 request_id = 3;
411  bool has_request_id() const;
412  private:
413  bool _internal_has_request_id() const;
414  public:
418  private:
419  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_request_id() const;
420  void _internal_set_request_id(::PROTOBUF_NAMESPACE_ID::uint64 value);
421  public:
422 
423  // required int32 modem_id = 1;
424  bool has_modem_id() const;
425  private:
426  bool _internal_has_modem_id() const;
427  public:
431  private:
432  ::PROTOBUF_NAMESPACE_ID::int32 _internal_modem_id() const;
433  void _internal_set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value);
434  public:
435 
436  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.StoreServerResponse)
437  private:
438  class _Internal;
439 
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;
449 };
450 // ===================================================================
451 
452 
453 // ===================================================================
454 
455 #ifdef __GNUC__
456  #pragma GCC diagnostic push
457  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
458 #endif // __GNUC__
459 // StoreServerRequest
460 
461 // required int32 modem_id = 1;
462 inline bool StoreServerRequest::_internal_has_modem_id() const {
463  bool value = (_has_bits_[0] & 0x00000002u) != 0;
464  return value;
465 }
466 inline bool StoreServerRequest::has_modem_id() const {
467  return _internal_has_modem_id();
468 }
469 inline void StoreServerRequest::clear_modem_id() {
470  modem_id_ = 0;
471  _has_bits_[0] &= ~0x00000002u;
472 }
473 inline ::PROTOBUF_NAMESPACE_ID::int32 StoreServerRequest::_internal_modem_id() const {
474  return modem_id_;
475 }
476 inline ::PROTOBUF_NAMESPACE_ID::int32 StoreServerRequest::modem_id() const {
477  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.StoreServerRequest.modem_id)
478  return _internal_modem_id();
479 }
480 inline void StoreServerRequest::_internal_set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
481  _has_bits_[0] |= 0x00000002u;
482  modem_id_ = value;
483 }
484 inline void StoreServerRequest::set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
485  _internal_set_modem_id(value);
486  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.StoreServerRequest.modem_id)
487 }
488 
489 // repeated .goby.acomms.protobuf.ModemTransmission outbox = 2;
490 inline int StoreServerRequest::_internal_outbox_size() const {
491  return outbox_.size();
492 }
493 inline int StoreServerRequest::outbox_size() const {
494  return _internal_outbox_size();
495 }
496 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerRequest::mutable_outbox(int index) {
497  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.StoreServerRequest.outbox)
498  return outbox_.Mutable(index);
499 }
500 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
501 StoreServerRequest::mutable_outbox() {
502  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.StoreServerRequest.outbox)
503  return &outbox_;
504 }
505 inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerRequest::_internal_outbox(int index) const {
506  return outbox_.Get(index);
507 }
508 inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerRequest::outbox(int index) const {
509  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.StoreServerRequest.outbox)
510  return _internal_outbox(index);
511 }
512 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerRequest::_internal_add_outbox() {
513  return outbox_.Add();
514 }
515 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerRequest::add_outbox() {
516  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.StoreServerRequest.outbox)
517  return _internal_add_outbox();
518 }
519 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
520 StoreServerRequest::outbox() const {
521  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.StoreServerRequest.outbox)
522  return outbox_;
523 }
524 
525 // optional uint64 request_id = 3;
526 inline bool StoreServerRequest::_internal_has_request_id() const {
527  bool value = (_has_bits_[0] & 0x00000001u) != 0;
528  return value;
529 }
530 inline bool StoreServerRequest::has_request_id() const {
531  return _internal_has_request_id();
532 }
533 inline void StoreServerRequest::clear_request_id() {
534  request_id_ = PROTOBUF_ULONGLONG(0);
535  _has_bits_[0] &= ~0x00000001u;
536 }
537 inline ::PROTOBUF_NAMESPACE_ID::uint64 StoreServerRequest::_internal_request_id() const {
538  return request_id_;
539 }
540 inline ::PROTOBUF_NAMESPACE_ID::uint64 StoreServerRequest::request_id() const {
541  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.StoreServerRequest.request_id)
542  return _internal_request_id();
543 }
544 inline void StoreServerRequest::_internal_set_request_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
545  _has_bits_[0] |= 0x00000001u;
546  request_id_ = value;
547 }
548 inline void StoreServerRequest::set_request_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
549  _internal_set_request_id(value);
550  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.StoreServerRequest.request_id)
551 }
552 
553 // -------------------------------------------------------------------
554 
555 // StoreServerResponse
556 
557 // required int32 modem_id = 1;
558 inline bool StoreServerResponse::_internal_has_modem_id() const {
559  bool value = (_has_bits_[0] & 0x00000002u) != 0;
560  return value;
561 }
562 inline bool StoreServerResponse::has_modem_id() const {
563  return _internal_has_modem_id();
564 }
565 inline void StoreServerResponse::clear_modem_id() {
566  modem_id_ = 0;
567  _has_bits_[0] &= ~0x00000002u;
568 }
569 inline ::PROTOBUF_NAMESPACE_ID::int32 StoreServerResponse::_internal_modem_id() const {
570  return modem_id_;
571 }
572 inline ::PROTOBUF_NAMESPACE_ID::int32 StoreServerResponse::modem_id() const {
573  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.StoreServerResponse.modem_id)
574  return _internal_modem_id();
575 }
576 inline void StoreServerResponse::_internal_set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
577  _has_bits_[0] |= 0x00000002u;
578  modem_id_ = value;
579 }
580 inline void StoreServerResponse::set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
581  _internal_set_modem_id(value);
582  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.StoreServerResponse.modem_id)
583 }
584 
585 // repeated .goby.acomms.protobuf.ModemTransmission inbox = 2;
586 inline int StoreServerResponse::_internal_inbox_size() const {
587  return inbox_.size();
588 }
589 inline int StoreServerResponse::inbox_size() const {
590  return _internal_inbox_size();
591 }
592 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerResponse::mutable_inbox(int index) {
593  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.StoreServerResponse.inbox)
594  return inbox_.Mutable(index);
595 }
596 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >*
597 StoreServerResponse::mutable_inbox() {
598  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.StoreServerResponse.inbox)
599  return &inbox_;
600 }
601 inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerResponse::_internal_inbox(int index) const {
602  return inbox_.Get(index);
603 }
604 inline const ::goby::acomms::protobuf::ModemTransmission& StoreServerResponse::inbox(int index) const {
605  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.StoreServerResponse.inbox)
606  return _internal_inbox(index);
607 }
608 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerResponse::_internal_add_inbox() {
609  return inbox_.Add();
610 }
611 inline ::goby::acomms::protobuf::ModemTransmission* StoreServerResponse::add_inbox() {
612  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.StoreServerResponse.inbox)
613  return _internal_add_inbox();
614 }
615 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission >&
616 StoreServerResponse::inbox() const {
617  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.StoreServerResponse.inbox)
618  return inbox_;
619 }
620 
621 // optional uint64 request_id = 3;
622 inline bool StoreServerResponse::_internal_has_request_id() const {
623  bool value = (_has_bits_[0] & 0x00000001u) != 0;
624  return value;
625 }
626 inline bool StoreServerResponse::has_request_id() const {
627  return _internal_has_request_id();
628 }
629 inline void StoreServerResponse::clear_request_id() {
630  request_id_ = PROTOBUF_ULONGLONG(0);
631  _has_bits_[0] &= ~0x00000001u;
632 }
633 inline ::PROTOBUF_NAMESPACE_ID::uint64 StoreServerResponse::_internal_request_id() const {
634  return request_id_;
635 }
636 inline ::PROTOBUF_NAMESPACE_ID::uint64 StoreServerResponse::request_id() const {
637  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.StoreServerResponse.request_id)
638  return _internal_request_id();
639 }
640 inline void StoreServerResponse::_internal_set_request_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
641  _has_bits_[0] |= 0x00000001u;
642  request_id_ = value;
643 }
644 inline void StoreServerResponse::set_request_id(::PROTOBUF_NAMESPACE_ID::uint64 value) {
645  _internal_set_request_id(value);
646  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.StoreServerResponse.request_id)
647 }
648 
649 #ifdef __GNUC__
650  #pragma GCC diagnostic pop
651 #endif // __GNUC__
652 // -------------------------------------------------------------------
653 
654 
655 // @@protoc_insertion_point(namespace_scope)
656 
657 } // namespace protobuf
658 } // namespace acomms
659 } // namespace goby
660 
661 // @@protoc_insertion_point(global_scope)
662 
663 #include <google/protobuf/port_undef.inc>
664 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_2eproto
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
StoreServerResponse(StoreServerResponse &&from) noexcept
StoreServerResponse & operator=(const StoreServerResponse &from)
StoreServerResponse(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::goby::acomms::protobuf::ModemTransmission * add_outbox()
void Swap(StoreServerRequest *other)
StoreServerResponse * New() const final
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::goby::acomms::protobuf::ModemTransmission > * mutable_outbox()
::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.
std::int32_t int32
std::uint32_t uint32
std::uint64_t uint64
#define ByteSizeLong
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)