4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_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>
35#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/base_units/si/second.hpp>
45#include <google/protobuf/port_def.inc>
46#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto
47PROTOBUF_NAMESPACE_OPEN
51PROTOBUF_NAMESPACE_CLOSE
63struct ConfigDefaultTypeInternal;
66struct RangingReplyDefaultTypeInternal;
69struct TransmissionDefaultTypeInternal;
75PROTOBUF_NAMESPACE_OPEN
79PROTOBUF_NAMESPACE_CLOSE
101 static_assert(::std::is_same<T, TransmissionType>::value ||
102 ::std::is_integral<T>::value,
103 "Incorrect type passed to function TransmissionType_Name.");
104 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
109 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<TransmissionType>(
115 public ::PROTOBUF_NAMESPACE_ID::Message {
119 explicit PROTOBUF_CONSTEXPR
Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
124 *
this = ::std::move(from);
132 if (
this == &from)
return *
this;
133 if (GetOwningArena() == from.GetOwningArena()
134 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
135 && GetOwningArena() !=
nullptr
146 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
149 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
152 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
165 return reinterpret_cast<const Config*
>(
175 if (other ==
this)
return;
176 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
177 if (GetOwningArena() !=
nullptr &&
178 GetOwningArena() == other->GetOwningArena()) {
180 if (GetOwningArena() == other->GetOwningArena()) {
184 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
188 if (other ==
this)
return;
189 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
195 Config*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
196 return CreateMaybeMessage<Config>(arena);
198 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
200 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
202 Config::MergeImpl(*
this, from);
205 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
207 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
213 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
217 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
219 void SetCachedSize(
int size)
const final;
220 void InternalSwap(
Config* other);
223 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
224 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
225 return "goby.acomms.popoto.protobuf.Config";
228 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena,
229 bool is_message_owned =
false);
233 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
249 bool _internal_has_payload_mode()
const;
255 int32_t _internal_payload_mode()
const;
256 void _internal_set_payload_mode(int32_t value);
262 bool _internal_has_start_timeout()
const;
268 int32_t _internal_start_timeout()
const;
269 void _internal_set_start_timeout(int32_t value);
275 bool _internal_has_modem_power()
const;
281 int32_t _internal_modem_power()
const;
282 void _internal_set_modem_power(int32_t value);
289 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
290 typedef void InternalArenaConstructable_;
291 typedef void DestructorSkippable_;
293 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
294 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
295 int32_t payload_mode_;
296 int32_t start_timeout_;
297 int32_t modem_power_;
300 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto;
305 public ::PROTOBUF_NAMESPACE_ID::Message {
309 explicit PROTOBUF_CONSTEXPR
RangingReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
314 *
this = ::std::move(from);
322 if (
this == &from)
return *
this;
323 if (GetOwningArena() == from.GetOwningArena()
324 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
325 && GetOwningArena() !=
nullptr
336 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
339 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
342 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
343 return GetDescriptor();
346 return default_instance().GetMetadata().descriptor;
349 return default_instance().GetMetadata().reflection;
352 return *internal_default_instance();
356 &_RangingReply_default_instance_);
358 static constexpr int kIndexInFileMessages =
365 if (other ==
this)
return;
366 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
367 if (GetOwningArena() !=
nullptr &&
368 GetOwningArena() == other->GetOwningArena()) {
370 if (GetOwningArena() == other->GetOwningArena()) {
374 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
378 if (other ==
this)
return;
379 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
386 return CreateMaybeMessage<RangingReply>(arena);
388 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
390 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
392 RangingReply::MergeImpl(*
this, from);
395 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
397 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
398 bool IsInitialized() const final;
401 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
402 uint8_t* _InternalSerialize(
403 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
404 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
407 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
409 void SetCachedSize(
int size)
const final;
413 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
414 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
415 return "goby.acomms.popoto.protobuf.RangingReply";
419 bool is_message_owned =
false);
423 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
425 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
432 kOneWayTravelTimeFieldNumber = 1,
435 bool has_one_way_travel_time()
const;
437 bool _internal_has_one_way_travel_time()
const;
439 void clear_one_way_travel_time();
440 double one_way_travel_time()
const;
441 void set_one_way_travel_time(
double value);
443 double _internal_one_way_travel_time()
const;
444 void _internal_set_one_way_travel_time(
double value);
449 template<
typename Quantity >
451 { set_one_way_travel_time(boost::units::quantity<one_way_travel_time_unit,double >(value_w_units).value() ); };
453 template<
typename Quantity >
458 {
return one_way_travel_time_with_units<boost::units::quantity< one_way_travel_time_unit,double > >(); };
464 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
465 typedef void InternalArenaConstructable_;
466 typedef void DestructorSkippable_;
468 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
469 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
470 double one_way_travel_time_;
473 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto;
478 public ::PROTOBUF_NAMESPACE_ID::Message {
482 explicit PROTOBUF_CONSTEXPR
Transmission(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
487 *
this = ::std::move(from);
495 if (
this == &from)
return *
this;
496 if (GetOwningArena() == from.GetOwningArena()
497 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
498 && GetOwningArena() !=
nullptr
509 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
512 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
515 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
516 return GetDescriptor();
519 return default_instance().GetMetadata().descriptor;
522 return default_instance().GetMetadata().reflection;
525 return *internal_default_instance();
529 &_Transmission_default_instance_);
531 static constexpr int kIndexInFileMessages =
538 if (other ==
this)
return;
539 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
540 if (GetOwningArena() !=
nullptr &&
541 GetOwningArena() == other->GetOwningArena()) {
543 if (GetOwningArena() == other->GetOwningArena()) {
547 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
551 if (other ==
this)
return;
552 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
559 return CreateMaybeMessage<Transmission>(arena);
561 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
563 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
565 Transmission::MergeImpl(*
this, from);
568 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
570 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
571 bool IsInitialized() const final;
574 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
575 uint8_t* _InternalSerialize(
576 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
577 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
580 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
582 void SetCachedSize(
int size)
const final;
586 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
587 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
588 return "goby.acomms.popoto.protobuf.Transmission";
592 bool is_message_owned =
false);
596 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
598 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
605 kFileLocationFieldNumber = 4,
606 kRangingReplyFieldNumber = 3,
607 kTransmitPowerFieldNumber = 5,
608 kTypeFieldNumber = 1,
611 bool has_file_location()
const;
613 bool _internal_has_file_location()
const;
615 void clear_file_location();
616 const std::string& file_location()
const;
617 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
619 std::string* mutable_file_location();
620 PROTOBUF_NODISCARD std::string* release_file_location();
621 void set_allocated_file_location(std::string* file_location);
623 const std::string& _internal_file_location()
const;
624 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_file_location(
const std::string& value);
625 std::string* _internal_mutable_file_location();
629 bool has_ranging_reply()
const;
631 bool _internal_has_ranging_reply()
const;
633 void clear_ranging_reply();
634 const ::goby::acomms::popoto::protobuf::RangingReply& ranging_reply()
const;
635 PROTOBUF_NODISCARD ::goby::acomms::popoto::protobuf::RangingReply* release_ranging_reply();
639 const ::goby::acomms::popoto::protobuf::RangingReply& _internal_ranging_reply()
const;
642 void unsafe_arena_set_allocated_ranging_reply(
647 bool has_transmit_power()
const;
649 bool _internal_has_transmit_power()
const;
651 void clear_transmit_power();
652 double transmit_power()
const;
653 void set_transmit_power(
double value);
655 double _internal_transmit_power()
const;
656 void _internal_set_transmit_power(
double value);
660 bool has_type()
const;
662 bool _internal_has_type()
const;
676 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
677 typedef void InternalArenaConstructable_;
678 typedef void DestructorSkippable_;
680 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
681 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
682 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_location_;
684 double transmit_power_;
688 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto;
694 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::popoto::protobuf::Config >, 11,
false >
698 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::popoto::protobuf::Transmission >, 11,
false >
704 #pragma GCC diagnostic push
705 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
710inline bool Config::_internal_has_start_timeout()
const {
711 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
714inline bool Config::has_start_timeout()
const {
715 return _internal_has_start_timeout();
717inline void Config::clear_start_timeout() {
718 _impl_.start_timeout_ = 30;
719 _impl_._has_bits_[0] &= ~0x00000002u;
721inline int32_t Config::_internal_start_timeout()
const {
722 return _impl_.start_timeout_;
724inline int32_t Config::start_timeout()
const {
726 return _internal_start_timeout();
728inline void Config::_internal_set_start_timeout(int32_t value) {
729 _impl_._has_bits_[0] |= 0x00000002u;
730 _impl_.start_timeout_ = value;
732inline void Config::set_start_timeout(int32_t value) {
733 _internal_set_start_timeout(value);
738inline bool Config::_internal_has_payload_mode()
const {
739 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
742inline bool Config::has_payload_mode()
const {
743 return _internal_has_payload_mode();
745inline void Config::clear_payload_mode() {
746 _impl_.payload_mode_ = 0;
747 _impl_._has_bits_[0] &= ~0x00000001u;
749inline int32_t Config::_internal_payload_mode()
const {
750 return _impl_.payload_mode_;
752inline int32_t Config::payload_mode()
const {
754 return _internal_payload_mode();
756inline void Config::_internal_set_payload_mode(int32_t value) {
757 _impl_._has_bits_[0] |= 0x00000001u;
758 _impl_.payload_mode_ = value;
760inline void Config::set_payload_mode(int32_t value) {
761 _internal_set_payload_mode(value);
766inline bool Config::_internal_has_modem_power()
const {
767 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
770inline bool Config::has_modem_power()
const {
771 return _internal_has_modem_power();
773inline void Config::clear_modem_power() {
774 _impl_.modem_power_ = 1;
775 _impl_._has_bits_[0] &= ~0x00000004u;
777inline int32_t Config::_internal_modem_power()
const {
778 return _impl_.modem_power_;
780inline int32_t Config::modem_power()
const {
782 return _internal_modem_power();
784inline void Config::_internal_set_modem_power(int32_t value) {
785 _impl_._has_bits_[0] |= 0x00000004u;
786 _impl_.modem_power_ = value;
788inline void Config::set_modem_power(int32_t value) {
789 _internal_set_modem_power(value);
798inline bool RangingReply::_internal_has_one_way_travel_time()
const {
799 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
802inline bool RangingReply::has_one_way_travel_time()
const {
803 return _internal_has_one_way_travel_time();
805inline void RangingReply::clear_one_way_travel_time() {
806 _impl_.one_way_travel_time_ = 0;
807 _impl_._has_bits_[0] &= ~0x00000001u;
809inline double RangingReply::_internal_one_way_travel_time()
const {
810 return _impl_.one_way_travel_time_;
812inline double RangingReply::one_way_travel_time()
const {
814 return _internal_one_way_travel_time();
816inline void RangingReply::_internal_set_one_way_travel_time(
double value) {
817 _impl_._has_bits_[0] |= 0x00000001u;
818 _impl_.one_way_travel_time_ = value;
820inline void RangingReply::set_one_way_travel_time(
double value) {
821 _internal_set_one_way_travel_time(value);
830inline bool Transmission::_internal_has_type()
const {
831 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
834inline bool Transmission::has_type()
const {
835 return _internal_has_type();
837inline void Transmission::clear_type() {
839 _impl_._has_bits_[0] &= ~0x00000008u;
841inline ::goby::acomms::popoto::protobuf::TransmissionType Transmission::_internal_type()
const {
844inline ::goby::acomms::popoto::protobuf::TransmissionType Transmission::type()
const {
846 return _internal_type();
850 _impl_._has_bits_[0] |= 0x00000008u;
851 _impl_.type_ = value;
854 _internal_set_type(value);
859inline bool Transmission::_internal_has_ranging_reply()
const {
860 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
861 PROTOBUF_ASSUME(!value || _impl_.ranging_reply_ !=
nullptr);
864inline bool Transmission::has_ranging_reply()
const {
865 return _internal_has_ranging_reply();
867inline void Transmission::clear_ranging_reply() {
868 if (_impl_.ranging_reply_ !=
nullptr) _impl_.ranging_reply_->Clear();
869 _impl_._has_bits_[0] &= ~0x00000002u;
871inline const ::goby::acomms::popoto::protobuf::RangingReply& Transmission::_internal_ranging_reply()
const {
872 const ::goby::acomms::popoto::protobuf::RangingReply* p = _impl_.ranging_reply_;
876inline const ::goby::acomms::popoto::protobuf::RangingReply& Transmission::ranging_reply()
const {
878 return _internal_ranging_reply();
880inline void Transmission::unsafe_arena_set_allocated_ranging_reply(
882 if (GetArenaForAllocation() ==
nullptr) {
883 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.ranging_reply_);
885 _impl_.ranging_reply_ = ranging_reply;
887 _impl_._has_bits_[0] |= 0x00000002u;
889 _impl_._has_bits_[0] &= ~0x00000002u;
893inline ::goby::acomms::popoto::protobuf::RangingReply* Transmission::release_ranging_reply() {
894 _impl_._has_bits_[0] &= ~0x00000002u;
896 _impl_.ranging_reply_ =
nullptr;
897#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
898 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
899 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
900 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
902 if (GetArenaForAllocation() !=
nullptr) {
903 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
908inline ::goby::acomms::popoto::protobuf::RangingReply* Transmission::unsafe_arena_release_ranging_reply() {
910 _impl_._has_bits_[0] &= ~0x00000002u;
912 _impl_.ranging_reply_ =
nullptr;
915inline ::goby::acomms::popoto::protobuf::RangingReply* Transmission::_internal_mutable_ranging_reply() {
916 _impl_._has_bits_[0] |= 0x00000002u;
917 if (_impl_.ranging_reply_ ==
nullptr) {
919 _impl_.ranging_reply_ = p;
921 return _impl_.ranging_reply_;
923inline ::goby::acomms::popoto::protobuf::RangingReply* Transmission::mutable_ranging_reply() {
929 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
930 if (message_arena ==
nullptr) {
931 delete _impl_.ranging_reply_;
934 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
935 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ranging_reply);
936 if (message_arena != submessage_arena) {
937 ranging_reply = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
938 message_arena, ranging_reply, submessage_arena);
940 _impl_._has_bits_[0] |= 0x00000002u;
942 _impl_._has_bits_[0] &= ~0x00000002u;
944 _impl_.ranging_reply_ = ranging_reply;
949inline bool Transmission::_internal_has_file_location()
const {
950 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
953inline bool Transmission::has_file_location()
const {
954 return _internal_has_file_location();
956inline void Transmission::clear_file_location() {
957 _impl_.file_location_.ClearToEmpty();
958 _impl_._has_bits_[0] &= ~0x00000001u;
960inline const std::string& Transmission::file_location()
const {
962 return _internal_file_location();
964template <
typename ArgT0,
typename... ArgT>
965inline PROTOBUF_ALWAYS_INLINE
966void Transmission::set_file_location(ArgT0&& arg0, ArgT... args) {
967 _impl_._has_bits_[0] |= 0x00000001u;
968 _impl_.file_location_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
971inline std::string* Transmission::mutable_file_location() {
972 std::string* _s = _internal_mutable_file_location();
976inline const std::string& Transmission::_internal_file_location()
const {
977 return _impl_.file_location_.Get();
979inline void Transmission::_internal_set_file_location(
const std::string& value) {
980 _impl_._has_bits_[0] |= 0x00000001u;
981 _impl_.file_location_.Set(value, GetArenaForAllocation());
983inline std::string* Transmission::_internal_mutable_file_location() {
984 _impl_._has_bits_[0] |= 0x00000001u;
985 return _impl_.file_location_.Mutable(GetArenaForAllocation());
987inline std::string* Transmission::release_file_location() {
989 if (!_internal_has_file_location()) {
992 _impl_._has_bits_[0] &= ~0x00000001u;
993 auto* p = _impl_.file_location_.Release();
994#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
995 if (_impl_.file_location_.IsDefault()) {
996 _impl_.file_location_.Set(
"", GetArenaForAllocation());
1001inline void Transmission::set_allocated_file_location(std::string* file_location) {
1002 if (file_location !=
nullptr) {
1003 _impl_._has_bits_[0] |= 0x00000001u;
1005 _impl_._has_bits_[0] &= ~0x00000001u;
1007 _impl_.file_location_.SetAllocated(file_location, GetArenaForAllocation());
1008#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1009 if (_impl_.file_location_.IsDefault()) {
1010 _impl_.file_location_.Set(
"", GetArenaForAllocation());
1017inline bool Transmission::_internal_has_transmit_power()
const {
1018 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1021inline bool Transmission::has_transmit_power()
const {
1022 return _internal_has_transmit_power();
1024inline void Transmission::clear_transmit_power() {
1025 _impl_.transmit_power_ = 0;
1026 _impl_._has_bits_[0] &= ~0x00000004u;
1028inline double Transmission::_internal_transmit_power()
const {
1029 return _impl_.transmit_power_;
1031inline double Transmission::transmit_power()
const {
1033 return _internal_transmit_power();
1035inline void Transmission::_internal_set_transmit_power(
double value) {
1036 _impl_._has_bits_[0] |= 0x00000004u;
1037 _impl_.transmit_power_ = value;
1039inline void Transmission::set_transmit_power(
double value) {
1040 _internal_set_transmit_power(value);
1045 #pragma GCC diagnostic pop
1059PROTOBUF_NAMESPACE_OPEN
1064 return ::goby::acomms::popoto::protobuf::TransmissionType_descriptor();
1067PROTOBUF_NAMESPACE_CLOSE
1071#include <google/protobuf/port_undef.inc>
bool has_payload_mode() const
int32_t payload_mode() const
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
int32_t start_timeout() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void CopyFrom(const Config &from)
static constexpr int kIndexInFileMessages
int GetCachedSize() const final
int32_t modem_power() const
void clear_payload_mode()
Config & operator=(Config &&from) noexcept
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const Config * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
friend void swap(Config &a, Config &b)
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Config & operator=(const Config &from)
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
bool has_start_timeout() const
bool IsInitialized() const final
void set_modem_power(int32_t value)
void set_start_timeout(int32_t value)
PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const Config & default_instance()
Config(const Config &from)
void set_payload_mode(int32_t value)
size_t ByteSizeLong() const final
void MergeFrom(const Config &from)
Config(Config &&from) noexcept
@ kPayloadModeFieldNumber
@ kStartTimeoutFieldNumber
void clear_start_timeout()
bool has_modem_power() const
static const ClassData _class_data_
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void UnsafeArenaSwap(Config *other)
boost::units::si::second_base_unit::unit_type one_way_travel_time_unit
friend void swap(RangingReply &a, RangingReply &b)
RangingReply & operator=(const RangingReply &from)
RangingReply(RangingReply &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void UnsafeArenaSwap(RangingReply *other)
RangingReply(const RangingReply &from)
boost::units::quantity< one_way_travel_time_unit, double > one_way_travel_time_with_units() const
PROTOBUF_CONSTEXPR RangingReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Quantity one_way_travel_time_with_units() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void MergeFrom(const RangingReply &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const RangingReply & default_instance()
RangingReply & operator=(RangingReply &&from) noexcept
RangingReply * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const RangingReply * internal_default_instance()
void CopyFrom(const RangingReply &from)
void Swap(RangingReply *other)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
RangingReply(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_one_way_travel_time_with_units(Quantity value_w_units)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ClassData _class_data_
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Transmission * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void Swap(Transmission *other)
Transmission & operator=(Transmission &&from) noexcept
Transmission(const Transmission &from)
Transmission(Transmission &&from) noexcept
Transmission(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void MergeFrom(const Transmission &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const Transmission & default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const Transmission * internal_default_instance()
PROTOBUF_CONSTEXPR Transmission(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void UnsafeArenaSwap(Transmission *other)
void CopyFrom(const Transmission &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
friend void swap(Transmission &a, Transmission &b)
Transmission & operator=(const Transmission &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_file_location(ArgT0 &&arg0, ArgT... args)
static const ClassData _class_data_
bool TransmissionType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TransmissionType *value)
constexpr TransmissionType TransmissionType_MAX
static const int kTransmissionFieldNumber
RangingReplyDefaultTypeInternal _RangingReply_default_instance_
ConfigDefaultTypeInternal _Config_default_instance_
bool TransmissionType_IsValid(int value)
constexpr int TransmissionType_ARRAYSIZE
const std::string & TransmissionType_Name(T enum_t_value)
constexpr TransmissionType TransmissionType_MIN
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TransmissionType_descriptor()
static const int kConfigFieldNumber
TransmissionDefaultTypeInternal _Transmission_default_instance_
The global namespace for the Goby project.
const EnumDescriptor * GetEnumDescriptor< ::goby::acomms::popoto::protobuf::TransmissionType >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto
::goby::acomms::popoto::protobuf::RangingReply * Arena::CreateMaybeMessage<::goby::acomms::popoto::protobuf::RangingReply >(Arena *)
static const uint32_t offsets[]