4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto
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
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.
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>
31#include <google/protobuf/extension_set.h>
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>
43#include <boost/units/systems/si.hpp>
45#include <boost/units/base_units/si/second.hpp>
47#include <google/protobuf/port_def.inc>
48#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto
49PROTOBUF_NAMESPACE_OPEN
53PROTOBUF_NAMESPACE_CLOSE
65struct BenthosHeaderDefaultTypeInternal;
68struct ConfigDefaultTypeInternal;
71struct RangingReplyDefaultTypeInternal;
74struct ReceiveStatisticsDefaultTypeInternal;
77struct TransmissionDefaultTypeInternal;
83PROTOBUF_NAMESPACE_OPEN
89PROTOBUF_NAMESPACE_CLOSE
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(
115 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ReceiveStatistics_CRCState>(
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(
138 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<TransmissionType>(
144 public ::PROTOBUF_NAMESPACE_ID::Message {
148 explicit PROTOBUF_CONSTEXPR
Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
153 *
this = ::std::move(from);
161 if (
this == &from)
return *
this;
162 if (GetOwningArena() == from.GetOwningArena()
163 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
164 && GetOwningArena() !=
nullptr
175 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
178 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
181 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
194 return reinterpret_cast<const Config*
>(
204 if (other ==
this)
return;
205 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
206 if (GetOwningArena() !=
nullptr &&
207 GetOwningArena() == other->GetOwningArena()) {
209 if (GetOwningArena() == other->GetOwningArena()) {
213 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
217 if (other ==
this)
return;
218 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
224 Config*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
225 return CreateMaybeMessage<Config>(arena);
227 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
229 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
231 Config::MergeImpl(*
this, from);
234 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
236 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
242 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
246 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
248 void SetCachedSize(
int size)
const final;
249 void InternalSwap(
Config* other);
252 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
253 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
254 return "goby.acomms.benthos.protobuf.Config";
257 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena,
258 bool is_message_owned =
false);
262 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
280 int _internal_config_size()
const;
283 const std::string&
config(
int index)
const;
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);
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();
297 const std::string& _internal_config(
int index)
const;
298 std::string* _internal_add_config();
304 bool _internal_has_config_load()
const;
308 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
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();
322 bool _internal_has_factory_reset()
const;
328 bool _internal_factory_reset()
const;
329 void _internal_set_factory_reset(
bool value);
335 bool _internal_has_start_timeout()
const;
341 int32_t _internal_start_timeout()
const;
342 void _internal_set_start_timeout(int32_t value);
348 bool _internal_has_max_frame_size()
const;
354 uint32_t _internal_max_frame_size()
const;
355 void _internal_set_max_frame_size(uint32_t value);
362 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
363 typedef void InternalArenaConstructable_;
364 typedef void DestructorSkippable_;
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_;
371 int32_t start_timeout_;
372 uint32_t max_frame_size_;
375 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto;
380 public ::PROTOBUF_NAMESPACE_ID::Message {
384 explicit PROTOBUF_CONSTEXPR
BenthosHeader(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
389 *
this = ::std::move(from);
397 if (
this == &from)
return *
this;
398 if (GetOwningArena() == from.GetOwningArena()
399 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
400 && GetOwningArena() !=
nullptr
411 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
414 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
417 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
418 return GetDescriptor();
421 return default_instance().GetMetadata().descriptor;
424 return default_instance().GetMetadata().reflection;
427 return *internal_default_instance();
433 static constexpr int kIndexInFileMessages =
440 if (other ==
this)
return;
441 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
442 if (GetOwningArena() !=
nullptr &&
443 GetOwningArena() == other->GetOwningArena()) {
445 if (GetOwningArena() == other->GetOwningArena()) {
449 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
453 if (other ==
this)
return;
454 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
461 return CreateMaybeMessage<BenthosHeader>(arena);
463 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
465 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
467 BenthosHeader::MergeImpl(*
this, from);
470 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
472 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
473 bool IsInitialized() 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(); }
482 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
484 void SetCachedSize(
int size)
const final;
488 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
489 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
490 return "goby.acomms.benthos.protobuf.BenthosHeader";
494 bool is_message_owned =
false);
498 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
500 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
507 kAckedFrameFieldNumber = 4,
508 kAckRequestedFieldNumber = 3,
509 kTypeFieldNumber = 1,
512 int acked_frame_size()
const;
514 int _internal_acked_frame_size()
const;
516 void clear_acked_frame();
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();
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 >&
530 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
531 mutable_acked_frame();
534 bool has_ack_requested()
const;
536 bool _internal_has_ack_requested()
const;
538 void clear_ack_requested();
539 bool ack_requested()
const;
540 void set_ack_requested(
bool value);
542 bool _internal_ack_requested()
const;
543 void _internal_set_ack_requested(
bool value);
547 bool has_type()
const;
549 bool _internal_has_type()
const;
563 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
564 typedef void InternalArenaConstructable_;
565 typedef void DestructorSkippable_;
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_;
574 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto;
579 public ::PROTOBUF_NAMESPACE_ID::Message {
583 explicit PROTOBUF_CONSTEXPR
ReceiveStatistics(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
588 *
this = ::std::move(from);
596 if (
this == &from)
return *
this;
597 if (GetOwningArena() == from.GetOwningArena()
598 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
599 && GetOwningArena() !=
nullptr
610 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
613 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
616 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
617 return GetDescriptor();
620 return default_instance().GetMetadata().descriptor;
623 return default_instance().GetMetadata().reflection;
626 return *internal_default_instance();
632 static constexpr int kIndexInFileMessages =
639 if (other ==
this)
return;
640 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
641 if (GetOwningArena() !=
nullptr &&
642 GetOwningArena() == other->GetOwningArena()) {
644 if (GetOwningArena() == other->GetOwningArena()) {
648 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
652 if (other ==
this)
return;
653 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
660 return CreateMaybeMessage<ReceiveStatistics>(arena);
662 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
664 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
666 ReceiveStatistics::MergeImpl(*
this, from);
669 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
671 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
672 bool IsInitialized() 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(); }
681 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
683 void SetCachedSize(
int size)
const final;
687 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
688 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
689 return "goby.acomms.benthos.protobuf.ReceiveStatistics";
693 bool is_message_owned =
false);
697 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
699 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
705 ReceiveStatistics_CRCState_CRC_PASS;
707 ReceiveStatistics_CRCState_CRC_FAIL;
708 static inline
bool CRCState_IsValid(
int value) {
715 static constexpr int CRCState_ARRAYSIZE =
717 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
723 static_assert(::std::is_same<T, CRCState>::value ||
724 ::std::is_integral<T>::value,
725 "Incorrect type passed to function CRCState_Name.");
728 static inline bool CRCState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
736 kMultipathDelayFieldNumber = 2,
738 kRelativeSpeedFieldNumber = 4,
739 kAutoGainControlFieldNumber = 5,
740 kCorrectedChannelErrorFieldNumber = 6,
744 bool has_multipath_delay()
const;
746 bool _internal_has_multipath_delay()
const;
748 void clear_multipath_delay();
749 float multipath_delay()
const;
750 void set_multipath_delay(
float value);
752 float _internal_multipath_delay()
const;
753 void _internal_set_multipath_delay(
float value);
757 bool has_snr()
const;
759 bool _internal_has_snr()
const;
763 void set_snr(
float value);
765 float _internal_snr()
const;
766 void _internal_set_snr(
float value);
770 bool has_relative_speed()
const;
772 bool _internal_has_relative_speed()
const;
774 void clear_relative_speed();
775 float relative_speed()
const;
776 void set_relative_speed(
float value);
778 float _internal_relative_speed()
const;
779 void _internal_set_relative_speed(
float value);
783 bool has_auto_gain_control()
const;
785 bool _internal_has_auto_gain_control()
const;
787 void clear_auto_gain_control();
788 float auto_gain_control()
const;
789 void set_auto_gain_control(
float value);
791 float _internal_auto_gain_control()
const;
792 void _internal_set_auto_gain_control(
float value);
796 bool has_corrected_channel_error()
const;
798 bool _internal_has_corrected_channel_error()
const;
800 void clear_corrected_channel_error();
801 int32_t corrected_channel_error()
const;
802 void set_corrected_channel_error(int32_t value);
804 int32_t _internal_corrected_channel_error()
const;
805 void _internal_set_corrected_channel_error(int32_t value);
809 bool has_crc()
const;
811 bool _internal_has_crc()
const;
825 template<
typename Quantity >
827 { set_multipath_delay(boost::units::quantity<multipath_delay_unit,float >(value_w_units).value() ); };
829 template<
typename Quantity >
834 {
return multipath_delay_with_units<boost::units::quantity< multipath_delay_unit,float > >(); };
836 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1, boost::units::time_base_dimension,-1 >::type
relative_speed_dimension;
840 template<
typename Quantity >
842 { set_relative_speed(boost::units::quantity<relative_speed_unit,float >(value_w_units).value() ); };
844 template<
typename Quantity >
849 {
return relative_speed_with_units<boost::units::quantity< relative_speed_unit,float > >(); };
855 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
856 typedef void InternalArenaConstructable_;
857 typedef void DestructorSkippable_;
859 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
860 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
861 float multipath_delay_;
863 float relative_speed_;
864 float auto_gain_control_;
865 int32_t corrected_channel_error_;
869 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto;
874 public ::PROTOBUF_NAMESPACE_ID::Message {
878 explicit PROTOBUF_CONSTEXPR
RangingReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
883 *
this = ::std::move(from);
891 if (
this == &from)
return *
this;
892 if (GetOwningArena() == from.GetOwningArena()
893 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
894 && GetOwningArena() !=
nullptr
905 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
908 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
911 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
912 return GetDescriptor();
915 return default_instance().GetMetadata().descriptor;
918 return default_instance().GetMetadata().reflection;
921 return *internal_default_instance();
927 static constexpr int kIndexInFileMessages =
934 if (other ==
this)
return;
935 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
936 if (GetOwningArena() !=
nullptr &&
937 GetOwningArena() == other->GetOwningArena()) {
939 if (GetOwningArena() == other->GetOwningArena()) {
943 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
947 if (other ==
this)
return;
948 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
955 return CreateMaybeMessage<RangingReply>(arena);
957 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
959 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
961 RangingReply::MergeImpl(*
this, from);
964 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
966 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
967 bool IsInitialized() 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(); }
976 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
978 void SetCachedSize(
int size)
const final;
982 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
983 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
984 return "goby.acomms.benthos.protobuf.RangingReply";
988 bool is_message_owned =
false);
992 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
994 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1001 kOneWayTravelTimeFieldNumber = 1,
1004 bool has_one_way_travel_time()
const;
1006 bool _internal_has_one_way_travel_time()
const;
1008 void clear_one_way_travel_time();
1009 double one_way_travel_time()
const;
1010 void set_one_way_travel_time(
double value);
1012 double _internal_one_way_travel_time()
const;
1013 void _internal_set_one_way_travel_time(
double value);
1018 template<
typename Quantity >
1020 { set_one_way_travel_time(boost::units::quantity<one_way_travel_time_unit,double >(value_w_units).value() ); };
1022 template<
typename Quantity >
1027 {
return one_way_travel_time_with_units<boost::units::quantity< one_way_travel_time_unit,double > >(); };
1033 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1034 typedef void InternalArenaConstructable_;
1035 typedef void DestructorSkippable_;
1037 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1038 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1039 double one_way_travel_time_;
1042 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto;
1047 public ::PROTOBUF_NAMESPACE_ID::Message {
1051 explicit PROTOBUF_CONSTEXPR
Transmission(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1056 *
this = ::std::move(from);
1064 if (
this == &from)
return *
this;
1065 if (GetOwningArena() == from.GetOwningArena()
1066 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1067 && GetOwningArena() !=
nullptr
1070 InternalSwap(&from);
1078 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1081 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1085 return GetDescriptor();
1088 return default_instance().GetMetadata().descriptor;
1091 return default_instance().GetMetadata().reflection;
1094 return *internal_default_instance();
1100 static constexpr int kIndexInFileMessages =
1107 if (other ==
this)
return;
1108 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1109 if (GetOwningArena() !=
nullptr &&
1110 GetOwningArena() == other->GetOwningArena()) {
1112 if (GetOwningArena() == other->GetOwningArena()) {
1114 InternalSwap(other);
1116 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1120 if (other ==
this)
return;
1121 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1122 InternalSwap(other);
1128 return CreateMaybeMessage<Transmission>(arena);
1130 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1132 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1134 Transmission::MergeImpl(*
this, from);
1137 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1139 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1140 bool IsInitialized() 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(); }
1149 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
1151 void SetCachedSize(
int size)
const final;
1155 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1156 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1157 return "goby.acomms.benthos.protobuf.Transmission";
1161 bool is_message_owned =
false);
1165 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
1167 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1174 kReceiveStatFieldNumber = 2,
1175 kRangingReplyFieldNumber = 3,
1176 kTypeFieldNumber = 1,
1179 bool has_receive_stat()
const;
1181 bool _internal_has_receive_stat()
const;
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();
1189 const ::goby::acomms::benthos::protobuf::ReceiveStatistics& _internal_receive_stat()
const;
1192 void unsafe_arena_set_allocated_receive_stat(
1197 bool has_ranging_reply()
const;
1199 bool _internal_has_ranging_reply()
const;
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();
1207 const ::goby::acomms::benthos::protobuf::RangingReply& _internal_ranging_reply()
const;
1210 void unsafe_arena_set_allocated_ranging_reply(
1215 bool has_type()
const;
1217 bool _internal_has_type()
const;
1231 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1232 typedef void InternalArenaConstructable_;
1233 typedef void DestructorSkippable_;
1235 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1236 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1242 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fbenthos_5fatm900_2eproto;
1248 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::benthos::protobuf::Config >, 11,
false >
1252 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::benthos::protobuf::Transmission >, 11,
false >
1258 #pragma GCC diagnostic push
1259 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1264inline bool Config::_internal_has_factory_reset()
const {
1265 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1268inline bool Config::has_factory_reset()
const {
1269 return _internal_has_factory_reset();
1271inline void Config::clear_factory_reset() {
1272 _impl_.factory_reset_ =
false;
1273 _impl_._has_bits_[0] &= ~0x00000002u;
1275inline bool Config::_internal_factory_reset()
const {
1276 return _impl_.factory_reset_;
1278inline bool Config::factory_reset()
const {
1280 return _internal_factory_reset();
1282inline void Config::_internal_set_factory_reset(
bool value) {
1283 _impl_._has_bits_[0] |= 0x00000002u;
1284 _impl_.factory_reset_ = value;
1286inline void Config::set_factory_reset(
bool value) {
1287 _internal_set_factory_reset(value);
1292inline bool Config::_internal_has_config_load()
const {
1293 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1296inline bool Config::has_config_load()
const {
1297 return _internal_has_config_load();
1299inline void Config::clear_config_load() {
1300 _impl_.config_load_.ClearToEmpty();
1301 _impl_._has_bits_[0] &= ~0x00000001u;
1303inline const std::string& Config::config_load()
const {
1305 return _internal_config_load();
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());
1314inline std::string* Config::mutable_config_load() {
1315 std::string* _s = _internal_mutable_config_load();
1319inline const std::string& Config::_internal_config_load()
const {
1320 return _impl_.config_load_.Get();
1322inline void Config::_internal_set_config_load(
const std::string& value) {
1323 _impl_._has_bits_[0] |= 0x00000001u;
1324 _impl_.config_load_.Set(value, GetArenaForAllocation());
1326inline std::string* Config::_internal_mutable_config_load() {
1327 _impl_._has_bits_[0] |= 0x00000001u;
1328 return _impl_.config_load_.Mutable(GetArenaForAllocation());
1330inline std::string* Config::release_config_load() {
1332 if (!_internal_has_config_load()) {
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());
1344inline void Config::set_allocated_config_load(std::string* config_load) {
1345 if (config_load !=
nullptr) {
1346 _impl_._has_bits_[0] |= 0x00000001u;
1348 _impl_._has_bits_[0] &= ~0x00000001u;
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());
1360inline int Config::_internal_config_size()
const {
1361 return _impl_.config_.size();
1363inline int Config::config_size()
const {
1364 return _internal_config_size();
1366inline void Config::clear_config() {
1367 _impl_.config_.Clear();
1369inline std::string* Config::add_config() {
1370 std::string* _s = _internal_add_config();
1374inline const std::string& Config::_internal_config(
int index)
const {
1375 return _impl_.config_.Get(index);
1377inline const std::string& Config::config(
int index)
const {
1379 return _internal_config(index);
1381inline std::string* Config::mutable_config(
int index) {
1383 return _impl_.config_.Mutable(index);
1385inline void Config::set_config(
int index,
const std::string& value) {
1386 _impl_.config_.Mutable(index)->assign(value);
1389inline void Config::set_config(
int index, std::string&& value) {
1390 _impl_.config_.Mutable(index)->assign(std::move(value));
1393inline void Config::set_config(
int index,
const char* value) {
1394 GOOGLE_DCHECK(value !=
nullptr);
1395 _impl_.config_.Mutable(index)->assign(value);
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);
1403inline std::string* Config::_internal_add_config() {
1404 return _impl_.config_.Add();
1406inline void Config::add_config(
const std::string& value) {
1407 _impl_.config_.Add()->assign(value);
1410inline void Config::add_config(std::string&& value) {
1411 _impl_.config_.Add(std::move(value));
1414inline void Config::add_config(
const char* value) {
1415 GOOGLE_DCHECK(value !=
nullptr);
1416 _impl_.config_.Add()->assign(value);
1419inline void Config::add_config(
const char* value,
size_t size) {
1420 _impl_.config_.Add()->assign(
reinterpret_cast<const char*
>(value), size);
1423inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1424Config::config()
const {
1426 return _impl_.config_;
1428inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1429Config::mutable_config() {
1431 return &_impl_.config_;
1435inline bool Config::_internal_has_start_timeout()
const {
1436 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1439inline bool Config::has_start_timeout()
const {
1440 return _internal_has_start_timeout();
1442inline void Config::clear_start_timeout() {
1443 _impl_.start_timeout_ = 20;
1444 _impl_._has_bits_[0] &= ~0x00000004u;
1446inline int32_t Config::_internal_start_timeout()
const {
1447 return _impl_.start_timeout_;
1449inline int32_t Config::start_timeout()
const {
1451 return _internal_start_timeout();
1453inline void Config::_internal_set_start_timeout(int32_t value) {
1454 _impl_._has_bits_[0] |= 0x00000004u;
1455 _impl_.start_timeout_ = value;
1457inline void Config::set_start_timeout(int32_t value) {
1458 _internal_set_start_timeout(value);
1463inline bool Config::_internal_has_max_frame_size()
const {
1464 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1467inline bool Config::has_max_frame_size()
const {
1468 return _internal_has_max_frame_size();
1470inline void Config::clear_max_frame_size() {
1471 _impl_.max_frame_size_ = 64u;
1472 _impl_._has_bits_[0] &= ~0x00000008u;
1474inline uint32_t Config::_internal_max_frame_size()
const {
1475 return _impl_.max_frame_size_;
1477inline uint32_t Config::max_frame_size()
const {
1479 return _internal_max_frame_size();
1481inline void Config::_internal_set_max_frame_size(uint32_t value) {
1482 _impl_._has_bits_[0] |= 0x00000008u;
1483 _impl_.max_frame_size_ = value;
1485inline void Config::set_max_frame_size(uint32_t value) {
1486 _internal_set_max_frame_size(value);
1495inline bool BenthosHeader::_internal_has_type()
const {
1496 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1499inline bool BenthosHeader::has_type()
const {
1500 return _internal_has_type();
1502inline void BenthosHeader::clear_type() {
1504 _impl_._has_bits_[0] &= ~0x00000002u;
1506inline ::goby::acomms::protobuf::ModemTransmission_TransmissionType BenthosHeader::_internal_type()
const {
1509inline ::goby::acomms::protobuf::ModemTransmission_TransmissionType BenthosHeader::type()
const {
1511 return _internal_type();
1515 _impl_._has_bits_[0] |= 0x00000002u;
1516 _impl_.type_ = value;
1519 _internal_set_type(value);
1524inline bool BenthosHeader::_internal_has_ack_requested()
const {
1525 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1528inline bool BenthosHeader::has_ack_requested()
const {
1529 return _internal_has_ack_requested();
1531inline void BenthosHeader::clear_ack_requested() {
1532 _impl_.ack_requested_ =
false;
1533 _impl_._has_bits_[0] &= ~0x00000001u;
1535inline bool BenthosHeader::_internal_ack_requested()
const {
1536 return _impl_.ack_requested_;
1538inline bool BenthosHeader::ack_requested()
const {
1540 return _internal_ack_requested();
1542inline void BenthosHeader::_internal_set_ack_requested(
bool value) {
1543 _impl_._has_bits_[0] |= 0x00000001u;
1544 _impl_.ack_requested_ = value;
1546inline void BenthosHeader::set_ack_requested(
bool value) {
1547 _internal_set_ack_requested(value);
1552inline int BenthosHeader::_internal_acked_frame_size()
const {
1553 return _impl_.acked_frame_.size();
1555inline int BenthosHeader::acked_frame_size()
const {
1556 return _internal_acked_frame_size();
1558inline void BenthosHeader::clear_acked_frame() {
1559 _impl_.acked_frame_.Clear();
1561inline int32_t BenthosHeader::_internal_acked_frame(
int index)
const {
1562 return _impl_.acked_frame_.Get(index);
1564inline int32_t BenthosHeader::acked_frame(
int index)
const {
1566 return _internal_acked_frame(index);
1568inline void BenthosHeader::set_acked_frame(
int index, int32_t value) {
1569 _impl_.acked_frame_.Set(index, value);
1572inline void BenthosHeader::_internal_add_acked_frame(int32_t value) {
1573 _impl_.acked_frame_.Add(value);
1575inline void BenthosHeader::add_acked_frame(int32_t value) {
1576 _internal_add_acked_frame(value);
1579inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
1580BenthosHeader::_internal_acked_frame()
const {
1581 return _impl_.acked_frame_;
1583inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
1584BenthosHeader::acked_frame()
const {
1586 return _internal_acked_frame();
1588inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
1589BenthosHeader::_internal_mutable_acked_frame() {
1590 return &_impl_.acked_frame_;
1592inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
1593BenthosHeader::mutable_acked_frame() {
1595 return _internal_mutable_acked_frame();
1603inline bool ReceiveStatistics::_internal_has_crc()
const {
1604 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1607inline bool ReceiveStatistics::has_crc()
const {
1608 return _internal_has_crc();
1610inline void ReceiveStatistics::clear_crc() {
1612 _impl_._has_bits_[0] &= ~0x00000020u;
1614inline ::goby::acomms::benthos::protobuf::ReceiveStatistics_CRCState ReceiveStatistics::_internal_crc()
const {
1617inline ::goby::acomms::benthos::protobuf::ReceiveStatistics_CRCState ReceiveStatistics::crc()
const {
1619 return _internal_crc();
1623 _impl_._has_bits_[0] |= 0x00000020u;
1624 _impl_.crc_ = value;
1627 _internal_set_crc(value);
1632inline bool ReceiveStatistics::_internal_has_multipath_delay()
const {
1633 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1636inline bool ReceiveStatistics::has_multipath_delay()
const {
1637 return _internal_has_multipath_delay();
1639inline void ReceiveStatistics::clear_multipath_delay() {
1640 _impl_.multipath_delay_ = 0;
1641 _impl_._has_bits_[0] &= ~0x00000001u;
1643inline float ReceiveStatistics::_internal_multipath_delay()
const {
1644 return _impl_.multipath_delay_;
1646inline float ReceiveStatistics::multipath_delay()
const {
1648 return _internal_multipath_delay();
1650inline void ReceiveStatistics::_internal_set_multipath_delay(
float value) {
1651 _impl_._has_bits_[0] |= 0x00000001u;
1652 _impl_.multipath_delay_ = value;
1654inline void ReceiveStatistics::set_multipath_delay(
float value) {
1655 _internal_set_multipath_delay(value);
1660inline bool ReceiveStatistics::_internal_has_snr()
const {
1661 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1664inline bool ReceiveStatistics::has_snr()
const {
1665 return _internal_has_snr();
1667inline void ReceiveStatistics::clear_snr() {
1669 _impl_._has_bits_[0] &= ~0x00000002u;
1671inline float ReceiveStatistics::_internal_snr()
const {
1674inline float ReceiveStatistics::snr()
const {
1676 return _internal_snr();
1678inline void ReceiveStatistics::_internal_set_snr(
float value) {
1679 _impl_._has_bits_[0] |= 0x00000002u;
1680 _impl_.snr_ = value;
1682inline void ReceiveStatistics::set_snr(
float value) {
1683 _internal_set_snr(value);
1688inline bool ReceiveStatistics::_internal_has_relative_speed()
const {
1689 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1692inline bool ReceiveStatistics::has_relative_speed()
const {
1693 return _internal_has_relative_speed();
1695inline void ReceiveStatistics::clear_relative_speed() {
1696 _impl_.relative_speed_ = 0;
1697 _impl_._has_bits_[0] &= ~0x00000004u;
1699inline float ReceiveStatistics::_internal_relative_speed()
const {
1700 return _impl_.relative_speed_;
1702inline float ReceiveStatistics::relative_speed()
const {
1704 return _internal_relative_speed();
1706inline void ReceiveStatistics::_internal_set_relative_speed(
float value) {
1707 _impl_._has_bits_[0] |= 0x00000004u;
1708 _impl_.relative_speed_ = value;
1710inline void ReceiveStatistics::set_relative_speed(
float value) {
1711 _internal_set_relative_speed(value);
1716inline bool ReceiveStatistics::_internal_has_auto_gain_control()
const {
1717 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1720inline bool ReceiveStatistics::has_auto_gain_control()
const {
1721 return _internal_has_auto_gain_control();
1723inline void ReceiveStatistics::clear_auto_gain_control() {
1724 _impl_.auto_gain_control_ = 0;
1725 _impl_._has_bits_[0] &= ~0x00000008u;
1727inline float ReceiveStatistics::_internal_auto_gain_control()
const {
1728 return _impl_.auto_gain_control_;
1730inline float ReceiveStatistics::auto_gain_control()
const {
1732 return _internal_auto_gain_control();
1734inline void ReceiveStatistics::_internal_set_auto_gain_control(
float value) {
1735 _impl_._has_bits_[0] |= 0x00000008u;
1736 _impl_.auto_gain_control_ = value;
1738inline void ReceiveStatistics::set_auto_gain_control(
float value) {
1739 _internal_set_auto_gain_control(value);
1744inline bool ReceiveStatistics::_internal_has_corrected_channel_error()
const {
1745 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1748inline bool ReceiveStatistics::has_corrected_channel_error()
const {
1749 return _internal_has_corrected_channel_error();
1751inline void ReceiveStatistics::clear_corrected_channel_error() {
1752 _impl_.corrected_channel_error_ = 0;
1753 _impl_._has_bits_[0] &= ~0x00000010u;
1755inline int32_t ReceiveStatistics::_internal_corrected_channel_error()
const {
1756 return _impl_.corrected_channel_error_;
1758inline int32_t ReceiveStatistics::corrected_channel_error()
const {
1760 return _internal_corrected_channel_error();
1762inline void ReceiveStatistics::_internal_set_corrected_channel_error(int32_t value) {
1763 _impl_._has_bits_[0] |= 0x00000010u;
1764 _impl_.corrected_channel_error_ = value;
1766inline void ReceiveStatistics::set_corrected_channel_error(int32_t value) {
1767 _internal_set_corrected_channel_error(value);
1776inline bool RangingReply::_internal_has_one_way_travel_time()
const {
1777 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1780inline bool RangingReply::has_one_way_travel_time()
const {
1781 return _internal_has_one_way_travel_time();
1783inline void RangingReply::clear_one_way_travel_time() {
1784 _impl_.one_way_travel_time_ = 0;
1785 _impl_._has_bits_[0] &= ~0x00000001u;
1787inline double RangingReply::_internal_one_way_travel_time()
const {
1788 return _impl_.one_way_travel_time_;
1790inline double RangingReply::one_way_travel_time()
const {
1792 return _internal_one_way_travel_time();
1794inline void RangingReply::_internal_set_one_way_travel_time(
double value) {
1795 _impl_._has_bits_[0] |= 0x00000001u;
1796 _impl_.one_way_travel_time_ = value;
1798inline void RangingReply::set_one_way_travel_time(
double value) {
1799 _internal_set_one_way_travel_time(value);
1808inline bool Transmission::_internal_has_type()
const {
1809 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1812inline bool Transmission::has_type()
const {
1813 return _internal_has_type();
1815inline void Transmission::clear_type() {
1817 _impl_._has_bits_[0] &= ~0x00000004u;
1819inline ::goby::acomms::benthos::protobuf::TransmissionType Transmission::_internal_type()
const {
1822inline ::goby::acomms::benthos::protobuf::TransmissionType Transmission::type()
const {
1824 return _internal_type();
1828 _impl_._has_bits_[0] |= 0x00000004u;
1829 _impl_.type_ = value;
1832 _internal_set_type(value);
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);
1842inline bool Transmission::has_receive_stat()
const {
1843 return _internal_has_receive_stat();
1845inline void Transmission::clear_receive_stat() {
1846 if (_impl_.receive_stat_ !=
nullptr) _impl_.receive_stat_->Clear();
1847 _impl_._has_bits_[0] &= ~0x00000001u;
1849inline const ::goby::acomms::benthos::protobuf::ReceiveStatistics& Transmission::_internal_receive_stat()
const {
1850 const ::goby::acomms::benthos::protobuf::ReceiveStatistics* p = _impl_.receive_stat_;
1854inline const ::goby::acomms::benthos::protobuf::ReceiveStatistics& Transmission::receive_stat()
const {
1856 return _internal_receive_stat();
1858inline void Transmission::unsafe_arena_set_allocated_receive_stat(
1860 if (GetArenaForAllocation() ==
nullptr) {
1861 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.receive_stat_);
1863 _impl_.receive_stat_ = receive_stat;
1865 _impl_._has_bits_[0] |= 0x00000001u;
1867 _impl_._has_bits_[0] &= ~0x00000001u;
1871inline ::goby::acomms::benthos::protobuf::ReceiveStatistics* Transmission::release_receive_stat() {
1872 _impl_._has_bits_[0] &= ~0x00000001u;
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; }
1880 if (GetArenaForAllocation() !=
nullptr) {
1881 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1886inline ::goby::acomms::benthos::protobuf::ReceiveStatistics* Transmission::unsafe_arena_release_receive_stat() {
1888 _impl_._has_bits_[0] &= ~0x00000001u;
1890 _impl_.receive_stat_ =
nullptr;
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;
1899 return _impl_.receive_stat_;
1901inline ::goby::acomms::benthos::protobuf::ReceiveStatistics* Transmission::mutable_receive_stat() {
1907 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1908 if (message_arena ==
nullptr) {
1909 delete _impl_.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);
1918 _impl_._has_bits_[0] |= 0x00000001u;
1920 _impl_._has_bits_[0] &= ~0x00000001u;
1922 _impl_.receive_stat_ = receive_stat;
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);
1932inline bool Transmission::has_ranging_reply()
const {
1933 return _internal_has_ranging_reply();
1935inline void Transmission::clear_ranging_reply() {
1936 if (_impl_.ranging_reply_ !=
nullptr) _impl_.ranging_reply_->Clear();
1937 _impl_._has_bits_[0] &= ~0x00000002u;
1939inline const ::goby::acomms::benthos::protobuf::RangingReply& Transmission::_internal_ranging_reply()
const {
1940 const ::goby::acomms::benthos::protobuf::RangingReply* p = _impl_.ranging_reply_;
1944inline const ::goby::acomms::benthos::protobuf::RangingReply& Transmission::ranging_reply()
const {
1946 return _internal_ranging_reply();
1948inline void Transmission::unsafe_arena_set_allocated_ranging_reply(
1950 if (GetArenaForAllocation() ==
nullptr) {
1951 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.ranging_reply_);
1953 _impl_.ranging_reply_ = ranging_reply;
1954 if (ranging_reply) {
1955 _impl_._has_bits_[0] |= 0x00000002u;
1957 _impl_._has_bits_[0] &= ~0x00000002u;
1961inline ::goby::acomms::benthos::protobuf::RangingReply* Transmission::release_ranging_reply() {
1962 _impl_._has_bits_[0] &= ~0x00000002u;
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; }
1970 if (GetArenaForAllocation() !=
nullptr) {
1971 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1976inline ::goby::acomms::benthos::protobuf::RangingReply* Transmission::unsafe_arena_release_ranging_reply() {
1978 _impl_._has_bits_[0] &= ~0x00000002u;
1980 _impl_.ranging_reply_ =
nullptr;
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;
1989 return _impl_.ranging_reply_;
1991inline ::goby::acomms::benthos::protobuf::RangingReply* Transmission::mutable_ranging_reply() {
1997 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1998 if (message_arena ==
nullptr) {
1999 delete _impl_.ranging_reply_;
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);
2008 _impl_._has_bits_[0] |= 0x00000002u;
2010 _impl_._has_bits_[0] &= ~0x00000002u;
2012 _impl_.ranging_reply_ = ranging_reply;
2017 #pragma GCC diagnostic pop
2035PROTOBUF_NAMESPACE_OPEN
2040 return ::goby::acomms::benthos::protobuf::ReceiveStatistics_CRCState_descriptor();
2045 return ::goby::acomms::benthos::protobuf::TransmissionType_descriptor();
2048PROTOBUF_NAMESPACE_CLOSE
2052#include <google/protobuf/port_undef.inc>
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 *)
bool has_max_frame_size() const
bool has_start_timeout() const
PROTOBUF_NODISCARD std::string * release_config_load()
static const Config & default_instance()
Config & operator=(Config &&from) noexcept
const std::string & config_load() const
int32_t start_timeout() const
bool factory_reset() const
void set_start_timeout(int32_t value)
uint32_t max_frame_size() const
void set_allocated_config_load(std::string *config_load)
void MergeFrom(const Config &from)
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void clear_factory_reset()
static const Config * internal_default_instance()
friend void swap(Config &a, Config &b)
void set_max_frame_size(uint32_t value)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void UnsafeArenaSwap(Config *other)
static constexpr int kIndexInFileMessages
void set_config_load(ArgT0 &&arg0, ArgT... args)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
@ kStartTimeoutFieldNumber
@ kMaxFrameSizeFieldNumber
@ kFactoryResetFieldNumber
int GetCachedSize() const final
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_config()
void clear_max_frame_size()
void set_factory_reset(bool value)
std::string * mutable_config_load()
Config(Config &&from) noexcept
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
bool has_factory_reset() const
static const ClassData _class_data_
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()
Config(const Config &from)
void set_config(int index, const std::string &value)
void clear_start_timeout()
bool has_config_load() const
std::string * add_config()
bool IsInitialized() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
size_t ByteSizeLong() const final
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 Swap(RangingReply *other)
Quantity one_way_travel_time_with_units() const
static const ClassData _class_data_
void set_one_way_travel_time_with_units(Quantity value_w_units)
void UnsafeArenaSwap(RangingReply *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const RangingReply & default_instance()
RangingReply & operator=(RangingReply &&from) noexcept
RangingReply(const RangingReply &from)
RangingReply(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()
void MergeFrom(const RangingReply &from)
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)
Quantity relative_speed_with_units() const
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
void set_relative_speed_with_units(Quantity value_w_units)
static const ReceiveStatistics * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ClassData _class_data_
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)
void UnsafeArenaSwap(ReceiveStatistics *other)
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)
Quantity multipath_delay_with_units() const
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)
~ReceiveStatistics() override
void Swap(ReceiveStatistics *other)
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()
void Swap(Transmission *other)
void UnsafeArenaSwap(Transmission *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Transmission(const Transmission &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void MergeFrom(const Transmission &from)
static const Transmission & default_instance()
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)
static const ClassData _class_data_
PROTOBUF_CONSTEXPR Transmission(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Transmission(Transmission &&from) noexcept
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)
static const int kTransmissionFieldNumber
const std::string & ReceiveStatistics_CRCState_Name(T enum_t_value)
static const int kConfigFieldNumber
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)
constexpr int TransmissionType_ARRAYSIZE
ReceiveStatisticsDefaultTypeInternal _ReceiveStatistics_default_instance_
ReceiveStatistics_CRCState
@ ReceiveStatistics_CRCState_CRC_PASS
@ ReceiveStatistics_CRCState_CRC_FAIL
constexpr TransmissionType TransmissionType_MIN
constexpr ReceiveStatistics_CRCState ReceiveStatistics_CRCState_CRCState_MAX
bool ModemTransmission_TransmissionType_IsValid(int value)
ModemTransmission_TransmissionType
The global namespace for the Goby project.
static const uint32_t offsets[]