JaiaBot  1.19.0
JaiaBot micro-AUV software
feather.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: jaiabot/messages/feather.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2ffeather_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2ffeather_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 <boost/units/quantity.hpp>
37 #include <boost/units/absolute.hpp>
38 #include <boost/units/dimensionless_type.hpp>
39 #include <boost/units/make_scaled_unit.hpp>
40 // @@protoc_insertion_point(includes)
41 #include <google/protobuf/port_def.inc>
42 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2ffeather_2eproto
43 PROTOBUF_NAMESPACE_OPEN
44 namespace internal {
45 class AnyMetadata;
46 } // namespace internal
47 PROTOBUF_NAMESPACE_CLOSE
48 
49 // Internal implementation detail -- do not use these members.
51  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
52  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
53  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
54  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
55  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
56  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
57  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
58  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
59  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
60 };
61 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2ffeather_2eproto;
62 namespace jaiabot {
63 namespace protobuf {
64 class LoRaMessage;
65 class LoRaMessageDefaultTypeInternal;
66 extern LoRaMessageDefaultTypeInternal _LoRaMessage_default_instance_;
67 class LoRaMessage_ControlSurfaces;
68 class LoRaMessage_ControlSurfacesDefaultTypeInternal;
69 extern LoRaMessage_ControlSurfacesDefaultTypeInternal _LoRaMessage_ControlSurfaces_default_instance_;
70 } // namespace protobuf
71 } // namespace jaiabot
72 PROTOBUF_NAMESPACE_OPEN
73 template<> ::jaiabot::protobuf::LoRaMessage* Arena::CreateMaybeMessage<::jaiabot::protobuf::LoRaMessage>(Arena*);
74 template<> ::jaiabot::protobuf::LoRaMessage_ControlSurfaces* Arena::CreateMaybeMessage<::jaiabot::protobuf::LoRaMessage_ControlSurfaces>(Arena*);
75 PROTOBUF_NAMESPACE_CLOSE
76 namespace jaiabot {
77 namespace protobuf {
78 
88 };
93 
94 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LoRaMessage_MessageType_descriptor();
95 template<typename T>
96 inline const std::string& LoRaMessage_MessageType_Name(T enum_t_value) {
97  static_assert(::std::is_same<T, LoRaMessage_MessageType>::value ||
98  ::std::is_integral<T>::value,
99  "Incorrect type passed to function LoRaMessage_MessageType_Name.");
100  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
101  LoRaMessage_MessageType_descriptor(), enum_t_value);
102 }
104  const std::string& name, LoRaMessage_MessageType* value) {
105  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<LoRaMessage_MessageType>(
106  LoRaMessage_MessageType_descriptor(), name, value);
107 }
114 };
119 
120 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LoRaMessage_ModemConfigChoice_descriptor();
121 template<typename T>
122 inline const std::string& LoRaMessage_ModemConfigChoice_Name(T enum_t_value) {
123  static_assert(::std::is_same<T, LoRaMessage_ModemConfigChoice>::value ||
124  ::std::is_integral<T>::value,
125  "Incorrect type passed to function LoRaMessage_ModemConfigChoice_Name.");
126  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
128 }
130  const std::string& name, LoRaMessage_ModemConfigChoice* value) {
131  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<LoRaMessage_ModemConfigChoice>(
133 }
134 // ===================================================================
135 
136 class LoRaMessage_ControlSurfaces PROTOBUF_FINAL :
137  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.LoRaMessage.ControlSurfaces) */ {
138  public:
139  inline LoRaMessage_ControlSurfaces() : LoRaMessage_ControlSurfaces(nullptr) {};
141 
142  LoRaMessage_ControlSurfaces(const LoRaMessage_ControlSurfaces& from);
143  LoRaMessage_ControlSurfaces(LoRaMessage_ControlSurfaces&& from) noexcept
144  : LoRaMessage_ControlSurfaces() {
145  *this = ::std::move(from);
146  }
147 
148  inline LoRaMessage_ControlSurfaces& operator=(const LoRaMessage_ControlSurfaces& from) {
149  CopyFrom(from);
150  return *this;
151  }
152  inline LoRaMessage_ControlSurfaces& operator=(LoRaMessage_ControlSurfaces&& from) noexcept {
153  if (GetArena() == from.GetArena()) {
154  if (this != &from) InternalSwap(&from);
155  } else {
156  CopyFrom(from);
157  }
158  return *this;
159  }
160 
161  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
162  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
163  }
164  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
165  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
166  }
167 
168  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
169  return GetDescriptor();
170  }
171  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
172  return GetMetadataStatic().descriptor;
173  }
174  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
175  return GetMetadataStatic().reflection;
176  }
177  static const LoRaMessage_ControlSurfaces& default_instance();
178 
179  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
180  static inline const LoRaMessage_ControlSurfaces* internal_default_instance() {
181  return reinterpret_cast<const LoRaMessage_ControlSurfaces*>(
183  }
184  static constexpr int kIndexInFileMessages =
185  0;
186 
187  friend void swap(LoRaMessage_ControlSurfaces& a, LoRaMessage_ControlSurfaces& b) {
188  a.Swap(&b);
189  }
190  inline void Swap(LoRaMessage_ControlSurfaces* other) {
191  if (other == this) return;
192  if (GetArena() == other->GetArena()) {
193  InternalSwap(other);
194  } else {
195  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
196  }
197  }
198  void UnsafeArenaSwap(LoRaMessage_ControlSurfaces* other) {
199  if (other == this) return;
200  GOOGLE_DCHECK(GetArena() == other->GetArena());
201  InternalSwap(other);
202  }
203 
204  // implements Message ----------------------------------------------
205 
206  inline LoRaMessage_ControlSurfaces* New() const final {
207  return CreateMaybeMessage<LoRaMessage_ControlSurfaces>(nullptr);
208  }
209 
210  LoRaMessage_ControlSurfaces* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
211  return CreateMaybeMessage<LoRaMessage_ControlSurfaces>(arena);
212  }
213  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
214  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
215  void CopyFrom(const LoRaMessage_ControlSurfaces& from);
216  void MergeFrom(const LoRaMessage_ControlSurfaces& from);
217  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
218  bool IsInitialized() const final;
219 
220  size_t ByteSizeLong() const final;
221  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
222  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
223  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
224  int GetCachedSize() const final { return _cached_size_.Get(); }
225 
226  private:
227  inline void SharedCtor();
228  inline void SharedDtor();
229  void SetCachedSize(int size) const final;
230  void InternalSwap(LoRaMessage_ControlSurfaces* other);
231  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
232  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
233  return "jaiabot.protobuf.LoRaMessage.ControlSurfaces";
234  }
235  protected:
236  explicit LoRaMessage_ControlSurfaces(::PROTOBUF_NAMESPACE_ID::Arena* arena);
237  private:
238  static void ArenaDtor(void* object);
239  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
240  public:
241 
242  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
243  private:
244  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
245  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2ffeather_2eproto);
246  return ::descriptor_table_jaiabot_2fmessages_2ffeather_2eproto.file_level_metadata[kIndexInFileMessages];
247  }
248 
249  public:
250 
251  // nested types ----------------------------------------------------
252 
253  // accessors -------------------------------------------------------
254 
255  enum : int {
256  kMotorFieldNumber = 1,
257  kPortElevatorFieldNumber = 2,
258  kStbdElevatorFieldNumber = 3,
259  kRudderFieldNumber = 4,
260  };
261  // required sint32 motor = 1;
262  bool has_motor() const;
263  private:
264  bool _internal_has_motor() const;
265  public:
266  void clear_motor();
267  ::PROTOBUF_NAMESPACE_ID::int32 motor() const;
268  void set_motor(::PROTOBUF_NAMESPACE_ID::int32 value);
269  private:
270  ::PROTOBUF_NAMESPACE_ID::int32 _internal_motor() const;
271  void _internal_set_motor(::PROTOBUF_NAMESPACE_ID::int32 value);
272  public:
273 
274  // required sint32 port_elevator = 2;
275  bool has_port_elevator() const;
276  private:
277  bool _internal_has_port_elevator() const;
278  public:
280  ::PROTOBUF_NAMESPACE_ID::int32 port_elevator() const;
281  void set_port_elevator(::PROTOBUF_NAMESPACE_ID::int32 value);
282  private:
283  ::PROTOBUF_NAMESPACE_ID::int32 _internal_port_elevator() const;
284  void _internal_set_port_elevator(::PROTOBUF_NAMESPACE_ID::int32 value);
285  public:
286 
287  // required sint32 stbd_elevator = 3;
288  bool has_stbd_elevator() const;
289  private:
290  bool _internal_has_stbd_elevator() const;
291  public:
293  ::PROTOBUF_NAMESPACE_ID::int32 stbd_elevator() const;
294  void set_stbd_elevator(::PROTOBUF_NAMESPACE_ID::int32 value);
295  private:
296  ::PROTOBUF_NAMESPACE_ID::int32 _internal_stbd_elevator() const;
297  void _internal_set_stbd_elevator(::PROTOBUF_NAMESPACE_ID::int32 value);
298  public:
299 
300  // required sint32 rudder = 4;
301  bool has_rudder() const;
302  private:
303  bool _internal_has_rudder() const;
304  public:
305  void clear_rudder();
306  ::PROTOBUF_NAMESPACE_ID::int32 rudder() const;
307  void set_rudder(::PROTOBUF_NAMESPACE_ID::int32 value);
308  private:
309  ::PROTOBUF_NAMESPACE_ID::int32 _internal_rudder() const;
310  void _internal_set_rudder(::PROTOBUF_NAMESPACE_ID::int32 value);
311  public:
312 
313  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.LoRaMessage.ControlSurfaces)
314  private:
315  class _Internal;
316 
317  // helper for ByteSizeLong()
318  size_t RequiredFieldsByteSizeFallback() const;
319 
320  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
321  typedef void InternalArenaConstructable_;
322  typedef void DestructorSkippable_;
323  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
324  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
325  ::PROTOBUF_NAMESPACE_ID::int32 motor_;
326  ::PROTOBUF_NAMESPACE_ID::int32 port_elevator_;
327  ::PROTOBUF_NAMESPACE_ID::int32 stbd_elevator_;
328  ::PROTOBUF_NAMESPACE_ID::int32 rudder_;
329  friend struct ::TableStruct_jaiabot_2fmessages_2ffeather_2eproto;
330 };
331 // -------------------------------------------------------------------
332 
333 class LoRaMessage PROTOBUF_FINAL :
334  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.LoRaMessage) */ {
335  public:
336  inline LoRaMessage() : LoRaMessage(nullptr) {};
337  virtual ~LoRaMessage();
338 
339  LoRaMessage(const LoRaMessage& from);
340  LoRaMessage(LoRaMessage&& from) noexcept
341  : LoRaMessage() {
342  *this = ::std::move(from);
343  }
344 
345  inline LoRaMessage& operator=(const LoRaMessage& from) {
346  CopyFrom(from);
347  return *this;
348  }
349  inline LoRaMessage& operator=(LoRaMessage&& from) noexcept {
350  if (GetArena() == from.GetArena()) {
351  if (this != &from) InternalSwap(&from);
352  } else {
353  CopyFrom(from);
354  }
355  return *this;
356  }
357 
358  inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
359  return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
360  }
361  inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
362  return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
363  }
364 
365  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
366  return GetDescriptor();
367  }
368  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
369  return GetMetadataStatic().descriptor;
370  }
371  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
372  return GetMetadataStatic().reflection;
373  }
374  static const LoRaMessage& default_instance();
375 
376  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
377  static inline const LoRaMessage* internal_default_instance() {
378  return reinterpret_cast<const LoRaMessage*>(
380  }
381  static constexpr int kIndexInFileMessages =
382  1;
383 
384  friend void swap(LoRaMessage& a, LoRaMessage& b) {
385  a.Swap(&b);
386  }
387  inline void Swap(LoRaMessage* other) {
388  if (other == this) return;
389  if (GetArena() == other->GetArena()) {
390  InternalSwap(other);
391  } else {
392  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
393  }
394  }
395  void UnsafeArenaSwap(LoRaMessage* other) {
396  if (other == this) return;
397  GOOGLE_DCHECK(GetArena() == other->GetArena());
398  InternalSwap(other);
399  }
400 
401  // implements Message ----------------------------------------------
402 
403  inline LoRaMessage* New() const final {
404  return CreateMaybeMessage<LoRaMessage>(nullptr);
405  }
406 
407  LoRaMessage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
408  return CreateMaybeMessage<LoRaMessage>(arena);
409  }
410  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
411  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
412  void CopyFrom(const LoRaMessage& from);
413  void MergeFrom(const LoRaMessage& from);
414  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
415  bool IsInitialized() const final;
416 
417  size_t ByteSizeLong() const final;
418  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
419  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
420  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
421  int GetCachedSize() const final { return _cached_size_.Get(); }
422 
423  private:
424  inline void SharedCtor();
425  inline void SharedDtor();
426  void SetCachedSize(int size) const final;
427  void InternalSwap(LoRaMessage* other);
428  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
429  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
430  return "jaiabot.protobuf.LoRaMessage";
431  }
432  protected:
433  explicit LoRaMessage(::PROTOBUF_NAMESPACE_ID::Arena* arena);
434  private:
435  static void ArenaDtor(void* object);
436  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
437  public:
438 
439  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
440  private:
441  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
442  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_jaiabot_2fmessages_2ffeather_2eproto);
443  return ::descriptor_table_jaiabot_2fmessages_2ffeather_2eproto.file_level_metadata[kIndexInFileMessages];
444  }
445 
446  public:
447 
448  // nested types ----------------------------------------------------
449 
450  typedef LoRaMessage_ControlSurfaces ControlSurfaces;
451 
453  static constexpr MessageType LORA_DATA =
455  static constexpr MessageType SET_PARAMETERS =
457  static constexpr MessageType PARAMETERS_ACCEPTED =
459  static constexpr MessageType PARAMETERS_REJECTED =
461  static constexpr MessageType FEATHER_READY =
463  static constexpr MessageType TRANSMIT_RESULT =
465  static constexpr MessageType LOW_CONTROL =
467  static constexpr MessageType DEBUG_MESSAGE =
469  static inline bool MessageType_IsValid(int value) {
470  return LoRaMessage_MessageType_IsValid(value);
471  }
472  static constexpr MessageType MessageType_MIN =
474  static constexpr MessageType MessageType_MAX =
476  static constexpr int MessageType_ARRAYSIZE =
478  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
481  }
482  template<typename T>
483  static inline const std::string& MessageType_Name(T enum_t_value) {
484  static_assert(::std::is_same<T, MessageType>::value ||
485  ::std::is_integral<T>::value,
486  "Incorrect type passed to function MessageType_Name.");
487  return LoRaMessage_MessageType_Name(enum_t_value);
488  }
489  static inline bool MessageType_Parse(const std::string& name,
490  MessageType* value) {
491  return LoRaMessage_MessageType_Parse(name, value);
492  }
493 
495  static constexpr ModemConfigChoice Bw125Cr45Sf128 =
497  static constexpr ModemConfigChoice Bw500Cr45Sf128 =
499  static constexpr ModemConfigChoice Bw31_25Cr48Sf512 =
501  static constexpr ModemConfigChoice Bw125Cr48Sf4096 =
503  static constexpr ModemConfigChoice Bw125Cr45Sf2048 =
505  static inline bool ModemConfigChoice_IsValid(int value) {
507  }
508  static constexpr ModemConfigChoice ModemConfigChoice_MIN =
510  static constexpr ModemConfigChoice ModemConfigChoice_MAX =
512  static constexpr int ModemConfigChoice_ARRAYSIZE =
514  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
517  }
518  template<typename T>
519  static inline const std::string& ModemConfigChoice_Name(T enum_t_value) {
520  static_assert(::std::is_same<T, ModemConfigChoice>::value ||
521  ::std::is_integral<T>::value,
522  "Incorrect type passed to function ModemConfigChoice_Name.");
523  return LoRaMessage_ModemConfigChoice_Name(enum_t_value);
524  }
525  static inline bool ModemConfigChoice_Parse(const std::string& name,
526  ModemConfigChoice* value) {
527  return LoRaMessage_ModemConfigChoice_Parse(name, value);
528  }
529 
530  // accessors -------------------------------------------------------
531 
532  enum : int {
533  kDataFieldNumber = 3,
534  kControlFieldNumber = 30,
535  kSrcFieldNumber = 1,
536  kDestFieldNumber = 2,
537  kIdFieldNumber = 5,
538  kFlagsFieldNumber = 6,
539  kRssiFieldNumber = 7,
540  kTransmitSuccessfulFieldNumber = 10,
541  kTxPowerFieldNumber = 21,
542  kTypeFieldNumber = 4,
543  kModemConfigFieldNumber = 20,
544  };
545  // optional bytes data = 3;
546  bool has_data() const;
547  private:
548  bool _internal_has_data() const;
549  public:
550  void clear_data();
551  const std::string& data() const;
552  void set_data(const std::string& value);
553  void set_data(std::string&& value);
554  void set_data(const char* value);
555  void set_data(const void* value, size_t size);
556  std::string* mutable_data();
557  std::string* release_data();
558  void set_allocated_data(std::string* data);
559  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
560  " string fields are deprecated and will be removed in a"
561  " future release.")
562  std::string* unsafe_arena_release_data();
563  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
564  " string fields are deprecated and will be removed in a"
565  " future release.")
566  void unsafe_arena_set_allocated_data(
567  std::string* data);
568  private:
569  const std::string& _internal_data() const;
570  void _internal_set_data(const std::string& value);
571  std::string* _internal_mutable_data();
572  public:
573 
574  // optional .jaiabot.protobuf.LoRaMessage.ControlSurfaces control = 30;
575  bool has_control() const;
576  private:
577  bool _internal_has_control() const;
578  public:
579  void clear_control();
580  const ::jaiabot::protobuf::LoRaMessage_ControlSurfaces& control() const;
581  ::jaiabot::protobuf::LoRaMessage_ControlSurfaces* release_control();
582  ::jaiabot::protobuf::LoRaMessage_ControlSurfaces* mutable_control();
583  void set_allocated_control(::jaiabot::protobuf::LoRaMessage_ControlSurfaces* control);
584  private:
585  const ::jaiabot::protobuf::LoRaMessage_ControlSurfaces& _internal_control() const;
586  ::jaiabot::protobuf::LoRaMessage_ControlSurfaces* _internal_mutable_control();
587  public:
588  void unsafe_arena_set_allocated_control(
589  ::jaiabot::protobuf::LoRaMessage_ControlSurfaces* control);
590  ::jaiabot::protobuf::LoRaMessage_ControlSurfaces* unsafe_arena_release_control();
591 
592  // required int32 src = 1;
593  bool has_src() const;
594  private:
595  bool _internal_has_src() const;
596  public:
597  void clear_src();
598  ::PROTOBUF_NAMESPACE_ID::int32 src() const;
599  void set_src(::PROTOBUF_NAMESPACE_ID::int32 value);
600  private:
601  ::PROTOBUF_NAMESPACE_ID::int32 _internal_src() const;
602  void _internal_set_src(::PROTOBUF_NAMESPACE_ID::int32 value);
603  public:
604 
605  // required int32 dest = 2;
606  bool has_dest() const;
607  private:
608  bool _internal_has_dest() const;
609  public:
610  void clear_dest();
611  ::PROTOBUF_NAMESPACE_ID::int32 dest() const;
612  void set_dest(::PROTOBUF_NAMESPACE_ID::int32 value);
613  private:
614  ::PROTOBUF_NAMESPACE_ID::int32 _internal_dest() const;
615  void _internal_set_dest(::PROTOBUF_NAMESPACE_ID::int32 value);
616  public:
617 
618  // optional int32 id = 5;
619  bool has_id() const;
620  private:
621  bool _internal_has_id() const;
622  public:
623  void clear_id();
624  ::PROTOBUF_NAMESPACE_ID::int32 id() const;
625  void set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
626  private:
627  ::PROTOBUF_NAMESPACE_ID::int32 _internal_id() const;
628  void _internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value);
629  public:
630 
631  // optional int32 flags = 6;
632  bool has_flags() const;
633  private:
634  bool _internal_has_flags() const;
635  public:
636  void clear_flags();
637  ::PROTOBUF_NAMESPACE_ID::int32 flags() const;
638  void set_flags(::PROTOBUF_NAMESPACE_ID::int32 value);
639  private:
640  ::PROTOBUF_NAMESPACE_ID::int32 _internal_flags() const;
641  void _internal_set_flags(::PROTOBUF_NAMESPACE_ID::int32 value);
642  public:
643 
644  // optional sint32 rssi = 7;
645  bool has_rssi() const;
646  private:
647  bool _internal_has_rssi() const;
648  public:
649  void clear_rssi();
650  ::PROTOBUF_NAMESPACE_ID::int32 rssi() const;
651  void set_rssi(::PROTOBUF_NAMESPACE_ID::int32 value);
652  private:
653  ::PROTOBUF_NAMESPACE_ID::int32 _internal_rssi() const;
654  void _internal_set_rssi(::PROTOBUF_NAMESPACE_ID::int32 value);
655  public:
656 
657  // optional bool transmit_successful = 10;
658  bool has_transmit_successful() const;
659  private:
660  bool _internal_has_transmit_successful() const;
661  public:
662  void clear_transmit_successful();
663  bool transmit_successful() const;
664  void set_transmit_successful(bool value);
665  private:
666  bool _internal_transmit_successful() const;
667  void _internal_set_transmit_successful(bool value);
668  public:
669 
670  // optional int32 tx_power = 21 [default = 13];
671  bool has_tx_power() const;
672  private:
673  bool _internal_has_tx_power() const;
674  public:
675  void clear_tx_power();
676  ::PROTOBUF_NAMESPACE_ID::int32 tx_power() const;
677  void set_tx_power(::PROTOBUF_NAMESPACE_ID::int32 value);
678  private:
679  ::PROTOBUF_NAMESPACE_ID::int32 _internal_tx_power() const;
680  void _internal_set_tx_power(::PROTOBUF_NAMESPACE_ID::int32 value);
681  public:
682 
683  // required .jaiabot.protobuf.LoRaMessage.MessageType type = 4 [default = LORA_DATA];
684  bool has_type() const;
685  private:
686  bool _internal_has_type() const;
687  public:
688  void clear_type();
689  ::jaiabot::protobuf::LoRaMessage_MessageType type() const;
690  void set_type(::jaiabot::protobuf::LoRaMessage_MessageType value);
691  private:
692  ::jaiabot::protobuf::LoRaMessage_MessageType _internal_type() const;
693  void _internal_set_type(::jaiabot::protobuf::LoRaMessage_MessageType value);
694  public:
695 
696  // optional .jaiabot.protobuf.LoRaMessage.ModemConfigChoice modem_config = 20 [default = Bw125Cr45Sf128];
697  bool has_modem_config() const;
698  private:
699  bool _internal_has_modem_config() const;
700  public:
701  void clear_modem_config();
702  ::jaiabot::protobuf::LoRaMessage_ModemConfigChoice modem_config() const;
703  void set_modem_config(::jaiabot::protobuf::LoRaMessage_ModemConfigChoice value);
704  private:
705  ::jaiabot::protobuf::LoRaMessage_ModemConfigChoice _internal_modem_config() const;
706  void _internal_set_modem_config(::jaiabot::protobuf::LoRaMessage_ModemConfigChoice value);
707  public:
708 
709  // @@protoc_insertion_point(class_scope:jaiabot.protobuf.LoRaMessage)
710  private:
711  class _Internal;
712 
713  // helper for ByteSizeLong()
714  size_t RequiredFieldsByteSizeFallback() const;
715 
716  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
717  typedef void InternalArenaConstructable_;
718  typedef void DestructorSkippable_;
719  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
720  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
721  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_;
722  ::jaiabot::protobuf::LoRaMessage_ControlSurfaces* control_;
723  ::PROTOBUF_NAMESPACE_ID::int32 src_;
724  ::PROTOBUF_NAMESPACE_ID::int32 dest_;
725  ::PROTOBUF_NAMESPACE_ID::int32 id_;
726  ::PROTOBUF_NAMESPACE_ID::int32 flags_;
727  ::PROTOBUF_NAMESPACE_ID::int32 rssi_;
728  bool transmit_successful_;
729  ::PROTOBUF_NAMESPACE_ID::int32 tx_power_;
730  int type_;
731  int modem_config_;
733 };
734 // ===================================================================
735 
736 
737 // ===================================================================
738 
739 #ifdef __GNUC__
740  #pragma GCC diagnostic push
741  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
742 #endif // __GNUC__
743 // LoRaMessage_ControlSurfaces
744 
745 // required sint32 motor = 1;
746 inline bool LoRaMessage_ControlSurfaces::_internal_has_motor() const {
747  bool value = (_has_bits_[0] & 0x00000001u) != 0;
748  return value;
749 }
750 inline bool LoRaMessage_ControlSurfaces::has_motor() const {
751  return _internal_has_motor();
752 }
753 inline void LoRaMessage_ControlSurfaces::clear_motor() {
754  motor_ = 0;
755  _has_bits_[0] &= ~0x00000001u;
756 }
757 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage_ControlSurfaces::_internal_motor() const {
758  return motor_;
759 }
760 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage_ControlSurfaces::motor() const {
761  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.ControlSurfaces.motor)
762  return _internal_motor();
763 }
764 inline void LoRaMessage_ControlSurfaces::_internal_set_motor(::PROTOBUF_NAMESPACE_ID::int32 value) {
765  _has_bits_[0] |= 0x00000001u;
766  motor_ = value;
767 }
768 inline void LoRaMessage_ControlSurfaces::set_motor(::PROTOBUF_NAMESPACE_ID::int32 value) {
769  _internal_set_motor(value);
770  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaMessage.ControlSurfaces.motor)
771 }
772 
773 // required sint32 port_elevator = 2;
774 inline bool LoRaMessage_ControlSurfaces::_internal_has_port_elevator() const {
775  bool value = (_has_bits_[0] & 0x00000002u) != 0;
776  return value;
777 }
778 inline bool LoRaMessage_ControlSurfaces::has_port_elevator() const {
779  return _internal_has_port_elevator();
780 }
781 inline void LoRaMessage_ControlSurfaces::clear_port_elevator() {
782  port_elevator_ = 0;
783  _has_bits_[0] &= ~0x00000002u;
784 }
785 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage_ControlSurfaces::_internal_port_elevator() const {
786  return port_elevator_;
787 }
788 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage_ControlSurfaces::port_elevator() const {
789  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.ControlSurfaces.port_elevator)
790  return _internal_port_elevator();
791 }
792 inline void LoRaMessage_ControlSurfaces::_internal_set_port_elevator(::PROTOBUF_NAMESPACE_ID::int32 value) {
793  _has_bits_[0] |= 0x00000002u;
794  port_elevator_ = value;
795 }
796 inline void LoRaMessage_ControlSurfaces::set_port_elevator(::PROTOBUF_NAMESPACE_ID::int32 value) {
797  _internal_set_port_elevator(value);
798  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaMessage.ControlSurfaces.port_elevator)
799 }
800 
801 // required sint32 stbd_elevator = 3;
802 inline bool LoRaMessage_ControlSurfaces::_internal_has_stbd_elevator() const {
803  bool value = (_has_bits_[0] & 0x00000004u) != 0;
804  return value;
805 }
806 inline bool LoRaMessage_ControlSurfaces::has_stbd_elevator() const {
807  return _internal_has_stbd_elevator();
808 }
809 inline void LoRaMessage_ControlSurfaces::clear_stbd_elevator() {
810  stbd_elevator_ = 0;
811  _has_bits_[0] &= ~0x00000004u;
812 }
813 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage_ControlSurfaces::_internal_stbd_elevator() const {
814  return stbd_elevator_;
815 }
816 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage_ControlSurfaces::stbd_elevator() const {
817  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.ControlSurfaces.stbd_elevator)
818  return _internal_stbd_elevator();
819 }
820 inline void LoRaMessage_ControlSurfaces::_internal_set_stbd_elevator(::PROTOBUF_NAMESPACE_ID::int32 value) {
821  _has_bits_[0] |= 0x00000004u;
822  stbd_elevator_ = value;
823 }
824 inline void LoRaMessage_ControlSurfaces::set_stbd_elevator(::PROTOBUF_NAMESPACE_ID::int32 value) {
825  _internal_set_stbd_elevator(value);
826  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaMessage.ControlSurfaces.stbd_elevator)
827 }
828 
829 // required sint32 rudder = 4;
830 inline bool LoRaMessage_ControlSurfaces::_internal_has_rudder() const {
831  bool value = (_has_bits_[0] & 0x00000008u) != 0;
832  return value;
833 }
834 inline bool LoRaMessage_ControlSurfaces::has_rudder() const {
835  return _internal_has_rudder();
836 }
837 inline void LoRaMessage_ControlSurfaces::clear_rudder() {
838  rudder_ = 0;
839  _has_bits_[0] &= ~0x00000008u;
840 }
841 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage_ControlSurfaces::_internal_rudder() const {
842  return rudder_;
843 }
844 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage_ControlSurfaces::rudder() const {
845  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.ControlSurfaces.rudder)
846  return _internal_rudder();
847 }
848 inline void LoRaMessage_ControlSurfaces::_internal_set_rudder(::PROTOBUF_NAMESPACE_ID::int32 value) {
849  _has_bits_[0] |= 0x00000008u;
850  rudder_ = value;
851 }
852 inline void LoRaMessage_ControlSurfaces::set_rudder(::PROTOBUF_NAMESPACE_ID::int32 value) {
853  _internal_set_rudder(value);
854  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaMessage.ControlSurfaces.rudder)
855 }
856 
857 // -------------------------------------------------------------------
858 
859 // LoRaMessage
860 
861 // required int32 src = 1;
862 inline bool LoRaMessage::_internal_has_src() const {
863  bool value = (_has_bits_[0] & 0x00000004u) != 0;
864  return value;
865 }
866 inline bool LoRaMessage::has_src() const {
867  return _internal_has_src();
868 }
869 inline void LoRaMessage::clear_src() {
870  src_ = 0;
871  _has_bits_[0] &= ~0x00000004u;
872 }
873 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage::_internal_src() const {
874  return src_;
875 }
876 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage::src() const {
877  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.src)
878  return _internal_src();
879 }
880 inline void LoRaMessage::_internal_set_src(::PROTOBUF_NAMESPACE_ID::int32 value) {
881  _has_bits_[0] |= 0x00000004u;
882  src_ = value;
883 }
884 inline void LoRaMessage::set_src(::PROTOBUF_NAMESPACE_ID::int32 value) {
885  _internal_set_src(value);
886  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaMessage.src)
887 }
888 
889 // required int32 dest = 2;
890 inline bool LoRaMessage::_internal_has_dest() const {
891  bool value = (_has_bits_[0] & 0x00000008u) != 0;
892  return value;
893 }
894 inline bool LoRaMessage::has_dest() const {
895  return _internal_has_dest();
896 }
897 inline void LoRaMessage::clear_dest() {
898  dest_ = 0;
899  _has_bits_[0] &= ~0x00000008u;
900 }
901 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage::_internal_dest() const {
902  return dest_;
903 }
904 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage::dest() const {
905  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.dest)
906  return _internal_dest();
907 }
908 inline void LoRaMessage::_internal_set_dest(::PROTOBUF_NAMESPACE_ID::int32 value) {
909  _has_bits_[0] |= 0x00000008u;
910  dest_ = value;
911 }
912 inline void LoRaMessage::set_dest(::PROTOBUF_NAMESPACE_ID::int32 value) {
913  _internal_set_dest(value);
914  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaMessage.dest)
915 }
916 
917 // optional bytes data = 3;
918 inline bool LoRaMessage::_internal_has_data() const {
919  bool value = (_has_bits_[0] & 0x00000001u) != 0;
920  return value;
921 }
922 inline bool LoRaMessage::has_data() const {
923  return _internal_has_data();
924 }
925 inline void LoRaMessage::clear_data() {
926  data_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
927  _has_bits_[0] &= ~0x00000001u;
928 }
929 inline const std::string& LoRaMessage::data() const {
930  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.data)
931  return _internal_data();
932 }
933 inline void LoRaMessage::set_data(const std::string& value) {
934  _internal_set_data(value);
935  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaMessage.data)
936 }
937 inline std::string* LoRaMessage::mutable_data() {
938  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.LoRaMessage.data)
939  return _internal_mutable_data();
940 }
941 inline const std::string& LoRaMessage::_internal_data() const {
942  return data_.Get();
943 }
944 inline void LoRaMessage::_internal_set_data(const std::string& value) {
945  _has_bits_[0] |= 0x00000001u;
946  data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
947 }
948 inline void LoRaMessage::set_data(std::string&& value) {
949  _has_bits_[0] |= 0x00000001u;
950  data_.Set(
951  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
952  // @@protoc_insertion_point(field_set_rvalue:jaiabot.protobuf.LoRaMessage.data)
953 }
954 inline void LoRaMessage::set_data(const char* value) {
955  GOOGLE_DCHECK(value != nullptr);
956  _has_bits_[0] |= 0x00000001u;
957  data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
958  GetArena());
959  // @@protoc_insertion_point(field_set_char:jaiabot.protobuf.LoRaMessage.data)
960 }
961 inline void LoRaMessage::set_data(const void* value,
962  size_t size) {
963  _has_bits_[0] |= 0x00000001u;
964  data_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
965  reinterpret_cast<const char*>(value), size), GetArena());
966  // @@protoc_insertion_point(field_set_pointer:jaiabot.protobuf.LoRaMessage.data)
967 }
968 inline std::string* LoRaMessage::_internal_mutable_data() {
969  _has_bits_[0] |= 0x00000001u;
970  return data_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
971 }
972 inline std::string* LoRaMessage::release_data() {
973  // @@protoc_insertion_point(field_release:jaiabot.protobuf.LoRaMessage.data)
974  if (!_internal_has_data()) {
975  return nullptr;
976  }
977  _has_bits_[0] &= ~0x00000001u;
978  return data_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
979 }
980 inline void LoRaMessage::set_allocated_data(std::string* data) {
981  if (data != nullptr) {
982  _has_bits_[0] |= 0x00000001u;
983  } else {
984  _has_bits_[0] &= ~0x00000001u;
985  }
986  data_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), data,
987  GetArena());
988  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.LoRaMessage.data)
989 }
990 inline std::string* LoRaMessage::unsafe_arena_release_data() {
991  // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.LoRaMessage.data)
992  GOOGLE_DCHECK(GetArena() != nullptr);
993  _has_bits_[0] &= ~0x00000001u;
994  return data_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
995  GetArena());
996 }
997 inline void LoRaMessage::unsafe_arena_set_allocated_data(
998  std::string* data) {
999  GOOGLE_DCHECK(GetArena() != nullptr);
1000  if (data != nullptr) {
1001  _has_bits_[0] |= 0x00000001u;
1002  } else {
1003  _has_bits_[0] &= ~0x00000001u;
1004  }
1005  data_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1006  data, GetArena());
1007  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.LoRaMessage.data)
1008 }
1009 
1010 // required .jaiabot.protobuf.LoRaMessage.MessageType type = 4 [default = LORA_DATA];
1011 inline bool LoRaMessage::_internal_has_type() const {
1012  bool value = (_has_bits_[0] & 0x00000200u) != 0;
1013  return value;
1014 }
1015 inline bool LoRaMessage::has_type() const {
1016  return _internal_has_type();
1017 }
1018 inline void LoRaMessage::clear_type() {
1019  type_ = 1;
1020  _has_bits_[0] &= ~0x00000200u;
1021 }
1022 inline ::jaiabot::protobuf::LoRaMessage_MessageType LoRaMessage::_internal_type() const {
1023  return static_cast< ::jaiabot::protobuf::LoRaMessage_MessageType >(type_);
1024 }
1025 inline ::jaiabot::protobuf::LoRaMessage_MessageType LoRaMessage::type() const {
1026  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.type)
1027  return _internal_type();
1028 }
1029 inline void LoRaMessage::_internal_set_type(::jaiabot::protobuf::LoRaMessage_MessageType value) {
1031  _has_bits_[0] |= 0x00000200u;
1032  type_ = value;
1033 }
1034 inline void LoRaMessage::set_type(::jaiabot::protobuf::LoRaMessage_MessageType value) {
1035  _internal_set_type(value);
1036  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaMessage.type)
1037 }
1038 
1039 // optional int32 id = 5;
1040 inline bool LoRaMessage::_internal_has_id() const {
1041  bool value = (_has_bits_[0] & 0x00000010u) != 0;
1042  return value;
1043 }
1044 inline bool LoRaMessage::has_id() const {
1045  return _internal_has_id();
1046 }
1047 inline void LoRaMessage::clear_id() {
1048  id_ = 0;
1049  _has_bits_[0] &= ~0x00000010u;
1050 }
1051 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage::_internal_id() const {
1052  return id_;
1053 }
1054 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage::id() const {
1055  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.id)
1056  return _internal_id();
1057 }
1058 inline void LoRaMessage::_internal_set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
1059  _has_bits_[0] |= 0x00000010u;
1060  id_ = value;
1061 }
1062 inline void LoRaMessage::set_id(::PROTOBUF_NAMESPACE_ID::int32 value) {
1063  _internal_set_id(value);
1064  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaMessage.id)
1065 }
1066 
1067 // optional int32 flags = 6;
1068 inline bool LoRaMessage::_internal_has_flags() const {
1069  bool value = (_has_bits_[0] & 0x00000020u) != 0;
1070  return value;
1071 }
1072 inline bool LoRaMessage::has_flags() const {
1073  return _internal_has_flags();
1074 }
1075 inline void LoRaMessage::clear_flags() {
1076  flags_ = 0;
1077  _has_bits_[0] &= ~0x00000020u;
1078 }
1079 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage::_internal_flags() const {
1080  return flags_;
1081 }
1082 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage::flags() const {
1083  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.flags)
1084  return _internal_flags();
1085 }
1086 inline void LoRaMessage::_internal_set_flags(::PROTOBUF_NAMESPACE_ID::int32 value) {
1087  _has_bits_[0] |= 0x00000020u;
1088  flags_ = value;
1089 }
1090 inline void LoRaMessage::set_flags(::PROTOBUF_NAMESPACE_ID::int32 value) {
1091  _internal_set_flags(value);
1092  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaMessage.flags)
1093 }
1094 
1095 // optional sint32 rssi = 7;
1096 inline bool LoRaMessage::_internal_has_rssi() const {
1097  bool value = (_has_bits_[0] & 0x00000040u) != 0;
1098  return value;
1099 }
1100 inline bool LoRaMessage::has_rssi() const {
1101  return _internal_has_rssi();
1102 }
1103 inline void LoRaMessage::clear_rssi() {
1104  rssi_ = 0;
1105  _has_bits_[0] &= ~0x00000040u;
1106 }
1107 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage::_internal_rssi() const {
1108  return rssi_;
1109 }
1110 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage::rssi() const {
1111  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.rssi)
1112  return _internal_rssi();
1113 }
1114 inline void LoRaMessage::_internal_set_rssi(::PROTOBUF_NAMESPACE_ID::int32 value) {
1115  _has_bits_[0] |= 0x00000040u;
1116  rssi_ = value;
1117 }
1118 inline void LoRaMessage::set_rssi(::PROTOBUF_NAMESPACE_ID::int32 value) {
1119  _internal_set_rssi(value);
1120  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaMessage.rssi)
1121 }
1122 
1123 // optional bool transmit_successful = 10;
1124 inline bool LoRaMessage::_internal_has_transmit_successful() const {
1125  bool value = (_has_bits_[0] & 0x00000080u) != 0;
1126  return value;
1127 }
1128 inline bool LoRaMessage::has_transmit_successful() const {
1129  return _internal_has_transmit_successful();
1130 }
1131 inline void LoRaMessage::clear_transmit_successful() {
1132  transmit_successful_ = false;
1133  _has_bits_[0] &= ~0x00000080u;
1134 }
1135 inline bool LoRaMessage::_internal_transmit_successful() const {
1136  return transmit_successful_;
1137 }
1138 inline bool LoRaMessage::transmit_successful() const {
1139  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.transmit_successful)
1140  return _internal_transmit_successful();
1141 }
1142 inline void LoRaMessage::_internal_set_transmit_successful(bool value) {
1143  _has_bits_[0] |= 0x00000080u;
1144  transmit_successful_ = value;
1145 }
1146 inline void LoRaMessage::set_transmit_successful(bool value) {
1147  _internal_set_transmit_successful(value);
1148  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaMessage.transmit_successful)
1149 }
1150 
1151 // optional .jaiabot.protobuf.LoRaMessage.ModemConfigChoice modem_config = 20 [default = Bw125Cr45Sf128];
1152 inline bool LoRaMessage::_internal_has_modem_config() const {
1153  bool value = (_has_bits_[0] & 0x00000400u) != 0;
1154  return value;
1155 }
1156 inline bool LoRaMessage::has_modem_config() const {
1157  return _internal_has_modem_config();
1158 }
1159 inline void LoRaMessage::clear_modem_config() {
1160  modem_config_ = 1;
1161  _has_bits_[0] &= ~0x00000400u;
1162 }
1163 inline ::jaiabot::protobuf::LoRaMessage_ModemConfigChoice LoRaMessage::_internal_modem_config() const {
1164  return static_cast< ::jaiabot::protobuf::LoRaMessage_ModemConfigChoice >(modem_config_);
1165 }
1166 inline ::jaiabot::protobuf::LoRaMessage_ModemConfigChoice LoRaMessage::modem_config() const {
1167  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.modem_config)
1168  return _internal_modem_config();
1169 }
1170 inline void LoRaMessage::_internal_set_modem_config(::jaiabot::protobuf::LoRaMessage_ModemConfigChoice value) {
1172  _has_bits_[0] |= 0x00000400u;
1173  modem_config_ = value;
1174 }
1175 inline void LoRaMessage::set_modem_config(::jaiabot::protobuf::LoRaMessage_ModemConfigChoice value) {
1176  _internal_set_modem_config(value);
1177  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaMessage.modem_config)
1178 }
1179 
1180 // optional int32 tx_power = 21 [default = 13];
1181 inline bool LoRaMessage::_internal_has_tx_power() const {
1182  bool value = (_has_bits_[0] & 0x00000100u) != 0;
1183  return value;
1184 }
1185 inline bool LoRaMessage::has_tx_power() const {
1186  return _internal_has_tx_power();
1187 }
1188 inline void LoRaMessage::clear_tx_power() {
1189  tx_power_ = 13;
1190  _has_bits_[0] &= ~0x00000100u;
1191 }
1192 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage::_internal_tx_power() const {
1193  return tx_power_;
1194 }
1195 inline ::PROTOBUF_NAMESPACE_ID::int32 LoRaMessage::tx_power() const {
1196  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.tx_power)
1197  return _internal_tx_power();
1198 }
1199 inline void LoRaMessage::_internal_set_tx_power(::PROTOBUF_NAMESPACE_ID::int32 value) {
1200  _has_bits_[0] |= 0x00000100u;
1201  tx_power_ = value;
1202 }
1203 inline void LoRaMessage::set_tx_power(::PROTOBUF_NAMESPACE_ID::int32 value) {
1204  _internal_set_tx_power(value);
1205  // @@protoc_insertion_point(field_set:jaiabot.protobuf.LoRaMessage.tx_power)
1206 }
1207 
1208 // optional .jaiabot.protobuf.LoRaMessage.ControlSurfaces control = 30;
1209 inline bool LoRaMessage::_internal_has_control() const {
1210  bool value = (_has_bits_[0] & 0x00000002u) != 0;
1211  PROTOBUF_ASSUME(!value || control_ != nullptr);
1212  return value;
1213 }
1214 inline bool LoRaMessage::has_control() const {
1215  return _internal_has_control();
1216 }
1217 inline void LoRaMessage::clear_control() {
1218  if (control_ != nullptr) control_->Clear();
1219  _has_bits_[0] &= ~0x00000002u;
1220 }
1221 inline const ::jaiabot::protobuf::LoRaMessage_ControlSurfaces& LoRaMessage::_internal_control() const {
1222  const ::jaiabot::protobuf::LoRaMessage_ControlSurfaces* p = control_;
1223  return p != nullptr ? *p : *reinterpret_cast<const ::jaiabot::protobuf::LoRaMessage_ControlSurfaces*>(
1225 }
1226 inline const ::jaiabot::protobuf::LoRaMessage_ControlSurfaces& LoRaMessage::control() const {
1227  // @@protoc_insertion_point(field_get:jaiabot.protobuf.LoRaMessage.control)
1228  return _internal_control();
1229 }
1230 inline void LoRaMessage::unsafe_arena_set_allocated_control(
1231  ::jaiabot::protobuf::LoRaMessage_ControlSurfaces* control) {
1232  if (GetArena() == nullptr) {
1233  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(control_);
1234  }
1235  control_ = control;
1236  if (control) {
1237  _has_bits_[0] |= 0x00000002u;
1238  } else {
1239  _has_bits_[0] &= ~0x00000002u;
1240  }
1241  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.LoRaMessage.control)
1242 }
1243 inline ::jaiabot::protobuf::LoRaMessage_ControlSurfaces* LoRaMessage::release_control() {
1244  auto temp = unsafe_arena_release_control();
1245  if (GetArena() != nullptr) {
1246  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1247  }
1248  return temp;
1249 }
1250 inline ::jaiabot::protobuf::LoRaMessage_ControlSurfaces* LoRaMessage::unsafe_arena_release_control() {
1251  // @@protoc_insertion_point(field_release:jaiabot.protobuf.LoRaMessage.control)
1252  _has_bits_[0] &= ~0x00000002u;
1253  ::jaiabot::protobuf::LoRaMessage_ControlSurfaces* temp = control_;
1254  control_ = nullptr;
1255  return temp;
1256 }
1257 inline ::jaiabot::protobuf::LoRaMessage_ControlSurfaces* LoRaMessage::_internal_mutable_control() {
1258  _has_bits_[0] |= 0x00000002u;
1259  if (control_ == nullptr) {
1260  auto* p = CreateMaybeMessage<::jaiabot::protobuf::LoRaMessage_ControlSurfaces>(GetArena());
1261  control_ = p;
1262  }
1263  return control_;
1264 }
1265 inline ::jaiabot::protobuf::LoRaMessage_ControlSurfaces* LoRaMessage::mutable_control() {
1266  // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.LoRaMessage.control)
1267  return _internal_mutable_control();
1268 }
1269 inline void LoRaMessage::set_allocated_control(::jaiabot::protobuf::LoRaMessage_ControlSurfaces* control) {
1270  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1271  if (message_arena == nullptr) {
1272  delete control_;
1273  }
1274  if (control) {
1275  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1276  ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(control);
1277  if (message_arena != submessage_arena) {
1278  control = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1279  message_arena, control, submessage_arena);
1280  }
1281  _has_bits_[0] |= 0x00000002u;
1282  } else {
1283  _has_bits_[0] &= ~0x00000002u;
1284  }
1285  control_ = control;
1286  // @@protoc_insertion_point(field_set_allocated:jaiabot.protobuf.LoRaMessage.control)
1287 }
1288 
1289 #ifdef __GNUC__
1290  #pragma GCC diagnostic pop
1291 #endif // __GNUC__
1292 // -------------------------------------------------------------------
1293 
1294 
1295 // @@protoc_insertion_point(namespace_scope)
1296 
1297 } // namespace protobuf
1298 } // namespace jaiabot
1299 
1300 PROTOBUF_NAMESPACE_OPEN
1301 
1302 template <> struct is_proto_enum< ::jaiabot::protobuf::LoRaMessage_MessageType> : ::std::true_type {};
1303 template <>
1304 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::LoRaMessage_MessageType>() {
1306 }
1307 template <> struct is_proto_enum< ::jaiabot::protobuf::LoRaMessage_ModemConfigChoice> : ::std::true_type {};
1308 template <>
1309 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::LoRaMessage_ModemConfigChoice>() {
1311 }
1312 
1313 PROTOBUF_NAMESPACE_CLOSE
1314 
1315 // @@protoc_insertion_point(global_scope)
1316 
1317 #include <google/protobuf/port_undef.inc>
1318 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2ffeather_2eproto
LoRaMessage & operator=(LoRaMessage &&from) noexcept
Definition: feather.pb.h:349
void set_rudder(::PROTOBUF_NAMESPACE_ID::int32 value)
friend void swap(LoRaMessage_ControlSurfaces &a, LoRaMessage_ControlSurfaces &b)
Definition: feather.pb.h:187
LoRaMessage_ControlSurfaces * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: feather.pb.h:210
void set_data(const std::string &value)
void set_port_elevator(::PROTOBUF_NAMESPACE_ID::int32 value)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition: feather.pb.h:161
LoRaMessage(LoRaMessage &&from) noexcept
Definition: feather.pb.h:340
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * MessageType_descriptor()
Definition: feather.pb.h:479
void UnsafeArenaSwap(LoRaMessage_ControlSurfaces *other)
Definition: feather.pb.h:198
LoRaMessage(const LoRaMessage &from)
static bool MessageType_IsValid(int value)
Definition: feather.pb.h:469
void set_data(const char *value)
LoRaMessage_MessageType MessageType
Definition: feather.pb.h:452
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::PROTOBUF_NAMESPACE_ID::int32 port_elevator() const
static const LoRaMessage_ControlSurfaces * internal_default_instance()
Definition: feather.pb.h:180
LoRaMessage & operator=(const LoRaMessage &from)
Definition: feather.pb.h:345
void MergeFrom(const LoRaMessage &from)
static bool ModemConfigChoice_Parse(const std::string &name, ModemConfigChoice *value)
Definition: feather.pb.h:525
void set_data(std::string &&value)
LoRaMessage_ControlSurfaces ControlSurfaces
Definition: feather.pb.h:450
LoRaMessage_ControlSurfaces & operator=(LoRaMessage_ControlSurfaces &&from) noexcept
Definition: feather.pb.h:152
LoRaMessage_ModemConfigChoice ModemConfigChoice
Definition: feather.pb.h:494
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const LoRaMessage_ControlSurfaces & default_instance()
const std::string & data() const
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * ModemConfigChoice_descriptor()
Definition: feather.pb.h:515
void set_motor(::PROTOBUF_NAMESPACE_ID::int32 value)
::PROTOBUF_NAMESPACE_ID::int32 rudder() const
void MergeFrom(const LoRaMessage_ControlSurfaces &from)
LoRaMessage * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: feather.pb.h:407
static const std::string & MessageType_Name(T enum_t_value)
Definition: feather.pb.h:483
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition: feather.pb.h:164
LoRaMessage_ControlSurfaces(const LoRaMessage_ControlSurfaces &from)
static bool ModemConfigChoice_IsValid(int value)
Definition: feather.pb.h:505
void set_data(const void *value, size_t size)
LoRaMessage_ControlSurfaces(LoRaMessage_ControlSurfaces &&from) noexcept
Definition: feather.pb.h:143
void set_allocated_data(std::string *data)
LoRaMessage * New() const final
Definition: feather.pb.h:403
void set_stbd_elevator(::PROTOBUF_NAMESPACE_ID::int32 value)
void UnsafeArenaSwap(LoRaMessage *other)
Definition: feather.pb.h:395
static const LoRaMessage & default_instance()
void CopyFrom(const LoRaMessage &from)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
friend void swap(LoRaMessage &a, LoRaMessage &b)
Definition: feather.pb.h:384
LoRaMessage_ControlSurfaces & operator=(const LoRaMessage_ControlSurfaces &from)
Definition: feather.pb.h:148
LoRaMessage(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const std::string & ModemConfigChoice_Name(T enum_t_value)
Definition: feather.pb.h:519
static const LoRaMessage * internal_default_instance()
Definition: feather.pb.h:377
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: feather.pb.h:171
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void Swap(LoRaMessage *other)
Definition: feather.pb.h:387
LoRaMessage_ControlSurfaces * New() const final
Definition: feather.pb.h:206
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: feather.pb.h:174
static bool MessageType_Parse(const std::string &name, MessageType *value)
Definition: feather.pb.h:489
LoRaMessage_ControlSurfaces(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::PROTOBUF_NAMESPACE_ID::int32 motor() const
void CopyFrom(const LoRaMessage_ControlSurfaces &from)
void Swap(LoRaMessage_ControlSurfaces *other)
Definition: feather.pb.h:190
::PROTOBUF_NAMESPACE_ID::int32 stbd_elevator() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: feather.pb.h:168
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2ffeather_2eproto
@ LoRaMessage_MessageType_PARAMETERS_ACCEPTED
Definition: feather.pb.h:82
@ LoRaMessage_MessageType_PARAMETERS_REJECTED
Definition: feather.pb.h:83
@ LoRaMessage_MessageType_FEATHER_READY
Definition: feather.pb.h:84
@ LoRaMessage_MessageType_LOW_CONTROL
Definition: feather.pb.h:86
@ LoRaMessage_MessageType_DEBUG_MESSAGE
Definition: feather.pb.h:87
@ LoRaMessage_MessageType_LORA_DATA
Definition: feather.pb.h:80
@ LoRaMessage_MessageType_SET_PARAMETERS
Definition: feather.pb.h:81
@ LoRaMessage_MessageType_TRANSMIT_RESULT
Definition: feather.pb.h:85
constexpr int LoRaMessage_MessageType_MessageType_ARRAYSIZE
Definition: feather.pb.h:92
@ LoRaMessage_ModemConfigChoice_Bw500Cr45Sf128
Definition: feather.pb.h:110
@ LoRaMessage_ModemConfigChoice_Bw125Cr45Sf2048
Definition: feather.pb.h:113
@ LoRaMessage_ModemConfigChoice_Bw31_25Cr48Sf512
Definition: feather.pb.h:111
@ LoRaMessage_ModemConfigChoice_Bw125Cr45Sf128
Definition: feather.pb.h:109
@ LoRaMessage_ModemConfigChoice_Bw125Cr48Sf4096
Definition: feather.pb.h:112
bool LoRaMessage_MessageType_IsValid(int value)
const std::string & LoRaMessage_MessageType_Name(T enum_t_value)
Definition: feather.pb.h:96
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * LoRaMessage_MessageType_descriptor()
constexpr int LoRaMessage_ModemConfigChoice_ModemConfigChoice_ARRAYSIZE
Definition: feather.pb.h:118
bool LoRaMessage_MessageType_Parse(const std::string &name, LoRaMessage_MessageType *value)
Definition: feather.pb.h:103
bool LoRaMessage_ModemConfigChoice_IsValid(int value)
LoRaMessage_ControlSurfacesDefaultTypeInternal _LoRaMessage_ControlSurfaces_default_instance_
constexpr LoRaMessage_ModemConfigChoice LoRaMessage_ModemConfigChoice_ModemConfigChoice_MAX
Definition: feather.pb.h:117
constexpr LoRaMessage_MessageType LoRaMessage_MessageType_MessageType_MIN
Definition: feather.pb.h:90
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * LoRaMessage_ModemConfigChoice_descriptor()
constexpr LoRaMessage_ModemConfigChoice LoRaMessage_ModemConfigChoice_ModemConfigChoice_MIN
Definition: feather.pb.h:116
bool LoRaMessage_ModemConfigChoice_Parse(const std::string &name, LoRaMessage_ModemConfigChoice *value)
Definition: feather.pb.h:129
LoRaMessageDefaultTypeInternal _LoRaMessage_default_instance_
const std::string & LoRaMessage_ModemConfigChoice_Name(T enum_t_value)
Definition: feather.pb.h:122
constexpr LoRaMessage_MessageType LoRaMessage_MessageType_MessageType_MAX
Definition: feather.pb.h:91
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: feather.pb.h:59
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: feather.pb.h:58
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: feather.pb.h:57
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)