Goby3  3.1.5
2024.05.14
modem_message.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/acomms/protobuf/modem_message.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fmodem_5fmessage_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fmodem_5fmessage_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>
36 #include "dccl/option_extensions.pb.h"
38 #include <boost/units/quantity.hpp>
39 #include <boost/units/absolute.hpp>
40 #include <boost/units/dimensionless_type.hpp>
41 #include <boost/units/make_scaled_unit.hpp>
42 
43 #include <boost/units/systems/si.hpp>
44 // @@protoc_insertion_point(includes)
45 #include <google/protobuf/port_def.inc>
46 #define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fmodem_5fmessage_2eproto
47 PROTOBUF_NAMESPACE_OPEN
48 namespace internal {
49 class AnyMetadata;
50 } // namespace internal
51 PROTOBUF_NAMESPACE_CLOSE
52 
53 // Internal implementation detail -- do not use these members.
55  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
56  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
57  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
62  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
64 };
65 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fmodem_5fmessage_2eproto;
66 namespace goby {
67 namespace acomms {
68 namespace protobuf {
69 class ModemRaw;
70 class ModemRawDefaultTypeInternal;
71 extern ModemRawDefaultTypeInternal _ModemRaw_default_instance_;
72 class ModemReport;
73 class ModemReportDefaultTypeInternal;
74 extern ModemReportDefaultTypeInternal _ModemReport_default_instance_;
75 class ModemTransmission;
76 class ModemTransmissionDefaultTypeInternal;
77 extern ModemTransmissionDefaultTypeInternal _ModemTransmission_default_instance_;
78 } // namespace protobuf
79 } // namespace acomms
80 } // namespace goby
81 PROTOBUF_NAMESPACE_OPEN
82 template<> ::goby::acomms::protobuf::ModemRaw* Arena::CreateMaybeMessage<::goby::acomms::protobuf::ModemRaw>(Arena*);
83 template<> ::goby::acomms::protobuf::ModemReport* Arena::CreateMaybeMessage<::goby::acomms::protobuf::ModemReport>(Arena*);
84 template<> ::goby::acomms::protobuf::ModemTransmission* Arena::CreateMaybeMessage<::goby::acomms::protobuf::ModemTransmission>(Arena*);
85 PROTOBUF_NAMESPACE_CLOSE
86 namespace goby {
87 namespace acomms {
88 namespace protobuf {
89 
93 };
98 
99 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ModemTransmission_TimeSource_descriptor();
100 template<typename T>
101 inline const std::string& ModemTransmission_TimeSource_Name(T enum_t_value) {
102  static_assert(::std::is_same<T, ModemTransmission_TimeSource>::value ||
103  ::std::is_integral<T>::value,
104  "Incorrect type passed to function ModemTransmission_TimeSource_Name.");
105  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
107 }
109  const std::string& name, ModemTransmission_TimeSource* value) {
110  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ModemTransmission_TimeSource>(
112 }
117 };
122 
123 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ModemTransmission_TransmissionType_descriptor();
124 template<typename T>
125 inline const std::string& ModemTransmission_TransmissionType_Name(T enum_t_value) {
126  static_assert(::std::is_same<T, ModemTransmission_TransmissionType>::value ||
127  ::std::is_integral<T>::value,
128  "Incorrect type passed to function ModemTransmission_TransmissionType_Name.");
129  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
131 }
133  const std::string& name, ModemTransmission_TransmissionType* value) {
134  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ModemTransmission_TransmissionType>(
136 }
140 };
145 
146 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ModemReport_LinkState_descriptor();
147 template<typename T>
148 inline const std::string& ModemReport_LinkState_Name(T enum_t_value) {
149  static_assert(::std::is_same<T, ModemReport_LinkState>::value ||
150  ::std::is_integral<T>::value,
151  "Incorrect type passed to function ModemReport_LinkState_Name.");
152  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
153  ModemReport_LinkState_descriptor(), enum_t_value);
154 }
156  const std::string& name, ModemReport_LinkState* value) {
157  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ModemReport_LinkState>(
158  ModemReport_LinkState_descriptor(), name, value);
159 }
167 };
172 
173 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ModemReport_LinkQuality_descriptor();
174 template<typename T>
175 inline const std::string& ModemReport_LinkQuality_Name(T enum_t_value) {
176  static_assert(::std::is_same<T, ModemReport_LinkQuality>::value ||
177  ::std::is_integral<T>::value,
178  "Incorrect type passed to function ModemReport_LinkQuality_Name.");
179  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
180  ModemReport_LinkQuality_descriptor(), enum_t_value);
181 }
183  const std::string& name, ModemReport_LinkQuality* value) {
184  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ModemReport_LinkQuality>(
185  ModemReport_LinkQuality_descriptor(), name, value);
186 }
187 // ===================================================================
188 
189 class ModemTransmission PROTOBUF_FINAL :
190  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.ModemTransmission) */ {
191  public:
192  inline ModemTransmission() : ModemTransmission(nullptr) {};
194 
195  ModemTransmission(const ModemTransmission& from);
196  ModemTransmission(ModemTransmission&& from) noexcept
197  : ModemTransmission() {
198  *this = ::std::move(from);
199  }
200 
201  inline ModemTransmission& operator=(const ModemTransmission& from) {
202  CopyFrom(from);
203  return *this;
204  }
205  inline ModemTransmission& operator=(ModemTransmission&& from) noexcept {
206  if (GetArena() == from.GetArena()) {
207  if (this != &from) InternalSwap(&from);
208  } else {
209  CopyFrom(from);
210  }
211  return *this;
212  }
213 
214  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
215  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
216  }
217  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
218  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
219  }
220 
221  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
222  return GetDescriptor();
223  }
224  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
225  return GetMetadataStatic().descriptor;
226  }
227  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
228  return GetMetadataStatic().reflection;
229  }
230  static const ModemTransmission& default_instance();
231 
232  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
233  static inline const ModemTransmission* internal_default_instance() {
234  return reinterpret_cast<const ModemTransmission*>(
236  }
237  static constexpr int kIndexInFileMessages =
238  0;
239 
240  friend void swap(ModemTransmission& a, ModemTransmission& b) {
241  a.Swap(&b);
242  }
243  inline void Swap(ModemTransmission* other) {
244  if (other == this) return;
245  if (GetArena() == other->GetArena()) {
246  InternalSwap(other);
247  } else {
248  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
249  }
250  }
251  void UnsafeArenaSwap(ModemTransmission* other) {
252  if (other == this) return;
253  GOOGLE_DCHECK(GetArena() == other->GetArena());
254  InternalSwap(other);
255  }
256 
257  // implements Message ----------------------------------------------
258 
259  inline ModemTransmission* New() const final {
260  return CreateMaybeMessage<ModemTransmission>(nullptr);
261  }
262 
263  ModemTransmission* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
264  return CreateMaybeMessage<ModemTransmission>(arena);
265  }
266  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
267  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
268  void CopyFrom(const ModemTransmission& from);
269  void MergeFrom(const ModemTransmission& from);
270  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
271  bool IsInitialized() const final;
272 
273  size_t ByteSizeLong() const final;
274  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
275  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
276  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
277  int GetCachedSize() const final { return _cached_size_.Get(); }
278 
279  private:
280  inline void SharedCtor();
281  inline void SharedDtor();
282  void SetCachedSize(int size) const final;
283  void InternalSwap(ModemTransmission* other);
284  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
285  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
286  return "goby.acomms.protobuf.ModemTransmission";
287  }
288  protected:
289  explicit ModemTransmission(::PROTOBUF_NAMESPACE_ID::Arena* arena);
290  private:
291  static void ArenaDtor(void* object);
292  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
293  public:
294 
295  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
296  private:
297  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
298  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2fmodem_5fmessage_2eproto);
300  }
301 
302  public:
303 
304  // nested types ----------------------------------------------------
305 
307  static constexpr TimeSource MODEM_TIME =
309  static constexpr TimeSource GOBY_TIME =
311  static inline bool TimeSource_IsValid(int value) {
313  }
314  static constexpr TimeSource TimeSource_MIN =
316  static constexpr TimeSource TimeSource_MAX =
318  static constexpr int TimeSource_ARRAYSIZE =
320  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
323  }
324  template<typename T>
325  static inline const std::string& TimeSource_Name(T enum_t_value) {
326  static_assert(::std::is_same<T, TimeSource>::value ||
327  ::std::is_integral<T>::value,
328  "Incorrect type passed to function TimeSource_Name.");
329  return ModemTransmission_TimeSource_Name(enum_t_value);
330  }
331  static inline bool TimeSource_Parse(const std::string& name,
332  TimeSource* value) {
333  return ModemTransmission_TimeSource_Parse(name, value);
334  }
335 
337  static constexpr TransmissionType DATA =
339  static constexpr TransmissionType ACK =
341  static constexpr TransmissionType DRIVER_SPECIFIC =
343  static inline bool TransmissionType_IsValid(int value) {
345  }
350  static constexpr int TransmissionType_ARRAYSIZE =
352  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
355  }
356  template<typename T>
357  static inline const std::string& TransmissionType_Name(T enum_t_value) {
358  static_assert(::std::is_same<T, TransmissionType>::value ||
359  ::std::is_integral<T>::value,
360  "Incorrect type passed to function TransmissionType_Name.");
361  return ModemTransmission_TransmissionType_Name(enum_t_value);
362  }
363  static inline bool TransmissionType_Parse(const std::string& name,
364  TransmissionType* value) {
365  return ModemTransmission_TransmissionType_Parse(name, value);
366  }
367 
368  // accessors -------------------------------------------------------
369 
370  enum : int {
371  kFrameFieldNumber = 14,
372  kAckedFrameFieldNumber = 20,
373  kTimeFieldNumber = 3,
374  kRateFieldNumber = 6,
375  kMaxFrameBytesFieldNumber = 12,
376  kFrameStartFieldNumber = 15,
377  kUniqueIdFieldNumber = 31,
378  kAlwaysInitiateFieldNumber = 32,
379  kSlotIndexFieldNumber = 33,
380  kSrcFieldNumber = 1,
381  kDestFieldNumber = 2,
382  kTimeSourceFieldNumber = 5,
383  kTypeFieldNumber = 7,
384  kMaxNumFramesFieldNumber = 11,
385  kAckRequestedFieldNumber = 13,
386  kSlotSecondsFieldNumber = 30,
387  };
388  // repeated bytes frame = 14 [(.goby.field) = {
389  int frame_size() const;
390  private:
391  int _internal_frame_size() const;
392  public:
393  void clear_frame();
394  const std::string& frame(int index) const;
395  std::string* mutable_frame(int index);
396  void set_frame(int index, const std::string& value);
397  void set_frame(int index, std::string&& value);
398  void set_frame(int index, const char* value);
399  void set_frame(int index, const void* value, size_t size);
400  std::string* add_frame();
401  void add_frame(const std::string& value);
402  void add_frame(std::string&& value);
403  void add_frame(const char* value);
404  void add_frame(const void* value, size_t size);
405  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& frame() const;
406  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_frame();
407  private:
408  const std::string& _internal_frame(int index) const;
409  std::string* _internal_add_frame();
410  public:
411 
412  // repeated int32 acked_frame = 20 [(.goby.field) = {
413  int acked_frame_size() const;
414  private:
415  int _internal_acked_frame_size() const;
416  public:
418  private:
419  ::PROTOBUF_NAMESPACE_ID::int32 _internal_acked_frame(int index) const;
420  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
421  _internal_acked_frame() const;
422  void _internal_add_acked_frame(::PROTOBUF_NAMESPACE_ID::int32 value);
423  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
424  _internal_mutable_acked_frame();
425  public:
429  const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
430  acked_frame() const;
431  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
433 
434  // optional uint64 time = 3 [(.goby.field) = {
435  bool has_time() const;
436  private:
437  bool _internal_has_time() const;
438  public:
439  void clear_time();
442  private:
443  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time() const;
444  void _internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
445  public:
446 
447  // optional int32 rate = 6 [default = 0, (.goby.field) = {
448  bool has_rate() const;
449  private:
450  bool _internal_has_rate() const;
451  public:
452  void clear_rate();
455  private:
456  ::PROTOBUF_NAMESPACE_ID::int32 _internal_rate() const;
457  void _internal_set_rate(::PROTOBUF_NAMESPACE_ID::int32 value);
458  public:
459 
460  // optional uint32 max_frame_bytes = 12 [(.dccl.field) = {
461  bool has_max_frame_bytes() const;
462  private:
463  bool _internal_has_max_frame_bytes() const;
464  public:
468  private:
469  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_max_frame_bytes() const;
470  void _internal_set_max_frame_bytes(::PROTOBUF_NAMESPACE_ID::uint32 value);
471  public:
472 
473  // optional uint32 frame_start = 15 [default = 0, (.dccl.field) = {
474  bool has_frame_start() const;
475  private:
476  bool _internal_has_frame_start() const;
477  public:
481  private:
482  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_frame_start() const;
483  void _internal_set_frame_start(::PROTOBUF_NAMESPACE_ID::uint32 value);
484  public:
485 
486  // optional uint32 unique_id = 31 [(.goby.field) = {
487  bool has_unique_id() const;
488  private:
489  bool _internal_has_unique_id() const;
490  public:
494  private:
495  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_unique_id() const;
496  void _internal_set_unique_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
497  public:
498 
499  // optional bool always_initiate = 32 [default = false];
500  bool has_always_initiate() const;
501  private:
502  bool _internal_has_always_initiate() const;
503  public:
505  bool always_initiate() const;
506  void set_always_initiate(bool value);
507  private:
508  bool _internal_always_initiate() const;
509  void _internal_set_always_initiate(bool value);
510  public:
511 
512  // optional int32 slot_index = 33 [(.dccl.field) = {
513  bool has_slot_index() const;
514  private:
515  bool _internal_has_slot_index() const;
516  public:
520  private:
521  ::PROTOBUF_NAMESPACE_ID::int32 _internal_slot_index() const;
522  void _internal_set_slot_index(::PROTOBUF_NAMESPACE_ID::int32 value);
523  public:
524 
525  // optional int32 src = 1 [default = -1, (.goby.field) = {
526  bool has_src() const;
527  private:
528  bool _internal_has_src() const;
529  public:
530  void clear_src();
533  private:
534  ::PROTOBUF_NAMESPACE_ID::int32 _internal_src() const;
535  void _internal_set_src(::PROTOBUF_NAMESPACE_ID::int32 value);
536  public:
537 
538  // optional int32 dest = 2 [default = -1, (.goby.field) = {
539  bool has_dest() const;
540  private:
541  bool _internal_has_dest() const;
542  public:
543  void clear_dest();
546  private:
547  ::PROTOBUF_NAMESPACE_ID::int32 _internal_dest() const;
548  void _internal_set_dest(::PROTOBUF_NAMESPACE_ID::int32 value);
549  public:
550 
551  // optional .goby.acomms.protobuf.ModemTransmission.TimeSource time_source = 5 [default = GOBY_TIME, (.goby.field) = {
552  bool has_time_source() const;
553  private:
554  bool _internal_has_time_source() const;
555  public:
559  private:
560  ::goby::acomms::protobuf::ModemTransmission_TimeSource _internal_time_source() const;
561  void _internal_set_time_source(::goby::acomms::protobuf::ModemTransmission_TimeSource value);
562  public:
563 
564  // optional .goby.acomms.protobuf.ModemTransmission.TransmissionType type = 7 [default = DATA, (.goby.field) = {
565  bool has_type() const;
566  private:
567  bool _internal_has_type() const;
568  public:
569  void clear_type();
572  private:
574  void _internal_set_type(::goby::acomms::protobuf::ModemTransmission_TransmissionType value);
575  public:
576 
577  // optional uint32 max_num_frames = 11 [default = 1, (.dccl.field) = {
578  bool has_max_num_frames() const;
579  private:
580  bool _internal_has_max_num_frames() const;
581  public:
585  private:
586  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_max_num_frames() const;
587  void _internal_set_max_num_frames(::PROTOBUF_NAMESPACE_ID::uint32 value);
588  public:
589 
590  // optional bool ack_requested = 13 [default = true];
591  bool has_ack_requested() const;
592  private:
593  bool _internal_has_ack_requested() const;
594  public:
596  bool ack_requested() const;
597  void set_ack_requested(bool value);
598  private:
599  bool _internal_ack_requested() const;
600  void _internal_set_ack_requested(bool value);
601  public:
602 
603  // optional double slot_seconds = 30 [default = 10, (.dccl.field) = {
604  bool has_slot_seconds() const;
605  private:
606  bool _internal_has_slot_seconds() const;
607  public:
609  double slot_seconds() const;
610  void set_slot_seconds(double value);
611  private:
612  double _internal_slot_seconds() const;
613  void _internal_set_slot_seconds(double value);
614  public:
615 
616  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ModemTransmission)
617  typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type time_dimension;
618 
619  typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type time_unit;
620 
621  template<typename Quantity >
622  void set_time_with_units(Quantity value_w_units)
623  { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
624 
625  template<typename Quantity >
626  Quantity time_with_units() const
627  { return Quantity(time() * time_unit()); };
628 
629  boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
630  { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
631 
633 
634  typedef boost::units::unit<slot_seconds_dimension,boost::units::si::system> slot_seconds_unit;
635 
636  template<typename Quantity >
637  void set_slot_seconds_with_units(Quantity value_w_units)
638  { set_slot_seconds(boost::units::quantity<slot_seconds_unit,double >(value_w_units).value() ); };
639 
640  template<typename Quantity >
641  Quantity slot_seconds_with_units() const
642  { return Quantity(slot_seconds() * slot_seconds_unit()); };
643 
644  boost::units::quantity< slot_seconds_unit,double > slot_seconds_with_units() const
645  { return slot_seconds_with_units<boost::units::quantity< slot_seconds_unit,double > >(); };
646 
647  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.ModemTransmission)
648  private:
649  class _Internal;
650 
651  ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
652 
653  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
654  typedef void InternalArenaConstructable_;
655  typedef void DestructorSkippable_;
656  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
657  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
658  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> frame_;
659  ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > acked_frame_;
662  ::PROTOBUF_NAMESPACE_ID::uint32 max_frame_bytes_;
663  ::PROTOBUF_NAMESPACE_ID::uint32 frame_start_;
665  bool always_initiate_;
666  ::PROTOBUF_NAMESPACE_ID::int32 slot_index_;
669  int time_source_;
670  int type_;
671  ::PROTOBUF_NAMESPACE_ID::uint32 max_num_frames_;
672  bool ack_requested_;
673  double slot_seconds_;
674  friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fmodem_5fmessage_2eproto;
675 };
676 // -------------------------------------------------------------------
677 
678 class ModemRaw PROTOBUF_FINAL :
679  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.ModemRaw) */ {
680  public:
681  inline ModemRaw() : ModemRaw(nullptr) {};
682  virtual ~ModemRaw();
683 
684  ModemRaw(const ModemRaw& from);
685  ModemRaw(ModemRaw&& from) noexcept
686  : ModemRaw() {
687  *this = ::std::move(from);
688  }
689 
690  inline ModemRaw& operator=(const ModemRaw& from) {
691  CopyFrom(from);
692  return *this;
693  }
694  inline ModemRaw& operator=(ModemRaw&& from) noexcept {
695  if (GetArena() == from.GetArena()) {
696  if (this != &from) InternalSwap(&from);
697  } else {
698  CopyFrom(from);
699  }
700  return *this;
701  }
702 
703  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
704  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
705  }
706  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
707  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
708  }
709 
710  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
711  return GetDescriptor();
712  }
713  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
714  return GetMetadataStatic().descriptor;
715  }
716  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
717  return GetMetadataStatic().reflection;
718  }
719  static const ModemRaw& default_instance();
720 
721  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
722  static inline const ModemRaw* internal_default_instance() {
723  return reinterpret_cast<const ModemRaw*>(
725  }
726  static constexpr int kIndexInFileMessages =
727  1;
728 
729  friend void swap(ModemRaw& a, ModemRaw& b) {
730  a.Swap(&b);
731  }
732  inline void Swap(ModemRaw* other) {
733  if (other == this) return;
734  if (GetArena() == other->GetArena()) {
735  InternalSwap(other);
736  } else {
737  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
738  }
739  }
740  void UnsafeArenaSwap(ModemRaw* other) {
741  if (other == this) return;
742  GOOGLE_DCHECK(GetArena() == other->GetArena());
743  InternalSwap(other);
744  }
745 
746  // implements Message ----------------------------------------------
747 
748  inline ModemRaw* New() const final {
749  return CreateMaybeMessage<ModemRaw>(nullptr);
750  }
751 
752  ModemRaw* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
753  return CreateMaybeMessage<ModemRaw>(arena);
754  }
755  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
756  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
757  void CopyFrom(const ModemRaw& from);
758  void MergeFrom(const ModemRaw& from);
759  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
760  bool IsInitialized() const final;
761 
762  size_t ByteSizeLong() const final;
763  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
764  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
765  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
766  int GetCachedSize() const final { return _cached_size_.Get(); }
767 
768  private:
769  inline void SharedCtor();
770  inline void SharedDtor();
771  void SetCachedSize(int size) const final;
772  void InternalSwap(ModemRaw* other);
773  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
774  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
775  return "goby.acomms.protobuf.ModemRaw";
776  }
777  protected:
778  explicit ModemRaw(::PROTOBUF_NAMESPACE_ID::Arena* arena);
779  private:
780  static void ArenaDtor(void* object);
781  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
782  public:
783 
784  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
785  private:
786  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
787  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2fmodem_5fmessage_2eproto);
789  }
790 
791  public:
792 
793  // nested types ----------------------------------------------------
794 
795  // accessors -------------------------------------------------------
796 
797  enum : int {
798  kRawFieldNumber = 7,
799  kDescriptionFieldNumber = 8,
800  };
801  // required bytes raw = 7;
802  bool has_raw() const;
803  private:
804  bool _internal_has_raw() const;
805  public:
806  void clear_raw();
807  const std::string& raw() const;
808  void set_raw(const std::string& value);
809  void set_raw(std::string&& value);
810  void set_raw(const char* value);
811  void set_raw(const void* value, size_t size);
812  std::string* mutable_raw();
813  std::string* release_raw();
814  void set_allocated_raw(std::string* raw);
815  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
816  " string fields are deprecated and will be removed in a"
817  " future release.")
818  std::string* unsafe_arena_release_raw();
819  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
820  " string fields are deprecated and will be removed in a"
821  " future release.")
822  void unsafe_arena_set_allocated_raw(
823  std::string* raw);
824  private:
825  const std::string& _internal_raw() const;
826  void _internal_set_raw(const std::string& value);
827  std::string* _internal_mutable_raw();
828  public:
829 
830  // optional string description = 8;
831  bool has_description() const;
832  private:
833  bool _internal_has_description() const;
834  public:
835  void clear_description();
836  const std::string& description() const;
837  void set_description(const std::string& value);
838  void set_description(std::string&& value);
839  void set_description(const char* value);
840  void set_description(const char* value, size_t size);
841  std::string* mutable_description();
842  std::string* release_description();
843  void set_allocated_description(std::string* description);
844  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
845  " string fields are deprecated and will be removed in a"
846  " future release.")
847  std::string* unsafe_arena_release_description();
848  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
849  " string fields are deprecated and will be removed in a"
850  " future release.")
851  void unsafe_arena_set_allocated_description(
852  std::string* description);
853  private:
854  const std::string& _internal_description() const;
855  void _internal_set_description(const std::string& value);
856  std::string* _internal_mutable_description();
857  public:
858 
859  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.ModemRaw)
860  private:
861  class _Internal;
862 
863  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
864  typedef void InternalArenaConstructable_;
865  typedef void DestructorSkippable_;
866  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
867  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
868  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr raw_;
869  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
871 };
872 // -------------------------------------------------------------------
873 
874 class ModemReport PROTOBUF_FINAL :
875  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.protobuf.ModemReport) */ {
876  public:
877  inline ModemReport() : ModemReport(nullptr) {};
878  virtual ~ModemReport();
879 
880  ModemReport(const ModemReport& from);
881  ModemReport(ModemReport&& from) noexcept
882  : ModemReport() {
883  *this = ::std::move(from);
884  }
885 
886  inline ModemReport& operator=(const ModemReport& from) {
887  CopyFrom(from);
888  return *this;
889  }
890  inline ModemReport& operator=(ModemReport&& from) noexcept {
891  if (GetArena() == from.GetArena()) {
892  if (this != &from) InternalSwap(&from);
893  } else {
894  CopyFrom(from);
895  }
896  return *this;
897  }
898 
899  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
900  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
901  }
902  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
903  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
904  }
905 
906  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
907  return GetDescriptor();
908  }
909  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
910  return GetMetadataStatic().descriptor;
911  }
912  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
913  return GetMetadataStatic().reflection;
914  }
915  static const ModemReport& default_instance();
916 
917  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
918  static inline const ModemReport* internal_default_instance() {
919  return reinterpret_cast<const ModemReport*>(
921  }
922  static constexpr int kIndexInFileMessages =
923  2;
924 
925  friend void swap(ModemReport& a, ModemReport& b) {
926  a.Swap(&b);
927  }
928  inline void Swap(ModemReport* other) {
929  if (other == this) return;
930  if (GetArena() == other->GetArena()) {
931  InternalSwap(other);
932  } else {
933  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
934  }
935  }
936  void UnsafeArenaSwap(ModemReport* other) {
937  if (other == this) return;
938  GOOGLE_DCHECK(GetArena() == other->GetArena());
939  InternalSwap(other);
940  }
941 
942  // implements Message ----------------------------------------------
943 
944  inline ModemReport* New() const final {
945  return CreateMaybeMessage<ModemReport>(nullptr);
946  }
947 
948  ModemReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
949  return CreateMaybeMessage<ModemReport>(arena);
950  }
951  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
952  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
953  void CopyFrom(const ModemReport& from);
954  void MergeFrom(const ModemReport& from);
955  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
956  bool IsInitialized() const final;
957 
958  size_t ByteSizeLong() const final;
959  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
960  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
961  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
962  int GetCachedSize() const final { return _cached_size_.Get(); }
963 
964  private:
965  inline void SharedCtor();
966  inline void SharedDtor();
967  void SetCachedSize(int size) const final;
968  void InternalSwap(ModemReport* other);
969  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
970  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
971  return "goby.acomms.protobuf.ModemReport";
972  }
973  protected:
974  explicit ModemReport(::PROTOBUF_NAMESPACE_ID::Arena* arena);
975  private:
976  static void ArenaDtor(void* object);
977  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
978  public:
979 
980  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
981  private:
982  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
983  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_goby_2facomms_2fprotobuf_2fmodem_5fmessage_2eproto);
985  }
986 
987  public:
988 
989  // nested types ----------------------------------------------------
990 
992  static constexpr LinkState LINK_NOT_AVAILABLE =
994  static constexpr LinkState LINK_AVAILABLE =
996  static inline bool LinkState_IsValid(int value) {
997  return ModemReport_LinkState_IsValid(value);
998  }
999  static constexpr LinkState LinkState_MIN =
1001  static constexpr LinkState LinkState_MAX =
1003  static constexpr int LinkState_ARRAYSIZE =
1005  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1008  }
1009  template<typename T>
1010  static inline const std::string& LinkState_Name(T enum_t_value) {
1011  static_assert(::std::is_same<T, LinkState>::value ||
1012  ::std::is_integral<T>::value,
1013  "Incorrect type passed to function LinkState_Name.");
1014  return ModemReport_LinkState_Name(enum_t_value);
1015  }
1016  static inline bool LinkState_Parse(const std::string& name,
1017  LinkState* value) {
1018  return ModemReport_LinkState_Parse(name, value);
1019  }
1020 
1022  static constexpr LinkQuality QUALITY_VERY_LOW =
1024  static constexpr LinkQuality QUALITY_LOW =
1026  static constexpr LinkQuality QUALITY_UNKNOWN =
1028  static constexpr LinkQuality QUALITY_MEDIUM =
1030  static constexpr LinkQuality QUALITY_HIGH =
1032  static constexpr LinkQuality QUALITY_VERY_HIGH =
1034  static inline bool LinkQuality_IsValid(int value) {
1035  return ModemReport_LinkQuality_IsValid(value);
1036  }
1037  static constexpr LinkQuality LinkQuality_MIN =
1039  static constexpr LinkQuality LinkQuality_MAX =
1041  static constexpr int LinkQuality_ARRAYSIZE =
1043  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1046  }
1047  template<typename T>
1048  static inline const std::string& LinkQuality_Name(T enum_t_value) {
1049  static_assert(::std::is_same<T, LinkQuality>::value ||
1050  ::std::is_integral<T>::value,
1051  "Incorrect type passed to function LinkQuality_Name.");
1052  return ModemReport_LinkQuality_Name(enum_t_value);
1053  }
1054  static inline bool LinkQuality_Parse(const std::string& name,
1055  LinkQuality* value) {
1056  return ModemReport_LinkQuality_Parse(name, value);
1057  }
1058 
1059  // accessors -------------------------------------------------------
1060 
1061  enum : int {
1062  kTimeFieldNumber = 2,
1063  kLinkQualityFieldNumber = 4,
1064  kModemIdFieldNumber = 1,
1065  kLinkStateFieldNumber = 3,
1066  };
1067  // optional uint64 time = 2 [(.dccl.field) = {
1068  bool has_time() const;
1069  private:
1070  bool _internal_has_time() const;
1071  public:
1072  void clear_time();
1075  private:
1076  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time() const;
1077  void _internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
1078  public:
1079 
1080  // optional .goby.acomms.protobuf.ModemReport.LinkQuality link_quality = 4 [default = QUALITY_UNKNOWN];
1081  bool has_link_quality() const;
1082  private:
1083  bool _internal_has_link_quality() const;
1084  public:
1088  private:
1089  ::goby::acomms::protobuf::ModemReport_LinkQuality _internal_link_quality() const;
1090  void _internal_set_link_quality(::goby::acomms::protobuf::ModemReport_LinkQuality value);
1091  public:
1092 
1093  // optional int32 modem_id = 1 [default = -1];
1094  bool has_modem_id() const;
1095  private:
1096  bool _internal_has_modem_id() const;
1097  public:
1101  private:
1102  ::PROTOBUF_NAMESPACE_ID::int32 _internal_modem_id() const;
1103  void _internal_set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value);
1104  public:
1105 
1106  // optional .goby.acomms.protobuf.ModemReport.LinkState link_state = 3 [default = LINK_AVAILABLE];
1107  bool has_link_state() const;
1108  private:
1109  bool _internal_has_link_state() const;
1110  public:
1114  private:
1115  ::goby::acomms::protobuf::ModemReport_LinkState _internal_link_state() const;
1116  void _internal_set_link_state(::goby::acomms::protobuf::ModemReport_LinkState value);
1117  public:
1118 
1119  GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(ModemReport)
1120  typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type time_dimension;
1121 
1122  typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type time_unit;
1123 
1124  template<typename Quantity >
1125  void set_time_with_units(Quantity value_w_units)
1126  { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
1127 
1128  template<typename Quantity >
1129  Quantity time_with_units() const
1130  { return Quantity(time() * time_unit()); };
1131 
1132  boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
1133  { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
1134 
1135  // @@protoc_insertion_point(class_scope:goby.acomms.protobuf.ModemReport)
1136  private:
1137  class _Internal;
1138 
1139  ::PROTOBUF_NAMESPACE_ID::internal::ExtensionSet _extensions_;
1140 
1141  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1142  typedef void InternalArenaConstructable_;
1143  typedef void DestructorSkippable_;
1144  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1145  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1147  int link_quality_;
1149  int link_state_;
1150  friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fmodem_5fmessage_2eproto;
1151 };
1152 // ===================================================================
1153 
1154 
1155 // ===================================================================
1156 
1157 #ifdef __GNUC__
1158  #pragma GCC diagnostic push
1159  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1160 #endif // __GNUC__
1161 // ModemTransmission
1162 
1163 // optional int32 src = 1 [default = -1, (.goby.field) = {
1164 inline bool ModemTransmission::_internal_has_src() const {
1165  bool value = (_has_bits_[0] & 0x00000080u) != 0;
1166  return value;
1167 }
1168 inline bool ModemTransmission::has_src() const {
1169  return _internal_has_src();
1170 }
1171 inline void ModemTransmission::clear_src() {
1172  src_ = -1;
1173  _has_bits_[0] &= ~0x00000080u;
1174 }
1175 inline ::PROTOBUF_NAMESPACE_ID::int32 ModemTransmission::_internal_src() const {
1176  return src_;
1177 }
1178 inline ::PROTOBUF_NAMESPACE_ID::int32 ModemTransmission::src() const {
1179  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.src)
1180  return _internal_src();
1181 }
1182 inline void ModemTransmission::_internal_set_src(::PROTOBUF_NAMESPACE_ID::int32 value) {
1183  _has_bits_[0] |= 0x00000080u;
1184  src_ = value;
1185 }
1186 inline void ModemTransmission::set_src(::PROTOBUF_NAMESPACE_ID::int32 value) {
1187  _internal_set_src(value);
1188  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.src)
1189 }
1190 
1191 // optional int32 dest = 2 [default = -1, (.goby.field) = {
1192 inline bool ModemTransmission::_internal_has_dest() const {
1193  bool value = (_has_bits_[0] & 0x00000100u) != 0;
1194  return value;
1195 }
1196 inline bool ModemTransmission::has_dest() const {
1197  return _internal_has_dest();
1198 }
1199 inline void ModemTransmission::clear_dest() {
1200  dest_ = -1;
1201  _has_bits_[0] &= ~0x00000100u;
1202 }
1203 inline ::PROTOBUF_NAMESPACE_ID::int32 ModemTransmission::_internal_dest() const {
1204  return dest_;
1205 }
1206 inline ::PROTOBUF_NAMESPACE_ID::int32 ModemTransmission::dest() const {
1207  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.dest)
1208  return _internal_dest();
1209 }
1210 inline void ModemTransmission::_internal_set_dest(::PROTOBUF_NAMESPACE_ID::int32 value) {
1211  _has_bits_[0] |= 0x00000100u;
1212  dest_ = value;
1213 }
1214 inline void ModemTransmission::set_dest(::PROTOBUF_NAMESPACE_ID::int32 value) {
1215  _internal_set_dest(value);
1216  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.dest)
1217 }
1218 
1219 // optional uint64 time = 3 [(.goby.field) = {
1220 inline bool ModemTransmission::_internal_has_time() const {
1221  bool value = (_has_bits_[0] & 0x00000001u) != 0;
1222  return value;
1223 }
1224 inline bool ModemTransmission::has_time() const {
1225  return _internal_has_time();
1226 }
1227 inline void ModemTransmission::clear_time() {
1228  time_ = PROTOBUF_ULONGLONG(0);
1229  _has_bits_[0] &= ~0x00000001u;
1230 }
1231 inline ::PROTOBUF_NAMESPACE_ID::uint64 ModemTransmission::_internal_time() const {
1232  return time_;
1233 }
1235  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.time)
1236  return _internal_time();
1237 }
1238 inline void ModemTransmission::_internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1239  _has_bits_[0] |= 0x00000001u;
1240  time_ = value;
1241 }
1242 inline void ModemTransmission::set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1243  _internal_set_time(value);
1244  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.time)
1245 }
1246 
1247 // optional .goby.acomms.protobuf.ModemTransmission.TimeSource time_source = 5 [default = GOBY_TIME, (.goby.field) = {
1248 inline bool ModemTransmission::_internal_has_time_source() const {
1249  bool value = (_has_bits_[0] & 0x00000200u) != 0;
1250  return value;
1251 }
1252 inline bool ModemTransmission::has_time_source() const {
1253  return _internal_has_time_source();
1254 }
1255 inline void ModemTransmission::clear_time_source() {
1256  time_source_ = 2;
1257  _has_bits_[0] &= ~0x00000200u;
1258 }
1259 inline ::goby::acomms::protobuf::ModemTransmission_TimeSource ModemTransmission::_internal_time_source() const {
1260  return static_cast< ::goby::acomms::protobuf::ModemTransmission_TimeSource >(time_source_);
1261 }
1262 inline ::goby::acomms::protobuf::ModemTransmission_TimeSource ModemTransmission::time_source() const {
1263  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.time_source)
1264  return _internal_time_source();
1265 }
1266 inline void ModemTransmission::_internal_set_time_source(::goby::acomms::protobuf::ModemTransmission_TimeSource value) {
1268  _has_bits_[0] |= 0x00000200u;
1269  time_source_ = value;
1270 }
1271 inline void ModemTransmission::set_time_source(::goby::acomms::protobuf::ModemTransmission_TimeSource value) {
1272  _internal_set_time_source(value);
1273  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.time_source)
1274 }
1275 
1276 // optional int32 rate = 6 [default = 0, (.goby.field) = {
1277 inline bool ModemTransmission::_internal_has_rate() const {
1278  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1279  return value;
1280 }
1281 inline bool ModemTransmission::has_rate() const {
1282  return _internal_has_rate();
1283 }
1284 inline void ModemTransmission::clear_rate() {
1285  rate_ = 0;
1286  _has_bits_[0] &= ~0x00000002u;
1287 }
1288 inline ::PROTOBUF_NAMESPACE_ID::int32 ModemTransmission::_internal_rate() const {
1289  return rate_;
1290 }
1291 inline ::PROTOBUF_NAMESPACE_ID::int32 ModemTransmission::rate() const {
1292  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.rate)
1293  return _internal_rate();
1294 }
1295 inline void ModemTransmission::_internal_set_rate(::PROTOBUF_NAMESPACE_ID::int32 value) {
1296  _has_bits_[0] |= 0x00000002u;
1297  rate_ = value;
1298 }
1299 inline void ModemTransmission::set_rate(::PROTOBUF_NAMESPACE_ID::int32 value) {
1300  _internal_set_rate(value);
1301  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.rate)
1302 }
1303 
1304 // optional .goby.acomms.protobuf.ModemTransmission.TransmissionType type = 7 [default = DATA, (.goby.field) = {
1305 inline bool ModemTransmission::_internal_has_type() const {
1306  bool value = (_has_bits_[0] & 0x00000400u) != 0;
1307  return value;
1308 }
1309 inline bool ModemTransmission::has_type() const {
1310  return _internal_has_type();
1311 }
1312 inline void ModemTransmission::clear_type() {
1313  type_ = 1;
1314  _has_bits_[0] &= ~0x00000400u;
1315 }
1316 inline ::goby::acomms::protobuf::ModemTransmission_TransmissionType ModemTransmission::_internal_type() const {
1317  return static_cast< ::goby::acomms::protobuf::ModemTransmission_TransmissionType >(type_);
1318 }
1320  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.type)
1321  return _internal_type();
1322 }
1323 inline void ModemTransmission::_internal_set_type(::goby::acomms::protobuf::ModemTransmission_TransmissionType value) {
1325  _has_bits_[0] |= 0x00000400u;
1326  type_ = value;
1327 }
1328 inline void ModemTransmission::set_type(::goby::acomms::protobuf::ModemTransmission_TransmissionType value) {
1329  _internal_set_type(value);
1330  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.type)
1331 }
1332 
1333 // optional uint32 max_num_frames = 11 [default = 1, (.dccl.field) = {
1334 inline bool ModemTransmission::_internal_has_max_num_frames() const {
1335  bool value = (_has_bits_[0] & 0x00000800u) != 0;
1336  return value;
1337 }
1338 inline bool ModemTransmission::has_max_num_frames() const {
1339  return _internal_has_max_num_frames();
1340 }
1341 inline void ModemTransmission::clear_max_num_frames() {
1342  max_num_frames_ = 1u;
1343  _has_bits_[0] &= ~0x00000800u;
1344 }
1345 inline ::PROTOBUF_NAMESPACE_ID::uint32 ModemTransmission::_internal_max_num_frames() const {
1346  return max_num_frames_;
1347 }
1348 inline ::PROTOBUF_NAMESPACE_ID::uint32 ModemTransmission::max_num_frames() const {
1349  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.max_num_frames)
1350  return _internal_max_num_frames();
1351 }
1352 inline void ModemTransmission::_internal_set_max_num_frames(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1353  _has_bits_[0] |= 0x00000800u;
1354  max_num_frames_ = value;
1355 }
1356 inline void ModemTransmission::set_max_num_frames(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1357  _internal_set_max_num_frames(value);
1358  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.max_num_frames)
1359 }
1360 
1361 // optional uint32 max_frame_bytes = 12 [(.dccl.field) = {
1362 inline bool ModemTransmission::_internal_has_max_frame_bytes() const {
1363  bool value = (_has_bits_[0] & 0x00000004u) != 0;
1364  return value;
1365 }
1366 inline bool ModemTransmission::has_max_frame_bytes() const {
1367  return _internal_has_max_frame_bytes();
1368 }
1369 inline void ModemTransmission::clear_max_frame_bytes() {
1370  max_frame_bytes_ = 0u;
1371  _has_bits_[0] &= ~0x00000004u;
1372 }
1373 inline ::PROTOBUF_NAMESPACE_ID::uint32 ModemTransmission::_internal_max_frame_bytes() const {
1374  return max_frame_bytes_;
1375 }
1376 inline ::PROTOBUF_NAMESPACE_ID::uint32 ModemTransmission::max_frame_bytes() const {
1377  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.max_frame_bytes)
1378  return _internal_max_frame_bytes();
1379 }
1380 inline void ModemTransmission::_internal_set_max_frame_bytes(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1381  _has_bits_[0] |= 0x00000004u;
1382  max_frame_bytes_ = value;
1383 }
1384 inline void ModemTransmission::set_max_frame_bytes(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1385  _internal_set_max_frame_bytes(value);
1386  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.max_frame_bytes)
1387 }
1388 
1389 // optional bool ack_requested = 13 [default = true];
1390 inline bool ModemTransmission::_internal_has_ack_requested() const {
1391  bool value = (_has_bits_[0] & 0x00001000u) != 0;
1392  return value;
1393 }
1394 inline bool ModemTransmission::has_ack_requested() const {
1395  return _internal_has_ack_requested();
1396 }
1397 inline void ModemTransmission::clear_ack_requested() {
1398  ack_requested_ = true;
1399  _has_bits_[0] &= ~0x00001000u;
1400 }
1401 inline bool ModemTransmission::_internal_ack_requested() const {
1402  return ack_requested_;
1403 }
1404 inline bool ModemTransmission::ack_requested() const {
1405  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.ack_requested)
1406  return _internal_ack_requested();
1407 }
1408 inline void ModemTransmission::_internal_set_ack_requested(bool value) {
1409  _has_bits_[0] |= 0x00001000u;
1410  ack_requested_ = value;
1411 }
1412 inline void ModemTransmission::set_ack_requested(bool value) {
1413  _internal_set_ack_requested(value);
1414  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.ack_requested)
1415 }
1416 
1417 // repeated bytes frame = 14 [(.goby.field) = {
1418 inline int ModemTransmission::_internal_frame_size() const {
1419  return frame_.size();
1420 }
1421 inline int ModemTransmission::frame_size() const {
1422  return _internal_frame_size();
1423 }
1424 inline void ModemTransmission::clear_frame() {
1425  frame_.Clear();
1426 }
1427 inline std::string* ModemTransmission::add_frame() {
1428  // @@protoc_insertion_point(field_add_mutable:goby.acomms.protobuf.ModemTransmission.frame)
1429  return _internal_add_frame();
1430 }
1431 inline const std::string& ModemTransmission::_internal_frame(int index) const {
1432  return frame_.Get(index);
1433 }
1434 inline const std::string& ModemTransmission::frame(int index) const {
1435  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.frame)
1436  return _internal_frame(index);
1437 }
1438 inline std::string* ModemTransmission::mutable_frame(int index) {
1439  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.ModemTransmission.frame)
1440  return frame_.Mutable(index);
1441 }
1442 inline void ModemTransmission::set_frame(int index, const std::string& value) {
1443  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.frame)
1444  frame_.Mutable(index)->assign(value);
1445 }
1446 inline void ModemTransmission::set_frame(int index, std::string&& value) {
1447  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.frame)
1448  frame_.Mutable(index)->assign(std::move(value));
1449 }
1450 inline void ModemTransmission::set_frame(int index, const char* value) {
1451  GOOGLE_DCHECK(value != nullptr);
1452  frame_.Mutable(index)->assign(value);
1453  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.ModemTransmission.frame)
1454 }
1455 inline void ModemTransmission::set_frame(int index, const void* value, size_t size) {
1456  frame_.Mutable(index)->assign(
1457  reinterpret_cast<const char*>(value), size);
1458  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.ModemTransmission.frame)
1459 }
1460 inline std::string* ModemTransmission::_internal_add_frame() {
1461  return frame_.Add();
1462 }
1463 inline void ModemTransmission::add_frame(const std::string& value) {
1464  frame_.Add()->assign(value);
1465  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.ModemTransmission.frame)
1466 }
1467 inline void ModemTransmission::add_frame(std::string&& value) {
1468  frame_.Add(std::move(value));
1469  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.ModemTransmission.frame)
1470 }
1471 inline void ModemTransmission::add_frame(const char* value) {
1472  GOOGLE_DCHECK(value != nullptr);
1473  frame_.Add()->assign(value);
1474  // @@protoc_insertion_point(field_add_char:goby.acomms.protobuf.ModemTransmission.frame)
1475 }
1476 inline void ModemTransmission::add_frame(const void* value, size_t size) {
1477  frame_.Add()->assign(reinterpret_cast<const char*>(value), size);
1478  // @@protoc_insertion_point(field_add_pointer:goby.acomms.protobuf.ModemTransmission.frame)
1479 }
1480 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1481 ModemTransmission::frame() const {
1482  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.ModemTransmission.frame)
1483  return frame_;
1484 }
1485 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1486 ModemTransmission::mutable_frame() {
1487  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.ModemTransmission.frame)
1488  return &frame_;
1489 }
1490 
1491 // optional uint32 frame_start = 15 [default = 0, (.dccl.field) = {
1492 inline bool ModemTransmission::_internal_has_frame_start() const {
1493  bool value = (_has_bits_[0] & 0x00000008u) != 0;
1494  return value;
1495 }
1496 inline bool ModemTransmission::has_frame_start() const {
1497  return _internal_has_frame_start();
1498 }
1499 inline void ModemTransmission::clear_frame_start() {
1500  frame_start_ = 0u;
1501  _has_bits_[0] &= ~0x00000008u;
1502 }
1503 inline ::PROTOBUF_NAMESPACE_ID::uint32 ModemTransmission::_internal_frame_start() const {
1504  return frame_start_;
1505 }
1506 inline ::PROTOBUF_NAMESPACE_ID::uint32 ModemTransmission::frame_start() const {
1507  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.frame_start)
1508  return _internal_frame_start();
1509 }
1510 inline void ModemTransmission::_internal_set_frame_start(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1511  _has_bits_[0] |= 0x00000008u;
1512  frame_start_ = value;
1513 }
1514 inline void ModemTransmission::set_frame_start(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1515  _internal_set_frame_start(value);
1516  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.frame_start)
1517 }
1518 
1519 // repeated int32 acked_frame = 20 [(.goby.field) = {
1520 inline int ModemTransmission::_internal_acked_frame_size() const {
1521  return acked_frame_.size();
1522 }
1523 inline int ModemTransmission::acked_frame_size() const {
1524  return _internal_acked_frame_size();
1525 }
1526 inline void ModemTransmission::clear_acked_frame() {
1527  acked_frame_.Clear();
1528 }
1529 inline ::PROTOBUF_NAMESPACE_ID::int32 ModemTransmission::_internal_acked_frame(int index) const {
1530  return acked_frame_.Get(index);
1531 }
1532 inline ::PROTOBUF_NAMESPACE_ID::int32 ModemTransmission::acked_frame(int index) const {
1533  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.acked_frame)
1534  return _internal_acked_frame(index);
1535 }
1536 inline void ModemTransmission::set_acked_frame(int index, ::PROTOBUF_NAMESPACE_ID::int32 value) {
1537  acked_frame_.Set(index, value);
1538  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.acked_frame)
1539 }
1540 inline void ModemTransmission::_internal_add_acked_frame(::PROTOBUF_NAMESPACE_ID::int32 value) {
1541  acked_frame_.Add(value);
1542 }
1543 inline void ModemTransmission::add_acked_frame(::PROTOBUF_NAMESPACE_ID::int32 value) {
1544  _internal_add_acked_frame(value);
1545  // @@protoc_insertion_point(field_add:goby.acomms.protobuf.ModemTransmission.acked_frame)
1546 }
1547 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1548 ModemTransmission::_internal_acked_frame() const {
1549  return acked_frame_;
1550 }
1551 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >&
1552 ModemTransmission::acked_frame() const {
1553  // @@protoc_insertion_point(field_list:goby.acomms.protobuf.ModemTransmission.acked_frame)
1554  return _internal_acked_frame();
1555 }
1556 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1557 ModemTransmission::_internal_mutable_acked_frame() {
1558  return &acked_frame_;
1559 }
1560 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 >*
1561 ModemTransmission::mutable_acked_frame() {
1562  // @@protoc_insertion_point(field_mutable_list:goby.acomms.protobuf.ModemTransmission.acked_frame)
1563  return _internal_mutable_acked_frame();
1564 }
1565 
1566 // optional double slot_seconds = 30 [default = 10, (.dccl.field) = {
1567 inline bool ModemTransmission::_internal_has_slot_seconds() const {
1568  bool value = (_has_bits_[0] & 0x00002000u) != 0;
1569  return value;
1570 }
1571 inline bool ModemTransmission::has_slot_seconds() const {
1572  return _internal_has_slot_seconds();
1573 }
1574 inline void ModemTransmission::clear_slot_seconds() {
1575  slot_seconds_ = 10;
1576  _has_bits_[0] &= ~0x00002000u;
1577 }
1578 inline double ModemTransmission::_internal_slot_seconds() const {
1579  return slot_seconds_;
1580 }
1581 inline double ModemTransmission::slot_seconds() const {
1582  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.slot_seconds)
1583  return _internal_slot_seconds();
1584 }
1585 inline void ModemTransmission::_internal_set_slot_seconds(double value) {
1586  _has_bits_[0] |= 0x00002000u;
1587  slot_seconds_ = value;
1588 }
1589 inline void ModemTransmission::set_slot_seconds(double value) {
1590  _internal_set_slot_seconds(value);
1591  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.slot_seconds)
1592 }
1593 
1594 // optional uint32 unique_id = 31 [(.goby.field) = {
1595 inline bool ModemTransmission::_internal_has_unique_id() const {
1596  bool value = (_has_bits_[0] & 0x00000010u) != 0;
1597  return value;
1598 }
1599 inline bool ModemTransmission::has_unique_id() const {
1600  return _internal_has_unique_id();
1601 }
1602 inline void ModemTransmission::clear_unique_id() {
1603  unique_id_ = 0u;
1604  _has_bits_[0] &= ~0x00000010u;
1605 }
1606 inline ::PROTOBUF_NAMESPACE_ID::uint32 ModemTransmission::_internal_unique_id() const {
1607  return unique_id_;
1608 }
1609 inline ::PROTOBUF_NAMESPACE_ID::uint32 ModemTransmission::unique_id() const {
1610  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.unique_id)
1611  return _internal_unique_id();
1612 }
1613 inline void ModemTransmission::_internal_set_unique_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1614  _has_bits_[0] |= 0x00000010u;
1615  unique_id_ = value;
1616 }
1617 inline void ModemTransmission::set_unique_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1618  _internal_set_unique_id(value);
1619  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.unique_id)
1620 }
1621 
1622 // optional bool always_initiate = 32 [default = false];
1623 inline bool ModemTransmission::_internal_has_always_initiate() const {
1624  bool value = (_has_bits_[0] & 0x00000020u) != 0;
1625  return value;
1626 }
1627 inline bool ModemTransmission::has_always_initiate() const {
1628  return _internal_has_always_initiate();
1629 }
1630 inline void ModemTransmission::clear_always_initiate() {
1631  always_initiate_ = false;
1632  _has_bits_[0] &= ~0x00000020u;
1633 }
1634 inline bool ModemTransmission::_internal_always_initiate() const {
1635  return always_initiate_;
1636 }
1637 inline bool ModemTransmission::always_initiate() const {
1638  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.always_initiate)
1639  return _internal_always_initiate();
1640 }
1641 inline void ModemTransmission::_internal_set_always_initiate(bool value) {
1642  _has_bits_[0] |= 0x00000020u;
1643  always_initiate_ = value;
1644 }
1645 inline void ModemTransmission::set_always_initiate(bool value) {
1646  _internal_set_always_initiate(value);
1647  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.always_initiate)
1648 }
1649 
1650 // optional int32 slot_index = 33 [(.dccl.field) = {
1651 inline bool ModemTransmission::_internal_has_slot_index() const {
1652  bool value = (_has_bits_[0] & 0x00000040u) != 0;
1653  return value;
1654 }
1655 inline bool ModemTransmission::has_slot_index() const {
1656  return _internal_has_slot_index();
1657 }
1658 inline void ModemTransmission::clear_slot_index() {
1659  slot_index_ = 0;
1660  _has_bits_[0] &= ~0x00000040u;
1661 }
1662 inline ::PROTOBUF_NAMESPACE_ID::int32 ModemTransmission::_internal_slot_index() const {
1663  return slot_index_;
1664 }
1665 inline ::PROTOBUF_NAMESPACE_ID::int32 ModemTransmission::slot_index() const {
1666  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemTransmission.slot_index)
1667  return _internal_slot_index();
1668 }
1669 inline void ModemTransmission::_internal_set_slot_index(::PROTOBUF_NAMESPACE_ID::int32 value) {
1670  _has_bits_[0] |= 0x00000040u;
1671  slot_index_ = value;
1672 }
1673 inline void ModemTransmission::set_slot_index(::PROTOBUF_NAMESPACE_ID::int32 value) {
1674  _internal_set_slot_index(value);
1675  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemTransmission.slot_index)
1676 }
1677 
1678 // -------------------------------------------------------------------
1679 
1680 // ModemRaw
1681 
1682 // required bytes raw = 7;
1683 inline bool ModemRaw::_internal_has_raw() const {
1684  bool value = (_has_bits_[0] & 0x00000001u) != 0;
1685  return value;
1686 }
1687 inline bool ModemRaw::has_raw() const {
1688  return _internal_has_raw();
1689 }
1690 inline void ModemRaw::clear_raw() {
1691  raw_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1692  _has_bits_[0] &= ~0x00000001u;
1693 }
1694 inline const std::string& ModemRaw::raw() const {
1695  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemRaw.raw)
1696  return _internal_raw();
1697 }
1698 inline void ModemRaw::set_raw(const std::string& value) {
1699  _internal_set_raw(value);
1700  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemRaw.raw)
1701 }
1702 inline std::string* ModemRaw::mutable_raw() {
1703  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.ModemRaw.raw)
1704  return _internal_mutable_raw();
1705 }
1706 inline const std::string& ModemRaw::_internal_raw() const {
1707  return raw_.Get();
1708 }
1709 inline void ModemRaw::_internal_set_raw(const std::string& value) {
1710  _has_bits_[0] |= 0x00000001u;
1711  raw_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1712 }
1713 inline void ModemRaw::set_raw(std::string&& value) {
1714  _has_bits_[0] |= 0x00000001u;
1715  raw_.Set(
1716  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1717  // @@protoc_insertion_point(field_set_rvalue:goby.acomms.protobuf.ModemRaw.raw)
1718 }
1719 inline void ModemRaw::set_raw(const char* value) {
1720  GOOGLE_DCHECK(value != nullptr);
1721  _has_bits_[0] |= 0x00000001u;
1722  raw_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1723  GetArena());
1724  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.ModemRaw.raw)
1725 }
1726 inline void ModemRaw::set_raw(const void* value,
1727  size_t size) {
1728  _has_bits_[0] |= 0x00000001u;
1730  reinterpret_cast<const char*>(value), size), GetArena());
1731  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.ModemRaw.raw)
1732 }
1733 inline std::string* ModemRaw::_internal_mutable_raw() {
1734  _has_bits_[0] |= 0x00000001u;
1735  return raw_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1736 }
1737 inline std::string* ModemRaw::release_raw() {
1738  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.ModemRaw.raw)
1739  if (!_internal_has_raw()) {
1740  return nullptr;
1741  }
1742  _has_bits_[0] &= ~0x00000001u;
1743  return raw_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1744 }
1745 inline void ModemRaw::set_allocated_raw(std::string* raw) {
1746  if (raw != nullptr) {
1747  _has_bits_[0] |= 0x00000001u;
1748  } else {
1749  _has_bits_[0] &= ~0x00000001u;
1750  }
1752  GetArena());
1753  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.ModemRaw.raw)
1754 }
1755 inline std::string* ModemRaw::unsafe_arena_release_raw() {
1756  // @@protoc_insertion_point(field_unsafe_arena_release:goby.acomms.protobuf.ModemRaw.raw)
1757  GOOGLE_DCHECK(GetArena() != nullptr);
1758  _has_bits_[0] &= ~0x00000001u;
1759  return raw_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1760  GetArena());
1761 }
1762 inline void ModemRaw::unsafe_arena_set_allocated_raw(
1763  std::string* raw) {
1764  GOOGLE_DCHECK(GetArena() != nullptr);
1765  if (raw != nullptr) {
1766  _has_bits_[0] |= 0x00000001u;
1767  } else {
1768  _has_bits_[0] &= ~0x00000001u;
1769  }
1770  raw_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1771  raw, GetArena());
1772  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.acomms.protobuf.ModemRaw.raw)
1773 }
1774 
1775 // optional string description = 8;
1776 inline bool ModemRaw::_internal_has_description() const {
1777  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1778  return value;
1779 }
1780 inline bool ModemRaw::has_description() const {
1781  return _internal_has_description();
1782 }
1783 inline void ModemRaw::clear_description() {
1784  description_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1785  _has_bits_[0] &= ~0x00000002u;
1786 }
1787 inline const std::string& ModemRaw::description() const {
1788  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemRaw.description)
1789  return _internal_description();
1790 }
1791 inline void ModemRaw::set_description(const std::string& value) {
1792  _internal_set_description(value);
1793  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemRaw.description)
1794 }
1795 inline std::string* ModemRaw::mutable_description() {
1796  // @@protoc_insertion_point(field_mutable:goby.acomms.protobuf.ModemRaw.description)
1797  return _internal_mutable_description();
1798 }
1799 inline const std::string& ModemRaw::_internal_description() const {
1800  return description_.Get();
1801 }
1802 inline void ModemRaw::_internal_set_description(const std::string& value) {
1803  _has_bits_[0] |= 0x00000002u;
1804  description_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
1805 }
1806 inline void ModemRaw::set_description(std::string&& value) {
1807  _has_bits_[0] |= 0x00000002u;
1808  description_.Set(
1809  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
1810  // @@protoc_insertion_point(field_set_rvalue:goby.acomms.protobuf.ModemRaw.description)
1811 }
1812 inline void ModemRaw::set_description(const char* value) {
1813  GOOGLE_DCHECK(value != nullptr);
1814  _has_bits_[0] |= 0x00000002u;
1815  description_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
1816  GetArena());
1817  // @@protoc_insertion_point(field_set_char:goby.acomms.protobuf.ModemRaw.description)
1818 }
1819 inline void ModemRaw::set_description(const char* value,
1820  size_t size) {
1821  _has_bits_[0] |= 0x00000002u;
1822  description_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1823  reinterpret_cast<const char*>(value), size), GetArena());
1824  // @@protoc_insertion_point(field_set_pointer:goby.acomms.protobuf.ModemRaw.description)
1825 }
1826 inline std::string* ModemRaw::_internal_mutable_description() {
1827  _has_bits_[0] |= 0x00000002u;
1828  return description_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1829 }
1830 inline std::string* ModemRaw::release_description() {
1831  // @@protoc_insertion_point(field_release:goby.acomms.protobuf.ModemRaw.description)
1832  if (!_internal_has_description()) {
1833  return nullptr;
1834  }
1835  _has_bits_[0] &= ~0x00000002u;
1836  return description_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
1837 }
1838 inline void ModemRaw::set_allocated_description(std::string* description) {
1839  if (description != nullptr) {
1840  _has_bits_[0] |= 0x00000002u;
1841  } else {
1842  _has_bits_[0] &= ~0x00000002u;
1843  }
1844  description_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description,
1845  GetArena());
1846  // @@protoc_insertion_point(field_set_allocated:goby.acomms.protobuf.ModemRaw.description)
1847 }
1848 inline std::string* ModemRaw::unsafe_arena_release_description() {
1849  // @@protoc_insertion_point(field_unsafe_arena_release:goby.acomms.protobuf.ModemRaw.description)
1850  GOOGLE_DCHECK(GetArena() != nullptr);
1851  _has_bits_[0] &= ~0x00000002u;
1852  return description_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1853  GetArena());
1854 }
1855 inline void ModemRaw::unsafe_arena_set_allocated_description(
1856  std::string* description) {
1857  GOOGLE_DCHECK(GetArena() != nullptr);
1858  if (description != nullptr) {
1859  _has_bits_[0] |= 0x00000002u;
1860  } else {
1861  _has_bits_[0] &= ~0x00000002u;
1862  }
1863  description_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1864  description, GetArena());
1865  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.acomms.protobuf.ModemRaw.description)
1866 }
1867 
1868 // -------------------------------------------------------------------
1869 
1870 // ModemReport
1871 
1872 // optional int32 modem_id = 1 [default = -1];
1873 inline bool ModemReport::_internal_has_modem_id() const {
1874  bool value = (_has_bits_[0] & 0x00000004u) != 0;
1875  return value;
1876 }
1877 inline bool ModemReport::has_modem_id() const {
1878  return _internal_has_modem_id();
1879 }
1880 inline void ModemReport::clear_modem_id() {
1881  modem_id_ = -1;
1882  _has_bits_[0] &= ~0x00000004u;
1883 }
1884 inline ::PROTOBUF_NAMESPACE_ID::int32 ModemReport::_internal_modem_id() const {
1885  return modem_id_;
1886 }
1887 inline ::PROTOBUF_NAMESPACE_ID::int32 ModemReport::modem_id() const {
1888  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemReport.modem_id)
1889  return _internal_modem_id();
1890 }
1891 inline void ModemReport::_internal_set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
1892  _has_bits_[0] |= 0x00000004u;
1893  modem_id_ = value;
1894 }
1895 inline void ModemReport::set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
1896  _internal_set_modem_id(value);
1897  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemReport.modem_id)
1898 }
1899 
1900 // optional uint64 time = 2 [(.dccl.field) = {
1901 inline bool ModemReport::_internal_has_time() const {
1902  bool value = (_has_bits_[0] & 0x00000001u) != 0;
1903  return value;
1904 }
1905 inline bool ModemReport::has_time() const {
1906  return _internal_has_time();
1907 }
1908 inline void ModemReport::clear_time() {
1909  time_ = PROTOBUF_ULONGLONG(0);
1910  _has_bits_[0] &= ~0x00000001u;
1911 }
1912 inline ::PROTOBUF_NAMESPACE_ID::uint64 ModemReport::_internal_time() const {
1913  return time_;
1914 }
1916  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemReport.time)
1917  return _internal_time();
1918 }
1919 inline void ModemReport::_internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1920  _has_bits_[0] |= 0x00000001u;
1921  time_ = value;
1922 }
1923 inline void ModemReport::set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
1924  _internal_set_time(value);
1925  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemReport.time)
1926 }
1927 
1928 // optional .goby.acomms.protobuf.ModemReport.LinkState link_state = 3 [default = LINK_AVAILABLE];
1929 inline bool ModemReport::_internal_has_link_state() const {
1930  bool value = (_has_bits_[0] & 0x00000008u) != 0;
1931  return value;
1932 }
1933 inline bool ModemReport::has_link_state() const {
1934  return _internal_has_link_state();
1935 }
1936 inline void ModemReport::clear_link_state() {
1937  link_state_ = 2;
1938  _has_bits_[0] &= ~0x00000008u;
1939 }
1940 inline ::goby::acomms::protobuf::ModemReport_LinkState ModemReport::_internal_link_state() const {
1941  return static_cast< ::goby::acomms::protobuf::ModemReport_LinkState >(link_state_);
1942 }
1943 inline ::goby::acomms::protobuf::ModemReport_LinkState ModemReport::link_state() const {
1944  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemReport.link_state)
1945  return _internal_link_state();
1946 }
1947 inline void ModemReport::_internal_set_link_state(::goby::acomms::protobuf::ModemReport_LinkState value) {
1949  _has_bits_[0] |= 0x00000008u;
1950  link_state_ = value;
1951 }
1952 inline void ModemReport::set_link_state(::goby::acomms::protobuf::ModemReport_LinkState value) {
1953  _internal_set_link_state(value);
1954  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemReport.link_state)
1955 }
1956 
1957 // optional .goby.acomms.protobuf.ModemReport.LinkQuality link_quality = 4 [default = QUALITY_UNKNOWN];
1958 inline bool ModemReport::_internal_has_link_quality() const {
1959  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1960  return value;
1961 }
1962 inline bool ModemReport::has_link_quality() const {
1963  return _internal_has_link_quality();
1964 }
1965 inline void ModemReport::clear_link_quality() {
1966  link_quality_ = 3;
1967  _has_bits_[0] &= ~0x00000002u;
1968 }
1969 inline ::goby::acomms::protobuf::ModemReport_LinkQuality ModemReport::_internal_link_quality() const {
1970  return static_cast< ::goby::acomms::protobuf::ModemReport_LinkQuality >(link_quality_);
1971 }
1972 inline ::goby::acomms::protobuf::ModemReport_LinkQuality ModemReport::link_quality() const {
1973  // @@protoc_insertion_point(field_get:goby.acomms.protobuf.ModemReport.link_quality)
1974  return _internal_link_quality();
1975 }
1976 inline void ModemReport::_internal_set_link_quality(::goby::acomms::protobuf::ModemReport_LinkQuality value) {
1978  _has_bits_[0] |= 0x00000002u;
1979  link_quality_ = value;
1980 }
1981 inline void ModemReport::set_link_quality(::goby::acomms::protobuf::ModemReport_LinkQuality value) {
1982  _internal_set_link_quality(value);
1983  // @@protoc_insertion_point(field_set:goby.acomms.protobuf.ModemReport.link_quality)
1984 }
1985 
1986 #ifdef __GNUC__
1987  #pragma GCC diagnostic pop
1988 #endif // __GNUC__
1989 // -------------------------------------------------------------------
1990 
1991 // -------------------------------------------------------------------
1992 
1993 
1994 // @@protoc_insertion_point(namespace_scope)
1995 
1996 } // namespace protobuf
1997 } // namespace acomms
1998 } // namespace goby
1999 
2000 PROTOBUF_NAMESPACE_OPEN
2001 
2002 template <> struct is_proto_enum< ::goby::acomms::protobuf::ModemTransmission_TimeSource> : ::std::true_type {};
2003 template <>
2004 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::ModemTransmission_TimeSource>() {
2006 }
2007 template <> struct is_proto_enum< ::goby::acomms::protobuf::ModemTransmission_TransmissionType> : ::std::true_type {};
2008 template <>
2009 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::ModemTransmission_TransmissionType>() {
2011 }
2012 template <> struct is_proto_enum< ::goby::acomms::protobuf::ModemReport_LinkState> : ::std::true_type {};
2013 template <>
2014 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::ModemReport_LinkState>() {
2016 }
2017 template <> struct is_proto_enum< ::goby::acomms::protobuf::ModemReport_LinkQuality> : ::std::true_type {};
2018 template <>
2019 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::protobuf::ModemReport_LinkQuality>() {
2021 }
2022 
2023 PROTOBUF_NAMESPACE_CLOSE
2024 
2025 // @@protoc_insertion_point(global_scope)
2026 
2027 #include <google/protobuf/port_undef.inc>
2028 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fmodem_5fmessage_2eproto
void set_link_quality(::goby::acomms::protobuf::ModemReport_LinkQuality value)
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type slot_seconds_dimension
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type time_dimension
::PROTOBUF_NAMESPACE_ID::int32 dest() const
::PROTOBUF_NAMESPACE_ID::uint32 max_num_frames() const
static bool LinkState_Parse(const std::string &name, LinkState *value)
void UnsafeArenaSwap(ModemReport *other)
::PROTOBUF_NAMESPACE_ID::uint32 unique_id() const
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TransmissionType_descriptor()
void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value)
friend void swap(ModemTransmission &a, ModemTransmission &b)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
boost::units::quantity< slot_seconds_unit, double > slot_seconds_with_units() const
::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > * mutable_acked_frame()
const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int32 > & acked_frame() const
::PROTOBUF_NAMESPACE_ID::int32 acked_frame(int index) const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
ModemReport * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void set_max_frame_bytes(::PROTOBUF_NAMESPACE_ID::uint32 value)
void set_frame(int index, std::string &&value)
friend void swap(ModemRaw &a, ModemRaw &b)
void set_frame_start(::PROTOBUF_NAMESPACE_ID::uint32 value)
static const std::string & LinkState_Name(T enum_t_value)
static bool TransmissionType_IsValid(int value)
void set_slot_index(::PROTOBUF_NAMESPACE_ID::int32 value)
void add_acked_frame(::PROTOBUF_NAMESPACE_ID::int32 value)
ModemReport & operator=(ModemReport &&from) noexcept
static const std::string & LinkQuality_Name(T enum_t_value)
ModemRaw * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
ModemTransmission_TransmissionType TransmissionType
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * LinkState_descriptor()
void set_type(::goby::acomms::protobuf::ModemTransmission_TransmissionType value)
void set_raw(const std::string &value)
::goby::acomms::protobuf::ModemReport_LinkState link_state() const
void UnsafeArenaSwap(ModemTransmission *other)
ModemTransmission_TimeSource TimeSource
static const ModemTransmission & default_instance()
static const std::string & TimeSource_Name(T enum_t_value)
::PROTOBUF_NAMESPACE_ID::uint32 frame_start() const
static bool TimeSource_Parse(const std::string &name, TimeSource *value)
::PROTOBUF_NAMESPACE_ID::int32 modem_id() const
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * LinkQuality_descriptor()
void MergeFrom(const ModemReport &from)
void set_raw(const void *value, size_t size)
::PROTOBUF_NAMESPACE_ID::int32 slot_index() const
void set_dest(::PROTOBUF_NAMESPACE_ID::int32 value)
ModemTransmission * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
static const ModemRaw & default_instance()
ModemReport(::PROTOBUF_NAMESPACE_ID::Arena *arena)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static bool LinkQuality_Parse(const std::string &name, LinkQuality *value)
void set_link_state(::goby::acomms::protobuf::ModemReport_LinkState value)
::goby::acomms::protobuf::ModemTransmission_TimeSource time_source() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ModemTransmission * internal_default_instance()
void CopyFrom(const ModemRaw &from)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & frame() const
void set_slot_seconds_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TimeSource_descriptor()
const std::string & frame(int index) const
const std::string & raw() const
ModemTransmission(::PROTOBUF_NAMESPACE_ID::Arena *arena)
ModemReport(const ModemReport &from)
ModemReport(ModemReport &&from) noexcept
void set_frame(int index, const char *value)
static bool TransmissionType_Parse(const std::string &name, TransmissionType *value)
void set_unique_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
static const ModemRaw * internal_default_instance()
static const ModemReport & default_instance()
void set_src(::PROTOBUF_NAMESPACE_ID::int32 value)
friend void swap(ModemReport &a, ModemReport &b)
void CopyFrom(const ModemTransmission &from)
void set_raw(std::string &&value)
void Swap(ModemTransmission *other)
void MergeFrom(const ModemRaw &from)
std::string * mutable_frame(int index)
void set_frame(int index, const void *value, size_t size)
static const ModemReport * internal_default_instance()
ModemTransmission(ModemTransmission &&from) noexcept
void set_acked_frame(int index, ::PROTOBUF_NAMESPACE_ID::int32 value)
boost::units::unit< slot_seconds_dimension, boost::units::si::system > slot_seconds_unit
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
::PROTOBUF_NAMESPACE_ID::uint32 max_frame_bytes() const
void MergeFrom(const ModemTransmission &from)
::PROTOBUF_NAMESPACE_ID::uint64 time() const
void add_frame(const std::string &value)
ModemReport & operator=(const ModemReport &from)
void set_time_source(::goby::acomms::protobuf::ModemTransmission_TimeSource value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void CopyFrom(const ModemReport &from)
void set_max_num_frames(::PROTOBUF_NAMESPACE_ID::uint32 value)
ModemRaw(::PROTOBUF_NAMESPACE_ID::Arena *arena)
ModemRaw & operator=(ModemRaw &&from) noexcept
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
void set_allocated_raw(std::string *raw)
void add_frame(std::string &&value)
::PROTOBUF_NAMESPACE_ID::int32 src() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::goby::acomms::protobuf::ModemReport_LinkQuality link_quality() const
static const std::string & TransmissionType_Name(T enum_t_value)
void add_frame(const char *value)
ModemTransmission(const ModemTransmission &from)
ModemTransmission * New() const final
void set_rate(::PROTOBUF_NAMESPACE_ID::int32 value)
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_frame()
void add_frame(const void *value, size_t size)
void set_frame(int index, const std::string &value)
ModemRaw & operator=(const ModemRaw &from)
::goby::acomms::protobuf::ModemTransmission_TransmissionType type() const
ModemTransmission & operator=(ModemTransmission &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_modem_id(::PROTOBUF_NAMESPACE_ID::int32 value)
::PROTOBUF_NAMESPACE_ID::int32 rate() const
ModemTransmission & operator=(const ModemTransmission &from)
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fmodem_5fmessage_2eproto
unit< time_dimension, si::system > time
Definition: time.hpp:22
@ value
the parser finished reading a JSON value
constexpr TransmissionType TransmissionType_MAX
constexpr TransmissionType TransmissionType_MIN
bool ModemTransmission_TransmissionType_Parse(const std::string &name, ModemTransmission_TransmissionType *value)
ModemReportDefaultTypeInternal _ModemReport_default_instance_
const std::string & ModemReport_LinkState_Name(T enum_t_value)
constexpr ModemReport_LinkQuality ModemReport_LinkQuality_LinkQuality_MAX
constexpr ModemTransmission_TransmissionType ModemTransmission_TransmissionType_TransmissionType_MIN
bool ModemReport_LinkState_Parse(const std::string &name, ModemReport_LinkState *value)
const std::string & ModemTransmission_TransmissionType_Name(T enum_t_value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ModemReport_LinkState_descriptor()
constexpr ModemReport_LinkQuality ModemReport_LinkQuality_LinkQuality_MIN
bool ModemTransmission_TimeSource_IsValid(int value)
bool ModemReport_LinkQuality_Parse(const std::string &name, ModemReport_LinkQuality *value)
constexpr ModemReport_LinkState ModemReport_LinkState_LinkState_MIN
bool ModemTransmission_TransmissionType_IsValid(int value)
constexpr int ModemTransmission_TimeSource_TimeSource_ARRAYSIZE
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ModemTransmission_TimeSource_descriptor()
constexpr int ModemTransmission_TransmissionType_TransmissionType_ARRAYSIZE
constexpr ModemTransmission_TimeSource ModemTransmission_TimeSource_TimeSource_MIN
bool ModemReport_LinkQuality_IsValid(int value)
ModemTransmissionDefaultTypeInternal _ModemTransmission_default_instance_
bool ModemTransmission_TimeSource_Parse(const std::string &name, ModemTransmission_TimeSource *value)
bool ModemReport_LinkState_IsValid(int value)
const std::string & ModemReport_LinkQuality_Name(T enum_t_value)
constexpr ModemReport_LinkState ModemReport_LinkState_LinkState_MAX
ModemRawDefaultTypeInternal _ModemRaw_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ModemTransmission_TransmissionType_descriptor()
@ ModemTransmission_TransmissionType_DRIVER_SPECIFIC
const std::string & ModemTransmission_TimeSource_Name(T enum_t_value)
constexpr int ModemReport_LinkQuality_LinkQuality_ARRAYSIZE
constexpr ModemTransmission_TransmissionType ModemTransmission_TransmissionType_TransmissionType_MAX
constexpr ModemTransmission_TimeSource ModemTransmission_TimeSource_TimeSource_MAX
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ModemReport_LinkQuality_descriptor()
constexpr int ModemReport_LinkState_LinkState_ARRAYSIZE
boost::units::make_system< boost::units::angle::revolution_base_unit, boost::units::metric::minute_base_unit >::type system
Definition: system.hpp:45
The global namespace for the Goby project.
std::int32_t int32
std::uint32_t uint32
std::uint64_t uint64
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::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]