JaiaBot  1.19.0
JaiaBot micro-AUV software
lora_test.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: jaiabot/messages/lora_test.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2flora_5ftest_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2flora_5ftest_2eproto
6 
7 #include <limits>
8 #include <string>
9 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.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>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
36 #include "dccl/option_extensions.pb.h"
38 #include "goby/middleware/protobuf/gpsd.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>
44 
45 #include <boost/units/systems/si.hpp>
46 // @@protoc_insertion_point(includes)
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2flora_5ftest_2eproto
49 PROTOBUF_NAMESPACE_OPEN
50 namespace internal {
51 class AnyMetadata;
52 } // namespace internal
53 PROTOBUF_NAMESPACE_CLOSE
54 
55 // Internal implementation detail -- do not use these members.
57  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
58  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
59  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
66 };
67 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2flora_5ftest_2eproto;
68 namespace jaiabot {
69 namespace protobuf {
70 class LoRaReport;
71 class LoRaReportDefaultTypeInternal;
72 extern LoRaReportDefaultTypeInternal _LoRaReport_default_instance_;
73 class LoRaTestData;
74 class LoRaTestDataDefaultTypeInternal;
75 extern LoRaTestDataDefaultTypeInternal _LoRaTestData_default_instance_;
76 } // namespace protobuf
77 } // namespace jaiabot
78 PROTOBUF_NAMESPACE_OPEN
79 template<> ::jaiabot::protobuf::LoRaReport* Arena::CreateMaybeMessage<::jaiabot::protobuf::LoRaReport>(Arena*);
80 template<> ::jaiabot::protobuf::LoRaTestData* Arena::CreateMaybeMessage<::jaiabot::protobuf::LoRaTestData>(Arena*);
81 PROTOBUF_NAMESPACE_CLOSE
82 namespace jaiabot {
83 namespace protobuf {
84 
85 enum LoRaReport_Status : int {
88 };
89 bool LoRaReport_Status_IsValid(int value);
93 
94 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LoRaReport_Status_descriptor();
95 template<typename T>
96 inline const std::string& LoRaReport_Status_Name(T enum_t_value) {
97  static_assert(::std::is_same<T, LoRaReport_Status>::value ||
98  ::std::is_integral<T>::value,
99  "Incorrect type passed to function LoRaReport_Status_Name.");
100  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
101  LoRaReport_Status_descriptor(), enum_t_value);
102 }
104  const std::string& name, LoRaReport_Status* value) {
105  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<LoRaReport_Status>(
106  LoRaReport_Status_descriptor(), name, value);
107 }
108 // ===================================================================
109 
110 class LoRaTestData PROTOBUF_FINAL :
111  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.LoRaTestData) */ {
112  public:
113  inline LoRaTestData() : LoRaTestData(nullptr) {};
114  virtual ~LoRaTestData();
115 
116  LoRaTestData(const LoRaTestData& from);
117  LoRaTestData(LoRaTestData&& from) noexcept
118  : LoRaTestData() {
119  *this = ::std::move(from);
120  }
121 
122  inline LoRaTestData& operator=(const LoRaTestData& from) {
123  CopyFrom(from);
124  return *this;
125  }
126  inline LoRaTestData& operator=(LoRaTestData&& from) noexcept {
127  if (GetArena() == from.GetArena()) {
128  if (this != &from) InternalSwap(&from);
129  } else {
130  CopyFrom(from);
131  }
132  return *this;
133  }
134 
135  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
136  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
137  }
138  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
139  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
140  }
141 
142  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
143  return GetDescriptor();
144  }
145  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
146  return GetMetadataStatic().descriptor;
147  }
148  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
149  return GetMetadataStatic().reflection;
150  }
151  static const LoRaTestData& default_instance();
152 
153  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
154  static inline const LoRaTestData* internal_default_instance() {
155  return reinterpret_cast<const LoRaTestData*>(
157  }
158  static constexpr int kIndexInFileMessages =
159  0;
160 
161  friend void swap(LoRaTestData& a, LoRaTestData& b) {
162  a.Swap(&b);
163  }
164  inline void Swap(LoRaTestData* other) {
165  if (other == this) return;
166  if (GetArena() == other->GetArena()) {
167  InternalSwap(other);
168  } else {
169  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
170  }
171  }
172  void UnsafeArenaSwap(LoRaTestData* other) {
173  if (other == this) return;
174  GOOGLE_DCHECK(GetArena() == other->GetArena());
175  InternalSwap(other);
176  }
177 
178  // implements Message ----------------------------------------------
179 
180  inline LoRaTestData* New() const final {
181  return CreateMaybeMessage<LoRaTestData>(nullptr);
182  }
183 
184  LoRaTestData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
185  return CreateMaybeMessage<LoRaTestData>(arena);
186  }
187  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
188  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
189  void CopyFrom(const LoRaTestData& from);
190  void MergeFrom(const LoRaTestData& from);
191  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
192  bool IsInitialized() const final;
193 
194  size_t ByteSizeLong() const final;
195  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
196  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
197  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
198  int GetCachedSize() const final { return _cached_size_.Get(); }
199 
200  private:
201  inline void SharedCtor();
202  inline void SharedDtor();
203  void SetCachedSize(int size) const final;
204  void InternalSwap(LoRaTestData* other);
205  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
206  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
207  return "jaiabot.protobuf.LoRaTestData";
208  }
209  protected:
210  explicit LoRaTestData(::PROTOBUF_NAMESPACE_ID::Arena* arena);
211  private:
212  static void ArenaDtor(void* object);
213  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
214  public:
215 
216  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
217  private:
218  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
219  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2flora_5ftest_2eproto);
220  return ::descriptor_table_jaiabot_2fmessages_2flora_5ftest_2eproto.file_level_metadata[kIndexInFileMessages];
221  }
222 
223  public:
224 
225  // nested types ----------------------------------------------------
226 
227  // accessors -------------------------------------------------------
228 
229  enum : int {
230  kLocationFieldNumber = 10,
231  kTimeFieldNumber = 1,
232  kIndexFieldNumber = 2,
233  };
234  // required .jaiabot.protobuf.GeographicCoordinate location = 10;
235  bool has_location() const;
236  private:
237  bool _internal_has_location() const;
238  public:
240  const ::jaiabot::protobuf::GeographicCoordinate& location() const;
241  ::jaiabot::protobuf::GeographicCoordinate* release_location();
242  ::jaiabot::protobuf::GeographicCoordinate* mutable_location();
243  void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location);
244  private:
245  const ::jaiabot::protobuf::GeographicCoordinate& _internal_location() const;
246  ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
247  public:
249  ::jaiabot::protobuf::GeographicCoordinate* location);
250  ::jaiabot::protobuf::GeographicCoordinate* unsafe_arena_release_location();
251 
252  // required uint64 time = 1 [(.dccl.field) = {
253  bool has_time() const;
254  private:
255  bool _internal_has_time() const;
256  public:
257  void clear_time();
258  ::PROTOBUF_NAMESPACE_ID::uint64 time() const;
259  void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
260  private:
261  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time() const;
262  void _internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
263  public:
264 
265  // required uint32 index = 2 [(.dccl.field) = {
266  bool has_index() const;
267  private:
268  bool _internal_has_index() const;
269  public:
270  void clear_index();
271  ::PROTOBUF_NAMESPACE_ID::uint32 index() const;
272  void set_index(::PROTOBUF_NAMESPACE_ID::uint32 value);
273  private:
274  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_index() const;
275  void _internal_set_index(::PROTOBUF_NAMESPACE_ID::uint32 value);
276  public:
277 
278  enum DCCLParameters { DCCL_ID = 124, DCCL_MAX_BYTES = 64 };
279  typedef boost::units::time_dimension time_dimension;
280 
281  typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type time_unit;
282 
283  template<typename Quantity >
284  void set_time_with_units(Quantity value_w_units)
285  { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
286 
287  template<typename Quantity >
288  Quantity time_with_units() const
289  { return Quantity(time() * time_unit()); };
290 
291  boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
292  { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
293 
294  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.LoRaTestData)
295  private:
296  class _Internal;
297 
298  // helper for ByteSizeLong()
299  size_t RequiredFieldsByteSizeFallback() const;
300 
301  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
302  typedef void InternalArenaConstructable_;
303  typedef void DestructorSkippable_;
304  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
305  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
306  ::jaiabot::protobuf::GeographicCoordinate* location_;
307  ::PROTOBUF_NAMESPACE_ID::uint64 time_;
308  ::PROTOBUF_NAMESPACE_ID::uint32 index_;
309  friend struct ::TableStruct_jaiabot_2fmessages_2flora_5ftest_2eproto;
310 };
311 // -------------------------------------------------------------------
312 
313 class LoRaReport PROTOBUF_FINAL :
314  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.LoRaReport) */ {
315  public:
316  inline LoRaReport() : LoRaReport(nullptr) {};
317  virtual ~LoRaReport();
318 
319  LoRaReport(const LoRaReport& from);
320  LoRaReport(LoRaReport&& from) noexcept
321  : LoRaReport() {
322  *this = ::std::move(from);
323  }
324 
325  inline LoRaReport& operator=(const LoRaReport& from) {
326  CopyFrom(from);
327  return *this;
328  }
329  inline LoRaReport& operator=(LoRaReport&& from) noexcept {
330  if (GetArena() == from.GetArena()) {
331  if (this != &from) InternalSwap(&from);
332  } else {
333  CopyFrom(from);
334  }
335  return *this;
336  }
337 
338  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
339  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
340  }
341  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
342  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
343  }
344 
345  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
346  return GetDescriptor();
347  }
348  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
349  return GetMetadataStatic().descriptor;
350  }
351  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
352  return GetMetadataStatic().reflection;
353  }
354  static const LoRaReport& default_instance();
355 
356  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
357  static inline const LoRaReport* internal_default_instance() {
358  return reinterpret_cast<const LoRaReport*>(
360  }
361  static constexpr int kIndexInFileMessages =
362  1;
363 
364  friend void swap(LoRaReport& a, LoRaReport& b) {
365  a.Swap(&b);
366  }
367  inline void Swap(LoRaReport* other) {
368  if (other == this) return;
369  if (GetArena() == other->GetArena()) {
370  InternalSwap(other);
371  } else {
372  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
373  }
374  }
375  void UnsafeArenaSwap(LoRaReport* other) {
376  if (other == this) return;
377  GOOGLE_DCHECK(GetArena() == other->GetArena());
378  InternalSwap(other);
379  }
380 
381  // implements Message ----------------------------------------------
382 
383  inline LoRaReport* New() const final {
384  return CreateMaybeMessage<LoRaReport>(nullptr);
385  }
386 
387  LoRaReport* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
388  return CreateMaybeMessage<LoRaReport>(arena);
389  }
390  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
391  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
392  void CopyFrom(const LoRaReport& from);
393  void MergeFrom(const LoRaReport& from);
394  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
395  bool IsInitialized() const final;
396 
397  size_t ByteSizeLong() const final;
398  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
399  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
400  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
401  int GetCachedSize() const final { return _cached_size_.Get(); }
402 
403  private:
404  inline void SharedCtor();
405  inline void SharedDtor();
406  void SetCachedSize(int size) const final;
407  void InternalSwap(LoRaReport* other);
408  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
409  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
410  return "jaiabot.protobuf.LoRaReport";
411  }
412  protected:
413  explicit LoRaReport(::PROTOBUF_NAMESPACE_ID::Arena* arena);
414  private:
415  static void ArenaDtor(void* object);
416  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
417  public:
418 
419  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
420  private:
421  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
422  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2flora_5ftest_2eproto);
423  return ::descriptor_table_jaiabot_2fmessages_2flora_5ftest_2eproto.file_level_metadata[kIndexInFileMessages];
424  }
425 
426  public:
427 
428  // nested types ----------------------------------------------------
429 
431  static constexpr Status GOOD_RECEPTION =
433  static constexpr Status NO_PACKET =
435  static inline bool Status_IsValid(int value) {
436  return LoRaReport_Status_IsValid(value);
437  }
438  static constexpr Status Status_MIN =
440  static constexpr Status Status_MAX =
442  static constexpr int Status_ARRAYSIZE =
444  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
447  }
448  template<typename T>
449  static inline const std::string& Status_Name(T enum_t_value) {
450  static_assert(::std::is_same<T, Status>::value ||
451  ::std::is_integral<T>::value,
452  "Incorrect type passed to function Status_Name.");
453  return LoRaReport_Status_Name(enum_t_value);
454  }
455  static inline bool Status_Parse(const std::string& name,
456  Status* value) {
457  return LoRaReport_Status_Parse(name, value);
458  }
459 
460  // accessors -------------------------------------------------------
461 
462  enum : int {
463  kFeatherMsgFieldNumber = 20,
464  kTestDataFieldNumber = 30,
465  kGpsTpvFieldNumber = 40,
466  kTimeFieldNumber = 1,
467  kRangeFieldNumber = 50,
468  kPacketSuccessFieldNumber = 60,
469  kStatusFieldNumber = 10,
470  };
471  // optional .jaiabot.protobuf.LoRaMessage feather_msg = 20;
472  bool has_feather_msg() const;
473  private:
474  bool _internal_has_feather_msg() const;
475  public:
477  const ::jaiabot::protobuf::LoRaMessage& feather_msg() const;
478  ::jaiabot::protobuf::LoRaMessage* release_feather_msg();
479  ::jaiabot::protobuf::LoRaMessage* mutable_feather_msg();
480  void set_allocated_feather_msg(::jaiabot::protobuf::LoRaMessage* feather_msg);
481  private:
482  const ::jaiabot::protobuf::LoRaMessage& _internal_feather_msg() const;
483  ::jaiabot::protobuf::LoRaMessage* _internal_mutable_feather_msg();
484  public:
486  ::jaiabot::protobuf::LoRaMessage* feather_msg);
487  ::jaiabot::protobuf::LoRaMessage* unsafe_arena_release_feather_msg();
488 
489  // optional .jaiabot.protobuf.LoRaTestData test_data = 30;
490  bool has_test_data() const;
491  private:
492  bool _internal_has_test_data() const;
493  public:
495  const ::jaiabot::protobuf::LoRaTestData& test_data() const;
496  ::jaiabot::protobuf::LoRaTestData* release_test_data();
497  ::jaiabot::protobuf::LoRaTestData* mutable_test_data();
498  void set_allocated_test_data(::jaiabot::protobuf::LoRaTestData* test_data);
499  private:
500  const ::jaiabot::protobuf::LoRaTestData& _internal_test_data() const;
501  ::jaiabot::protobuf::LoRaTestData* _internal_mutable_test_data();
502  public:
504  ::jaiabot::protobuf::LoRaTestData* test_data);
505  ::jaiabot::protobuf::LoRaTestData* unsafe_arena_release_test_data();
506 
507  // optional .goby.middleware.protobuf.gpsd.TimePositionVelocity gps_tpv = 40;
508  bool has_gps_tpv() const;
509  private:
510  bool _internal_has_gps_tpv() const;
511  public:
513  const ::goby::middleware::protobuf::gpsd::TimePositionVelocity& gps_tpv() const;
514  ::goby::middleware::protobuf::gpsd::TimePositionVelocity* release_gps_tpv();
515  ::goby::middleware::protobuf::gpsd::TimePositionVelocity* mutable_gps_tpv();
516  void set_allocated_gps_tpv(::goby::middleware::protobuf::gpsd::TimePositionVelocity* gps_tpv);
517  private:
518  const ::goby::middleware::protobuf::gpsd::TimePositionVelocity& _internal_gps_tpv() const;
519  ::goby::middleware::protobuf::gpsd::TimePositionVelocity* _internal_mutable_gps_tpv();
520  public:
522  ::goby::middleware::protobuf::gpsd::TimePositionVelocity* gps_tpv);
523  ::goby::middleware::protobuf::gpsd::TimePositionVelocity* unsafe_arena_release_gps_tpv();
524 
525  // required uint64 time = 1 [(.dccl.field) = {
526  bool has_time() const;
527  private:
528  bool _internal_has_time() const;
529  public:
530  void clear_time();
531  ::PROTOBUF_NAMESPACE_ID::uint64 time() const;
532  void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
533  private:
534  ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time() const;
535  void _internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
536  public:
537 
538  // optional double range = 50 [(.dccl.field) = {
539  bool has_range() const;
540  private:
541  bool _internal_has_range() const;
542  public:
543  void clear_range();
544  double range() const;
545  void set_range(double value);
546  private:
547  double _internal_range() const;
548  void _internal_set_range(double value);
549  public:
550 
551  // optional double packet_success = 60;
552  bool has_packet_success() const;
553  private:
554  bool _internal_has_packet_success() const;
555  public:
557  double packet_success() const;
558  void set_packet_success(double value);
559  private:
560  double _internal_packet_success() const;
561  void _internal_set_packet_success(double value);
562  public:
563 
564  // required .jaiabot.protobuf.LoRaReport.Status status = 10;
565  bool has_status() const;
566  private:
567  bool _internal_has_status() const;
568  public:
569  void clear_status();
572  private:
573  ::jaiabot::protobuf::LoRaReport_Status _internal_status() const;
574  void _internal_set_status(::jaiabot::protobuf::LoRaReport_Status value);
575  public:
576 
577  typedef boost::units::time_dimension time_dimension;
578 
579  typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type time_unit;
580 
581  template<typename Quantity >
582  void set_time_with_units(Quantity value_w_units)
583  { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
584 
585  template<typename Quantity >
586  Quantity time_with_units() const
587  { return Quantity(time() * time_unit()); };
588 
589  boost::units::quantity< time_unit,google::protobuf::uint64 > time_with_units() const
590  { return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
591 
592  typedef boost::units::derived_dimension< boost::units::length_base_dimension,1 >::type range_dimension;
593 
594  typedef boost::units::unit<range_dimension,boost::units::si::system> range_unit;
595 
596  template<typename Quantity >
597  void set_range_with_units(Quantity value_w_units)
598  { set_range(boost::units::quantity<range_unit,double >(value_w_units).value() ); };
599 
600  template<typename Quantity >
601  Quantity range_with_units() const
602  { return Quantity(range() * range_unit()); };
603 
604  boost::units::quantity< range_unit,double > range_with_units() const
605  { return range_with_units<boost::units::quantity< range_unit,double > >(); };
606 
607  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.LoRaReport)
608  private:
609  class _Internal;
610 
611  // helper for ByteSizeLong()
612  size_t RequiredFieldsByteSizeFallback() const;
613 
614  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
615  typedef void InternalArenaConstructable_;
616  typedef void DestructorSkippable_;
617  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
618  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
619  ::jaiabot::protobuf::LoRaMessage* feather_msg_;
620  ::jaiabot::protobuf::LoRaTestData* test_data_;
621  ::goby::middleware::protobuf::gpsd::TimePositionVelocity* gps_tpv_;
622  ::PROTOBUF_NAMESPACE_ID::uint64 time_;
623  double range_;
624  double packet_success_;
625  int status_;
626  friend struct ::TableStruct_jaiabot_2fmessages_2flora_5ftest_2eproto;
627 };
628 // ===================================================================
629 
630 
631 // ===================================================================
632 
633 #ifdef __GNUC__
634  #pragma GCC diagnostic push
635  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
636 #endif // __GNUC__
637 // LoRaTestData
638 
639 // required uint64 time = 1 [(.dccl.field) = {
640 inline bool LoRaTestData::_internal_has_time() const {
641  bool value = (_has_bits_[0] & 0x00000002u) != 0;
642  return value;
643 }
644 inline bool LoRaTestData::has_time() const {
645  return _internal_has_time();
646 }
647 inline void LoRaTestData::clear_time() {
648  time_ = PROTOBUF_ULONGLONG(0);
649  _has_bits_[0] &= ~0x00000002u;
650 }
651 inline ::PROTOBUF_NAMESPACE_ID::uint64 LoRaTestData::_internal_time() const {
652  return time_;
653 }
654 inline ::PROTOBUF_NAMESPACE_ID::uint64 LoRaTestData::time() const {
655  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaTestData.time)
656  return _internal_time();
657 }
658 inline void LoRaTestData::_internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
659  _has_bits_[0] |= 0x00000002u;
660  time_ = value;
661 }
662 inline void LoRaTestData::set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
663  _internal_set_time(value);
664  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaTestData.time)
665 }
666 
667 // required uint32 index = 2 [(.dccl.field) = {
668 inline bool LoRaTestData::_internal_has_index() const {
669  bool value = (_has_bits_[0] & 0x00000004u) != 0;
670  return value;
671 }
672 inline bool LoRaTestData::has_index() const {
673  return _internal_has_index();
674 }
675 inline void LoRaTestData::clear_index() {
676  index_ = 0u;
677  _has_bits_[0] &= ~0x00000004u;
678 }
679 inline ::PROTOBUF_NAMESPACE_ID::uint32 LoRaTestData::_internal_index() const {
680  return index_;
681 }
682 inline ::PROTOBUF_NAMESPACE_ID::uint32 LoRaTestData::index() const {
683  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaTestData.index)
684  return _internal_index();
685 }
686 inline void LoRaTestData::_internal_set_index(::PROTOBUF_NAMESPACE_ID::uint32 value) {
687  _has_bits_[0] |= 0x00000004u;
688  index_ = value;
689 }
690 inline void LoRaTestData::set_index(::PROTOBUF_NAMESPACE_ID::uint32 value) {
691  _internal_set_index(value);
692  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaTestData.index)
693 }
694 
695 // required .jaiabot.protobuf.GeographicCoordinate location = 10;
696 inline bool LoRaTestData::_internal_has_location() const {
697  bool value = (_has_bits_[0] & 0x00000001u) != 0;
698  PROTOBUF_ASSUME(!value || location_ != nullptr);
699  return value;
700 }
701 inline bool LoRaTestData::has_location() const {
702  return _internal_has_location();
703 }
704 inline const ::jaiabot::protobuf::GeographicCoordinate& LoRaTestData::_internal_location() const {
705  const ::jaiabot::protobuf::GeographicCoordinate* p = location_;
706  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate*>(
708 }
709 inline const ::jaiabot::protobuf::GeographicCoordinate& LoRaTestData::location() const {
710  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaTestData.location)
711  return _internal_location();
712 }
713 inline void LoRaTestData::unsafe_arena_set_allocated_location(
714  ::jaiabot::protobuf::GeographicCoordinate* location) {
715  if (GetArena() == nullptr) {
716  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(location_);
717  }
718  location_ = location;
719  if (location) {
720  _has_bits_[0] |= 0x00000001u;
721  } else {
722  _has_bits_[0] &= ~0x00000001u;
723  }
724  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.LoRaTestData.location)
725 }
726 inline ::jaiabot::protobuf::GeographicCoordinate* LoRaTestData::release_location() {
727  auto temp = unsafe_arena_release_location();
728  if (GetArena() != nullptr) {
729  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
730  }
731  return temp;
732 }
733 inline ::jaiabot::protobuf::GeographicCoordinate* LoRaTestData::unsafe_arena_release_location() {
734  // @@protoc_insertion_point(field_release:jaiabot.protobuf.LoRaTestData.location)
735  _has_bits_[0] &= ~0x00000001u;
736  ::jaiabot::protobuf::GeographicCoordinate* temp = location_;
737  location_ = nullptr;
738  return temp;
739 }
740 inline ::jaiabot::protobuf::GeographicCoordinate* LoRaTestData::_internal_mutable_location() {
741  _has_bits_[0] |= 0x00000001u;
742  if (location_ == nullptr) {
743  auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArena());
744  location_ = p;
745  }
746  return location_;
747 }
748 inline ::jaiabot::protobuf::GeographicCoordinate* LoRaTestData::mutable_location() {
749  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.LoRaTestData.location)
750  return _internal_mutable_location();
751 }
752 inline void LoRaTestData::set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location) {
753  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
754  if (message_arena == nullptr) {
755  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(location_);
756  }
757  if (location) {
758  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
759  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(location)->GetArena();
760  if (message_arena != submessage_arena) {
761  location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
762  message_arena, location, submessage_arena);
763  }
764  _has_bits_[0] |= 0x00000001u;
765  } else {
766  _has_bits_[0] &= ~0x00000001u;
767  }
768  location_ = location;
769  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.LoRaTestData.location)
770 }
771 
772 // -------------------------------------------------------------------
773 
774 // LoRaReport
775 
776 // required uint64 time = 1 [(.dccl.field) = {
777 inline bool LoRaReport::_internal_has_time() const {
778  bool value = (_has_bits_[0] & 0x00000008u) != 0;
779  return value;
780 }
781 inline bool LoRaReport::has_time() const {
782  return _internal_has_time();
783 }
784 inline void LoRaReport::clear_time() {
785  time_ = PROTOBUF_ULONGLONG(0);
786  _has_bits_[0] &= ~0x00000008u;
787 }
788 inline ::PROTOBUF_NAMESPACE_ID::uint64 LoRaReport::_internal_time() const {
789  return time_;
790 }
791 inline ::PROTOBUF_NAMESPACE_ID::uint64 LoRaReport::time() const {
792  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaReport.time)
793  return _internal_time();
794 }
795 inline void LoRaReport::_internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
796  _has_bits_[0] |= 0x00000008u;
797  time_ = value;
798 }
799 inline void LoRaReport::set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
800  _internal_set_time(value);
801  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaReport.time)
802 }
803 
804 // required .jaiabot.protobuf.LoRaReport.Status status = 10;
805 inline bool LoRaReport::_internal_has_status() const {
806  bool value = (_has_bits_[0] & 0x00000040u) != 0;
807  return value;
808 }
809 inline bool LoRaReport::has_status() const {
810  return _internal_has_status();
811 }
812 inline void LoRaReport::clear_status() {
813  status_ = 1;
814  _has_bits_[0] &= ~0x00000040u;
815 }
816 inline ::jaiabot::protobuf::LoRaReport_Status LoRaReport::_internal_status() const {
817  return static_cast< ::jaiabot::protobuf::LoRaReport_Status >(status_);
818 }
819 inline ::jaiabot::protobuf::LoRaReport_Status LoRaReport::status() const {
820  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaReport.status)
821  return _internal_status();
822 }
823 inline void LoRaReport::_internal_set_status(::jaiabot::protobuf::LoRaReport_Status value) {
825  _has_bits_[0] |= 0x00000040u;
826  status_ = value;
827 }
828 inline void LoRaReport::set_status(::jaiabot::protobuf::LoRaReport_Status value) {
829  _internal_set_status(value);
830  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaReport.status)
831 }
832 
833 // optional .jaiabot.protobuf.LoRaMessage feather_msg = 20;
834 inline bool LoRaReport::_internal_has_feather_msg() const {
835  bool value = (_has_bits_[0] & 0x00000001u) != 0;
836  PROTOBUF_ASSUME(!value || feather_msg_ != nullptr);
837  return value;
838 }
839 inline bool LoRaReport::has_feather_msg() const {
840  return _internal_has_feather_msg();
841 }
842 inline const ::jaiabot::protobuf::LoRaMessage& LoRaReport::_internal_feather_msg() const {
843  const ::jaiabot::protobuf::LoRaMessage* p = feather_msg_;
844  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::LoRaMessage*>(
846 }
847 inline const ::jaiabot::protobuf::LoRaMessage& LoRaReport::feather_msg() const {
848  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaReport.feather_msg)
849  return _internal_feather_msg();
850 }
851 inline void LoRaReport::unsafe_arena_set_allocated_feather_msg(
852  ::jaiabot::protobuf::LoRaMessage* feather_msg) {
853  if (GetArena() == nullptr) {
854  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(feather_msg_);
855  }
856  feather_msg_ = feather_msg;
857  if (feather_msg) {
858  _has_bits_[0] |= 0x00000001u;
859  } else {
860  _has_bits_[0] &= ~0x00000001u;
861  }
862  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.LoRaReport.feather_msg)
863 }
864 inline ::jaiabot::protobuf::LoRaMessage* LoRaReport::release_feather_msg() {
865  auto temp = unsafe_arena_release_feather_msg();
866  if (GetArena() != nullptr) {
867  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
868  }
869  return temp;
870 }
871 inline ::jaiabot::protobuf::LoRaMessage* LoRaReport::unsafe_arena_release_feather_msg() {
872  // @@protoc_insertion_point(field_release:jaiabot.protobuf.LoRaReport.feather_msg)
873  _has_bits_[0] &= ~0x00000001u;
874  ::jaiabot::protobuf::LoRaMessage* temp = feather_msg_;
875  feather_msg_ = nullptr;
876  return temp;
877 }
878 inline ::jaiabot::protobuf::LoRaMessage* LoRaReport::_internal_mutable_feather_msg() {
879  _has_bits_[0] |= 0x00000001u;
880  if (feather_msg_ == nullptr) {
881  auto* p = CreateMaybeMessage<::jaiabot::protobuf::LoRaMessage>(GetArena());
882  feather_msg_ = p;
883  }
884  return feather_msg_;
885 }
886 inline ::jaiabot::protobuf::LoRaMessage* LoRaReport::mutable_feather_msg() {
887  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.LoRaReport.feather_msg)
888  return _internal_mutable_feather_msg();
889 }
890 inline void LoRaReport::set_allocated_feather_msg(::jaiabot::protobuf::LoRaMessage* feather_msg) {
891  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
892  if (message_arena == nullptr) {
893  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(feather_msg_);
894  }
895  if (feather_msg) {
896  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
897  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(feather_msg)->GetArena();
898  if (message_arena != submessage_arena) {
899  feather_msg = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
900  message_arena, feather_msg, submessage_arena);
901  }
902  _has_bits_[0] |= 0x00000001u;
903  } else {
904  _has_bits_[0] &= ~0x00000001u;
905  }
906  feather_msg_ = feather_msg;
907  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.LoRaReport.feather_msg)
908 }
909 
910 // optional .jaiabot.protobuf.LoRaTestData test_data = 30;
911 inline bool LoRaReport::_internal_has_test_data() const {
912  bool value = (_has_bits_[0] & 0x00000002u) != 0;
913  PROTOBUF_ASSUME(!value || test_data_ != nullptr);
914  return value;
915 }
916 inline bool LoRaReport::has_test_data() const {
917  return _internal_has_test_data();
918 }
919 inline void LoRaReport::clear_test_data() {
920  if (test_data_ != nullptr) test_data_->Clear();
921  _has_bits_[0] &= ~0x00000002u;
922 }
923 inline const ::jaiabot::protobuf::LoRaTestData& LoRaReport::_internal_test_data() const {
924  const ::jaiabot::protobuf::LoRaTestData* p = test_data_;
925  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::LoRaTestData*>(
927 }
928 inline const ::jaiabot::protobuf::LoRaTestData& LoRaReport::test_data() const {
929  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaReport.test_data)
930  return _internal_test_data();
931 }
932 inline void LoRaReport::unsafe_arena_set_allocated_test_data(
933  ::jaiabot::protobuf::LoRaTestData* test_data) {
934  if (GetArena() == nullptr) {
935  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(test_data_);
936  }
937  test_data_ = test_data;
938  if (test_data) {
939  _has_bits_[0] |= 0x00000002u;
940  } else {
941  _has_bits_[0] &= ~0x00000002u;
942  }
943  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.LoRaReport.test_data)
944 }
945 inline ::jaiabot::protobuf::LoRaTestData* LoRaReport::release_test_data() {
946  auto temp = unsafe_arena_release_test_data();
947  if (GetArena() != nullptr) {
948  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
949  }
950  return temp;
951 }
952 inline ::jaiabot::protobuf::LoRaTestData* LoRaReport::unsafe_arena_release_test_data() {
953  // @@protoc_insertion_point(field_release:jaiabot.protobuf.LoRaReport.test_data)
954  _has_bits_[0] &= ~0x00000002u;
955  ::jaiabot::protobuf::LoRaTestData* temp = test_data_;
956  test_data_ = nullptr;
957  return temp;
958 }
959 inline ::jaiabot::protobuf::LoRaTestData* LoRaReport::_internal_mutable_test_data() {
960  _has_bits_[0] |= 0x00000002u;
961  if (test_data_ == nullptr) {
962  auto* p = CreateMaybeMessage<::jaiabot::protobuf::LoRaTestData>(GetArena());
963  test_data_ = p;
964  }
965  return test_data_;
966 }
967 inline ::jaiabot::protobuf::LoRaTestData* LoRaReport::mutable_test_data() {
968  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.LoRaReport.test_data)
969  return _internal_mutable_test_data();
970 }
971 inline void LoRaReport::set_allocated_test_data(::jaiabot::protobuf::LoRaTestData* test_data) {
972  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
973  if (message_arena == nullptr) {
974  delete test_data_;
975  }
976  if (test_data) {
977  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
978  ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(test_data);
979  if (message_arena != submessage_arena) {
980  test_data = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
981  message_arena, test_data, submessage_arena);
982  }
983  _has_bits_[0] |= 0x00000002u;
984  } else {
985  _has_bits_[0] &= ~0x00000002u;
986  }
987  test_data_ = test_data;
988  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.LoRaReport.test_data)
989 }
990 
991 // optional .goby.middleware.protobuf.gpsd.TimePositionVelocity gps_tpv = 40;
992 inline bool LoRaReport::_internal_has_gps_tpv() const {
993  bool value = (_has_bits_[0] & 0x00000004u) != 0;
994  PROTOBUF_ASSUME(!value || gps_tpv_ != nullptr);
995  return value;
996 }
997 inline bool LoRaReport::has_gps_tpv() const {
998  return _internal_has_gps_tpv();
999 }
1000 inline const ::goby::middleware::protobuf::gpsd::TimePositionVelocity& LoRaReport::_internal_gps_tpv() const {
1001  const ::goby::middleware::protobuf::gpsd::TimePositionVelocity* p = gps_tpv_;
1002  return p != nullptr ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::gpsd::TimePositionVelocity*>(
1003  &::goby::middleware::protobuf::gpsd::_TimePositionVelocity_default_instance_);
1004 }
1005 inline const ::goby::middleware::protobuf::gpsd::TimePositionVelocity& LoRaReport::gps_tpv() const {
1006  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaReport.gps_tpv)
1007  return _internal_gps_tpv();
1008 }
1009 inline void LoRaReport::unsafe_arena_set_allocated_gps_tpv(
1010  ::goby::middleware::protobuf::gpsd::TimePositionVelocity* gps_tpv) {
1011  if (GetArena() == nullptr) {
1012  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gps_tpv_);
1013  }
1014  gps_tpv_ = gps_tpv;
1015  if (gps_tpv) {
1016  _has_bits_[0] |= 0x00000004u;
1017  } else {
1018  _has_bits_[0] &= ~0x00000004u;
1019  }
1020  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.LoRaReport.gps_tpv)
1021 }
1022 inline ::goby::middleware::protobuf::gpsd::TimePositionVelocity* LoRaReport::release_gps_tpv() {
1023  auto temp = unsafe_arena_release_gps_tpv();
1024  if (GetArena() != nullptr) {
1025  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1026  }
1027  return temp;
1028 }
1029 inline ::goby::middleware::protobuf::gpsd::TimePositionVelocity* LoRaReport::unsafe_arena_release_gps_tpv() {
1030  // @@protoc_insertion_point(field_release:jaiabot.protobuf.LoRaReport.gps_tpv)
1031  _has_bits_[0] &= ~0x00000004u;
1032  ::goby::middleware::protobuf::gpsd::TimePositionVelocity* temp = gps_tpv_;
1033  gps_tpv_ = nullptr;
1034  return temp;
1035 }
1036 inline ::goby::middleware::protobuf::gpsd::TimePositionVelocity* LoRaReport::_internal_mutable_gps_tpv() {
1037  _has_bits_[0] |= 0x00000004u;
1038  if (gps_tpv_ == nullptr) {
1039  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::gpsd::TimePositionVelocity>(GetArena());
1040  gps_tpv_ = p;
1041  }
1042  return gps_tpv_;
1043 }
1044 inline ::goby::middleware::protobuf::gpsd::TimePositionVelocity* LoRaReport::mutable_gps_tpv() {
1045  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.LoRaReport.gps_tpv)
1046  return _internal_mutable_gps_tpv();
1047 }
1048 inline void LoRaReport::set_allocated_gps_tpv(::goby::middleware::protobuf::gpsd::TimePositionVelocity* gps_tpv) {
1049  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1050  if (message_arena == nullptr) {
1051  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(gps_tpv_);
1052  }
1053  if (gps_tpv) {
1054  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1055  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(gps_tpv)->GetArena();
1056  if (message_arena != submessage_arena) {
1057  gps_tpv = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1058  message_arena, gps_tpv, submessage_arena);
1059  }
1060  _has_bits_[0] |= 0x00000004u;
1061  } else {
1062  _has_bits_[0] &= ~0x00000004u;
1063  }
1064  gps_tpv_ = gps_tpv;
1065  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.LoRaReport.gps_tpv)
1066 }
1067 
1068 // optional double range = 50 [(.dccl.field) = {
1069 inline bool LoRaReport::_internal_has_range() const {
1070  bool value = (_has_bits_[0] & 0x00000010u) != 0;
1071  return value;
1072 }
1073 inline bool LoRaReport::has_range() const {
1074  return _internal_has_range();
1075 }
1076 inline void LoRaReport::clear_range() {
1077  range_ = 0;
1078  _has_bits_[0] &= ~0x00000010u;
1079 }
1080 inline double LoRaReport::_internal_range() const {
1081  return range_;
1082 }
1083 inline double LoRaReport::range() const {
1084  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaReport.range)
1085  return _internal_range();
1086 }
1087 inline void LoRaReport::_internal_set_range(double value) {
1088  _has_bits_[0] |= 0x00000010u;
1089  range_ = value;
1090 }
1091 inline void LoRaReport::set_range(double value) {
1092  _internal_set_range(value);
1093  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaReport.range)
1094 }
1095 
1096 // optional double packet_success = 60;
1097 inline bool LoRaReport::_internal_has_packet_success() const {
1098  bool value = (_has_bits_[0] & 0x00000020u) != 0;
1099  return value;
1100 }
1101 inline bool LoRaReport::has_packet_success() const {
1102  return _internal_has_packet_success();
1103 }
1104 inline void LoRaReport::clear_packet_success() {
1105  packet_success_ = 0;
1106  _has_bits_[0] &= ~0x00000020u;
1107 }
1108 inline double LoRaReport::_internal_packet_success() const {
1109  return packet_success_;
1110 }
1111 inline double LoRaReport::packet_success() const {
1112  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaReport.packet_success)
1113  return _internal_packet_success();
1114 }
1115 inline void LoRaReport::_internal_set_packet_success(double value) {
1116  _has_bits_[0] |= 0x00000020u;
1117  packet_success_ = value;
1118 }
1119 inline void LoRaReport::set_packet_success(double value) {
1120  _internal_set_packet_success(value);
1121  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaReport.packet_success)
1122 }
1123 
1124 #ifdef __GNUC__
1125  #pragma GCC diagnostic pop
1126 #endif // __GNUC__
1127 // -------------------------------------------------------------------
1128 
1129 
1130 // @@protoc_insertion_point(namespace_scope)
1131 
1132 } // namespace protobuf
1133 } // namespace jaiabot
1134 
1135 PROTOBUF_NAMESPACE_OPEN
1136 
1137 template <> struct is_proto_enum< ::jaiabot::protobuf::LoRaReport_Status> : ::std::true_type {};
1138 template <>
1139 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::LoRaReport_Status>() {
1141 }
1142 
1143 PROTOBUF_NAMESPACE_CLOSE
1144 
1145 // @@protoc_insertion_point(global_scope)
1146 
1147 #include <google/protobuf/port_undef.inc>
1148 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2flora_5ftest_2eproto
void set_index(::PROTOBUF_NAMESPACE_ID::uint32 value)
LoRaReport * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: lora_test.pb.h:387
friend void swap(LoRaReport &a, LoRaReport &b)
Definition: lora_test.pb.h:364
void set_allocated_test_data(::jaiabot::protobuf::LoRaTestData *test_data)
LoRaReport(LoRaReport &&from) noexcept
Definition: lora_test.pb.h:320
static const LoRaReport & default_instance()
::goby::middleware::protobuf::gpsd::TimePositionVelocity * mutable_gps_tpv()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition: lora_test.pb.h:135
static bool Status_IsValid(int value)
Definition: lora_test.pb.h:435
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Status_descriptor()
Definition: lora_test.pb.h:445
void set_time_with_units(Quantity value_w_units)
Definition: lora_test.pb.h:284
::jaiabot::protobuf::GeographicCoordinate * mutable_location()
static const LoRaReport * internal_default_instance()
Definition: lora_test.pb.h:357
LoRaTestData & operator=(const LoRaTestData &from)
Definition: lora_test.pb.h:122
const ::goby::middleware::protobuf::gpsd::TimePositionVelocity & gps_tpv() const
static const LoRaTestData & default_instance()
boost::units::derived_dimension< boost::units::length_base_dimension, 1 >::type range_dimension
Definition: lora_test.pb.h:590
void UnsafeArenaSwap(LoRaTestData *other)
Definition: lora_test.pb.h:172
void CopyFrom(const LoRaReport &from)
boost::units::unit< range_dimension, boost::units::si::system > range_unit
Definition: lora_test.pb.h:594
boost::units::time_dimension time_dimension
Definition: lora_test.pb.h:279
::jaiabot::protobuf::LoRaMessage * mutable_feather_msg()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::jaiabot::protobuf::LoRaTestData * mutable_test_data()
LoRaTestData(LoRaTestData &&from) noexcept
Definition: lora_test.pb.h:117
LoRaReport * New() const final
Definition: lora_test.pb.h:383
::jaiabot::protobuf::LoRaTestData * unsafe_arena_release_test_data()
static const std::string & Status_Name(T enum_t_value)
Definition: lora_test.pb.h:449
::jaiabot::protobuf::LoRaReport_Status status() const
void Swap(LoRaTestData *other)
Definition: lora_test.pb.h:164
LoRaTestData(const LoRaTestData &from)
LoRaReport & operator=(const LoRaReport &from)
Definition: lora_test.pb.h:325
void set_allocated_feather_msg(::jaiabot::protobuf::LoRaMessage *feather_msg)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
LoRaReport & operator=(LoRaReport &&from) noexcept
Definition: lora_test.pb.h:329
void MergeFrom(const LoRaTestData &from)
const ::jaiabot::protobuf::GeographicCoordinate & location() const
::jaiabot::protobuf::GeographicCoordinate * release_location()
::goby::middleware::protobuf::gpsd::TimePositionVelocity * release_gps_tpv()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition: lora_test.pb.h:138
void Swap(LoRaReport *other)
Definition: lora_test.pb.h:367
void UnsafeArenaSwap(LoRaReport *other)
Definition: lora_test.pb.h:375
void unsafe_arena_set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_location()
const ::jaiabot::protobuf::LoRaTestData & test_data() const
::jaiabot::protobuf::LoRaTestData * release_test_data()
::PROTOBUF_NAMESPACE_ID::uint64 time() const
::goby::middleware::protobuf::gpsd::TimePositionVelocity * unsafe_arena_release_gps_tpv()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_range_with_units(Quantity value_w_units)
Definition: lora_test.pb.h:597
LoRaTestData * New() const final
Definition: lora_test.pb.h:180
void MergeFrom(const LoRaReport &from)
LoRaTestData * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: lora_test.pb.h:184
void unsafe_arena_set_allocated_feather_msg(::jaiabot::protobuf::LoRaMessage *feather_msg)
boost::units::quantity< range_unit, double > range_with_units() const
Definition: lora_test.pb.h:604
::jaiabot::protobuf::LoRaMessage * unsafe_arena_release_feather_msg()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: lora_test.pb.h:145
void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value)
void unsafe_arena_set_allocated_test_data(::jaiabot::protobuf::LoRaTestData *test_data)
const ::jaiabot::protobuf::LoRaMessage & feather_msg() const
LoRaTestData & operator=(LoRaTestData &&from) noexcept
Definition: lora_test.pb.h:126
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
LoRaReport(const LoRaReport &from)
void unsafe_arena_set_allocated_gps_tpv(::goby::middleware::protobuf::gpsd::TimePositionVelocity *gps_tpv)
LoRaTestData(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::PROTOBUF_NAMESPACE_ID::uint32 index() const
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
Definition: lora_test.pb.h:291
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: lora_test.pb.h:148
friend void swap(LoRaTestData &a, LoRaTestData &b)
Definition: lora_test.pb.h:161
void set_allocated_gps_tpv(::goby::middleware::protobuf::gpsd::TimePositionVelocity *gps_tpv)
::jaiabot::protobuf::LoRaMessage * release_feather_msg()
void set_packet_success(double value)
static bool Status_Parse(const std::string &name, Status *value)
Definition: lora_test.pb.h:455
LoRaReport(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void CopyFrom(const LoRaTestData &from)
void set_status(::jaiabot::protobuf::LoRaReport_Status value)
void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
static const LoRaTestData * internal_default_instance()
Definition: lora_test.pb.h:154
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
Definition: lora_test.pb.h:281
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: lora_test.pb.h:142
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2flora_5ftest_2eproto
constexpr LoRaReport_Status LoRaReport_Status_Status_MAX
Definition: lora_test.pb.h:91
bool LoRaReport_Status_Parse(const std::string &name, LoRaReport_Status *value)
Definition: lora_test.pb.h:103
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * LoRaReport_Status_descriptor()
constexpr LoRaReport_Status LoRaReport_Status_Status_MIN
Definition: lora_test.pb.h:90
LoRaTestDataDefaultTypeInternal _LoRaTestData_default_instance_
LoRaReportDefaultTypeInternal _LoRaReport_default_instance_
bool LoRaReport_Status_IsValid(int value)
@ LoRaReport_Status_GOOD_RECEPTION
Definition: lora_test.pb.h:86
GeographicCoordinateDefaultTypeInternal _GeographicCoordinate_default_instance_
constexpr int LoRaReport_Status_Status_ARRAYSIZE
Definition: lora_test.pb.h:92
LoRaMessageDefaultTypeInternal _LoRaMessage_default_instance_
const std::string & LoRaReport_Status_Name(T enum_t_value)
Definition: lora_test.pb.h:96
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: lora_test.pb.h:64
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: lora_test.pb.h:65
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: lora_test.pb.h:63
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)