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 < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3012004 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
37 #include "dccl/option_extensions.pb.h"
40 #include <boost/units/quantity.hpp>
41 #include <boost/units/absolute.hpp>
42 #include <boost/units/dimensionless_type.hpp>
43 #include <boost/units/make_scaled_unit.hpp>
45 #include <boost/units/base_units/si/second.hpp>
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto
49 PROTOBUF_NAMESPACE_OPEN
53 PROTOBUF_NAMESPACE_CLOSE
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
73 class ConfigDefaultTypeInternal;
76 class RangingReplyDefaultTypeInternal;
79 class TransmissionDefaultTypeInternal;
85 PROTOBUF_NAMESPACE_OPEN
86 template<> ::goby::acomms::popoto::protobuf::Config* Arena::CreateMaybeMessage<::goby::acomms::popoto::protobuf::Config>(Arena*);
87 template<> ::goby::acomms::popoto::protobuf::RangingReply* Arena::CreateMaybeMessage<::goby::acomms::popoto::protobuf::RangingReply>(Arena*);
88 template<> ::goby::acomms::popoto::protobuf::Transmission* Arena::CreateMaybeMessage<::goby::acomms::popoto::protobuf::Transmission>(Arena*);
89 PROTOBUF_NAMESPACE_CLOSE
111 static_assert(::std::is_same<T, TransmissionType>::value ||
112 ::std::is_integral<T>::value,
113 "Incorrect type passed to function TransmissionType_Name.");
114 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
119 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<TransmissionType>(
125 public ::PROTOBUF_NAMESPACE_ID::Message {
133 *
this = ::std::move(from);
141 if (GetArena() == from.GetArena()) {
142 if (
this != &from) InternalSwap(&from);
150 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
153 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
156 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
157 return GetDescriptor();
160 return GetMetadataStatic().descriptor;
163 return GetMetadataStatic().reflection;
169 return reinterpret_cast<const Config*
>(
172 static constexpr
int kIndexInFileMessages =
175 friend void swap(Config& a, Config& b) {
178 inline void Swap(Config* other) {
179 if (other ==
this)
return;
180 if (GetArena() == other->GetArena()) {
183 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
187 if (other ==
this)
return;
188 GOOGLE_DCHECK(GetArena() == other->GetArena());
194 inline Config*
New() const final {
195 return CreateMaybeMessage<Config>(
nullptr);
198 Config*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
199 return CreateMaybeMessage<Config>(arena);
201 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
202 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
205 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
206 bool IsInitialized() const final;
209 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
210 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
211 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
212 int GetCachedSize() const final {
return _cached_size_.Get(); }
215 inline void SharedCtor();
216 inline void SharedDtor();
217 void SetCachedSize(
int size)
const final;
218 void InternalSwap(Config* other);
219 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
220 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
221 return "goby.acomms.popoto.protobuf.Config";
224 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena);
226 static void ArenaDtor(
void*
object);
227 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
232 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
244 kPayloadModeFieldNumber = 2,
245 kStartTimeoutFieldNumber = 1,
246 kModemPowerFieldNumber = 3,
251 bool _internal_has_payload_mode()
const;
264 bool _internal_has_start_timeout()
const;
277 bool _internal_has_modem_power()
const;
291 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
292 typedef void InternalArenaConstructable_;
293 typedef void DestructorSkippable_;
294 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
295 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
299 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto;
304 public ::PROTOBUF_NAMESPACE_ID::Message {
312 *
this = ::std::move(from);
315 inline RangingReply&
operator=(
const RangingReply& from) {
319 inline RangingReply&
operator=(RangingReply&& from) noexcept {
320 if (GetArena() == from.GetArena()) {
321 if (
this != &from) InternalSwap(&from);
329 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
332 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
335 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
336 return GetDescriptor();
339 return GetMetadataStatic().descriptor;
342 return GetMetadataStatic().reflection;
348 return reinterpret_cast<const RangingReply*
>(
351 static constexpr
int kIndexInFileMessages =
354 friend void swap(RangingReply& a, RangingReply& b) {
357 inline void Swap(RangingReply* other) {
358 if (other ==
this)
return;
359 if (GetArena() == other->GetArena()) {
362 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
366 if (other ==
this)
return;
367 GOOGLE_DCHECK(GetArena() == other->GetArena());
373 inline RangingReply*
New() const final {
374 return CreateMaybeMessage<RangingReply>(
nullptr);
377 RangingReply*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
378 return CreateMaybeMessage<RangingReply>(arena);
380 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
381 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
384 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
385 bool IsInitialized() const final;
388 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
389 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
390 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
391 int GetCachedSize() const final {
return _cached_size_.Get(); }
394 inline void SharedCtor();
395 inline void SharedDtor();
396 void SetCachedSize(
int size)
const final;
397 void InternalSwap(RangingReply* other);
398 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
399 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
400 return "goby.acomms.popoto.protobuf.RangingReply";
405 static void ArenaDtor(
void*
object);
406 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
411 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
423 kOneWayTravelTimeFieldNumber = 1,
428 bool _internal_has_one_way_travel_time()
const;
434 double _internal_one_way_travel_time()
const;
435 void _internal_set_one_way_travel_time(
double value);
440 template<
typename Quantity >
442 { set_one_way_travel_time(boost::units::quantity<one_way_travel_time_unit,double >(value_w_units).value() ); };
444 template<
typename Quantity >
449 {
return one_way_travel_time_with_units<boost::units::quantity< one_way_travel_time_unit,double > >(); };
455 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
456 typedef void InternalArenaConstructable_;
457 typedef void DestructorSkippable_;
458 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
459 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
460 double one_way_travel_time_;
461 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto;
466 public ::PROTOBUF_NAMESPACE_ID::Message {
474 *
this = ::std::move(from);
477 inline Transmission&
operator=(
const Transmission& from) {
481 inline Transmission&
operator=(Transmission&& from) noexcept {
482 if (GetArena() == from.GetArena()) {
483 if (
this != &from) InternalSwap(&from);
491 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
494 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
497 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
498 return GetDescriptor();
501 return GetMetadataStatic().descriptor;
504 return GetMetadataStatic().reflection;
510 return reinterpret_cast<const Transmission*
>(
513 static constexpr
int kIndexInFileMessages =
516 friend void swap(Transmission& a, Transmission& b) {
519 inline void Swap(Transmission* other) {
520 if (other ==
this)
return;
521 if (GetArena() == other->GetArena()) {
524 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
528 if (other ==
this)
return;
529 GOOGLE_DCHECK(GetArena() == other->GetArena());
535 inline Transmission*
New() const final {
536 return CreateMaybeMessage<Transmission>(
nullptr);
539 Transmission*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
540 return CreateMaybeMessage<Transmission>(arena);
542 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
543 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
546 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
547 bool IsInitialized() const final;
550 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
551 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
552 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
553 int GetCachedSize() const final {
return _cached_size_.Get(); }
556 inline void SharedCtor();
557 inline void SharedDtor();
558 void SetCachedSize(
int size)
const final;
559 void InternalSwap(Transmission* other);
560 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
561 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
562 return "goby.acomms.popoto.protobuf.Transmission";
567 static void ArenaDtor(
void*
object);
568 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
573 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
585 kFileLocationFieldNumber = 4,
586 kRangingReplyFieldNumber = 3,
587 kTransmitPowerFieldNumber = 5,
588 kTypeFieldNumber = 1,
593 bool _internal_has_file_location()
const;
604 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(
"The unsafe_arena_ accessors for"
605 " string fields are deprecated and will be removed in a"
607 std::
string* unsafe_arena_release_file_location();
608 GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
609 "
string fields are deprecated and will be removed in a"
611 void unsafe_arena_set_allocated_file_location(
612 std::
string* file_location);
614 const std::
string& _internal_file_location() const;
615 void _internal_set_file_location(const std::
string& value);
616 std::
string* _internal_mutable_file_location();
620 bool has_ranging_reply() const;
622 bool _internal_has_ranging_reply() const;
624 void clear_ranging_reply();
625 const ::
goby::acomms::popoto::protobuf::RangingReply& ranging_reply() const;
626 ::
goby::acomms::popoto::protobuf::RangingReply* release_ranging_reply();
627 ::
goby::acomms::popoto::protobuf::RangingReply* mutable_ranging_reply();
628 void set_allocated_ranging_reply(::
goby::acomms::popoto::protobuf::RangingReply* ranging_reply);
630 const ::
goby::acomms::popoto::protobuf::RangingReply& _internal_ranging_reply() const;
631 ::
goby::acomms::popoto::protobuf::RangingReply* _internal_mutable_ranging_reply();
633 void unsafe_arena_set_allocated_ranging_reply(
634 ::
goby::acomms::popoto::protobuf::RangingReply* ranging_reply);
635 ::
goby::acomms::popoto::protobuf::RangingReply* unsafe_arena_release_ranging_reply();
638 bool has_transmit_power() const;
640 bool _internal_has_transmit_power() const;
642 void clear_transmit_power();
643 double transmit_power() const;
644 void set_transmit_power(
double value);
646 double _internal_transmit_power() const;
647 void _internal_set_transmit_power(
double value);
651 bool has_type() const;
653 bool _internal_has_type() const;
667 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
668 typedef
void InternalArenaConstructable_;
669 typedef
void DestructorSkippable_;
670 ::PROTOBUF_NAMESPACE_ID::
internal::HasBits<1> _has_bits_;
671 mutable ::PROTOBUF_NAMESPACE_ID::
internal::CachedSize _cached_size_;
672 ::PROTOBUF_NAMESPACE_ID::
internal::ArenaStringPtr file_location_;
673 ::
goby::acomms::popoto::protobuf::RangingReply* ranging_reply_;
674 double transmit_power_;
681 extern ::PROTOBUF_NAMESPACE_ID::
internal::ExtensionIdentifier< ::
goby::acomms::protobuf::DriverConfig,
682 ::PROTOBUF_NAMESPACE_ID::
internal::MessageTypeTraits< ::
goby::acomms::popoto::protobuf::Config >, 11, false >
685 extern ::PROTOBUF_NAMESPACE_ID::
internal::ExtensionIdentifier< ::
goby::acomms::protobuf::ModemTransmission,
686 ::PROTOBUF_NAMESPACE_ID::
internal::MessageTypeTraits< ::
goby::acomms::popoto::protobuf::Transmission >, 11, false >
692 #pragma GCC diagnostic push
693 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
698 inline bool Config::_internal_has_start_timeout()
const {
699 bool value = (_has_bits_[0] & 0x00000002u) != 0;
702 inline bool Config::has_start_timeout()
const {
703 return _internal_has_start_timeout();
705 inline void Config::clear_start_timeout() {
707 _has_bits_[0] &= ~0x00000002u;
710 return start_timeout_;
714 return _internal_start_timeout();
717 _has_bits_[0] |= 0x00000002u;
718 start_timeout_ =
value;
721 _internal_set_start_timeout(value);
726 inline bool Config::_internal_has_payload_mode()
const {
727 bool value = (_has_bits_[0] & 0x00000001u) != 0;
730 inline bool Config::has_payload_mode()
const {
731 return _internal_has_payload_mode();
733 inline void Config::clear_payload_mode() {
735 _has_bits_[0] &= ~0x00000001u;
738 return payload_mode_;
742 return _internal_payload_mode();
745 _has_bits_[0] |= 0x00000001u;
746 payload_mode_ =
value;
749 _internal_set_payload_mode(value);
754 inline bool Config::_internal_has_modem_power()
const {
755 bool value = (_has_bits_[0] & 0x00000004u) != 0;
758 inline bool Config::has_modem_power()
const {
759 return _internal_has_modem_power();
761 inline void Config::clear_modem_power() {
763 _has_bits_[0] &= ~0x00000004u;
770 return _internal_modem_power();
773 _has_bits_[0] |= 0x00000004u;
774 modem_power_ =
value;
777 _internal_set_modem_power(value);
786 inline bool RangingReply::_internal_has_one_way_travel_time()
const {
787 bool value = (_has_bits_[0] & 0x00000001u) != 0;
790 inline bool RangingReply::has_one_way_travel_time()
const {
791 return _internal_has_one_way_travel_time();
793 inline void RangingReply::clear_one_way_travel_time() {
794 one_way_travel_time_ = 0;
795 _has_bits_[0] &= ~0x00000001u;
797 inline double RangingReply::_internal_one_way_travel_time()
const {
798 return one_way_travel_time_;
800 inline double RangingReply::one_way_travel_time()
const {
802 return _internal_one_way_travel_time();
804 inline void RangingReply::_internal_set_one_way_travel_time(
double value) {
805 _has_bits_[0] |= 0x00000001u;
806 one_way_travel_time_ =
value;
808 inline void RangingReply::set_one_way_travel_time(
double value) {
809 _internal_set_one_way_travel_time(value);
818 inline bool Transmission::_internal_has_type()
const {
819 bool value = (_has_bits_[0] & 0x00000008u) != 0;
822 inline bool Transmission::has_type()
const {
823 return _internal_has_type();
825 inline void Transmission::clear_type() {
827 _has_bits_[0] &= ~0x00000008u;
834 return _internal_type();
838 _has_bits_[0] |= 0x00000008u;
842 _internal_set_type(value);
847 inline bool Transmission::_internal_has_ranging_reply()
const {
848 bool value = (_has_bits_[0] & 0x00000002u) != 0;
849 PROTOBUF_ASSUME(!value || ranging_reply_ !=
nullptr);
852 inline bool Transmission::has_ranging_reply()
const {
853 return _internal_has_ranging_reply();
855 inline void Transmission::clear_ranging_reply() {
856 if (ranging_reply_ !=
nullptr) ranging_reply_->Clear();
857 _has_bits_[0] &= ~0x00000002u;
859 inline const ::goby::acomms::popoto::protobuf::RangingReply& Transmission::_internal_ranging_reply()
const {
860 const ::goby::acomms::popoto::protobuf::RangingReply* p = ranging_reply_;
861 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::acomms::popoto::protobuf::RangingReply*
>(
864 inline const ::goby::acomms::popoto::protobuf::RangingReply& Transmission::ranging_reply()
const {
866 return _internal_ranging_reply();
868 inline void Transmission::unsafe_arena_set_allocated_ranging_reply(
869 ::goby::acomms::popoto::protobuf::RangingReply* ranging_reply) {
870 if (GetArena() ==
nullptr) {
871 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(ranging_reply_);
873 ranging_reply_ = ranging_reply;
875 _has_bits_[0] |= 0x00000002u;
877 _has_bits_[0] &= ~0x00000002u;
881 inline ::goby::acomms::popoto::protobuf::RangingReply* Transmission::release_ranging_reply() {
882 auto temp = unsafe_arena_release_ranging_reply();
883 if (GetArena() !=
nullptr) {
884 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
888 inline ::goby::acomms::popoto::protobuf::RangingReply* Transmission::unsafe_arena_release_ranging_reply() {
890 _has_bits_[0] &= ~0x00000002u;
891 ::goby::acomms::popoto::protobuf::RangingReply* temp = ranging_reply_;
892 ranging_reply_ =
nullptr;
895 inline ::goby::acomms::popoto::protobuf::RangingReply* Transmission::_internal_mutable_ranging_reply() {
896 _has_bits_[0] |= 0x00000002u;
897 if (ranging_reply_ ==
nullptr) {
898 auto* p = CreateMaybeMessage<::goby::acomms::popoto::protobuf::RangingReply>(GetArena());
901 return ranging_reply_;
903 inline ::goby::acomms::popoto::protobuf::RangingReply* Transmission::mutable_ranging_reply() {
905 return _internal_mutable_ranging_reply();
907 inline void Transmission::set_allocated_ranging_reply(::goby::acomms::popoto::protobuf::RangingReply* ranging_reply) {
908 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
909 if (message_arena ==
nullptr) {
910 delete ranging_reply_;
913 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
914 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(ranging_reply);
915 if (message_arena != submessage_arena) {
916 ranging_reply = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
917 message_arena, ranging_reply, submessage_arena);
919 _has_bits_[0] |= 0x00000002u;
921 _has_bits_[0] &= ~0x00000002u;
923 ranging_reply_ = ranging_reply;
928 inline bool Transmission::_internal_has_file_location()
const {
929 bool value = (_has_bits_[0] & 0x00000001u) != 0;
932 inline bool Transmission::has_file_location()
const {
933 return _internal_has_file_location();
935 inline void Transmission::clear_file_location() {
937 _has_bits_[0] &= ~0x00000001u;
939 inline const std::string& Transmission::file_location()
const {
941 return _internal_file_location();
943 inline void Transmission::set_file_location(
const std::string& value) {
944 _internal_set_file_location(value);
947 inline std::string* Transmission::mutable_file_location() {
949 return _internal_mutable_file_location();
951 inline const std::string& Transmission::_internal_file_location()
const {
952 return file_location_.Get();
954 inline void Transmission::_internal_set_file_location(
const std::string& value) {
955 _has_bits_[0] |= 0x00000001u;
958 inline void Transmission::set_file_location(std::string&& value) {
959 _has_bits_[0] |= 0x00000001u;
964 inline void Transmission::set_file_location(
const char* value) {
965 GOOGLE_DCHECK(value !=
nullptr);
966 _has_bits_[0] |= 0x00000001u;
971 inline void Transmission::set_file_location(
const char* value,
973 _has_bits_[0] |= 0x00000001u;
975 reinterpret_cast<const char*
>(value), size), GetArena());
978 inline std::string* Transmission::_internal_mutable_file_location() {
979 _has_bits_[0] |= 0x00000001u;
982 inline std::string* Transmission::release_file_location() {
984 if (!_internal_has_file_location()) {
987 _has_bits_[0] &= ~0x00000001u;
990 inline void Transmission::set_allocated_file_location(std::string* file_location) {
991 if (file_location !=
nullptr) {
992 _has_bits_[0] |= 0x00000001u;
994 _has_bits_[0] &= ~0x00000001u;
1000 inline std::string* Transmission::unsafe_arena_release_file_location() {
1002 GOOGLE_DCHECK(GetArena() !=
nullptr);
1003 _has_bits_[0] &= ~0x00000001u;
1007 inline void Transmission::unsafe_arena_set_allocated_file_location(
1008 std::string* file_location) {
1009 GOOGLE_DCHECK(GetArena() !=
nullptr);
1010 if (file_location !=
nullptr) {
1011 _has_bits_[0] |= 0x00000001u;
1013 _has_bits_[0] &= ~0x00000001u;
1016 file_location, GetArena());
1021 inline bool Transmission::_internal_has_transmit_power()
const {
1022 bool value = (_has_bits_[0] & 0x00000004u) != 0;
1025 inline bool Transmission::has_transmit_power()
const {
1026 return _internal_has_transmit_power();
1028 inline void Transmission::clear_transmit_power() {
1029 transmit_power_ = 0;
1030 _has_bits_[0] &= ~0x00000004u;
1032 inline double Transmission::_internal_transmit_power()
const {
1033 return transmit_power_;
1035 inline double Transmission::transmit_power()
const {
1037 return _internal_transmit_power();
1039 inline void Transmission::_internal_set_transmit_power(
double value) {
1040 _has_bits_[0] |= 0x00000004u;
1041 transmit_power_ =
value;
1043 inline void Transmission::set_transmit_power(
double value) {
1044 _internal_set_transmit_power(value);
1049 #pragma GCC diagnostic pop
1063 PROTOBUF_NAMESPACE_OPEN
1067 inline const EnumDescriptor* GetEnumDescriptor< ::goby::acomms::popoto::protobuf::TransmissionType>() {
1071 PROTOBUF_NAMESPACE_CLOSE
1075 #include <google/protobuf/port_undef.inc>
void MergeFrom(const RangingReply &from)
friend void swap(RangingReply &a, RangingReply &b)
void clear_payload_mode()
std::string * mutable_file_location()
void UnsafeArenaSwap(Config *other)
Transmission & operator=(const Transmission &from)
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void Swap(RangingReply *other)
Transmission & operator=(Transmission &&from) noexcept
Transmission(Transmission &&from) noexcept
void clear_file_location()
void MergeFrom(const Config &from)
static const Transmission * internal_default_instance()
void set_one_way_travel_time(double value)
bool has_start_timeout() const
void CopyFrom(const Transmission &from)
void MergeFrom(const Transmission &from)
::PROTOBUF_NAMESPACE_ID::int32 start_timeout() const
RangingReply & operator=(RangingReply &&from) noexcept
void clear_one_way_travel_time()
void CopyFrom(const Config &from)
void set_allocated_file_location(std::string *file_location)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_file_location(const char *value, size_t size)
std::string * release_file_location()
friend void swap(Config &a, Config &b)
void set_file_location(const std::string &value)
Quantity 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()
bool has_file_location() const
void UnsafeArenaSwap(RangingReply *other)
static const Config & default_instance()
RangingReply * New() const final
Config * New() const final
Transmission * New() const final
::PROTOBUF_NAMESPACE_ID::int32 modem_power() const
Config & operator=(const Config &from)
void set_modem_power(::PROTOBUF_NAMESPACE_ID::int32 value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Config(const Config &from)
void set_payload_mode(::PROTOBUF_NAMESPACE_ID::int32 value)
void set_file_location(std::string &&value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static void InitAsDefaultInstance()
Config(Config &&from) noexcept
Transmission(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void Swap(Transmission *other)
Transmission * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Transmission(const Transmission &from)
boost::units::quantity< one_way_travel_time_unit, double > one_way_travel_time_with_units() const
boost::units::si::second_base_unit::unit_type one_way_travel_time_unit
void CopyFrom(const RangingReply &from)
RangingReply & operator=(const RangingReply &from)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
RangingReply(RangingReply &&from) noexcept
static const RangingReply & default_instance()
double one_way_travel_time() const
void UnsafeArenaSwap(Transmission *other)
bool has_modem_power() const
Config & operator=(Config &&from) noexcept
bool has_payload_mode() const
void set_file_location(const char *value)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
bool has_one_way_travel_time() const
static const Transmission & default_instance()
RangingReply(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_start_timeout(::PROTOBUF_NAMESPACE_ID::int32 value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
friend void swap(Transmission &a, Transmission &b)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const Config * internal_default_instance()
::PROTOBUF_NAMESPACE_ID::int32 payload_mode() const
void clear_start_timeout()
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena)
const std::string & file_location() const
RangingReply * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
RangingReply(const RangingReply &from)
static const RangingReply * internal_default_instance()
@ value
the parser finished reading a JSON 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
constexpr TransmissionType TransmissionType_MIN
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::popoto::protobuf::Config >, 11, false > config
static const int kConfigFieldNumber
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TransmissionType_descriptor()
bool TransmissionType_Parse(const std::string &name, TransmissionType *value)
TransmissionDefaultTypeInternal _Transmission_default_instance_
const std::string & TransmissionType_Name(T enum_t_value)
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::popoto::protobuf::Transmission >, 11, false > transmission
The global namespace for the Goby project.
PROTOBUF_EXPORT const std::string & GetEmptyStringAlreadyInited()
type
Generic JSON types used in JWTs.
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]