Goby3 3.4.0
2026.04.13
Loading...
Searching...
No Matches
popoto_driver.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/acomms/protobuf/popoto_driver.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
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>
42
43#include <boost/units/base_units/si/second.hpp>
44// @@protoc_insertion_point(includes)
45#include <google/protobuf/port_def.inc>
46#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto
47PROTOBUF_NAMESPACE_OPEN
48namespace internal {
49class AnyMetadata;
50} // namespace internal
51PROTOBUF_NAMESPACE_CLOSE
52
53// Internal implementation detail -- do not use these members.
57extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto;
58namespace goby {
59namespace acomms {
60namespace popoto {
61namespace protobuf {
62class Config;
63struct ConfigDefaultTypeInternal;
64extern ConfigDefaultTypeInternal _Config_default_instance_;
65class RangingReply;
66struct RangingReplyDefaultTypeInternal;
67extern RangingReplyDefaultTypeInternal _RangingReply_default_instance_;
68class Transmission;
69struct TransmissionDefaultTypeInternal;
70extern TransmissionDefaultTypeInternal _Transmission_default_instance_;
71} // namespace protobuf
72} // namespace popoto
73} // namespace acomms
74} // namespace goby
75PROTOBUF_NAMESPACE_OPEN
76template<> ::goby::acomms::popoto::protobuf::Config* Arena::CreateMaybeMessage<::goby::acomms::popoto::protobuf::Config>(Arena*);
77template<> ::goby::acomms::popoto::protobuf::RangingReply* Arena::CreateMaybeMessage<::goby::acomms::popoto::protobuf::RangingReply>(Arena*);
78template<> ::goby::acomms::popoto::protobuf::Transmission* Arena::CreateMaybeMessage<::goby::acomms::popoto::protobuf::Transmission>(Arena*);
79PROTOBUF_NAMESPACE_CLOSE
80namespace goby {
81namespace acomms {
82namespace popoto {
83namespace protobuf {
84
98
99const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TransmissionType_descriptor();
100template<typename T>
101inline const std::string& TransmissionType_Name(T enum_t_value) {
102 static_assert(::std::is_same<T, TransmissionType>::value ||
103 ::std::is_integral<T>::value,
104 "Incorrect type passed to function TransmissionType_Name.");
105 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
106 TransmissionType_descriptor(), enum_t_value);
107}
109 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TransmissionType* value) {
110 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<TransmissionType>(
111 TransmissionType_descriptor(), name, value);
112}
113// ===================================================================
114
115class Config final :
116 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.popoto.protobuf.Config) */ {
117 public:
118 inline Config() : Config(nullptr) {}
119 ~Config() override;
120 explicit PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
121
122 Config(const Config& from);
123 Config(Config&& from) noexcept
124 : Config() {
125 *this = ::std::move(from);
126 }
127
128 inline Config& operator=(const Config& from) {
129 CopyFrom(from);
130 return *this;
131 }
132 inline Config& operator=(Config&& from) noexcept {
133 if (this == &from) return *this;
134 if (GetOwningArena() == from.GetOwningArena()
135 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
136 && GetOwningArena() != nullptr
137 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
138 ) {
139 InternalSwap(&from);
140 } else {
141 CopyFrom(from);
142 }
143 return *this;
144 }
145
146 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
147 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
148 }
149 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
150 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
151 }
152
153 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
154 return GetDescriptor();
155 }
156 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
157 return default_instance().GetMetadata().descriptor;
158 }
159 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
160 return default_instance().GetMetadata().reflection;
161 }
162 static const Config& default_instance() {
164 }
165 static inline const Config* internal_default_instance() {
166 return reinterpret_cast<const Config*>(
168 }
169 static constexpr int kIndexInFileMessages =
170 0;
171
172 friend void swap(Config& a, Config& b) {
173 a.Swap(&b);
174 }
175 inline void Swap(Config* other) {
176 if (other == this) return;
177 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
178 if (GetOwningArena() != nullptr &&
179 GetOwningArena() == other->GetOwningArena()) {
180 #else // PROTOBUF_FORCE_COPY_IN_SWAP
181 if (GetOwningArena() == other->GetOwningArena()) {
182 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
183 InternalSwap(other);
184 } else {
185 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
186 }
187 }
188 void UnsafeArenaSwap(Config* other) {
189 if (other == this) return;
190 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
191 InternalSwap(other);
192 }
193
194 // implements Message ----------------------------------------------
195
196 Config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
197 return CreateMaybeMessage<Config>(arena);
198 }
199 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
200 void CopyFrom(const Config& from);
201 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
202 void MergeFrom( const Config& from) {
203 Config::MergeImpl(*this, from);
204 }
205 private:
206 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
207 public:
208 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
209 bool IsInitialized() const final;
210
211 size_t ByteSizeLong() const final;
212 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
214 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
215 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
216
217 private:
218 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
219 void SharedDtor();
220 void SetCachedSize(int size) const final;
221 void InternalSwap(Config* other);
222
223 private:
224 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
225 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
226 return "goby.acomms.popoto.protobuf.Config";
227 }
228 protected:
229 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena,
230 bool is_message_owned = false);
231 public:
232
233 static const ClassData _class_data_;
234 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
235
236 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
237
238 // nested types ----------------------------------------------------
239
240 // accessors -------------------------------------------------------
241
242 enum : int {
247 };
248 // optional int32 payload_mode = 2 [default = 0, (.goby.field) = {
249 bool has_payload_mode() const;
250 private:
251 bool _internal_has_payload_mode() const;
252 public:
253 void clear_payload_mode();
254 int32_t payload_mode() const;
255 void set_payload_mode(int32_t value);
256 private:
257 int32_t _internal_payload_mode() const;
258 void _internal_set_payload_mode(int32_t value);
259 public:
260
261 // optional int32 application_type = 5 [default = 0, (.goby.field) = {
262 bool has_application_type() const;
263 private:
264 bool _internal_has_application_type() const;
265 public:
267 int32_t application_type() const;
268 void set_application_type(int32_t value);
269 private:
270 int32_t _internal_application_type() const;
271 void _internal_set_application_type(int32_t value);
272 public:
273
274 // optional int32 start_timeout = 1 [default = 30, (.goby.field) = {
275 bool has_start_timeout() const;
276 private:
277 bool _internal_has_start_timeout() const;
278 public:
279 void clear_start_timeout();
280 int32_t start_timeout() const;
281 void set_start_timeout(int32_t value);
282 private:
283 int32_t _internal_start_timeout() const;
284 void _internal_set_start_timeout(int32_t value);
285 public:
286
287 // optional double modem_power = 3 [default = 1, (.goby.field) = {
288 bool has_modem_power() const;
289 private:
290 bool _internal_has_modem_power() const;
291 public:
292 void clear_modem_power();
293 double modem_power() const;
294 void set_modem_power(double value);
295 private:
296 double _internal_modem_power() const;
297 void _internal_set_modem_power(double value);
298 public:
299
300 // @@protoc_insertion_point(class_scope:goby.acomms.popoto.protobuf.Config)
301 private:
302 class _Internal;
303
304 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
305 typedef void InternalArenaConstructable_;
306 typedef void DestructorSkippable_;
307 struct Impl_ {
308 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
309 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
310 int32_t payload_mode_;
311 int32_t application_type_;
312 int32_t start_timeout_;
313 double modem_power_;
314 };
315 union { Impl_ _impl_; };
316 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto;
317};
318// -------------------------------------------------------------------
319
320class RangingReply final :
321 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.popoto.protobuf.RangingReply) */ {
322 public:
323 inline RangingReply() : RangingReply(nullptr) {}
324 ~RangingReply() override;
325 explicit PROTOBUF_CONSTEXPR RangingReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
326
328 RangingReply(RangingReply&& from) noexcept
329 : RangingReply() {
330 *this = ::std::move(from);
331 }
332
333 inline RangingReply& operator=(const RangingReply& from) {
334 CopyFrom(from);
335 return *this;
336 }
337 inline RangingReply& operator=(RangingReply&& from) noexcept {
338 if (this == &from) return *this;
339 if (GetOwningArena() == from.GetOwningArena()
340 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
341 && GetOwningArena() != nullptr
342 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
343 ) {
344 InternalSwap(&from);
345 } else {
346 CopyFrom(from);
347 }
348 return *this;
349 }
350
351 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
352 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
353 }
354 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
355 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
356 }
357
358 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
359 return GetDescriptor();
360 }
361 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
362 return default_instance().GetMetadata().descriptor;
363 }
364 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
365 return default_instance().GetMetadata().reflection;
366 }
368 return *internal_default_instance();
369 }
371 return reinterpret_cast<const RangingReply*>(
372 &_RangingReply_default_instance_);
373 }
374 static constexpr int kIndexInFileMessages =
375 1;
376
377 friend void swap(RangingReply& a, RangingReply& b) {
378 a.Swap(&b);
379 }
380 inline void Swap(RangingReply* other) {
381 if (other == this) return;
382 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
383 if (GetOwningArena() != nullptr &&
384 GetOwningArena() == other->GetOwningArena()) {
385 #else // PROTOBUF_FORCE_COPY_IN_SWAP
386 if (GetOwningArena() == other->GetOwningArena()) {
387 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
388 InternalSwap(other);
389 } else {
390 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
391 }
392 }
394 if (other == this) return;
395 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
396 InternalSwap(other);
397 }
398
399 // implements Message ----------------------------------------------
400
401 RangingReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
402 return CreateMaybeMessage<RangingReply>(arena);
403 }
404 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
405 void CopyFrom(const RangingReply& from);
406 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
407 void MergeFrom( const RangingReply& from) {
408 RangingReply::MergeImpl(*this, from);
409 }
410 private:
411 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
412 public:
413 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
414 bool IsInitialized() const final;
415
416 size_t ByteSizeLong() const final;
417 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
418 uint8_t* _InternalSerialize(
419 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
420 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
421
422 private:
423 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
424 void SharedDtor();
425 void SetCachedSize(int size) const final;
426 void InternalSwap(RangingReply* other);
427
428 private:
429 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
430 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
431 return "goby.acomms.popoto.protobuf.RangingReply";
432 }
433 protected:
434 explicit RangingReply(::PROTOBUF_NAMESPACE_ID::Arena* arena,
435 bool is_message_owned = false);
436 public:
437
438 static const ClassData _class_data_;
439 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
440
441 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
442
443 // nested types ----------------------------------------------------
444
445 // accessors -------------------------------------------------------
446
447 enum : int {
448 kOneWayTravelTimeFieldNumber = 1,
449 kTwoWayTravelTimeFieldNumber = 2,
450 kModemRangeFieldNumber = 3,
451 kModemSoundSpeedFieldNumber = 4,
452 };
453 // required double one_way_travel_time = 1 [(.dccl.field) = {
454 bool has_one_way_travel_time() const;
455 private:
456 bool _internal_has_one_way_travel_time() const;
457 public:
458 void clear_one_way_travel_time();
459 double one_way_travel_time() const;
460 void set_one_way_travel_time(double value);
461 private:
462 double _internal_one_way_travel_time() const;
463 void _internal_set_one_way_travel_time(double value);
464 public:
465
466 // optional double two_way_travel_time = 2 [(.dccl.field) = {
467 bool has_two_way_travel_time() const;
468 private:
469 bool _internal_has_two_way_travel_time() const;
470 public:
471 void clear_two_way_travel_time();
472 double two_way_travel_time() const;
473 void set_two_way_travel_time(double value);
474 private:
475 double _internal_two_way_travel_time() const;
476 void _internal_set_two_way_travel_time(double value);
477 public:
478
479 // optional double modem_range = 3;
480 bool has_modem_range() const;
481 private:
482 bool _internal_has_modem_range() const;
483 public:
484 void clear_modem_range();
485 double modem_range() const;
486 void set_modem_range(double value);
487 private:
488 double _internal_modem_range() const;
489 void _internal_set_modem_range(double value);
490 public:
491
492 // optional double modem_sound_speed = 4;
493 bool has_modem_sound_speed() const;
494 private:
495 bool _internal_has_modem_sound_speed() const;
496 public:
497 void clear_modem_sound_speed();
498 double modem_sound_speed() const;
499 void set_modem_sound_speed(double value);
500 private:
501 double _internal_modem_sound_speed() const;
502 void _internal_set_modem_sound_speed(double value);
503 public:
504
505 typedef boost::units::si::second_base_unit::unit_type one_way_travel_time_unit;
506
507 template<typename Quantity >
508 void set_one_way_travel_time_with_units(Quantity value_w_units)
509 { set_one_way_travel_time(boost::units::quantity<one_way_travel_time_unit,double >(value_w_units).value() ); };
510
511 template<typename Quantity >
513 { return Quantity(one_way_travel_time() * one_way_travel_time_unit()); };
514
515 boost::units::quantity< one_way_travel_time_unit,double > one_way_travel_time_with_units() const
516 { return one_way_travel_time_with_units<boost::units::quantity< one_way_travel_time_unit,double > >(); };
517
518 typedef boost::units::si::second_base_unit::unit_type two_way_travel_time_unit;
519
520 template<typename Quantity >
521 void set_two_way_travel_time_with_units(Quantity value_w_units)
522 { set_two_way_travel_time(boost::units::quantity<two_way_travel_time_unit,double >(value_w_units).value() ); };
523
524 template<typename Quantity >
526 { return Quantity(two_way_travel_time() * two_way_travel_time_unit()); };
527
528 boost::units::quantity< two_way_travel_time_unit,double > two_way_travel_time_with_units() const
529 { return two_way_travel_time_with_units<boost::units::quantity< two_way_travel_time_unit,double > >(); };
530
531 // @@protoc_insertion_point(class_scope:goby.acomms.popoto.protobuf.RangingReply)
532 private:
533 class _Internal;
534
535 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
536 typedef void InternalArenaConstructable_;
537 typedef void DestructorSkippable_;
538 struct Impl_ {
539 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
540 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
541 double one_way_travel_time_;
542 double two_way_travel_time_;
543 double modem_range_;
544 double modem_sound_speed_;
545 };
546 union { Impl_ _impl_; };
547 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto;
548};
549// -------------------------------------------------------------------
550
551class Transmission final :
552 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.popoto.protobuf.Transmission) */ {
553 public:
554 inline Transmission() : Transmission(nullptr) {}
555 ~Transmission() override;
556 explicit PROTOBUF_CONSTEXPR Transmission(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
557
559 Transmission(Transmission&& from) noexcept
560 : Transmission() {
561 *this = ::std::move(from);
562 }
563
564 inline Transmission& operator=(const Transmission& from) {
565 CopyFrom(from);
566 return *this;
567 }
568 inline Transmission& operator=(Transmission&& from) noexcept {
569 if (this == &from) return *this;
570 if (GetOwningArena() == from.GetOwningArena()
571 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
572 && GetOwningArena() != nullptr
573 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
574 ) {
575 InternalSwap(&from);
576 } else {
577 CopyFrom(from);
578 }
579 return *this;
580 }
581
582 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
583 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
584 }
585 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
586 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
587 }
588
589 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
590 return GetDescriptor();
591 }
592 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
593 return default_instance().GetMetadata().descriptor;
594 }
595 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
596 return default_instance().GetMetadata().reflection;
597 }
599 return *internal_default_instance();
600 }
602 return reinterpret_cast<const Transmission*>(
603 &_Transmission_default_instance_);
604 }
605 static constexpr int kIndexInFileMessages =
606 2;
607
608 friend void swap(Transmission& a, Transmission& b) {
609 a.Swap(&b);
610 }
611 inline void Swap(Transmission* other) {
612 if (other == this) return;
613 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
614 if (GetOwningArena() != nullptr &&
615 GetOwningArena() == other->GetOwningArena()) {
616 #else // PROTOBUF_FORCE_COPY_IN_SWAP
617 if (GetOwningArena() == other->GetOwningArena()) {
618 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
619 InternalSwap(other);
620 } else {
621 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
622 }
623 }
625 if (other == this) return;
626 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
627 InternalSwap(other);
628 }
629
630 // implements Message ----------------------------------------------
631
632 Transmission* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
633 return CreateMaybeMessage<Transmission>(arena);
634 }
635 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
636 void CopyFrom(const Transmission& from);
637 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
638 void MergeFrom( const Transmission& from) {
639 Transmission::MergeImpl(*this, from);
640 }
641 private:
642 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
643 public:
644 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
645 bool IsInitialized() const final;
646
647 size_t ByteSizeLong() const final;
648 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
649 uint8_t* _InternalSerialize(
650 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
651 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
652
653 private:
654 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
655 void SharedDtor();
656 void SetCachedSize(int size) const final;
657 void InternalSwap(Transmission* other);
658
659 private:
660 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
661 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
662 return "goby.acomms.popoto.protobuf.Transmission";
663 }
664 protected:
665 explicit Transmission(::PROTOBUF_NAMESPACE_ID::Arena* arena,
666 bool is_message_owned = false);
667 public:
668
669 static const ClassData _class_data_;
670 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
671
672 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
673
674 // nested types ----------------------------------------------------
675
676 // accessors -------------------------------------------------------
677
678 enum : int {
679 kFileLocationFieldNumber = 4,
680 kRangingReplyFieldNumber = 3,
681 kTransmitPowerFieldNumber = 5,
682 kTypeFieldNumber = 1,
683 };
684 // optional string file_location = 4;
685 bool has_file_location() const;
686 private:
687 bool _internal_has_file_location() const;
688 public:
689 void clear_file_location();
690 const std::string& file_location() const;
691 template <typename ArgT0 = const std::string&, typename... ArgT>
692 void set_file_location(ArgT0&& arg0, ArgT... args);
693 std::string* mutable_file_location();
694 PROTOBUF_NODISCARD std::string* release_file_location();
695 void set_allocated_file_location(std::string* file_location);
696 private:
697 const std::string& _internal_file_location() const;
698 inline PROTOBUF_ALWAYS_INLINE void _internal_set_file_location(const std::string& value);
699 std::string* _internal_mutable_file_location();
700 public:
701
702 // optional .goby.acomms.popoto.protobuf.RangingReply ranging_reply = 3;
703 bool has_ranging_reply() const;
704 private:
705 bool _internal_has_ranging_reply() const;
706 public:
707 void clear_ranging_reply();
708 const ::goby::acomms::popoto::protobuf::RangingReply& ranging_reply() const;
709 PROTOBUF_NODISCARD ::goby::acomms::popoto::protobuf::RangingReply* release_ranging_reply();
710 ::goby::acomms::popoto::protobuf::RangingReply* mutable_ranging_reply();
711 void set_allocated_ranging_reply(::goby::acomms::popoto::protobuf::RangingReply* ranging_reply);
712 private:
713 const ::goby::acomms::popoto::protobuf::RangingReply& _internal_ranging_reply() const;
714 ::goby::acomms::popoto::protobuf::RangingReply* _internal_mutable_ranging_reply();
715 public:
716 void unsafe_arena_set_allocated_ranging_reply(
718 ::goby::acomms::popoto::protobuf::RangingReply* unsafe_arena_release_ranging_reply();
719
720 // optional double transmit_power = 5;
721 bool has_transmit_power() const;
722 private:
723 bool _internal_has_transmit_power() const;
724 public:
725 void clear_transmit_power();
726 double transmit_power() const;
727 void set_transmit_power(double value);
728 private:
729 double _internal_transmit_power() const;
730 void _internal_set_transmit_power(double value);
731 public:
732
733 // optional .goby.acomms.popoto.protobuf.TransmissionType type = 1 [default = BASE_TYPE, (.goby.field) = {
734 bool has_type() const;
735 private:
736 bool _internal_has_type() const;
737 public:
738 void clear_type();
741 private:
743 void _internal_set_type(::goby::acomms::popoto::protobuf::TransmissionType value);
744 public:
745
746 // @@protoc_insertion_point(class_scope:goby.acomms.popoto.protobuf.Transmission)
747 private:
748 class _Internal;
749
750 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
751 typedef void InternalArenaConstructable_;
752 typedef void DestructorSkippable_;
753 struct Impl_ {
754 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
755 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
756 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr file_location_;
758 double transmit_power_;
759 int type_;
760 };
761 union { Impl_ _impl_; };
762 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto;
763};
764// ===================================================================
765
766static const int kConfigFieldNumber = 1442;
767extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
768 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::popoto::protobuf::Config >, 11, false >
769 config;
770static const int kTransmissionFieldNumber = 1441;
771extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::ModemTransmission,
772 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::popoto::protobuf::Transmission >, 11, false >
773 transmission;
774
775// ===================================================================
776
777#ifdef __GNUC__
778 #pragma GCC diagnostic push
779 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
780#endif // __GNUC__
781// Config
782
783// optional int32 start_timeout = 1 [default = 30, (.goby.field) = {
784inline bool Config::_internal_has_start_timeout() const {
785 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
786 return value;
787}
788inline bool Config::has_start_timeout() const {
789 return _internal_has_start_timeout();
790}
791inline void Config::clear_start_timeout() {
792 _impl_.start_timeout_ = 30;
793 _impl_._has_bits_[0] &= ~0x00000004u;
794}
795inline int32_t Config::_internal_start_timeout() const {
796 return _impl_.start_timeout_;
797}
798inline int32_t Config::start_timeout() const {
799 // @@protoc_insertion_point(field_get:goby.acomms.popoto.protobuf.Config.start_timeout)
800 return _internal_start_timeout();
801}
802inline void Config::_internal_set_start_timeout(int32_t value) {
803 _impl_._has_bits_[0] |= 0x00000004u;
804 _impl_.start_timeout_ = value;
805}
806inline void Config::set_start_timeout(int32_t value) {
807 _internal_set_start_timeout(value);
808 // @@protoc_insertion_point(field_set:goby.acomms.popoto.protobuf.Config.start_timeout)
809}
810
811// optional int32 payload_mode = 2 [default = 0, (.goby.field) = {
812inline bool Config::_internal_has_payload_mode() const {
813 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
814 return value;
815}
816inline bool Config::has_payload_mode() const {
817 return _internal_has_payload_mode();
818}
819inline void Config::clear_payload_mode() {
820 _impl_.payload_mode_ = 0;
821 _impl_._has_bits_[0] &= ~0x00000001u;
822}
823inline int32_t Config::_internal_payload_mode() const {
824 return _impl_.payload_mode_;
825}
826inline int32_t Config::payload_mode() const {
827 // @@protoc_insertion_point(field_get:goby.acomms.popoto.protobuf.Config.payload_mode)
828 return _internal_payload_mode();
829}
830inline void Config::_internal_set_payload_mode(int32_t value) {
831 _impl_._has_bits_[0] |= 0x00000001u;
832 _impl_.payload_mode_ = value;
833}
834inline void Config::set_payload_mode(int32_t value) {
835 _internal_set_payload_mode(value);
836 // @@protoc_insertion_point(field_set:goby.acomms.popoto.protobuf.Config.payload_mode)
837}
838
839// optional double modem_power = 3 [default = 1, (.goby.field) = {
840inline bool Config::_internal_has_modem_power() const {
841 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
842 return value;
843}
844inline bool Config::has_modem_power() const {
845 return _internal_has_modem_power();
846}
847inline void Config::clear_modem_power() {
848 _impl_.modem_power_ = 1;
849 _impl_._has_bits_[0] &= ~0x00000008u;
850}
851inline double Config::_internal_modem_power() const {
852 return _impl_.modem_power_;
853}
854inline double Config::modem_power() const {
855 // @@protoc_insertion_point(field_get:goby.acomms.popoto.protobuf.Config.modem_power)
856 return _internal_modem_power();
857}
858inline void Config::_internal_set_modem_power(double value) {
859 _impl_._has_bits_[0] |= 0x00000008u;
860 _impl_.modem_power_ = value;
861}
862inline void Config::set_modem_power(double value) {
863 _internal_set_modem_power(value);
864 // @@protoc_insertion_point(field_set:goby.acomms.popoto.protobuf.Config.modem_power)
865}
866
867// optional int32 application_type = 5 [default = 0, (.goby.field) = {
868inline bool Config::_internal_has_application_type() const {
869 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
870 return value;
871}
872inline bool Config::has_application_type() const {
873 return _internal_has_application_type();
874}
875inline void Config::clear_application_type() {
876 _impl_.application_type_ = 0;
877 _impl_._has_bits_[0] &= ~0x00000002u;
878}
879inline int32_t Config::_internal_application_type() const {
880 return _impl_.application_type_;
881}
882inline int32_t Config::application_type() const {
883 // @@protoc_insertion_point(field_get:goby.acomms.popoto.protobuf.Config.application_type)
884 return _internal_application_type();
885}
886inline void Config::_internal_set_application_type(int32_t value) {
887 _impl_._has_bits_[0] |= 0x00000002u;
888 _impl_.application_type_ = value;
889}
890inline void Config::set_application_type(int32_t value) {
891 _internal_set_application_type(value);
892 // @@protoc_insertion_point(field_set:goby.acomms.popoto.protobuf.Config.application_type)
893}
894
895// -------------------------------------------------------------------
896
897// RangingReply
898
899// required double one_way_travel_time = 1 [(.dccl.field) = {
900inline bool RangingReply::_internal_has_one_way_travel_time() const {
901 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
902 return value;
903}
904inline bool RangingReply::has_one_way_travel_time() const {
905 return _internal_has_one_way_travel_time();
906}
907inline void RangingReply::clear_one_way_travel_time() {
908 _impl_.one_way_travel_time_ = 0;
909 _impl_._has_bits_[0] &= ~0x00000001u;
910}
911inline double RangingReply::_internal_one_way_travel_time() const {
912 return _impl_.one_way_travel_time_;
913}
914inline double RangingReply::one_way_travel_time() const {
915 // @@protoc_insertion_point(field_get:goby.acomms.popoto.protobuf.RangingReply.one_way_travel_time)
916 return _internal_one_way_travel_time();
917}
918inline void RangingReply::_internal_set_one_way_travel_time(double value) {
919 _impl_._has_bits_[0] |= 0x00000001u;
920 _impl_.one_way_travel_time_ = value;
921}
922inline void RangingReply::set_one_way_travel_time(double value) {
923 _internal_set_one_way_travel_time(value);
924 // @@protoc_insertion_point(field_set:goby.acomms.popoto.protobuf.RangingReply.one_way_travel_time)
925}
926
927// optional double two_way_travel_time = 2 [(.dccl.field) = {
928inline bool RangingReply::_internal_has_two_way_travel_time() const {
929 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
930 return value;
931}
932inline bool RangingReply::has_two_way_travel_time() const {
933 return _internal_has_two_way_travel_time();
934}
935inline void RangingReply::clear_two_way_travel_time() {
936 _impl_.two_way_travel_time_ = 0;
937 _impl_._has_bits_[0] &= ~0x00000002u;
938}
939inline double RangingReply::_internal_two_way_travel_time() const {
940 return _impl_.two_way_travel_time_;
941}
942inline double RangingReply::two_way_travel_time() const {
943 // @@protoc_insertion_point(field_get:goby.acomms.popoto.protobuf.RangingReply.two_way_travel_time)
944 return _internal_two_way_travel_time();
945}
946inline void RangingReply::_internal_set_two_way_travel_time(double value) {
947 _impl_._has_bits_[0] |= 0x00000002u;
948 _impl_.two_way_travel_time_ = value;
949}
950inline void RangingReply::set_two_way_travel_time(double value) {
951 _internal_set_two_way_travel_time(value);
952 // @@protoc_insertion_point(field_set:goby.acomms.popoto.protobuf.RangingReply.two_way_travel_time)
953}
954
955// optional double modem_range = 3;
956inline bool RangingReply::_internal_has_modem_range() const {
957 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
958 return value;
959}
960inline bool RangingReply::has_modem_range() const {
961 return _internal_has_modem_range();
962}
963inline void RangingReply::clear_modem_range() {
964 _impl_.modem_range_ = 0;
965 _impl_._has_bits_[0] &= ~0x00000004u;
966}
967inline double RangingReply::_internal_modem_range() const {
968 return _impl_.modem_range_;
969}
970inline double RangingReply::modem_range() const {
971 // @@protoc_insertion_point(field_get:goby.acomms.popoto.protobuf.RangingReply.modem_range)
972 return _internal_modem_range();
973}
974inline void RangingReply::_internal_set_modem_range(double value) {
975 _impl_._has_bits_[0] |= 0x00000004u;
976 _impl_.modem_range_ = value;
977}
978inline void RangingReply::set_modem_range(double value) {
979 _internal_set_modem_range(value);
980 // @@protoc_insertion_point(field_set:goby.acomms.popoto.protobuf.RangingReply.modem_range)
981}
982
983// optional double modem_sound_speed = 4;
984inline bool RangingReply::_internal_has_modem_sound_speed() const {
985 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
986 return value;
987}
988inline bool RangingReply::has_modem_sound_speed() const {
989 return _internal_has_modem_sound_speed();
990}
991inline void RangingReply::clear_modem_sound_speed() {
992 _impl_.modem_sound_speed_ = 0;
993 _impl_._has_bits_[0] &= ~0x00000008u;
994}
995inline double RangingReply::_internal_modem_sound_speed() const {
996 return _impl_.modem_sound_speed_;
997}
998inline double RangingReply::modem_sound_speed() const {
999 // @@protoc_insertion_point(field_get:goby.acomms.popoto.protobuf.RangingReply.modem_sound_speed)
1000 return _internal_modem_sound_speed();
1001}
1002inline void RangingReply::_internal_set_modem_sound_speed(double value) {
1003 _impl_._has_bits_[0] |= 0x00000008u;
1004 _impl_.modem_sound_speed_ = value;
1005}
1006inline void RangingReply::set_modem_sound_speed(double value) {
1007 _internal_set_modem_sound_speed(value);
1008 // @@protoc_insertion_point(field_set:goby.acomms.popoto.protobuf.RangingReply.modem_sound_speed)
1009}
1010
1011// -------------------------------------------------------------------
1012
1013// Transmission
1014
1015// optional .goby.acomms.popoto.protobuf.TransmissionType type = 1 [default = BASE_TYPE, (.goby.field) = {
1016inline bool Transmission::_internal_has_type() const {
1017 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1018 return value;
1019}
1020inline bool Transmission::has_type() const {
1021 return _internal_has_type();
1022}
1023inline void Transmission::clear_type() {
1024 _impl_.type_ = 0;
1025 _impl_._has_bits_[0] &= ~0x00000008u;
1026}
1027inline ::goby::acomms::popoto::protobuf::TransmissionType Transmission::_internal_type() const {
1028 return static_cast< ::goby::acomms::popoto::protobuf::TransmissionType >(_impl_.type_);
1029}
1030inline ::goby::acomms::popoto::protobuf::TransmissionType Transmission::type() const {
1031 // @@protoc_insertion_point(field_get:goby.acomms.popoto.protobuf.Transmission.type)
1032 return _internal_type();
1033}
1034inline void Transmission::_internal_set_type(::goby::acomms::popoto::protobuf::TransmissionType value) {
1036 _impl_._has_bits_[0] |= 0x00000008u;
1037 _impl_.type_ = value;
1038}
1039inline void Transmission::set_type(::goby::acomms::popoto::protobuf::TransmissionType value) {
1040 _internal_set_type(value);
1041 // @@protoc_insertion_point(field_set:goby.acomms.popoto.protobuf.Transmission.type)
1042}
1043
1044// optional .goby.acomms.popoto.protobuf.RangingReply ranging_reply = 3;
1045inline bool Transmission::_internal_has_ranging_reply() const {
1046 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1047 PROTOBUF_ASSUME(!value || _impl_.ranging_reply_ != nullptr);
1048 return value;
1049}
1050inline bool Transmission::has_ranging_reply() const {
1051 return _internal_has_ranging_reply();
1052}
1053inline void Transmission::clear_ranging_reply() {
1054 if (_impl_.ranging_reply_ != nullptr) _impl_.ranging_reply_->Clear();
1055 _impl_._has_bits_[0] &= ~0x00000002u;
1056}
1057inline const ::goby::acomms::popoto::protobuf::RangingReply& Transmission::_internal_ranging_reply() const {
1058 const ::goby::acomms::popoto::protobuf::RangingReply* p = _impl_.ranging_reply_;
1059 return p != nullptr ? *p : reinterpret_cast<const ::goby::acomms::popoto::protobuf::RangingReply&>(
1061}
1062inline const ::goby::acomms::popoto::protobuf::RangingReply& Transmission::ranging_reply() const {
1063 // @@protoc_insertion_point(field_get:goby.acomms.popoto.protobuf.Transmission.ranging_reply)
1064 return _internal_ranging_reply();
1065}
1066inline void Transmission::unsafe_arena_set_allocated_ranging_reply(
1068 if (GetArenaForAllocation() == nullptr) {
1069 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ranging_reply_);
1070 }
1071 _impl_.ranging_reply_ = ranging_reply;
1072 if (ranging_reply) {
1073 _impl_._has_bits_[0] |= 0x00000002u;
1074 } else {
1075 _impl_._has_bits_[0] &= ~0x00000002u;
1076 }
1077 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:goby.acomms.popoto.protobuf.Transmission.ranging_reply)
1078}
1079inline ::goby::acomms::popoto::protobuf::RangingReply* Transmission::release_ranging_reply() {
1080 _impl_._has_bits_[0] &= ~0x00000002u;
1081 ::goby::acomms::popoto::protobuf::RangingReply* temp = _impl_.ranging_reply_;
1082 _impl_.ranging_reply_ = nullptr;
1083#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1084 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1085 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1086 if (GetArenaForAllocation() == nullptr) { delete old; }
1087#else // PROTOBUF_FORCE_COPY_IN_RELEASE
1088 if (GetArenaForAllocation() != nullptr) {
1089 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1090 }
1091#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1092 return temp;
1093}
1094inline ::goby::acomms::popoto::protobuf::RangingReply* Transmission::unsafe_arena_release_ranging_reply() {
1095 // @@protoc_insertion_point(field_release:goby.acomms.popoto.protobuf.Transmission.ranging_reply)
1096 _impl_._has_bits_[0] &= ~0x00000002u;
1097 ::goby::acomms::popoto::protobuf::RangingReply* temp = _impl_.ranging_reply_;
1098 _impl_.ranging_reply_ = nullptr;
1099 return temp;
1100}
1101inline ::goby::acomms::popoto::protobuf::RangingReply* Transmission::_internal_mutable_ranging_reply() {
1102 _impl_._has_bits_[0] |= 0x00000002u;
1103 if (_impl_.ranging_reply_ == nullptr) {
1105 _impl_.ranging_reply_ = p;
1106 }
1107 return _impl_.ranging_reply_;
1108}
1109inline ::goby::acomms::popoto::protobuf::RangingReply* Transmission::mutable_ranging_reply() {
1110 ::goby::acomms::popoto::protobuf::RangingReply* _msg = _internal_mutable_ranging_reply();
1111 // @@protoc_insertion_point(field_mutable:goby.acomms.popoto.protobuf.Transmission.ranging_reply)
1112 return _msg;
1113}
1114inline void Transmission::set_allocated_ranging_reply(::goby::acomms::popoto::protobuf::RangingReply* ranging_reply) {
1115 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1116 if (message_arena == nullptr) {
1117 delete _impl_.ranging_reply_;
1118 }
1119 if (ranging_reply) {
1120 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1121 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ranging_reply);
1122 if (message_arena != submessage_arena) {
1123 ranging_reply = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1124 message_arena, ranging_reply, submessage_arena);
1125 }
1126 _impl_._has_bits_[0] |= 0x00000002u;
1127 } else {
1128 _impl_._has_bits_[0] &= ~0x00000002u;
1129 }
1130 _impl_.ranging_reply_ = ranging_reply;
1131 // @@protoc_insertion_point(field_set_allocated:goby.acomms.popoto.protobuf.Transmission.ranging_reply)
1132}
1133
1134// optional string file_location = 4;
1135inline bool Transmission::_internal_has_file_location() const {
1136 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1137 return value;
1138}
1139inline bool Transmission::has_file_location() const {
1140 return _internal_has_file_location();
1141}
1142inline void Transmission::clear_file_location() {
1143 _impl_.file_location_.ClearToEmpty();
1144 _impl_._has_bits_[0] &= ~0x00000001u;
1145}
1146inline const std::string& Transmission::file_location() const {
1147 // @@protoc_insertion_point(field_get:goby.acomms.popoto.protobuf.Transmission.file_location)
1148 return _internal_file_location();
1149}
1150template <typename ArgT0, typename... ArgT>
1151inline PROTOBUF_ALWAYS_INLINE
1152void Transmission::set_file_location(ArgT0&& arg0, ArgT... args) {
1153 _impl_._has_bits_[0] |= 0x00000001u;
1154 _impl_.file_location_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1155 // @@protoc_insertion_point(field_set:goby.acomms.popoto.protobuf.Transmission.file_location)
1156}
1157inline std::string* Transmission::mutable_file_location() {
1158 std::string* _s = _internal_mutable_file_location();
1159 // @@protoc_insertion_point(field_mutable:goby.acomms.popoto.protobuf.Transmission.file_location)
1160 return _s;
1161}
1162inline const std::string& Transmission::_internal_file_location() const {
1163 return _impl_.file_location_.Get();
1164}
1165inline void Transmission::_internal_set_file_location(const std::string& value) {
1166 _impl_._has_bits_[0] |= 0x00000001u;
1167 _impl_.file_location_.Set(value, GetArenaForAllocation());
1168}
1169inline std::string* Transmission::_internal_mutable_file_location() {
1170 _impl_._has_bits_[0] |= 0x00000001u;
1171 return _impl_.file_location_.Mutable(GetArenaForAllocation());
1172}
1173inline std::string* Transmission::release_file_location() {
1174 // @@protoc_insertion_point(field_release:goby.acomms.popoto.protobuf.Transmission.file_location)
1175 if (!_internal_has_file_location()) {
1176 return nullptr;
1177 }
1178 _impl_._has_bits_[0] &= ~0x00000001u;
1179 auto* p = _impl_.file_location_.Release();
1180#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1181 if (_impl_.file_location_.IsDefault()) {
1182 _impl_.file_location_.Set("", GetArenaForAllocation());
1183 }
1184#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1185 return p;
1186}
1187inline void Transmission::set_allocated_file_location(std::string* file_location) {
1188 if (file_location != nullptr) {
1189 _impl_._has_bits_[0] |= 0x00000001u;
1190 } else {
1191 _impl_._has_bits_[0] &= ~0x00000001u;
1192 }
1193 _impl_.file_location_.SetAllocated(file_location, GetArenaForAllocation());
1194#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1195 if (_impl_.file_location_.IsDefault()) {
1196 _impl_.file_location_.Set("", GetArenaForAllocation());
1197 }
1198#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1199 // @@protoc_insertion_point(field_set_allocated:goby.acomms.popoto.protobuf.Transmission.file_location)
1200}
1201
1202// optional double transmit_power = 5;
1203inline bool Transmission::_internal_has_transmit_power() const {
1204 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1205 return value;
1206}
1207inline bool Transmission::has_transmit_power() const {
1208 return _internal_has_transmit_power();
1209}
1210inline void Transmission::clear_transmit_power() {
1211 _impl_.transmit_power_ = 0;
1212 _impl_._has_bits_[0] &= ~0x00000004u;
1213}
1214inline double Transmission::_internal_transmit_power() const {
1215 return _impl_.transmit_power_;
1216}
1217inline double Transmission::transmit_power() const {
1218 // @@protoc_insertion_point(field_get:goby.acomms.popoto.protobuf.Transmission.transmit_power)
1219 return _internal_transmit_power();
1220}
1221inline void Transmission::_internal_set_transmit_power(double value) {
1222 _impl_._has_bits_[0] |= 0x00000004u;
1223 _impl_.transmit_power_ = value;
1224}
1225inline void Transmission::set_transmit_power(double value) {
1226 _internal_set_transmit_power(value);
1227 // @@protoc_insertion_point(field_set:goby.acomms.popoto.protobuf.Transmission.transmit_power)
1228}
1229
1230#ifdef __GNUC__
1231 #pragma GCC diagnostic pop
1232#endif // __GNUC__
1233// -------------------------------------------------------------------
1234
1235// -------------------------------------------------------------------
1236
1237
1238// @@protoc_insertion_point(namespace_scope)
1239
1240} // namespace protobuf
1241} // namespace popoto
1242} // namespace acomms
1243} // namespace goby
1244
1245PROTOBUF_NAMESPACE_OPEN
1246
1247template <> struct is_proto_enum< ::goby::acomms::popoto::protobuf::TransmissionType> : ::std::true_type {};
1248template <>
1250 return ::goby::acomms::popoto::protobuf::TransmissionType_descriptor();
1251}
1252
1253PROTOBUF_NAMESPACE_CLOSE
1254
1255// @@protoc_insertion_point(global_scope)
1256
1257#include <google/protobuf/port_undef.inc>
1258#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fpopoto_5fdriver_2eproto
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
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)
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
PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
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)
void set_two_way_travel_time_with_units(Quantity value_w_units)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
boost::units::quantity< one_way_travel_time_unit, double > one_way_travel_time_with_units() const
PROTOBUF_CONSTEXPR RangingReply(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
boost::units::si::second_base_unit::unit_type two_way_travel_time_unit
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)
boost::units::quantity< two_way_travel_time_unit, double > two_way_travel_time_with_units() const
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
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Transmission * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Transmission & operator=(Transmission &&from) noexcept
Transmission(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
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 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)
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)
const std::string & TransmissionType_Name(T enum_t_value)
constexpr TransmissionType TransmissionType_MIN
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * TransmissionType_descriptor()
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 *)
#define ByteSizeLong