Goby3  3.1.5
2024.05.14
benthos_atm900.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/acomms/protobuf/benthos_atm900.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_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>
39 #include "dccl/option_extensions.pb.h"
40 #include <boost/units/quantity.hpp>
41 #include <boost/units/absolute.hpp>
42 #include <boost/units/dimensionless_type.hpp>
43 #include <boost/units/make_scaled_unit.hpp>
44 
45 #include <boost/units/systems/si.hpp>
46 
47 #include <boost/units/base_units/si/second.hpp>
48 // @@protoc_insertion_point(includes)
49 #include <google/protobuf/port_def.inc>
50 #define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto
51 PROTOBUF_NAMESPACE_OPEN
52 namespace internal {
53 class AnyMetadata;
54 } // namespace internal
55 PROTOBUF_NAMESPACE_CLOSE
56 
57 // Internal implementation detail -- do not use these members.
59  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5]
64  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
65  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
66  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
68 };
69 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto;
70 namespace goby {
71 namespace acomms {
72 namespace benthos {
73 namespace protobuf {
74 class BenthosHeader;
75 class BenthosHeaderDefaultTypeInternal;
76 extern BenthosHeaderDefaultTypeInternal _BenthosHeader_default_instance_;
77 class Config;
78 class ConfigDefaultTypeInternal;
79 extern ConfigDefaultTypeInternal _Config_default_instance_;
80 class RangingReply;
81 class RangingReplyDefaultTypeInternal;
82 extern RangingReplyDefaultTypeInternal _RangingReply_default_instance_;
83 class ReceiveStatistics;
84 class ReceiveStatisticsDefaultTypeInternal;
85 extern ReceiveStatisticsDefaultTypeInternal _ReceiveStatistics_default_instance_;
86 class Transmission;
87 class TransmissionDefaultTypeInternal;
88 extern TransmissionDefaultTypeInternal _Transmission_default_instance_;
89 } // namespace protobuf
90 } // namespace benthos
91 } // namespace acomms
92 } // namespace goby
93 PROTOBUF_NAMESPACE_OPEN
94 template<> ::goby::acomms::benthos::protobuf::BenthosHeader* Arena::CreateMaybeMessage<::goby::acomms::benthos::protobuf::BenthosHeader>(Arena*);
95 template<> ::goby::acomms::benthos::protobuf::Config* Arena::CreateMaybeMessage<::goby::acomms::benthos::protobuf::Config>(Arena*);
96 template<> ::goby::acomms::benthos::protobuf::RangingReply* Arena::CreateMaybeMessage<::goby::acomms::benthos::protobuf::RangingReply>(Arena*);
97 template<> ::goby::acomms::benthos::protobuf::ReceiveStatistics* Arena::CreateMaybeMessage<::goby::acomms::benthos::protobuf::ReceiveStatistics>(Arena*);
98 template<> ::goby::acomms::benthos::protobuf::Transmission* Arena::CreateMaybeMessage<::goby::acomms::benthos::protobuf::Transmission>(Arena*);
99 PROTOBUF_NAMESPACE_CLOSE
100 namespace goby {
101 namespace acomms {
102 namespace benthos {
103 namespace protobuf {
104 
108 };
113 
114 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ReceiveStatistics_CRCState_descriptor();
115 template<typename T>
116 inline const std::string& ReceiveStatistics_CRCState_Name(T enum_t_value) {
117  static_assert(::std::is_same<T, ReceiveStatistics_CRCState>::value ||
118  ::std::is_integral<T>::value,
119  "Incorrect type passed to function ReceiveStatistics_CRCState_Name.");
120  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
121  ReceiveStatistics_CRCState_descriptor(), enum_t_value);
122 }
124  const std::string& name, ReceiveStatistics_CRCState* value) {
125  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ReceiveStatistics_CRCState>(
127 }
128 enum TransmissionType : int {
131 };
132 bool TransmissionType_IsValid(int value);
136 
137 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TransmissionType_descriptor();
138 template<typename T>
139 inline const std::string& TransmissionType_Name(T enum_t_value) {
140  static_assert(::std::is_same<T, TransmissionType>::value ||
141  ::std::is_integral<T>::value,
142  "Incorrect type passed to function TransmissionType_Name.");
143  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
144  TransmissionType_descriptor(), enum_t_value);
145 }
147  const std::string& name, TransmissionType* value) {
148  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<TransmissionType>(
149  TransmissionType_descriptor(), name, value);
150 }
151 // ===================================================================
152 
153 class Config PROTOBUF_FINAL :
154  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.benthos.protobuf.Config) */ {
155  public:
156  inline Config() : Config(nullptr) {};
157  virtual ~Config();
158 
159  Config(const Config& from);
160  Config(Config&& from) noexcept
161  : Config() {
162  *this = ::std::move(from);
163  }
164 
165  inline Config& operator=(const Config& from) {
166  CopyFrom(from);
167  return *this;
168  }
169  inline Config& operator=(Config&& from) noexcept {
170  if (GetArena() == from.GetArena()) {
171  if (this != &from) InternalSwap(&from);
172  } else {
173  CopyFrom(from);
174  }
175  return *this;
176  }
177 
178  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
179  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
180  }
181  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
182  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
183  }
184 
185  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
186  return GetDescriptor();
187  }
188  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
189  return GetMetadataStatic().descriptor;
190  }
191  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
192  return GetMetadataStatic().reflection;
193  }
194  static const Config& default_instance();
195 
196  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
197  static inline const Config* internal_default_instance() {
198  return reinterpret_cast<const Config*>(
200  }
201  static constexpr int kIndexInFileMessages =
202  0;
203 
204  friend void swap(Config& a, Config& b) {
205  a.Swap(&b);
206  }
207  inline void Swap(Config* other) {
208  if (other == this) return;
209  if (GetArena() == other->GetArena()) {
210  InternalSwap(other);
211  } else {
212  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
213  }
214  }
215  void UnsafeArenaSwap(Config* other) {
216  if (other == this) return;
217  GOOGLE_DCHECK(GetArena() == other->GetArena());
218  InternalSwap(other);
219  }
220 
221  // implements Message ----------------------------------------------
222 
223  inline Config* New() const final {
224  return CreateMaybeMessage<Config>(nullptr);
225  }
226 
227  Config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
228  return CreateMaybeMessage<Config>(arena);
229  }
230  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
231  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
232  void CopyFrom(const Config& from);
233  void MergeFrom(const Config& from);
234  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
235  bool IsInitialized() const final;
236 
237  size_t ByteSizeLong() const final;
238  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
239  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
240  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
241  int GetCachedSize() const final { return _cached_size_.Get(); }
242 
243  private:
244  inline void SharedCtor();
245  inline void SharedDtor();
246  void SetCachedSize(int size) const final;
247  void InternalSwap(Config* other);
248  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
249  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
250  return "goby.acomms.benthos.protobuf.Config";
251  }
252  protected:
253  explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena);
254  private:
255  static void ArenaDtor(void* object);
256  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
257  public:
258 
259  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
260  private:
261  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
262  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto);
264  }
265 
266  public:
267 
268  // nested types ----------------------------------------------------
269 
270  // accessors -------------------------------------------------------
271 
272  enum : int {
274  kConfigLoadFieldNumber = 2,
275  kFactoryResetFieldNumber = 1,
276  kStartTimeoutFieldNumber = 5,
277  kMaxFrameSizeFieldNumber = 6,
278  };
279  // repeated string config = 3 [(.goby.field) = {
280  int config_size() const;
281  private:
282  int _internal_config_size() const;
283  public:
284  void clear_config();
285  const std::string& config(int index) const;
286  std::string* mutable_config(int index);
287  void set_config(int index, const std::string& value);
288  void set_config(int index, std::string&& value);
289  void set_config(int index, const char* value);
290  void set_config(int index, const char* value, size_t size);
291  std::string* add_config();
292  void add_config(const std::string& value);
293  void add_config(std::string&& value);
294  void add_config(const char* value);
295  void add_config(const char* value, size_t size);
296  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& config() const;
297  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_config();
298  private:
299  const std::string& _internal_config(int index) const;
300  std::string* _internal_add_config();
301  public:
302 
303  // optional string config_load = 2 [(.goby.field) = {
304  bool has_config_load() const;
305  private:
306  bool _internal_has_config_load() const;
307  public:
309  const std::string& config_load() const;
310  void set_config_load(const std::string& value);
311  void set_config_load(std::string&& value);
312  void set_config_load(const char* value);
313  void set_config_load(const char* value, size_t size);
314  std::string* mutable_config_load();
315  std::string* release_config_load();
316  void set_allocated_config_load(std::string* config_load);
317  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
318  " string fields are deprecated and will be removed in a"
319  " future release.")
320  std::string* unsafe_arena_release_config_load();
321  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
322  " string fields are deprecated and will be removed in a"
323  " future release.")
324  void unsafe_arena_set_allocated_config_load(
325  std::string* config_load);
326  private:
327  const std::string& _internal_config_load() const;
328  void _internal_set_config_load(const std::string& value);
329  std::string* _internal_mutable_config_load();
330  public:
331 
332  // optional bool factory_reset = 1 [default = false, (.goby.field) = {
333  bool has_factory_reset() const;
334  private:
335  bool _internal_has_factory_reset() const;
336  public:
337  void clear_factory_reset();
338  bool factory_reset() const;
339  void set_factory_reset(bool value);
340  private:
341  bool _internal_factory_reset() const;
342  void _internal_set_factory_reset(bool value);
343  public:
344 
345  // optional int32 start_timeout = 5 [default = 20, (.goby.field) = {
346  bool has_start_timeout() const;
347  private:
348  bool _internal_has_start_timeout() const;
349  public:
350  void clear_start_timeout();
351  ::PROTOBUF_NAMESPACE_ID::int32 start_timeout() const;
352  void set_start_timeout(::PROTOBUF_NAMESPACE_ID::int32 value);
353  private:
354  ::PROTOBUF_NAMESPACE_ID::int32 _internal_start_timeout() const;
355  void _internal_set_start_timeout(::PROTOBUF_NAMESPACE_ID::int32 value);
356  public:
357 
358  // optional uint32 max_frame_size = 6 [default = 64, (.goby.field) = {
359  bool has_max_frame_size() const;
360  private:
361  bool _internal_has_max_frame_size() const;
362  public:
363  void clear_max_frame_size();
364  ::PROTOBUF_NAMESPACE_ID::uint32 max_frame_size() const;
365  void set_max_frame_size(::PROTOBUF_NAMESPACE_ID::uint32 value);
366  private:
367  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_max_frame_size() const;
368  void _internal_set_max_frame_size(::PROTOBUF_NAMESPACE_ID::uint32 value);
369  public:
370 
371  // @@protoc_insertion_point(class_scope:goby.acomms.benthos.protobuf.Config)
372  private:
373  class _Internal;
374 
375  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
376  typedef void InternalArenaConstructable_;
377  typedef void DestructorSkippable_;
378  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
379  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
380  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> config_;
381  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr config_load_;
382  bool factory_reset_;
383  ::PROTOBUF_NAMESPACE_ID::int32 start_timeout_;
384  ::PROTOBUF_NAMESPACE_ID::uint32 max_frame_size_;
386 };
387 // -------------------------------------------------------------------
388 
389 class BenthosHeader PROTOBUF_FINAL :
390  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.benthos.protobuf.BenthosHeader) */ {
391  public:
392  inline BenthosHeader() : BenthosHeader(nullptr) {};
393  virtual ~BenthosHeader();
394 
395  BenthosHeader(const BenthosHeader& from);
396  BenthosHeader(BenthosHeader&& from) noexcept
397  : BenthosHeader() {
398  *this = ::std::move(from);
399  }
400 
401  inline BenthosHeader& operator=(const BenthosHeader& from) {
402  CopyFrom(from);
403  return *this;
404  }
405  inline BenthosHeader& operator=(BenthosHeader&& from) noexcept {
406  if (GetArena() == from.GetArena()) {
407  if (this != &from) InternalSwap(&from);
408  } else {
409  CopyFrom(from);
410  }
411  return *this;
412  }
413 
414  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
415  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
416  }
417  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
418  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
419  }
420 
421  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
422  return GetDescriptor();
423  }
424  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
425  return GetMetadataStatic().descriptor;
426  }
427  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
428  return GetMetadataStatic().reflection;
429  }
430  static const BenthosHeader& default_instance();
431 
432  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
433  static inline const BenthosHeader* internal_default_instance() {
434  return reinterpret_cast<const BenthosHeader*>(
436  }
437  static constexpr int kIndexInFileMessages =
438  1;
439 
440  friend void swap(BenthosHeader& a, BenthosHeader& b) {
441  a.Swap(&b);
442  }
443  inline void Swap(BenthosHeader* other) {
444  if (other == this) return;
445  if (GetArena() == other->GetArena()) {
446  InternalSwap(other);
447  } else {
448  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
449  }
450  }
451  void UnsafeArenaSwap(BenthosHeader* other) {
452  if (other == this) return;
453  GOOGLE_DCHECK(GetArena() == other->GetArena());
454  InternalSwap(other);
455  }
456 
457  // implements Message ----------------------------------------------
458 
459  inline BenthosHeader* New() const final {
460  return CreateMaybeMessage<BenthosHeader>(nullptr);
461  }
462 
463  BenthosHeader* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
464  return CreateMaybeMessage<BenthosHeader>(arena);
465  }
466  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
467  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
468  void CopyFrom(const BenthosHeader& from);
469  void MergeFrom(const BenthosHeader& from);
470  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
471  bool IsInitialized() const final;
472 
473  size_t ByteSizeLong() const final;
474  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
475  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
476  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
477  int GetCachedSize() const final { return _cached_size_.Get(); }
478 
479  private:
480  inline void SharedCtor();
481  inline void SharedDtor();
482  void SetCachedSize(int size) const final;
483  void InternalSwap(BenthosHeader* other);
484  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
485  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
486  return "goby.acomms.benthos.protobuf.BenthosHeader";
487  }
488  protected:
489  explicit BenthosHeader(::PROTOBUF_NAMESPACE_ID::Arena* arena);
490  private:
491  static void ArenaDtor(void* object);
492  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
493  public:
494 
495  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
496  private:
497  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
498  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto);
500  }
501 
502  public:
503 
504  // nested types ----------------------------------------------------
505 
506  // accessors -------------------------------------------------------
507 
508  enum : int {
509  kAckedFrameFieldNumber = 4,
510  kAckRequestedFieldNumber = 3,
511  kTypeFieldNumber = 1,
512  };
513  // repeated int32 acked_frame = 4 [(.dccl.field) = {
514  int acked_frame_size() const;
515  private:
516  int _internal_acked_frame_size() const;
517  public:
519  private:
520  ::PROTOBUF_NAMESPACE_ID::int32 _internal_acked_frame(int index) const;
521  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
522  _internal_acked_frame() const;
523  void _internal_add_acked_frame(::PROTOBUF_NAMESPACE_ID::int32 value);
524  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
525  _internal_mutable_acked_frame();
526  public:
530  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
531  acked_frame() const;
532  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
534 
535  // optional bool ack_requested = 3;
536  bool has_ack_requested() const;
537  private:
538  bool _internal_has_ack_requested() const;
539  public:
541  bool ack_requested() const;
542  void set_ack_requested(bool value);
543  private:
544  bool _internal_ack_requested() const;
545  void _internal_set_ack_requested(bool value);
546  public:
547 
548  // required .goby.acomms.protobuf.ModemTransmission.TransmissionType type = 1;
549  bool has_type() const;
550  private:
551  bool _internal_has_type() const;
552  public:
553  void clear_type();
556  private:
558  void _internal_set_type(::goby::acomms::protobuf::ModemTransmission_TransmissionType value);
559  public:
560 
561  // @@protoc_insertion_point(class_scope:goby.acomms.benthos.protobuf.BenthosHeader)
562  private:
563  class _Internal;
564 
565  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
566  typedef void InternalArenaConstructable_;
567  typedef void DestructorSkippable_;
568  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
569  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
570  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > acked_frame_;
571  bool ack_requested_;
572  int type_;
573  friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto;
574 };
575 // -------------------------------------------------------------------
576 
577 class ReceiveStatistics PROTOBUF_FINAL :
578  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.benthos.protobuf.ReceiveStatistics) */ {
579  public:
580  inline ReceiveStatistics() : ReceiveStatistics(nullptr) {};
582 
583  ReceiveStatistics(const ReceiveStatistics& from);
584  ReceiveStatistics(ReceiveStatistics&& from) noexcept
585  : ReceiveStatistics() {
586  *this = ::std::move(from);
587  }
588 
589  inline ReceiveStatistics& operator=(const ReceiveStatistics& from) {
590  CopyFrom(from);
591  return *this;
592  }
593  inline ReceiveStatistics& operator=(ReceiveStatistics&& from) noexcept {
594  if (GetArena() == from.GetArena()) {
595  if (this != &from) InternalSwap(&from);
596  } else {
597  CopyFrom(from);
598  }
599  return *this;
600  }
601 
602  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
603  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
604  }
605  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
606  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
607  }
608 
609  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
610  return GetDescriptor();
611  }
612  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
613  return GetMetadataStatic().descriptor;
614  }
615  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
616  return GetMetadataStatic().reflection;
617  }
618  static const ReceiveStatistics& default_instance();
619 
620  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
621  static inline const ReceiveStatistics* internal_default_instance() {
622  return reinterpret_cast<const ReceiveStatistics*>(
624  }
625  static constexpr int kIndexInFileMessages =
626  2;
627 
628  friend void swap(ReceiveStatistics& a, ReceiveStatistics& b) {
629  a.Swap(&b);
630  }
631  inline void Swap(ReceiveStatistics* other) {
632  if (other == this) return;
633  if (GetArena() == other->GetArena()) {
634  InternalSwap(other);
635  } else {
636  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
637  }
638  }
639  void UnsafeArenaSwap(ReceiveStatistics* other) {
640  if (other == this) return;
641  GOOGLE_DCHECK(GetArena() == other->GetArena());
642  InternalSwap(other);
643  }
644 
645  // implements Message ----------------------------------------------
646 
647  inline ReceiveStatistics* New() const final {
648  return CreateMaybeMessage<ReceiveStatistics>(nullptr);
649  }
650 
651  ReceiveStatistics* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
652  return CreateMaybeMessage<ReceiveStatistics>(arena);
653  }
654  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
655  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
656  void CopyFrom(const ReceiveStatistics& from);
657  void MergeFrom(const ReceiveStatistics& from);
658  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
659  bool IsInitialized() const final;
660 
661  size_t ByteSizeLong() const final;
662  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
663  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
664  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
665  int GetCachedSize() const final { return _cached_size_.Get(); }
666 
667  private:
668  inline void SharedCtor();
669  inline void SharedDtor();
670  void SetCachedSize(int size) const final;
671  void InternalSwap(ReceiveStatistics* other);
672  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
673  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
674  return "goby.acomms.benthos.protobuf.ReceiveStatistics";
675  }
676  protected:
677  explicit ReceiveStatistics(::PROTOBUF_NAMESPACE_ID::Arena* arena);
678  private:
679  static void ArenaDtor(void* object);
680  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
681  public:
682 
683  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
684  private:
685  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
686  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto);
688  }
689 
690  public:
691 
692  // nested types ----------------------------------------------------
693 
695  static constexpr CRCState CRC_PASS =
697  static constexpr CRCState CRC_FAIL =
699  static inline bool CRCState_IsValid(int value) {
701  }
702  static constexpr CRCState CRCState_MIN =
704  static constexpr CRCState CRCState_MAX =
706  static constexpr int CRCState_ARRAYSIZE =
708  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
711  }
712  template<typename T>
713  static inline const std::string& CRCState_Name(T enum_t_value) {
714  static_assert(::std::is_same<T, CRCState>::value ||
715  ::std::is_integral<T>::value,
716  "Incorrect type passed to function CRCState_Name.");
717  return ReceiveStatistics_CRCState_Name(enum_t_value);
718  }
719  static inline bool CRCState_Parse(const std::string& name,
720  CRCState* value) {
721  return ReceiveStatistics_CRCState_Parse(name, value);
722  }
723 
724  // accessors -------------------------------------------------------
725 
726  enum : int {
727  kMultipathDelayFieldNumber = 2,
728  kSnrFieldNumber = 3,
729  kRelativeSpeedFieldNumber = 4,
730  kAutoGainControlFieldNumber = 5,
731  kCorrectedChannelErrorFieldNumber = 6,
732  kCrcFieldNumber = 1,
733  };
734  // optional float multipath_delay = 2 [(.dccl.field) = {
735  bool has_multipath_delay() const;
736  private:
737  bool _internal_has_multipath_delay() const;
738  public:
740  float multipath_delay() const;
741  void set_multipath_delay(float value);
742  private:
743  float _internal_multipath_delay() const;
744  void _internal_set_multipath_delay(float value);
745  public:
746 
747  // optional float snr = 3;
748  bool has_snr() const;
749  private:
750  bool _internal_has_snr() const;
751  public:
752  void clear_snr();
753  float snr() const;
754  void set_snr(float value);
755  private:
756  float _internal_snr() const;
757  void _internal_set_snr(float value);
758  public:
759 
760  // optional float relative_speed = 4 [(.dccl.field) = {
761  bool has_relative_speed() const;
762  private:
763  bool _internal_has_relative_speed() const;
764  public:
766  float relative_speed() const;
767  void set_relative_speed(float value);
768  private:
769  float _internal_relative_speed() const;
770  void _internal_set_relative_speed(float value);
771  public:
772 
773  // optional float auto_gain_control = 5;
774  bool has_auto_gain_control() const;
775  private:
776  bool _internal_has_auto_gain_control() const;
777  public:
779  float auto_gain_control() const;
780  void set_auto_gain_control(float value);
781  private:
782  float _internal_auto_gain_control() const;
783  void _internal_set_auto_gain_control(float value);
784  public:
785 
786  // optional int32 corrected_channel_error = 6;
788  private:
789  bool _internal_has_corrected_channel_error() const;
790  public:
794  private:
795  ::PROTOBUF_NAMESPACE_ID::int32 _internal_corrected_channel_error() const;
796  void _internal_set_corrected_channel_error(::PROTOBUF_NAMESPACE_ID::int32 value);
797  public:
798 
799  // required .goby.acomms.benthos.protobuf.ReceiveStatistics.CRCState crc = 1;
800  bool has_crc() const;
801  private:
802  bool _internal_has_crc() const;
803  public:
804  void clear_crc();
807  private:
809  void _internal_set_crc(::goby::acomms::benthos::protobuf::ReceiveStatistics_CRCState value);
810  public:
811 
813 
814  typedef boost::units::unit<multipath_delay_dimension,boost::units::si::system> multipath_delay_unit;
815 
816  template<typename Quantity >
817  void set_multipath_delay_with_units(Quantity value_w_units)
818  { set_multipath_delay(boost::units::quantity<multipath_delay_unit,float >(value_w_units).value() ); };
819 
820  template<typename Quantity >
821  Quantity multipath_delay_with_units() const
822  { return Quantity(multipath_delay() * multipath_delay_unit()); };
823 
824  boost::units::quantity< multipath_delay_unit,float > multipath_delay_with_units() const
825  { return multipath_delay_with_units<boost::units::quantity< multipath_delay_unit,float > >(); };
826 
827  typedef boost::units::derived_dimension< boost::units::length_base_dimension,1, boost::units::time_base_dimension,-1 >::type relative_speed_dimension;
828 
829  typedef boost::units::unit<relative_speed_dimension,boost::units::si::system> relative_speed_unit;
830 
831  template<typename Quantity >
832  void set_relative_speed_with_units(Quantity value_w_units)
833  { set_relative_speed(boost::units::quantity<relative_speed_unit,float >(value_w_units).value() ); };
834 
835  template<typename Quantity >
836  Quantity relative_speed_with_units() const
837  { return Quantity(relative_speed() * relative_speed_unit()); };
838 
839  boost::units::quantity< relative_speed_unit,float > relative_speed_with_units() const
840  { return relative_speed_with_units<boost::units::quantity< relative_speed_unit,float > >(); };
841 
842  // @@protoc_insertion_point(class_scope:goby.acomms.benthos.protobuf.ReceiveStatistics)
843  private:
844  class _Internal;
845 
846  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
847  typedef void InternalArenaConstructable_;
848  typedef void DestructorSkippable_;
849  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
850  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
851  float multipath_delay_;
852  float snr_;
853  float relative_speed_;
854  float auto_gain_control_;
855  ::PROTOBUF_NAMESPACE_ID::int32 corrected_channel_error_;
856  int crc_;
857  friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto;
858 };
859 // -------------------------------------------------------------------
860 
861 class RangingReply PROTOBUF_FINAL :
862  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.benthos.protobuf.RangingReply) */ {
863  public:
864  inline RangingReply() : RangingReply(nullptr) {};
865  virtual ~RangingReply();
866 
867  RangingReply(const RangingReply& from);
868  RangingReply(RangingReply&& from) noexcept
869  : RangingReply() {
870  *this = ::std::move(from);
871  }
872 
873  inline RangingReply& operator=(const RangingReply& from) {
874  CopyFrom(from);
875  return *this;
876  }
877  inline RangingReply& operator=(RangingReply&& from) noexcept {
878  if (GetArena() == from.GetArena()) {
879  if (this != &from) InternalSwap(&from);
880  } else {
881  CopyFrom(from);
882  }
883  return *this;
884  }
885 
886  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
887  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
888  }
889  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
890  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
891  }
892 
893  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
894  return GetDescriptor();
895  }
896  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
897  return GetMetadataStatic().descriptor;
898  }
899  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
900  return GetMetadataStatic().reflection;
901  }
902  static const RangingReply& default_instance();
903 
904  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
905  static inline const RangingReply* internal_default_instance() {
906  return reinterpret_cast<const RangingReply*>(
908  }
909  static constexpr int kIndexInFileMessages =
910  3;
911 
912  friend void swap(RangingReply& a, RangingReply& b) {
913  a.Swap(&b);
914  }
915  inline void Swap(RangingReply* other) {
916  if (other == this) return;
917  if (GetArena() == other->GetArena()) {
918  InternalSwap(other);
919  } else {
920  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
921  }
922  }
923  void UnsafeArenaSwap(RangingReply* other) {
924  if (other == this) return;
925  GOOGLE_DCHECK(GetArena() == other->GetArena());
926  InternalSwap(other);
927  }
928 
929  // implements Message ----------------------------------------------
930 
931  inline RangingReply* New() const final {
932  return CreateMaybeMessage<RangingReply>(nullptr);
933  }
934 
935  RangingReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
936  return CreateMaybeMessage<RangingReply>(arena);
937  }
938  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
939  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
940  void CopyFrom(const RangingReply& from);
941  void MergeFrom(const RangingReply& from);
942  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
943  bool IsInitialized() const final;
944 
945  size_t ByteSizeLong() const final;
946  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
947  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
948  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
949  int GetCachedSize() const final { return _cached_size_.Get(); }
950 
951  private:
952  inline void SharedCtor();
953  inline void SharedDtor();
954  void SetCachedSize(int size) const final;
955  void InternalSwap(RangingReply* other);
956  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
957  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
958  return "goby.acomms.benthos.protobuf.RangingReply";
959  }
960  protected:
961  explicit RangingReply(::PROTOBUF_NAMESPACE_ID::Arena* arena);
962  private:
963  static void ArenaDtor(void* object);
964  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
965  public:
966 
967  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
968  private:
969  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
970  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto);
972  }
973 
974  public:
975 
976  // nested types ----------------------------------------------------
977 
978  // accessors -------------------------------------------------------
979 
980  enum : int {
981  kOneWayTravelTimeFieldNumber = 1,
982  };
983  // required double one_way_travel_time = 1 [(.dccl.field) = {
985  private:
986  bool _internal_has_one_way_travel_time() const;
987  public:
989  double one_way_travel_time() const;
990  void set_one_way_travel_time(double value);
991  private:
992  double _internal_one_way_travel_time() const;
993  void _internal_set_one_way_travel_time(double value);
994  public:
995 
996  typedef boost::units::si::second_base_unit::unit_type one_way_travel_time_unit;
997 
998  template<typename Quantity >
999  void set_one_way_travel_time_with_units(Quantity value_w_units)
1000  { set_one_way_travel_time(boost::units::quantity<one_way_travel_time_unit,double >(value_w_units).value() ); };
1001 
1002  template<typename Quantity >
1004  { return Quantity(one_way_travel_time() * one_way_travel_time_unit()); };
1005 
1006  boost::units::quantity< one_way_travel_time_unit,double > one_way_travel_time_with_units() const
1007  { return one_way_travel_time_with_units<boost::units::quantity< one_way_travel_time_unit,double > >(); };
1008 
1009  // @@protoc_insertion_point(class_scope:goby.acomms.benthos.protobuf.RangingReply)
1010  private:
1011  class _Internal;
1012 
1013  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1014  typedef void InternalArenaConstructable_;
1015  typedef void DestructorSkippable_;
1016  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1017  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1018  double one_way_travel_time_;
1019  friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto;
1020 };
1021 // -------------------------------------------------------------------
1022 
1023 class Transmission PROTOBUF_FINAL :
1024  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.benthos.protobuf.Transmission) */ {
1025  public:
1026  inline Transmission() : Transmission(nullptr) {};
1027  virtual ~Transmission();
1028 
1029  Transmission(const Transmission& from);
1030  Transmission(Transmission&& from) noexcept
1031  : Transmission() {
1032  *this = ::std::move(from);
1033  }
1034 
1035  inline Transmission& operator=(const Transmission& from) {
1036  CopyFrom(from);
1037  return *this;
1038  }
1039  inline Transmission& operator=(Transmission&& from) noexcept {
1040  if (GetArena() == from.GetArena()) {
1041  if (this != &from) InternalSwap(&from);
1042  } else {
1043  CopyFrom(from);
1044  }
1045  return *this;
1046  }
1047 
1048  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1049  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1050  }
1051  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1052  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1053  }
1054 
1055  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1056  return GetDescriptor();
1057  }
1058  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1059  return GetMetadataStatic().descriptor;
1060  }
1061  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1062  return GetMetadataStatic().reflection;
1063  }
1064  static const Transmission& default_instance();
1065 
1066  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1067  static inline const Transmission* internal_default_instance() {
1068  return reinterpret_cast<const Transmission*>(
1070  }
1071  static constexpr int kIndexInFileMessages =
1072  4;
1073 
1074  friend void swap(Transmission& a, Transmission& b) {
1075  a.Swap(&b);
1076  }
1077  inline void Swap(Transmission* other) {
1078  if (other == this) return;
1079  if (GetArena() == other->GetArena()) {
1080  InternalSwap(other);
1081  } else {
1082  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1083  }
1084  }
1085  void UnsafeArenaSwap(Transmission* other) {
1086  if (other == this) return;
1087  GOOGLE_DCHECK(GetArena() == other->GetArena());
1088  InternalSwap(other);
1089  }
1090 
1091  // implements Message ----------------------------------------------
1092 
1093  inline Transmission* New() const final {
1094  return CreateMaybeMessage<Transmission>(nullptr);
1095  }
1096 
1097  Transmission* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1098  return CreateMaybeMessage<Transmission>(arena);
1099  }
1100  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1101  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1102  void CopyFrom(const Transmission& from);
1103  void MergeFrom(const Transmission& from);
1104  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1105  bool IsInitialized() const final;
1106 
1107  size_t ByteSizeLong() const final;
1108  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1109  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
1110  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1111  int GetCachedSize() const final { return _cached_size_.Get(); }
1112 
1113  private:
1114  inline void SharedCtor();
1115  inline void SharedDtor();
1116  void SetCachedSize(int size) const final;
1117  void InternalSwap(Transmission* other);
1118  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1119  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1120  return "goby.acomms.benthos.protobuf.Transmission";
1121  }
1122  protected:
1123  explicit Transmission(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1124  private:
1125  static void ArenaDtor(void* object);
1126  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1127  public:
1128 
1129  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1130  private:
1131  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1132  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto);
1134  }
1135 
1136  public:
1137 
1138  // nested types ----------------------------------------------------
1139 
1140  // accessors -------------------------------------------------------
1141 
1142  enum : int {
1143  kReceiveStatFieldNumber = 2,
1144  kRangingReplyFieldNumber = 3,
1145  kTypeFieldNumber = 1,
1146  };
1147  // optional .goby.acomms.benthos.protobuf.ReceiveStatistics receive_stat = 2;
1148  bool has_receive_stat() const;
1149  private:
1150  bool _internal_has_receive_stat() const;
1151  public:
1153  const ::goby::acomms::benthos::protobuf::ReceiveStatistics& receive_stat() const;
1154  ::goby::acomms::benthos::protobuf::ReceiveStatistics* release_receive_stat();
1155  ::goby::acomms::benthos::protobuf::ReceiveStatistics* mutable_receive_stat();
1156  void set_allocated_receive_stat(::goby::acomms::benthos::protobuf::ReceiveStatistics* receive_stat);
1157  private:
1158  const ::goby::acomms::benthos::protobuf::ReceiveStatistics& _internal_receive_stat() const;
1159  ::goby::acomms::benthos::protobuf::ReceiveStatistics* _internal_mutable_receive_stat();
1160  public:
1162  ::goby::acomms::benthos::protobuf::ReceiveStatistics* receive_stat);
1163  ::goby::acomms::benthos::protobuf::ReceiveStatistics* unsafe_arena_release_receive_stat();
1164 
1165  // optional .goby.acomms.benthos.protobuf.RangingReply ranging_reply = 3;
1166  bool has_ranging_reply() const;
1167  private:
1168  bool _internal_has_ranging_reply() const;
1169  public:
1171  const ::goby::acomms::benthos::protobuf::RangingReply& ranging_reply() const;
1172  ::goby::acomms::benthos::protobuf::RangingReply* release_ranging_reply();
1173  ::goby::acomms::benthos::protobuf::RangingReply* mutable_ranging_reply();
1174  void set_allocated_ranging_reply(::goby::acomms::benthos::protobuf::RangingReply* ranging_reply);
1175  private:
1176  const ::goby::acomms::benthos::protobuf::RangingReply& _internal_ranging_reply() const;
1177  ::goby::acomms::benthos::protobuf::RangingReply* _internal_mutable_ranging_reply();
1178  public:
1180  ::goby::acomms::benthos::protobuf::RangingReply* ranging_reply);
1181  ::goby::acomms::benthos::protobuf::RangingReply* unsafe_arena_release_ranging_reply();
1182 
1183  // optional .goby.acomms.benthos.protobuf.TransmissionType type = 1 [default = BASE_TYPE, (.goby.field) = {
1184  bool has_type() const;
1185  private:
1186  bool _internal_has_type() const;
1187  public:
1188  void clear_type();
1191  private:
1193  void _internal_set_type(::goby::acomms::benthos::protobuf::TransmissionType value);
1194  public:
1195 
1196  // @@protoc_insertion_point(class_scope:goby.acomms.benthos.protobuf.Transmission)
1197  private:
1198  class _Internal;
1199 
1200  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1201  typedef void InternalArenaConstructable_;
1202  typedef void DestructorSkippable_;
1203  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1204  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1205  ::goby::acomms::benthos::protobuf::ReceiveStatistics* receive_stat_;
1206  ::goby::acomms::benthos::protobuf::RangingReply* ranging_reply_;
1207  int type_;
1208  friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto;
1209 };
1210 // ===================================================================
1211 
1212 static const int kConfigFieldNumber = 1441;
1213 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
1214  ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::benthos::protobuf::Config >, 11, false >
1216 static const int kTransmissionFieldNumber = 1401;
1217 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission,
1218  ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::benthos::protobuf::Transmission >, 11, false >
1220 
1221 // ===================================================================
1222 
1223 #ifdef __GNUC__
1224  #pragma GCC diagnostic push
1225  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1226 #endif // __GNUC__
1227 // Config
1228 
1229 // optional bool factory_reset = 1 [default = false, (.goby.field) = {
1230 inline bool Config::_internal_has_factory_reset() const {
1231  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1232  return value;
1233 }
1234 inline bool Config::has_factory_reset() const {
1235  return _internal_has_factory_reset();
1236 }
1237 inline void Config::clear_factory_reset() {
1238  factory_reset_ = false;
1239  _has_bits_[0] &= ~0x00000002u;
1240 }
1241 inline bool Config::_internal_factory_reset() const {
1242  return factory_reset_;
1243 }
1244 inline bool Config::factory_reset() const {
1245  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.Config.factory_reset)
1246  return _internal_factory_reset();
1247 }
1248 inline void Config::_internal_set_factory_reset(bool value) {
1249  _has_bits_[0] |= 0x00000002u;
1250  factory_reset_ = value;
1251 }
1252 inline void Config::set_factory_reset(bool value) {
1253  _internal_set_factory_reset(value);
1254  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.Config.factory_reset)
1255 }
1256 
1257 // optional string config_load = 2 [(.goby.field) = {
1258 inline bool Config::_internal_has_config_load() const {
1259  bool value = (_has_bits_[0] & 0x00000001u) != 0;
1260  return value;
1261 }
1262 inline bool Config::has_config_load() const {
1263  return _internal_has_config_load();
1264 }
1265 inline void Config::clear_config_load() {
1266  config_load_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1267  _has_bits_[0] &= ~0x00000001u;
1268 }
1269 inline const std::string& Config::config_load() const {
1270  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.Config.config_load)
1271  return _internal_config_load();
1272 }
1273 inline void Config::set_config_load(const std::string& value) {
1274  _internal_set_config_load(value);
1275  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.Config.config_load)
1276 }
1277 inline std::string* Config::mutable_config_load() {
1278  // @@protoc_insertion_point(field_mutable:goby.acomms.benthos.protobuf.Config.config_load)
1279  return _internal_mutable_config_load();
1280 }
1281 inline const std::string& Config::_internal_config_load() const {
1282  return config_load_.Get();
1283 }
1284 inline void Config::_internal_set_config_load(const std::string& value) {
1285  _has_bits_[0] |= 0x00000001u;
1286  config_load_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1287 }
1288 inline void Config::set_config_load(std::string&& value) {
1289  _has_bits_[0] |= 0x00000001u;
1290  config_load_.Set(
1291  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1292  // @@protoc_insertion_point(field_set_rvalue:goby.acomms.benthos.protobuf.Config.config_load)
1293 }
1294 inline void Config::set_config_load(const char* value) {
1295  GOOGLE_DCHECK(value != nullptr);
1296  _has_bits_[0] |= 0x00000001u;
1297  config_load_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1298  GetArena());
1299  // @@protoc_insertion_point(field_set_char:goby.acomms.benthos.protobuf.Config.config_load)
1300 }
1301 inline void Config::set_config_load(const char* value,
1302  size_t size) {
1303  _has_bits_[0] |= 0x00000001u;
1304  config_load_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1305  reinterpret_cast<const char*>(value), size), GetArena());
1306  // @@protoc_insertion_point(field_set_pointer:goby.acomms.benthos.protobuf.Config.config_load)
1307 }
1308 inline std::string* Config::_internal_mutable_config_load() {
1309  _has_bits_[0] |= 0x00000001u;
1310  return config_load_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1311 }
1312 inline std::string* Config::release_config_load() {
1313  // @@protoc_insertion_point(field_release:goby.acomms.benthos.protobuf.Config.config_load)
1314  if (!_internal_has_config_load()) {
1315  return nullptr;
1316  }
1317  _has_bits_[0] &= ~0x00000001u;
1318  return config_load_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1319 }
1320 inline void Config::set_allocated_config_load(std::string* config_load) {
1321  if (config_load != nullptr) {
1322  _has_bits_[0] |= 0x00000001u;
1323  } else {
1324  _has_bits_[0] &= ~0x00000001u;
1325  }
1326  config_load_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), config_load,
1327  GetArena());
1328  // @@protoc_insertion_point(field_set_allocated:goby.acomms.benthos.protobuf.Config.config_load)
1329 }
1330 inline std::string* Config::unsafe_arena_release_config_load() {
1331  // @@protoc_insertion_point(field_unsafe_arena_release:goby.acomms.benthos.protobuf.Config.config_load)
1332  GOOGLE_DCHECK(GetArena() != nullptr);
1333  _has_bits_[0] &= ~0x00000001u;
1334  return config_load_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1335  GetArena());
1336 }
1337 inline void Config::unsafe_arena_set_allocated_config_load(
1338  std::string* config_load) {
1339  GOOGLE_DCHECK(GetArena() != nullptr);
1340  if (config_load != nullptr) {
1341  _has_bits_[0] |= 0x00000001u;
1342  } else {
1343  _has_bits_[0] &= ~0x00000001u;
1344  }
1345  config_load_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1346  config_load, GetArena());
1347  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.acomms.benthos.protobuf.Config.config_load)
1348 }
1349 
1350 // repeated string config = 3 [(.goby.field) = {
1351 inline int Config::_internal_config_size() const {
1352  return config_.size();
1353 }
1354 inline int Config::config_size() const {
1355  return _internal_config_size();
1356 }
1357 inline void Config::clear_config() {
1358  config_.Clear();
1359 }
1360 inline std::string* Config::add_config() {
1361  // @@protoc_insertion_point(field_add_mutable:goby.acomms.benthos.protobuf.Config.config)
1362  return _internal_add_config();
1363 }
1364 inline const std::string& Config::_internal_config(int index) const {
1365  return config_.Get(index);
1366 }
1367 inline const std::string& Config::config(int index) const {
1368  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.Config.config)
1369  return _internal_config(index);
1370 }
1371 inline std::string* Config::mutable_config(int index) {
1372  // @@protoc_insertion_point(field_mutable:goby.acomms.benthos.protobuf.Config.config)
1373  return config_.Mutable(index);
1374 }
1375 inline void Config::set_config(int index, const std::string& value) {
1376  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.Config.config)
1377  config_.Mutable(index)->assign(value);
1378 }
1379 inline void Config::set_config(int index, std::string&& value) {
1380  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.Config.config)
1381  config_.Mutable(index)->assign(std::move(value));
1382 }
1383 inline void Config::set_config(int index, const char* value) {
1384  GOOGLE_DCHECK(value != nullptr);
1385  config_.Mutable(index)->assign(value);
1386  // @@protoc_insertion_point(field_set_char:goby.acomms.benthos.protobuf.Config.config)
1387 }
1388 inline void Config::set_config(int index, const char* value, size_t size) {
1389  config_.Mutable(index)->assign(
1390  reinterpret_cast<const char*>(value), size);
1391  // @@protoc_insertion_point(field_set_pointer:goby.acomms.benthos.protobuf.Config.config)
1392 }
1393 inline std::string* Config::_internal_add_config() {
1394  return config_.Add();
1395 }
1396 inline void Config::add_config(const std::string& value) {
1397  config_.Add()->assign(value);
1398  // @@protoc_insertion_point(field_add:goby.acomms.benthos.protobuf.Config.config)
1399 }
1400 inline void Config::add_config(std::string&& value) {
1401  config_.Add(std::move(value));
1402  // @@protoc_insertion_point(field_add:goby.acomms.benthos.protobuf.Config.config)
1403 }
1404 inline void Config::add_config(const char* value) {
1405  GOOGLE_DCHECK(value != nullptr);
1406  config_.Add()->assign(value);
1407  // @@protoc_insertion_point(field_add_char:goby.acomms.benthos.protobuf.Config.config)
1408 }
1409 inline void Config::add_config(const char* value, size_t size) {
1410  config_.Add()->assign(reinterpret_cast<const char*>(value), size);
1411  // @@protoc_insertion_point(field_add_pointer:goby.acomms.benthos.protobuf.Config.config)
1412 }
1413 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1414 Config::config() const {
1415  // @@protoc_insertion_point(field_list:goby.acomms.benthos.protobuf.Config.config)
1416  return config_;
1417 }
1418 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1419 Config::mutable_config() {
1420  // @@protoc_insertion_point(field_mutable_list:goby.acomms.benthos.protobuf.Config.config)
1421  return &config_;
1422 }
1423 
1424 // optional int32 start_timeout = 5 [default = 20, (.goby.field) = {
1425 inline bool Config::_internal_has_start_timeout() const {
1426  bool value = (_has_bits_[0] & 0x00000004u) != 0;
1427  return value;
1428 }
1429 inline bool Config::has_start_timeout() const {
1430  return _internal_has_start_timeout();
1431 }
1432 inline void Config::clear_start_timeout() {
1433  start_timeout_ = 20;
1434  _has_bits_[0] &= ~0x00000004u;
1435 }
1436 inline ::PROTOBUF_NAMESPACE_ID::int32 Config::_internal_start_timeout() const {
1437  return start_timeout_;
1438 }
1439 inline ::PROTOBUF_NAMESPACE_ID::int32 Config::start_timeout() const {
1440  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.Config.start_timeout)
1441  return _internal_start_timeout();
1442 }
1443 inline void Config::_internal_set_start_timeout(::PROTOBUF_NAMESPACE_ID::int32 value) {
1444  _has_bits_[0] |= 0x00000004u;
1445  start_timeout_ = value;
1446 }
1447 inline void Config::set_start_timeout(::PROTOBUF_NAMESPACE_ID::int32 value) {
1448  _internal_set_start_timeout(value);
1449  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.Config.start_timeout)
1450 }
1451 
1452 // optional uint32 max_frame_size = 6 [default = 64, (.goby.field) = {
1453 inline bool Config::_internal_has_max_frame_size() const {
1454  bool value = (_has_bits_[0] & 0x00000008u) != 0;
1455  return value;
1456 }
1457 inline bool Config::has_max_frame_size() const {
1458  return _internal_has_max_frame_size();
1459 }
1460 inline void Config::clear_max_frame_size() {
1461  max_frame_size_ = 64u;
1462  _has_bits_[0] &= ~0x00000008u;
1463 }
1464 inline ::PROTOBUF_NAMESPACE_ID::uint32 Config::_internal_max_frame_size() const {
1465  return max_frame_size_;
1466 }
1467 inline ::PROTOBUF_NAMESPACE_ID::uint32 Config::max_frame_size() const {
1468  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.Config.max_frame_size)
1469  return _internal_max_frame_size();
1470 }
1471 inline void Config::_internal_set_max_frame_size(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1472  _has_bits_[0] |= 0x00000008u;
1473  max_frame_size_ = value;
1474 }
1475 inline void Config::set_max_frame_size(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1476  _internal_set_max_frame_size(value);
1477  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.Config.max_frame_size)
1478 }
1479 
1480 // -------------------------------------------------------------------
1481 
1482 // BenthosHeader
1483 
1484 // required .goby.acomms.protobuf.ModemTransmission.TransmissionType type = 1;
1485 inline bool BenthosHeader::_internal_has_type() const {
1486  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1487  return value;
1488 }
1489 inline bool BenthosHeader::has_type() const {
1490  return _internal_has_type();
1491 }
1492 inline void BenthosHeader::clear_type() {
1493  type_ = 1;
1494  _has_bits_[0] &= ~0x00000002u;
1495 }
1496 inline ::goby::acomms::protobuf::ModemTransmission_TransmissionType BenthosHeader::_internal_type() const {
1497  return static_cast< ::goby::acomms::protobuf::ModemTransmission_TransmissionType >(type_);
1498 }
1500  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.BenthosHeader.type)
1501  return _internal_type();
1502 }
1503 inline void BenthosHeader::_internal_set_type(::goby::acomms::protobuf::ModemTransmission_TransmissionType value) {
1505  _has_bits_[0] |= 0x00000002u;
1506  type_ = value;
1507 }
1508 inline void BenthosHeader::set_type(::goby::acomms::protobuf::ModemTransmission_TransmissionType value) {
1509  _internal_set_type(value);
1510  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.BenthosHeader.type)
1511 }
1512 
1513 // optional bool ack_requested = 3;
1514 inline bool BenthosHeader::_internal_has_ack_requested() const {
1515  bool value = (_has_bits_[0] & 0x00000001u) != 0;
1516  return value;
1517 }
1518 inline bool BenthosHeader::has_ack_requested() const {
1519  return _internal_has_ack_requested();
1520 }
1521 inline void BenthosHeader::clear_ack_requested() {
1522  ack_requested_ = false;
1523  _has_bits_[0] &= ~0x00000001u;
1524 }
1525 inline bool BenthosHeader::_internal_ack_requested() const {
1526  return ack_requested_;
1527 }
1528 inline bool BenthosHeader::ack_requested() const {
1529  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.BenthosHeader.ack_requested)
1530  return _internal_ack_requested();
1531 }
1532 inline void BenthosHeader::_internal_set_ack_requested(bool value) {
1533  _has_bits_[0] |= 0x00000001u;
1534  ack_requested_ = value;
1535 }
1536 inline void BenthosHeader::set_ack_requested(bool value) {
1537  _internal_set_ack_requested(value);
1538  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.BenthosHeader.ack_requested)
1539 }
1540 
1541 // repeated int32 acked_frame = 4 [(.dccl.field) = {
1542 inline int BenthosHeader::_internal_acked_frame_size() const {
1543  return acked_frame_.size();
1544 }
1545 inline int BenthosHeader::acked_frame_size() const {
1546  return _internal_acked_frame_size();
1547 }
1548 inline void BenthosHeader::clear_acked_frame() {
1549  acked_frame_.Clear();
1550 }
1551 inline ::PROTOBUF_NAMESPACE_ID::int32 BenthosHeader::_internal_acked_frame(int index) const {
1552  return acked_frame_.Get(index);
1553 }
1554 inline ::PROTOBUF_NAMESPACE_ID::int32 BenthosHeader::acked_frame(int index) const {
1555  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.BenthosHeader.acked_frame)
1556  return _internal_acked_frame(index);
1557 }
1558 inline void BenthosHeader::set_acked_frame(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
1559  acked_frame_.Set(index, value);
1560  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.BenthosHeader.acked_frame)
1561 }
1562 inline void BenthosHeader::_internal_add_acked_frame(::PROTOBUF_NAMESPACE_ID::int32 value) {
1563  acked_frame_.Add(value);
1564 }
1565 inline void BenthosHeader::add_acked_frame(::PROTOBUF_NAMESPACE_ID::int32 value) {
1566  _internal_add_acked_frame(value);
1567  // @@protoc_insertion_point(field_add:goby.acomms.benthos.protobuf.BenthosHeader.acked_frame)
1568 }
1569 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1570 BenthosHeader::_internal_acked_frame() const {
1571  return acked_frame_;
1572 }
1573 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1574 BenthosHeader::acked_frame() const {
1575  // @@protoc_insertion_point(field_list:goby.acomms.benthos.protobuf.BenthosHeader.acked_frame)
1576  return _internal_acked_frame();
1577 }
1578 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1579 BenthosHeader::_internal_mutable_acked_frame() {
1580  return &acked_frame_;
1581 }
1582 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1583 BenthosHeader::mutable_acked_frame() {
1584  // @@protoc_insertion_point(field_mutable_list:goby.acomms.benthos.protobuf.BenthosHeader.acked_frame)
1585  return _internal_mutable_acked_frame();
1586 }
1587 
1588 // -------------------------------------------------------------------
1589 
1590 // ReceiveStatistics
1591 
1592 // required .goby.acomms.benthos.protobuf.ReceiveStatistics.CRCState crc = 1;
1593 inline bool ReceiveStatistics::_internal_has_crc() const {
1594  bool value = (_has_bits_[0] & 0x00000020u) != 0;
1595  return value;
1596 }
1597 inline bool ReceiveStatistics::has_crc() const {
1598  return _internal_has_crc();
1599 }
1600 inline void ReceiveStatistics::clear_crc() {
1601  crc_ = 1;
1602  _has_bits_[0] &= ~0x00000020u;
1603 }
1604 inline ::goby::acomms::benthos::protobuf::ReceiveStatistics_CRCState ReceiveStatistics::_internal_crc() const {
1606 }
1608  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.ReceiveStatistics.crc)
1609  return _internal_crc();
1610 }
1611 inline void ReceiveStatistics::_internal_set_crc(::goby::acomms::benthos::protobuf::ReceiveStatistics_CRCState value) {
1613  _has_bits_[0] |= 0x00000020u;
1614  crc_ = value;
1615 }
1616 inline void ReceiveStatistics::set_crc(::goby::acomms::benthos::protobuf::ReceiveStatistics_CRCState value) {
1617  _internal_set_crc(value);
1618  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.ReceiveStatistics.crc)
1619 }
1620 
1621 // optional float multipath_delay = 2 [(.dccl.field) = {
1622 inline bool ReceiveStatistics::_internal_has_multipath_delay() const {
1623  bool value = (_has_bits_[0] & 0x00000001u) != 0;
1624  return value;
1625 }
1626 inline bool ReceiveStatistics::has_multipath_delay() const {
1627  return _internal_has_multipath_delay();
1628 }
1629 inline void ReceiveStatistics::clear_multipath_delay() {
1630  multipath_delay_ = 0;
1631  _has_bits_[0] &= ~0x00000001u;
1632 }
1633 inline float ReceiveStatistics::_internal_multipath_delay() const {
1634  return multipath_delay_;
1635 }
1636 inline float ReceiveStatistics::multipath_delay() const {
1637  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.ReceiveStatistics.multipath_delay)
1638  return _internal_multipath_delay();
1639 }
1640 inline void ReceiveStatistics::_internal_set_multipath_delay(float value) {
1641  _has_bits_[0] |= 0x00000001u;
1642  multipath_delay_ = value;
1643 }
1644 inline void ReceiveStatistics::set_multipath_delay(float value) {
1645  _internal_set_multipath_delay(value);
1646  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.ReceiveStatistics.multipath_delay)
1647 }
1648 
1649 // optional float snr = 3;
1650 inline bool ReceiveStatistics::_internal_has_snr() const {
1651  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1652  return value;
1653 }
1654 inline bool ReceiveStatistics::has_snr() const {
1655  return _internal_has_snr();
1656 }
1657 inline void ReceiveStatistics::clear_snr() {
1658  snr_ = 0;
1659  _has_bits_[0] &= ~0x00000002u;
1660 }
1661 inline float ReceiveStatistics::_internal_snr() const {
1662  return snr_;
1663 }
1664 inline float ReceiveStatistics::snr() const {
1665  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.ReceiveStatistics.snr)
1666  return _internal_snr();
1667 }
1668 inline void ReceiveStatistics::_internal_set_snr(float value) {
1669  _has_bits_[0] |= 0x00000002u;
1670  snr_ = value;
1671 }
1672 inline void ReceiveStatistics::set_snr(float value) {
1673  _internal_set_snr(value);
1674  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.ReceiveStatistics.snr)
1675 }
1676 
1677 // optional float relative_speed = 4 [(.dccl.field) = {
1678 inline bool ReceiveStatistics::_internal_has_relative_speed() const {
1679  bool value = (_has_bits_[0] & 0x00000004u) != 0;
1680  return value;
1681 }
1682 inline bool ReceiveStatistics::has_relative_speed() const {
1683  return _internal_has_relative_speed();
1684 }
1685 inline void ReceiveStatistics::clear_relative_speed() {
1686  relative_speed_ = 0;
1687  _has_bits_[0] &= ~0x00000004u;
1688 }
1689 inline float ReceiveStatistics::_internal_relative_speed() const {
1690  return relative_speed_;
1691 }
1692 inline float ReceiveStatistics::relative_speed() const {
1693  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.ReceiveStatistics.relative_speed)
1694  return _internal_relative_speed();
1695 }
1696 inline void ReceiveStatistics::_internal_set_relative_speed(float value) {
1697  _has_bits_[0] |= 0x00000004u;
1698  relative_speed_ = value;
1699 }
1700 inline void ReceiveStatistics::set_relative_speed(float value) {
1701  _internal_set_relative_speed(value);
1702  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.ReceiveStatistics.relative_speed)
1703 }
1704 
1705 // optional float auto_gain_control = 5;
1706 inline bool ReceiveStatistics::_internal_has_auto_gain_control() const {
1707  bool value = (_has_bits_[0] & 0x00000008u) != 0;
1708  return value;
1709 }
1710 inline bool ReceiveStatistics::has_auto_gain_control() const {
1711  return _internal_has_auto_gain_control();
1712 }
1713 inline void ReceiveStatistics::clear_auto_gain_control() {
1714  auto_gain_control_ = 0;
1715  _has_bits_[0] &= ~0x00000008u;
1716 }
1717 inline float ReceiveStatistics::_internal_auto_gain_control() const {
1718  return auto_gain_control_;
1719 }
1720 inline float ReceiveStatistics::auto_gain_control() const {
1721  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.ReceiveStatistics.auto_gain_control)
1722  return _internal_auto_gain_control();
1723 }
1724 inline void ReceiveStatistics::_internal_set_auto_gain_control(float value) {
1725  _has_bits_[0] |= 0x00000008u;
1726  auto_gain_control_ = value;
1727 }
1728 inline void ReceiveStatistics::set_auto_gain_control(float value) {
1729  _internal_set_auto_gain_control(value);
1730  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.ReceiveStatistics.auto_gain_control)
1731 }
1732 
1733 // optional int32 corrected_channel_error = 6;
1734 inline bool ReceiveStatistics::_internal_has_corrected_channel_error() const {
1735  bool value = (_has_bits_[0] & 0x00000010u) != 0;
1736  return value;
1737 }
1738 inline bool ReceiveStatistics::has_corrected_channel_error() const {
1739  return _internal_has_corrected_channel_error();
1740 }
1741 inline void ReceiveStatistics::clear_corrected_channel_error() {
1742  corrected_channel_error_ = 0;
1743  _has_bits_[0] &= ~0x00000010u;
1744 }
1745 inline ::PROTOBUF_NAMESPACE_ID::int32 ReceiveStatistics::_internal_corrected_channel_error() const {
1746  return corrected_channel_error_;
1747 }
1748 inline ::PROTOBUF_NAMESPACE_ID::int32 ReceiveStatistics::corrected_channel_error() const {
1749  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.ReceiveStatistics.corrected_channel_error)
1750  return _internal_corrected_channel_error();
1751 }
1752 inline void ReceiveStatistics::_internal_set_corrected_channel_error(::PROTOBUF_NAMESPACE_ID::int32 value) {
1753  _has_bits_[0] |= 0x00000010u;
1754  corrected_channel_error_ = value;
1755 }
1756 inline void ReceiveStatistics::set_corrected_channel_error(::PROTOBUF_NAMESPACE_ID::int32 value) {
1757  _internal_set_corrected_channel_error(value);
1758  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.ReceiveStatistics.corrected_channel_error)
1759 }
1760 
1761 // -------------------------------------------------------------------
1762 
1763 // RangingReply
1764 
1765 // required double one_way_travel_time = 1 [(.dccl.field) = {
1766 inline bool RangingReply::_internal_has_one_way_travel_time() const {
1767  bool value = (_has_bits_[0] & 0x00000001u) != 0;
1768  return value;
1769 }
1770 inline bool RangingReply::has_one_way_travel_time() const {
1771  return _internal_has_one_way_travel_time();
1772 }
1773 inline void RangingReply::clear_one_way_travel_time() {
1774  one_way_travel_time_ = 0;
1775  _has_bits_[0] &= ~0x00000001u;
1776 }
1777 inline double RangingReply::_internal_one_way_travel_time() const {
1778  return one_way_travel_time_;
1779 }
1780 inline double RangingReply::one_way_travel_time() const {
1781  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.RangingReply.one_way_travel_time)
1782  return _internal_one_way_travel_time();
1783 }
1784 inline void RangingReply::_internal_set_one_way_travel_time(double value) {
1785  _has_bits_[0] |= 0x00000001u;
1786  one_way_travel_time_ = value;
1787 }
1788 inline void RangingReply::set_one_way_travel_time(double value) {
1789  _internal_set_one_way_travel_time(value);
1790  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.RangingReply.one_way_travel_time)
1791 }
1792 
1793 // -------------------------------------------------------------------
1794 
1795 // Transmission
1796 
1797 // optional .goby.acomms.benthos.protobuf.TransmissionType type = 1 [default = BASE_TYPE, (.goby.field) = {
1798 inline bool Transmission::_internal_has_type() const {
1799  bool value = (_has_bits_[0] & 0x00000004u) != 0;
1800  return value;
1801 }
1802 inline bool Transmission::has_type() const {
1803  return _internal_has_type();
1804 }
1805 inline void Transmission::clear_type() {
1806  type_ = 0;
1807  _has_bits_[0] &= ~0x00000004u;
1808 }
1809 inline ::goby::acomms::benthos::protobuf::TransmissionType Transmission::_internal_type() const {
1810  return static_cast< ::goby::acomms::benthos::protobuf::TransmissionType >(type_);
1811 }
1813  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.Transmission.type)
1814  return _internal_type();
1815 }
1816 inline void Transmission::_internal_set_type(::goby::acomms::benthos::protobuf::TransmissionType value) {
1818  _has_bits_[0] |= 0x00000004u;
1819  type_ = value;
1820 }
1821 inline void Transmission::set_type(::goby::acomms::benthos::protobuf::TransmissionType value) {
1822  _internal_set_type(value);
1823  // @@protoc_insertion_point(field_set:goby.acomms.benthos.protobuf.Transmission.type)
1824 }
1825 
1826 // optional .goby.acomms.benthos.protobuf.ReceiveStatistics receive_stat = 2;
1827 inline bool Transmission::_internal_has_receive_stat() const {
1828  bool value = (_has_bits_[0] & 0x00000001u) != 0;
1829  PROTOBUF_ASSUME(!value || receive_stat_ != nullptr);
1830  return value;
1831 }
1832 inline bool Transmission::has_receive_stat() const {
1833  return _internal_has_receive_stat();
1834 }
1835 inline void Transmission::clear_receive_stat() {
1836  if (receive_stat_ != nullptr) receive_stat_->Clear();
1837  _has_bits_[0] &= ~0x00000001u;
1838 }
1839 inline const ::goby::acomms::benthos::protobuf::ReceiveStatistics& Transmission::_internal_receive_stat() const {
1840  const ::goby::acomms::benthos::protobuf::ReceiveStatistics* p = receive_stat_;
1841  return p != nullptr ? *p : *reinterpret_cast<const ::goby::acomms::benthos::protobuf::ReceiveStatistics*>(
1843 }
1844 inline const ::goby::acomms::benthos::protobuf::ReceiveStatistics& Transmission::receive_stat() const {
1845  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.Transmission.receive_stat)
1846  return _internal_receive_stat();
1847 }
1848 inline void Transmission::unsafe_arena_set_allocated_receive_stat(
1849  ::goby::acomms::benthos::protobuf::ReceiveStatistics* receive_stat) {
1850  if (GetArena() == nullptr) {
1851  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(receive_stat_);
1852  }
1853  receive_stat_ = receive_stat;
1854  if (receive_stat) {
1855  _has_bits_[0] |= 0x00000001u;
1856  } else {
1857  _has_bits_[0] &= ~0x00000001u;
1858  }
1859  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.acomms.benthos.protobuf.Transmission.receive_stat)
1860 }
1861 inline ::goby::acomms::benthos::protobuf::ReceiveStatistics* Transmission::release_receive_stat() {
1862  auto temp = unsafe_arena_release_receive_stat();
1863  if (GetArena() != nullptr) {
1864  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1865  }
1866  return temp;
1867 }
1868 inline ::goby::acomms::benthos::protobuf::ReceiveStatistics* Transmission::unsafe_arena_release_receive_stat() {
1869  // @@protoc_insertion_point(field_release:goby.acomms.benthos.protobuf.Transmission.receive_stat)
1870  _has_bits_[0] &= ~0x00000001u;
1871  ::goby::acomms::benthos::protobuf::ReceiveStatistics* temp = receive_stat_;
1872  receive_stat_ = nullptr;
1873  return temp;
1874 }
1875 inline ::goby::acomms::benthos::protobuf::ReceiveStatistics* Transmission::_internal_mutable_receive_stat() {
1876  _has_bits_[0] |= 0x00000001u;
1877  if (receive_stat_ == nullptr) {
1878  auto* p = CreateMaybeMessage<::goby::acomms::benthos::protobuf::ReceiveStatistics>(GetArena());
1879  receive_stat_ = p;
1880  }
1881  return receive_stat_;
1882 }
1883 inline ::goby::acomms::benthos::protobuf::ReceiveStatistics* Transmission::mutable_receive_stat() {
1884  // @@protoc_insertion_point(field_mutable:goby.acomms.benthos.protobuf.Transmission.receive_stat)
1885  return _internal_mutable_receive_stat();
1886 }
1887 inline void Transmission::set_allocated_receive_stat(::goby::acomms::benthos::protobuf::ReceiveStatistics* receive_stat) {
1888  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1889  if (message_arena == nullptr) {
1890  delete receive_stat_;
1891  }
1892  if (receive_stat) {
1893  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1894  ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(receive_stat);
1895  if (message_arena != submessage_arena) {
1896  receive_stat = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1897  message_arena, receive_stat, submessage_arena);
1898  }
1899  _has_bits_[0] |= 0x00000001u;
1900  } else {
1901  _has_bits_[0] &= ~0x00000001u;
1902  }
1903  receive_stat_ = receive_stat;
1904  // @@protoc_insertion_point(field_set_allocated:goby.acomms.benthos.protobuf.Transmission.receive_stat)
1905 }
1906 
1907 // optional .goby.acomms.benthos.protobuf.RangingReply ranging_reply = 3;
1908 inline bool Transmission::_internal_has_ranging_reply() const {
1909  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1910  PROTOBUF_ASSUME(!value || ranging_reply_ != nullptr);
1911  return value;
1912 }
1913 inline bool Transmission::has_ranging_reply() const {
1914  return _internal_has_ranging_reply();
1915 }
1916 inline void Transmission::clear_ranging_reply() {
1917  if (ranging_reply_ != nullptr) ranging_reply_->Clear();
1918  _has_bits_[0] &= ~0x00000002u;
1919 }
1920 inline const ::goby::acomms::benthos::protobuf::RangingReply& Transmission::_internal_ranging_reply() const {
1921  const ::goby::acomms::benthos::protobuf::RangingReply* p = ranging_reply_;
1922  return p != nullptr ? *p : *reinterpret_cast<const ::goby::acomms::benthos::protobuf::RangingReply*>(
1924 }
1925 inline const ::goby::acomms::benthos::protobuf::RangingReply& Transmission::ranging_reply() const {
1926  // @@protoc_insertion_point(field_get:goby.acomms.benthos.protobuf.Transmission.ranging_reply)
1927  return _internal_ranging_reply();
1928 }
1929 inline void Transmission::unsafe_arena_set_allocated_ranging_reply(
1930  ::goby::acomms::benthos::protobuf::RangingReply* ranging_reply) {
1931  if (GetArena() == nullptr) {
1932  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(ranging_reply_);
1933  }
1934  ranging_reply_ = ranging_reply;
1935  if (ranging_reply) {
1936  _has_bits_[0] |= 0x00000002u;
1937  } else {
1938  _has_bits_[0] &= ~0x00000002u;
1939  }
1940  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.acomms.benthos.protobuf.Transmission.ranging_reply)
1941 }
1942 inline ::goby::acomms::benthos::protobuf::RangingReply* Transmission::release_ranging_reply() {
1943  auto temp = unsafe_arena_release_ranging_reply();
1944  if (GetArena() != nullptr) {
1945  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1946  }
1947  return temp;
1948 }
1949 inline ::goby::acomms::benthos::protobuf::RangingReply* Transmission::unsafe_arena_release_ranging_reply() {
1950  // @@protoc_insertion_point(field_release:goby.acomms.benthos.protobuf.Transmission.ranging_reply)
1951  _has_bits_[0] &= ~0x00000002u;
1952  ::goby::acomms::benthos::protobuf::RangingReply* temp = ranging_reply_;
1953  ranging_reply_ = nullptr;
1954  return temp;
1955 }
1956 inline ::goby::acomms::benthos::protobuf::RangingReply* Transmission::_internal_mutable_ranging_reply() {
1957  _has_bits_[0] |= 0x00000002u;
1958  if (ranging_reply_ == nullptr) {
1959  auto* p = CreateMaybeMessage<::goby::acomms::benthos::protobuf::RangingReply>(GetArena());
1960  ranging_reply_ = p;
1961  }
1962  return ranging_reply_;
1963 }
1964 inline ::goby::acomms::benthos::protobuf::RangingReply* Transmission::mutable_ranging_reply() {
1965  // @@protoc_insertion_point(field_mutable:goby.acomms.benthos.protobuf.Transmission.ranging_reply)
1966  return _internal_mutable_ranging_reply();
1967 }
1968 inline void Transmission::set_allocated_ranging_reply(::goby::acomms::benthos::protobuf::RangingReply* ranging_reply) {
1969  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1970  if (message_arena == nullptr) {
1971  delete ranging_reply_;
1972  }
1973  if (ranging_reply) {
1974  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1975  ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(ranging_reply);
1976  if (message_arena != submessage_arena) {
1977  ranging_reply = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1978  message_arena, ranging_reply, submessage_arena);
1979  }
1980  _has_bits_[0] |= 0x00000002u;
1981  } else {
1982  _has_bits_[0] &= ~0x00000002u;
1983  }
1984  ranging_reply_ = ranging_reply;
1985  // @@protoc_insertion_point(field_set_allocated:goby.acomms.benthos.protobuf.Transmission.ranging_reply)
1986 }
1987 
1988 #ifdef __GNUC__
1989  #pragma GCC diagnostic pop
1990 #endif // __GNUC__
1991 // -------------------------------------------------------------------
1992 
1993 // -------------------------------------------------------------------
1994 
1995 // -------------------------------------------------------------------
1996 
1997 // -------------------------------------------------------------------
1998 
1999 
2000 // @@protoc_insertion_point(namespace_scope)
2001 
2002 } // namespace protobuf
2003 } // namespace benthos
2004 } // namespace acomms
2005 } // namespace goby
2006 
2007 PROTOBUF_NAMESPACE_OPEN
2008 
2009 template <> struct is_proto_enum< ::goby::acomms::benthos::protobuf::ReceiveStatistics_CRCState> : ::std::true_type {};
2010 template <>
2011 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::benthos::protobuf::ReceiveStatistics_CRCState>() {
2013 }
2014 template <> struct is_proto_enum< ::goby::acomms::benthos::protobuf::TransmissionType> : ::std::true_type {};
2015 template <>
2016 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::benthos::protobuf::TransmissionType>() {
2018 }
2019 
2020 PROTOBUF_NAMESPACE_CLOSE
2021 
2022 // @@protoc_insertion_point(global_scope)
2023 
2024 #include <google/protobuf/port_undef.inc>
2025 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
ReceiveStatistics(ReceiveStatistics &&from) noexcept
ReceiveStatistics(const ReceiveStatistics &from)
void set_type(::goby::acomms::benthos::protobuf::TransmissionType value)
::goby::acomms::benthos::protobuf::ReceiveStatistics * release_receive_stat()
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & acked_frame() const
friend void swap(RangingReply &a, RangingReply &b)
static const BenthosHeader & default_instance()
boost::units::quantity< relative_speed_unit, float > relative_speed_with_units() const
void set_config_load(const std::string &value)
void set_multipath_delay_with_units(Quantity value_w_units)
void CopyFrom(const ReceiveStatistics &from)
const ::goby::acomms::benthos::protobuf::RangingReply & ranging_reply() const
void set_corrected_channel_error(::PROTOBUF_NAMESPACE_ID::int32 value)
RangingReply * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_config()
void set_one_way_travel_time_with_units(Quantity value_w_units)
void unsafe_arena_set_allocated_receive_stat(::goby::acomms::benthos::protobuf::ReceiveStatistics *receive_stat)
Transmission & operator=(Transmission &&from) noexcept
void set_acked_frame(int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
static const RangingReply & default_instance()
void UnsafeArenaSwap(ReceiveStatistics *other)
void set_relative_speed_with_units(Quantity value_w_units)
::PROTOBUF_NAMESPACE_ID::int32 acked_frame(int index) const
void set_config(int index, const char *value, size_t size)
static const RangingReply * internal_default_instance()
static const BenthosHeader * internal_default_instance()
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_acked_frame()
void CopyFrom(const RangingReply &from)
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena)
RangingReply & operator=(const RangingReply &from)
void MergeFrom(const RangingReply &from)
void set_config_load(const char *value, size_t size)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
BenthosHeader(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_config(int index, const std::string &value)
Transmission * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::goby::acomms::benthos::protobuf::RangingReply * release_ranging_reply()
void set_allocated_receive_stat(::goby::acomms::benthos::protobuf::ReceiveStatistics *receive_stat)
static const std::string & CRCState_Name(T enum_t_value)
::PROTOBUF_NAMESPACE_ID::int32 corrected_channel_error() const
static const Transmission & default_instance()
RangingReply(::PROTOBUF_NAMESPACE_ID::Arena *arena)
boost::units::quantity< one_way_travel_time_unit, double > one_way_travel_time_with_units() const
static const ReceiveStatistics * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
::goby::acomms::benthos::protobuf::TransmissionType type() const
void set_config(int index, const char *value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::goby::acomms::benthos::protobuf::ReceiveStatistics * mutable_receive_stat()
void MergeFrom(const Transmission &from)
boost::units::unit< multipath_delay_dimension, boost::units::si::system > multipath_delay_unit
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void add_config(const char *value, size_t size)
RangingReply & operator=(RangingReply &&from) noexcept
boost::units::unit< relative_speed_dimension, boost::units::si::system > relative_speed_unit
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
friend void swap(ReceiveStatistics &a, ReceiveStatistics &b)
void MergeFrom(const ReceiveStatistics &from)
boost::units::derived_dimension< boost::units::length_base_dimension, 1, boost::units::time_base_dimension,-1 >::type relative_speed_dimension
void CopyFrom(const Transmission &from)
boost::units::si::second_base_unit::unit_type one_way_travel_time_unit
::goby::acomms::benthos::protobuf::ReceiveStatistics_CRCState crc() const
ReceiveStatistics & operator=(const ReceiveStatistics &from)
void set_config(int index, std::string &&value)
::goby::acomms::protobuf::ModemTransmission_TransmissionType type() const
BenthosHeader & operator=(const BenthosHeader &from)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
ReceiveStatistics(::PROTOBUF_NAMESPACE_ID::Arena *arena)
BenthosHeader & operator=(BenthosHeader &&from) noexcept
friend void swap(BenthosHeader &a, BenthosHeader &b)
ReceiveStatistics * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type multipath_delay_dimension
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & config() const
BenthosHeader * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void set_allocated_config_load(std::string *config_load)
static bool CRCState_Parse(const std::string &name, CRCState *value)
const ::goby::acomms::benthos::protobuf::ReceiveStatistics & receive_stat() const
void CopyFrom(const BenthosHeader &from)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * CRCState_descriptor()
Transmission(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_allocated_ranging_reply(::goby::acomms::benthos::protobuf::RangingReply *ranging_reply)
::goby::acomms::benthos::protobuf::RangingReply * unsafe_arena_release_ranging_reply()
ReceiveStatistics & operator=(ReceiveStatistics &&from) noexcept
void add_config(const std::string &value)
const std::string & config(int index) const
void unsafe_arena_set_allocated_ranging_reply(::goby::acomms::benthos::protobuf::RangingReply *ranging_reply)
::goby::acomms::benthos::protobuf::RangingReply * mutable_ranging_reply()
Config & operator=(Config &&from) noexcept
friend void swap(Transmission &a, Transmission &b)
static const ReceiveStatistics & default_instance()
Transmission & operator=(const Transmission &from)
void set_type(::goby::acomms::protobuf::ModemTransmission_TransmissionType value)
::goby::acomms::benthos::protobuf::ReceiveStatistics * unsafe_arena_release_receive_stat()
void set_crc(::goby::acomms::benthos::protobuf::ReceiveStatistics_CRCState value)
static const Transmission * internal_default_instance()
void add_acked_frame(::PROTOBUF_NAMESPACE_ID::int32 value)
boost::units::quantity< multipath_delay_unit, float > multipath_delay_with_units() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void MergeFrom(const BenthosHeader &from)
@ value
the parser finished reading a JSON value
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::benthos::protobuf::Config >, 11, false > config
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ReceiveStatistics_CRCState_descriptor()
constexpr ReceiveStatistics_CRCState ReceiveStatistics_CRCState_CRCState_MIN
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::benthos::protobuf::Transmission >, 11, false > transmission
RangingReplyDefaultTypeInternal _RangingReply_default_instance_
constexpr int ReceiveStatistics_CRCState_CRCState_ARRAYSIZE
constexpr TransmissionType TransmissionType_MAX
const std::string & TransmissionType_Name(T enum_t_value)
BenthosHeaderDefaultTypeInternal _BenthosHeader_default_instance_
const std::string & ReceiveStatistics_CRCState_Name(T enum_t_value)
bool TransmissionType_IsValid(int value)
bool ReceiveStatistics_CRCState_Parse(const std::string &name, ReceiveStatistics_CRCState *value)
bool TransmissionType_Parse(const std::string &name, TransmissionType *value)
TransmissionDefaultTypeInternal _Transmission_default_instance_
ConfigDefaultTypeInternal _Config_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TransmissionType_descriptor()
bool ReceiveStatistics_CRCState_IsValid(int value)
ReceiveStatisticsDefaultTypeInternal _ReceiveStatistics_default_instance_
constexpr TransmissionType TransmissionType_MIN
constexpr ReceiveStatistics_CRCState ReceiveStatistics_CRCState_CRCState_MAX
bool ModemTransmission_TransmissionType_IsValid(int value)
The global namespace for the Goby project.
std::int32_t int32
std::uint32_t uint32
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:154
type
Generic JSON types used in JWTs.
Definition: jwt.h:2072
#define ByteSizeLong
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
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::uint32 offsets[]