Goby3  3.1.5
2024.05.14
store_server_driver.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_driver.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_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/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
38 #include "dccl/option_extensions.pb.h"
39 #include <boost/units/quantity.hpp>
40 #include <boost/units/absolute.hpp>
41 #include <boost/units/dimensionless_type.hpp>
42 #include <boost/units/make_scaled_unit.hpp>
43 // @@protoc_insertion_point(includes)
44 #include <google/protobuf/port_def.inc>
45 #define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_2eproto
46 PROTOBUF_NAMESPACE_OPEN
47 namespace internal {
48 class AnyMetadata;
49 } // namespace internal
50 PROTOBUF_NAMESPACE_CLOSE
51 
52 // Internal implementation detail -- do not use these members.
54  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
55  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
57  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
61  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
63 };
64 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_2eproto;
65 namespace goby {
66 namespace acomms {
67 namespace store_server {
68 namespace protobuf {
69 class Config;
70 class ConfigDefaultTypeInternal;
71 extern ConfigDefaultTypeInternal _Config_default_instance_;
72 class Transmission;
73 class TransmissionDefaultTypeInternal;
74 extern TransmissionDefaultTypeInternal _Transmission_default_instance_;
75 } // namespace protobuf
76 } // namespace store_server
77 } // namespace acomms
78 } // namespace goby
79 PROTOBUF_NAMESPACE_OPEN
80 template<> ::goby::acomms::store_server::protobuf::Config* Arena::CreateMaybeMessage<::goby::acomms::store_server::protobuf::Config>(Arena*);
81 template<> ::goby::acomms::store_server::protobuf::Transmission* Arena::CreateMaybeMessage<::goby::acomms::store_server::protobuf::Transmission>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
83 namespace goby {
84 namespace acomms {
85 namespace store_server {
86 namespace protobuf {
87 
91 };
96 
97 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Transmission_TransmissionType_descriptor();
98 template<typename T>
99 inline const std::string& Transmission_TransmissionType_Name(T enum_t_value) {
100  static_assert(::std::is_same<T, Transmission_TransmissionType>::value ||
101  ::std::is_integral<T>::value,
102  "Incorrect type passed to function Transmission_TransmissionType_Name.");
103  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
105 }
107  const std::string& name, Transmission_TransmissionType* value) {
108  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Transmission_TransmissionType>(
110 }
111 // ===================================================================
112 
113 class Config PROTOBUF_FINAL :
114  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.store_server.protobuf.Config) */ {
115  public:
116  inline Config() : Config(nullptr) {};
117  virtual ~Config();
118 
119  Config(const Config& from);
120  Config(Config&& from) noexcept
121  : Config() {
122  *this = ::std::move(from);
123  }
124 
125  inline Config& operator=(const Config& from) {
126  CopyFrom(from);
127  return *this;
128  }
129  inline Config& operator=(Config&& from) noexcept {
130  if (GetArena() == from.GetArena()) {
131  if (this != &from) InternalSwap(&from);
132  } else {
133  CopyFrom(from);
134  }
135  return *this;
136  }
137 
138  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
139  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
140  }
141  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
142  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
143  }
144 
145  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
146  return GetDescriptor();
147  }
148  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
149  return GetMetadataStatic().descriptor;
150  }
151  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
152  return GetMetadataStatic().reflection;
153  }
154  static const Config& default_instance();
155 
156  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
157  static inline const Config* internal_default_instance() {
158  return reinterpret_cast<const Config*>(
160  }
161  static constexpr int kIndexInFileMessages =
162  0;
163 
164  friend void swap(Config& a, Config& b) {
165  a.Swap(&b);
166  }
167  inline void Swap(Config* other) {
168  if (other == this) return;
169  if (GetArena() == other->GetArena()) {
170  InternalSwap(other);
171  } else {
172  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
173  }
174  }
175  void UnsafeArenaSwap(Config* other) {
176  if (other == this) return;
177  GOOGLE_DCHECK(GetArena() == other->GetArena());
178  InternalSwap(other);
179  }
180 
181  // implements Message ----------------------------------------------
182 
183  inline Config* New() const final {
184  return CreateMaybeMessage<Config>(nullptr);
185  }
186 
187  Config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
188  return CreateMaybeMessage<Config>(arena);
189  }
190  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
191  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
192  void CopyFrom(const Config& from);
193  void MergeFrom(const Config& from);
194  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
195  bool IsInitialized() const final;
196 
197  size_t ByteSizeLong() const final;
198  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
199  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
200  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
201  int GetCachedSize() const final { return _cached_size_.Get(); }
202 
203  private:
204  inline void SharedCtor();
205  inline void SharedDtor();
206  void SetCachedSize(int size) const final;
207  void InternalSwap(Config* other);
208  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
209  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
210  return "goby.acomms.store_server.protobuf.Config";
211  }
212  protected:
213  explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena);
214  private:
215  static void ArenaDtor(void* object);
216  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
217  public:
218 
219  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
220  private:
221  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
222  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_2eproto);
224  }
225 
226  public:
227 
228  // nested types ----------------------------------------------------
229 
230  // accessors -------------------------------------------------------
231 
232  enum : int {
233  kRateToBytesFieldNumber = 4,
234  kRateToFramesFieldNumber = 5,
235  kMaxFrameSizeFieldNumber = 2,
236  kQueryIntervalSecondsFieldNumber = 1,
237  kResetIntervalSecondsFieldNumber = 3,
238  };
239  // repeated int32 rate_to_bytes = 4;
240  int rate_to_bytes_size() const;
241  private:
242  int _internal_rate_to_bytes_size() const;
243  public:
245  private:
246  ::PROTOBUF_NAMESPACE_ID::int32 _internal_rate_to_bytes(int index) const;
247  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
248  _internal_rate_to_bytes() const;
249  void _internal_add_rate_to_bytes(::PROTOBUF_NAMESPACE_ID::int32 value);
250  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
251  _internal_mutable_rate_to_bytes();
252  public:
256  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
257  rate_to_bytes() const;
258  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
260 
261  // repeated int32 rate_to_frames = 5;
262  int rate_to_frames_size() const;
263  private:
264  int _internal_rate_to_frames_size() const;
265  public:
267  private:
268  ::PROTOBUF_NAMESPACE_ID::int32 _internal_rate_to_frames(int index) const;
269  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
270  _internal_rate_to_frames() const;
271  void _internal_add_rate_to_frames(::PROTOBUF_NAMESPACE_ID::int32 value);
272  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
273  _internal_mutable_rate_to_frames();
274  public:
278  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
279  rate_to_frames() const;
280  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
282 
283  // optional int32 max_frame_size = 2 [default = 65536];
284  bool has_max_frame_size() const;
285  private:
286  bool _internal_has_max_frame_size() const;
287  public:
291  private:
292  ::PROTOBUF_NAMESPACE_ID::int32 _internal_max_frame_size() const;
293  void _internal_set_max_frame_size(::PROTOBUF_NAMESPACE_ID::int32 value);
294  public:
295 
296  // optional double query_interval_seconds = 1 [default = 1];
298  private:
299  bool _internal_has_query_interval_seconds() const;
300  public:
302  double query_interval_seconds() const;
303  void set_query_interval_seconds(double value);
304  private:
305  double _internal_query_interval_seconds() const;
306  void _internal_set_query_interval_seconds(double value);
307  public:
308 
309  // optional double reset_interval_seconds = 3 [default = 120];
311  private:
312  bool _internal_has_reset_interval_seconds() const;
313  public:
315  double reset_interval_seconds() const;
316  void set_reset_interval_seconds(double value);
317  private:
318  double _internal_reset_interval_seconds() const;
319  void _internal_set_reset_interval_seconds(double value);
320  public:
321 
322  // @@protoc_insertion_point(class_scope:goby.acomms.store_server.protobuf.Config)
323  private:
324  class _Internal;
325 
326  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
327  typedef void InternalArenaConstructable_;
328  typedef void DestructorSkippable_;
329  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
330  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
331  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > rate_to_bytes_;
332  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > rate_to_frames_;
333  ::PROTOBUF_NAMESPACE_ID::int32 max_frame_size_;
334  double query_interval_seconds_;
335  double reset_interval_seconds_;
336  friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_2eproto;
337 };
338 // -------------------------------------------------------------------
339 
340 class Transmission PROTOBUF_FINAL :
341  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.store_server.protobuf.Transmission) */ {
342  public:
343  inline Transmission() : Transmission(nullptr) {};
344  virtual ~Transmission();
345 
346  Transmission(const Transmission& from);
347  Transmission(Transmission&& from) noexcept
348  : Transmission() {
349  *this = ::std::move(from);
350  }
351 
352  inline Transmission& operator=(const Transmission& from) {
353  CopyFrom(from);
354  return *this;
355  }
356  inline Transmission& operator=(Transmission&& from) noexcept {
357  if (GetArena() == from.GetArena()) {
358  if (this != &from) InternalSwap(&from);
359  } else {
360  CopyFrom(from);
361  }
362  return *this;
363  }
364 
365  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
366  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
367  }
368  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
369  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
370  }
371 
372  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
373  return GetDescriptor();
374  }
375  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
376  return GetMetadataStatic().descriptor;
377  }
378  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
379  return GetMetadataStatic().reflection;
380  }
381  static const Transmission& default_instance();
382 
383  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
384  static inline const Transmission* internal_default_instance() {
385  return reinterpret_cast<const Transmission*>(
387  }
388  static constexpr int kIndexInFileMessages =
389  1;
390 
391  friend void swap(Transmission& a, Transmission& b) {
392  a.Swap(&b);
393  }
394  inline void Swap(Transmission* other) {
395  if (other == this) return;
396  if (GetArena() == other->GetArena()) {
397  InternalSwap(other);
398  } else {
399  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
400  }
401  }
402  void UnsafeArenaSwap(Transmission* other) {
403  if (other == this) return;
404  GOOGLE_DCHECK(GetArena() == other->GetArena());
405  InternalSwap(other);
406  }
407 
408  // implements Message ----------------------------------------------
409 
410  inline Transmission* New() const final {
411  return CreateMaybeMessage<Transmission>(nullptr);
412  }
413 
414  Transmission* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
415  return CreateMaybeMessage<Transmission>(arena);
416  }
417  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
418  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
419  void CopyFrom(const Transmission& from);
420  void MergeFrom(const Transmission& from);
421  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
422  bool IsInitialized() const final;
423 
424  size_t ByteSizeLong() const final;
425  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
426  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
427  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
428  int GetCachedSize() const final { return _cached_size_.Get(); }
429 
430  private:
431  inline void SharedCtor();
432  inline void SharedDtor();
433  void SetCachedSize(int size) const final;
434  void InternalSwap(Transmission* other);
435  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
436  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
437  return "goby.acomms.store_server.protobuf.Transmission";
438  }
439  protected:
440  explicit Transmission(::PROTOBUF_NAMESPACE_ID::Arena* arena);
441  private:
442  static void ArenaDtor(void* object);
443  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
444  public:
445 
446  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
447  private:
448  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
449  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_2eproto);
451  }
452 
453  public:
454 
455  // nested types ----------------------------------------------------
456 
458  static constexpr TransmissionType BASE_TYPE =
460  static constexpr TransmissionType STORE_SERVER_DRIVER_POLL =
462  static inline bool TransmissionType_IsValid(int value) {
464  }
469  static constexpr int TransmissionType_ARRAYSIZE =
471  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
474  }
475  template<typename T>
476  static inline const std::string& TransmissionType_Name(T enum_t_value) {
477  static_assert(::std::is_same<T, TransmissionType>::value ||
478  ::std::is_integral<T>::value,
479  "Incorrect type passed to function TransmissionType_Name.");
480  return Transmission_TransmissionType_Name(enum_t_value);
481  }
482  static inline bool TransmissionType_Parse(const std::string& name,
483  TransmissionType* value) {
484  return Transmission_TransmissionType_Parse(name, value);
485  }
486 
487  // accessors -------------------------------------------------------
488 
489  enum : int {
490  kPollSrcFieldNumber = 1,
491  kPollDestFieldNumber = 2,
492  kTypeFieldNumber = 1321,
493  };
494  // optional int32 poll_src = 1 [(.dccl.field) = {
495  bool has_poll_src() const;
496  private:
497  bool _internal_has_poll_src() const;
498  public:
502  private:
503  ::PROTOBUF_NAMESPACE_ID::int32 _internal_poll_src() const;
504  void _internal_set_poll_src(::PROTOBUF_NAMESPACE_ID::int32 value);
505  public:
506 
507  // optional int32 poll_dest = 2 [(.dccl.field) = {
508  bool has_poll_dest() const;
509  private:
510  bool _internal_has_poll_dest() const;
511  public:
515  private:
516  ::PROTOBUF_NAMESPACE_ID::int32 _internal_poll_dest() const;
517  void _internal_set_poll_dest(::PROTOBUF_NAMESPACE_ID::int32 value);
518  public:
519 
520  // optional .goby.acomms.store_server.protobuf.Transmission.TransmissionType type = 1321 [default = BASE_TYPE];
521  bool has_type() const;
522  private:
523  bool _internal_has_type() const;
524  public:
525  void clear_type();
528  private:
531  public:
532 
533  // @@protoc_insertion_point(class_scope:goby.acomms.store_server.protobuf.Transmission)
534  private:
535  class _Internal;
536 
537  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
538  typedef void InternalArenaConstructable_;
539  typedef void DestructorSkippable_;
540  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
541  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
544  int type_;
545  friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_2eproto;
546 };
547 // ===================================================================
548 
549 static const int kConfigFieldNumber = 1321;
550 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
551  ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::store_server::protobuf::Config >, 11, false >
553 static const int kTransmissionFieldNumber = 1321;
554 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission,
555  ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::store_server::protobuf::Transmission >, 11, false >
557 
558 // ===================================================================
559 
560 #ifdef __GNUC__
561  #pragma GCC diagnostic push
562  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
563 #endif // __GNUC__
564 // Config
565 
566 // optional double query_interval_seconds = 1 [default = 1];
567 inline bool Config::_internal_has_query_interval_seconds() const {
568  bool value = (_has_bits_[0] & 0x00000002u) != 0;
569  return value;
570 }
571 inline bool Config::has_query_interval_seconds() const {
572  return _internal_has_query_interval_seconds();
573 }
574 inline void Config::clear_query_interval_seconds() {
575  query_interval_seconds_ = 1;
576  _has_bits_[0] &= ~0x00000002u;
577 }
578 inline double Config::_internal_query_interval_seconds() const {
579  return query_interval_seconds_;
580 }
581 inline double Config::query_interval_seconds() const {
582  // @@protoc_insertion_point(field_get:goby.acomms.store_server.protobuf.Config.query_interval_seconds)
583  return _internal_query_interval_seconds();
584 }
585 inline void Config::_internal_set_query_interval_seconds(double value) {
586  _has_bits_[0] |= 0x00000002u;
587  query_interval_seconds_ = value;
588 }
589 inline void Config::set_query_interval_seconds(double value) {
590  _internal_set_query_interval_seconds(value);
591  // @@protoc_insertion_point(field_set:goby.acomms.store_server.protobuf.Config.query_interval_seconds)
592 }
593 
594 // optional int32 max_frame_size = 2 [default = 65536];
595 inline bool Config::_internal_has_max_frame_size() const {
596  bool value = (_has_bits_[0] & 0x00000001u) != 0;
597  return value;
598 }
599 inline bool Config::has_max_frame_size() const {
600  return _internal_has_max_frame_size();
601 }
602 inline void Config::clear_max_frame_size() {
603  max_frame_size_ = 65536;
604  _has_bits_[0] &= ~0x00000001u;
605 }
606 inline ::PROTOBUF_NAMESPACE_ID::int32 Config::_internal_max_frame_size() const {
607  return max_frame_size_;
608 }
609 inline ::PROTOBUF_NAMESPACE_ID::int32 Config::max_frame_size() const {
610  // @@protoc_insertion_point(field_get:goby.acomms.store_server.protobuf.Config.max_frame_size)
611  return _internal_max_frame_size();
612 }
613 inline void Config::_internal_set_max_frame_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
614  _has_bits_[0] |= 0x00000001u;
615  max_frame_size_ = value;
616 }
617 inline void Config::set_max_frame_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
618  _internal_set_max_frame_size(value);
619  // @@protoc_insertion_point(field_set:goby.acomms.store_server.protobuf.Config.max_frame_size)
620 }
621 
622 // optional double reset_interval_seconds = 3 [default = 120];
623 inline bool Config::_internal_has_reset_interval_seconds() const {
624  bool value = (_has_bits_[0] & 0x00000004u) != 0;
625  return value;
626 }
627 inline bool Config::has_reset_interval_seconds() const {
628  return _internal_has_reset_interval_seconds();
629 }
630 inline void Config::clear_reset_interval_seconds() {
631  reset_interval_seconds_ = 120;
632  _has_bits_[0] &= ~0x00000004u;
633 }
634 inline double Config::_internal_reset_interval_seconds() const {
635  return reset_interval_seconds_;
636 }
637 inline double Config::reset_interval_seconds() const {
638  // @@protoc_insertion_point(field_get:goby.acomms.store_server.protobuf.Config.reset_interval_seconds)
639  return _internal_reset_interval_seconds();
640 }
641 inline void Config::_internal_set_reset_interval_seconds(double value) {
642  _has_bits_[0] |= 0x00000004u;
643  reset_interval_seconds_ = value;
644 }
645 inline void Config::set_reset_interval_seconds(double value) {
646  _internal_set_reset_interval_seconds(value);
647  // @@protoc_insertion_point(field_set:goby.acomms.store_server.protobuf.Config.reset_interval_seconds)
648 }
649 
650 // repeated int32 rate_to_bytes = 4;
651 inline int Config::_internal_rate_to_bytes_size() const {
652  return rate_to_bytes_.size();
653 }
654 inline int Config::rate_to_bytes_size() const {
655  return _internal_rate_to_bytes_size();
656 }
657 inline void Config::clear_rate_to_bytes() {
658  rate_to_bytes_.Clear();
659 }
660 inline ::PROTOBUF_NAMESPACE_ID::int32 Config::_internal_rate_to_bytes(int index) const {
661  return rate_to_bytes_.Get(index);
662 }
663 inline ::PROTOBUF_NAMESPACE_ID::int32 Config::rate_to_bytes(int index) const {
664  // @@protoc_insertion_point(field_get:goby.acomms.store_server.protobuf.Config.rate_to_bytes)
665  return _internal_rate_to_bytes(index);
666 }
667 inline void Config::set_rate_to_bytes(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
668  rate_to_bytes_.Set(index, value);
669  // @@protoc_insertion_point(field_set:goby.acomms.store_server.protobuf.Config.rate_to_bytes)
670 }
671 inline void Config::_internal_add_rate_to_bytes(::PROTOBUF_NAMESPACE_ID::int32 value) {
672  rate_to_bytes_.Add(value);
673 }
674 inline void Config::add_rate_to_bytes(::PROTOBUF_NAMESPACE_ID::int32 value) {
675  _internal_add_rate_to_bytes(value);
676  // @@protoc_insertion_point(field_add:goby.acomms.store_server.protobuf.Config.rate_to_bytes)
677 }
678 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
679 Config::_internal_rate_to_bytes() const {
680  return rate_to_bytes_;
681 }
682 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
683 Config::rate_to_bytes() const {
684  // @@protoc_insertion_point(field_list:goby.acomms.store_server.protobuf.Config.rate_to_bytes)
685  return _internal_rate_to_bytes();
686 }
687 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
688 Config::_internal_mutable_rate_to_bytes() {
689  return &rate_to_bytes_;
690 }
691 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
692 Config::mutable_rate_to_bytes() {
693  // @@protoc_insertion_point(field_mutable_list:goby.acomms.store_server.protobuf.Config.rate_to_bytes)
694  return _internal_mutable_rate_to_bytes();
695 }
696 
697 // repeated int32 rate_to_frames = 5;
698 inline int Config::_internal_rate_to_frames_size() const {
699  return rate_to_frames_.size();
700 }
701 inline int Config::rate_to_frames_size() const {
702  return _internal_rate_to_frames_size();
703 }
704 inline void Config::clear_rate_to_frames() {
705  rate_to_frames_.Clear();
706 }
707 inline ::PROTOBUF_NAMESPACE_ID::int32 Config::_internal_rate_to_frames(int index) const {
708  return rate_to_frames_.Get(index);
709 }
710 inline ::PROTOBUF_NAMESPACE_ID::int32 Config::rate_to_frames(int index) const {
711  // @@protoc_insertion_point(field_get:goby.acomms.store_server.protobuf.Config.rate_to_frames)
712  return _internal_rate_to_frames(index);
713 }
714 inline void Config::set_rate_to_frames(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
715  rate_to_frames_.Set(index, value);
716  // @@protoc_insertion_point(field_set:goby.acomms.store_server.protobuf.Config.rate_to_frames)
717 }
718 inline void Config::_internal_add_rate_to_frames(::PROTOBUF_NAMESPACE_ID::int32 value) {
719  rate_to_frames_.Add(value);
720 }
721 inline void Config::add_rate_to_frames(::PROTOBUF_NAMESPACE_ID::int32 value) {
722  _internal_add_rate_to_frames(value);
723  // @@protoc_insertion_point(field_add:goby.acomms.store_server.protobuf.Config.rate_to_frames)
724 }
725 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
726 Config::_internal_rate_to_frames() const {
727  return rate_to_frames_;
728 }
729 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
730 Config::rate_to_frames() const {
731  // @@protoc_insertion_point(field_list:goby.acomms.store_server.protobuf.Config.rate_to_frames)
732  return _internal_rate_to_frames();
733 }
734 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
735 Config::_internal_mutable_rate_to_frames() {
736  return &rate_to_frames_;
737 }
738 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
739 Config::mutable_rate_to_frames() {
740  // @@protoc_insertion_point(field_mutable_list:goby.acomms.store_server.protobuf.Config.rate_to_frames)
741  return _internal_mutable_rate_to_frames();
742 }
743 
744 // -------------------------------------------------------------------
745 
746 // Transmission
747 
748 // optional .goby.acomms.store_server.protobuf.Transmission.TransmissionType type = 1321 [default = BASE_TYPE];
749 inline bool Transmission::_internal_has_type() const {
750  bool value = (_has_bits_[0] & 0x00000004u) != 0;
751  return value;
752 }
753 inline bool Transmission::has_type() const {
754  return _internal_has_type();
755 }
756 inline void Transmission::clear_type() {
757  type_ = 0;
758  _has_bits_[0] &= ~0x00000004u;
759 }
762 }
764  // @@protoc_insertion_point(field_get:goby.acomms.store_server.protobuf.Transmission.type)
765  return _internal_type();
766 }
767 inline void Transmission::_internal_set_type(::goby::acomms::store_server::protobuf::Transmission_TransmissionType value) {
769  _has_bits_[0] |= 0x00000004u;
770  type_ = value;
771 }
772 inline void Transmission::set_type(::goby::acomms::store_server::protobuf::Transmission_TransmissionType value) {
773  _internal_set_type(value);
774  // @@protoc_insertion_point(field_set:goby.acomms.store_server.protobuf.Transmission.type)
775 }
776 
777 // optional int32 poll_src = 1 [(.dccl.field) = {
778 inline bool Transmission::_internal_has_poll_src() const {
779  bool value = (_has_bits_[0] & 0x00000001u) != 0;
780  return value;
781 }
782 inline bool Transmission::has_poll_src() const {
783  return _internal_has_poll_src();
784 }
785 inline void Transmission::clear_poll_src() {
786  poll_src_ = 0;
787  _has_bits_[0] &= ~0x00000001u;
788 }
789 inline ::PROTOBUF_NAMESPACE_ID::int32 Transmission::_internal_poll_src() const {
790  return poll_src_;
791 }
792 inline ::PROTOBUF_NAMESPACE_ID::int32 Transmission::poll_src() const {
793  // @@protoc_insertion_point(field_get:goby.acomms.store_server.protobuf.Transmission.poll_src)
794  return _internal_poll_src();
795 }
796 inline void Transmission::_internal_set_poll_src(::PROTOBUF_NAMESPACE_ID::int32 value) {
797  _has_bits_[0] |= 0x00000001u;
798  poll_src_ = value;
799 }
800 inline void Transmission::set_poll_src(::PROTOBUF_NAMESPACE_ID::int32 value) {
801  _internal_set_poll_src(value);
802  // @@protoc_insertion_point(field_set:goby.acomms.store_server.protobuf.Transmission.poll_src)
803 }
804 
805 // optional int32 poll_dest = 2 [(.dccl.field) = {
806 inline bool Transmission::_internal_has_poll_dest() const {
807  bool value = (_has_bits_[0] & 0x00000002u) != 0;
808  return value;
809 }
810 inline bool Transmission::has_poll_dest() const {
811  return _internal_has_poll_dest();
812 }
813 inline void Transmission::clear_poll_dest() {
814  poll_dest_ = 0;
815  _has_bits_[0] &= ~0x00000002u;
816 }
817 inline ::PROTOBUF_NAMESPACE_ID::int32 Transmission::_internal_poll_dest() const {
818  return poll_dest_;
819 }
820 inline ::PROTOBUF_NAMESPACE_ID::int32 Transmission::poll_dest() const {
821  // @@protoc_insertion_point(field_get:goby.acomms.store_server.protobuf.Transmission.poll_dest)
822  return _internal_poll_dest();
823 }
824 inline void Transmission::_internal_set_poll_dest(::PROTOBUF_NAMESPACE_ID::int32 value) {
825  _has_bits_[0] |= 0x00000002u;
826  poll_dest_ = value;
827 }
828 inline void Transmission::set_poll_dest(::PROTOBUF_NAMESPACE_ID::int32 value) {
829  _internal_set_poll_dest(value);
830  // @@protoc_insertion_point(field_set:goby.acomms.store_server.protobuf.Transmission.poll_dest)
831 }
832 
833 #ifdef __GNUC__
834  #pragma GCC diagnostic pop
835 #endif // __GNUC__
836 // -------------------------------------------------------------------
837 
838 
839 // @@protoc_insertion_point(namespace_scope)
840 
841 } // namespace protobuf
842 } // namespace store_server
843 } // namespace acomms
844 } // namespace goby
845 
846 PROTOBUF_NAMESPACE_OPEN
847 
848 template <> struct is_proto_enum< ::goby::acomms::store_server::protobuf::Transmission_TransmissionType> : ::std::true_type {};
849 template <>
850 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::store_server::protobuf::Transmission_TransmissionType>() {
852 }
853 
854 PROTOBUF_NAMESPACE_CLOSE
855 
856 // @@protoc_insertion_point(global_scope)
857 
858 #include <google/protobuf/port_undef.inc>
859 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_2eproto
::PROTOBUF_NAMESPACE_ID::int32 poll_src() const
void set_poll_dest(::PROTOBUF_NAMESPACE_ID::int32 value)
static bool TransmissionType_Parse(const std::string &name, TransmissionType *value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::PROTOBUF_NAMESPACE_ID::int32 poll_dest() const
static const std::string & TransmissionType_Name(T enum_t_value)
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_rate_to_bytes()
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_rate_to_frames()
void set_poll_src(::PROTOBUF_NAMESPACE_ID::int32 value)
void add_rate_to_frames(::PROTOBUF_NAMESPACE_ID::int32 value)
void set_rate_to_frames(int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
Transmission & operator=(const Transmission &from)
::PROTOBUF_NAMESPACE_ID::int32 rate_to_bytes(int index) const
::goby::acomms::store_server::protobuf::Transmission_TransmissionType type() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Transmission(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_max_frame_size(::PROTOBUF_NAMESPACE_ID::int32 value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_rate_to_bytes(int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Transmission * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & rate_to_bytes() const
::PROTOBUF_NAMESPACE_ID::int32 max_frame_size() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_type(::goby::acomms::store_server::protobuf::Transmission_TransmissionType value)
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & rate_to_frames() const
void add_rate_to_bytes(::PROTOBUF_NAMESPACE_ID::int32 value)
friend void swap(Transmission &a, Transmission &b)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TransmissionType_descriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Transmission & operator=(Transmission &&from) noexcept
::PROTOBUF_NAMESPACE_ID::int32 rate_to_frames(int index) const
@ value
the parser finished reading a JSON value
constexpr TransmissionType TransmissionType_MAX
constexpr TransmissionType TransmissionType_MIN
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::store_server::protobuf::Transmission >, 11, false > transmission
constexpr Transmission_TransmissionType Transmission_TransmissionType_TransmissionType_MIN
ConfigDefaultTypeInternal _Config_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Transmission_TransmissionType_descriptor()
bool Transmission_TransmissionType_Parse(const std::string &name, Transmission_TransmissionType *value)
TransmissionDefaultTypeInternal _Transmission_default_instance_
constexpr int Transmission_TransmissionType_TransmissionType_ARRAYSIZE
bool Transmission_TransmissionType_IsValid(int value)
const std::string & Transmission_TransmissionType_Name(T enum_t_value)
constexpr Transmission_TransmissionType Transmission_TransmissionType_TransmissionType_MAX
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::store_server::protobuf::Config >, 11, false > config
The global namespace for the Goby project.
std::int32_t int32
std::uint32_t uint32
type
Generic JSON types used in JWTs.
Definition: jwt.h:2072
#define ByteSizeLong
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fstore_5fserver_5fdriver_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)