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