JaiaBot 3.0.0
JaiaBot micro-AUV software
Loading...
Searching...
No Matches
storm_mcu.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/storm_mcu.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fstorm_5fmcu_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fstorm_5fmcu_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
34#include "nanopb.pb.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
41#include <boost/units/systems/temperature/celsius.hpp>
42
43#include <boost/units/systems/si.hpp>
44
45#include <boost/units/base_units/metric/minute.hpp>
46// @@protoc_insertion_point(includes)
47#include <google/protobuf/port_def.inc>
48#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fstorm_5fmcu_2eproto
49PROTOBUF_NAMESPACE_OPEN
50namespace internal {
51class AnyMetadata;
52} // namespace internal
53PROTOBUF_NAMESPACE_CLOSE
54
55// Internal implementation detail -- do not use these members.
57 static const uint32_t offsets[];
58};
59extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fstorm_5fmcu_2eproto;
60namespace jaiabot {
61namespace protobuf {
63struct StormAirDescentDataDefaultTypeInternal;
64extern StormAirDescentDataDefaultTypeInternal _StormAirDescentData_default_instance_;
66struct StormAirDescentData_SampleDefaultTypeInternal;
67extern StormAirDescentData_SampleDefaultTypeInternal _StormAirDescentData_Sample_default_instance_;
69struct StormAirDescentMetadataDefaultTypeInternal;
70extern StormAirDescentMetadataDefaultTypeInternal _StormAirDescentMetadata_default_instance_;
71class StormMCURequest;
72struct StormMCURequestDefaultTypeInternal;
73extern StormMCURequestDefaultTypeInternal _StormMCURequest_default_instance_;
75struct StormMCUResponseDefaultTypeInternal;
76extern StormMCUResponseDefaultTypeInternal _StormMCUResponse_default_instance_;
77} // namespace protobuf
78} // namespace jaiabot
79PROTOBUF_NAMESPACE_OPEN
80template<> ::jaiabot::protobuf::StormAirDescentData* Arena::CreateMaybeMessage<::jaiabot::protobuf::StormAirDescentData>(Arena*);
81template<> ::jaiabot::protobuf::StormAirDescentData_Sample* Arena::CreateMaybeMessage<::jaiabot::protobuf::StormAirDescentData_Sample>(Arena*);
82template<> ::jaiabot::protobuf::StormAirDescentMetadata* Arena::CreateMaybeMessage<::jaiabot::protobuf::StormAirDescentMetadata>(Arena*);
83template<> ::jaiabot::protobuf::StormMCURequest* Arena::CreateMaybeMessage<::jaiabot::protobuf::StormMCURequest>(Arena*);
84template<> ::jaiabot::protobuf::StormMCUResponse* Arena::CreateMaybeMessage<::jaiabot::protobuf::StormMCUResponse>(Arena*);
85PROTOBUF_NAMESPACE_CLOSE
86namespace jaiabot {
87namespace protobuf {
88
89enum StormMCURequest_Type : int {
93};
94bool StormMCURequest_Type_IsValid(int value);
98
99const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* StormMCURequest_Type_descriptor();
100template<typename T>
101inline const std::string& StormMCURequest_Type_Name(T enum_t_value) {
102 static_assert(::std::is_same<T, StormMCURequest_Type>::value ||
103 ::std::is_integral<T>::value,
104 "Incorrect type passed to function StormMCURequest_Type_Name.");
105 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
106 StormMCURequest_Type_descriptor(), enum_t_value);
107}
109 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StormMCURequest_Type* value) {
110 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<StormMCURequest_Type>(
111 StormMCURequest_Type_descriptor(), name, value);
112}
113// ===================================================================
114
115class StormAirDescentData_Sample final :
116 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.StormAirDescentData.Sample) */ {
117 public:
120 explicit PROTOBUF_CONSTEXPR StormAirDescentData_Sample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
121
125 *this = ::std::move(from);
126 }
127
129 CopyFrom(from);
130 return *this;
131 }
133 if (this == &from) return *this;
134 if (GetOwningArena() == from.GetOwningArena()
135 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
136 && GetOwningArena() != nullptr
137 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
138 ) {
139 InternalSwap(&from);
140 } else {
141 CopyFrom(from);
142 }
143 return *this;
144 }
145
146 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
147 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
148 }
149 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
150 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
151 }
152
153 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
154 return GetDescriptor();
155 }
156 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
157 return default_instance().GetMetadata().descriptor;
158 }
159 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
160 return default_instance().GetMetadata().reflection;
161 }
164 }
166 return reinterpret_cast<const StormAirDescentData_Sample*>(
168 }
169 static constexpr int kIndexInFileMessages =
170 0;
171
173 a.Swap(&b);
174 }
175 inline void Swap(StormAirDescentData_Sample* other) {
176 if (other == this) return;
177 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
178 if (GetOwningArena() != nullptr &&
179 GetOwningArena() == other->GetOwningArena()) {
180 #else // PROTOBUF_FORCE_COPY_IN_SWAP
181 if (GetOwningArena() == other->GetOwningArena()) {
182 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
183 InternalSwap(other);
184 } else {
185 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
186 }
187 }
189 if (other == this) return;
190 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
191 InternalSwap(other);
192 }
193
194 // implements Message ----------------------------------------------
195
196 StormAirDescentData_Sample* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
197 return CreateMaybeMessage<StormAirDescentData_Sample>(arena);
198 }
199 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
200 void CopyFrom(const StormAirDescentData_Sample& from);
201 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
202 void MergeFrom( const StormAirDescentData_Sample& from) {
203 StormAirDescentData_Sample::MergeImpl(*this, from);
204 }
205 private:
206 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
207 public:
208 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
209 bool IsInitialized() const final;
210
211 size_t ByteSizeLong() const final;
212 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
213 uint8_t* _InternalSerialize(
214 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
215 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
216
217 private:
218 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
219 void SharedDtor();
220 void SetCachedSize(int size) const final;
221 void InternalSwap(StormAirDescentData_Sample* other);
222
223 private:
224 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
225 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
226 return "jaiabot.protobuf.StormAirDescentData.Sample";
227 }
228 protected:
229 explicit StormAirDescentData_Sample(::PROTOBUF_NAMESPACE_ID::Arena* arena,
230 bool is_message_owned = false);
231 public:
232
233 static const ClassData _class_data_;
234 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
235
236 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
237
238 // nested types ----------------------------------------------------
239
240 // accessors -------------------------------------------------------
241
242 enum : int {
244 };
245 // optional float temperature = 1 [(.dccl.field) = {
246 bool has_temperature() const;
247 private:
248 bool _internal_has_temperature() const;
249 public:
250 void clear_temperature();
251 float temperature() const;
252 void set_temperature(float value);
253 private:
254 float _internal_temperature() const;
255 void _internal_set_temperature(float value);
256 public:
257
258 typedef boost::units::temperature_dimension temperature_dimension;
259
260 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> > temperature_unit;
261
262 template<typename Quantity >
263 void set_temperature_with_units(Quantity value_w_units)
264 { set_temperature(boost::units::quantity<temperature_unit,float >(value_w_units).value() ); };
265
266 template<typename Quantity >
267 Quantity temperature_with_units() const
268 { return Quantity(temperature() * temperature_unit()); };
269
270 boost::units::quantity< temperature_unit,float > temperature_with_units() const
272
273 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.StormAirDescentData.Sample)
274 private:
275 class _Internal;
276
277 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
278 typedef void InternalArenaConstructable_;
279 typedef void DestructorSkippable_;
280 struct Impl_ {
281 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
282 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
283 float temperature_;
284 };
285 union { Impl_ _impl_; };
286 friend struct ::TableStruct_jaiabot_2fmessages_2fstorm_5fmcu_2eproto;
287};
288// -------------------------------------------------------------------
289
290class StormAirDescentData final :
291 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.StormAirDescentData) */ {
292 public:
293 inline StormAirDescentData() : StormAirDescentData(nullptr) {}
294 ~StormAirDescentData() override;
295 explicit PROTOBUF_CONSTEXPR StormAirDescentData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
296
297 StormAirDescentData(const StormAirDescentData& from);
298 StormAirDescentData(StormAirDescentData&& from) noexcept
299 : StormAirDescentData() {
300 *this = ::std::move(from);
301 }
302
303 inline StormAirDescentData& operator=(const StormAirDescentData& from) {
304 CopyFrom(from);
305 return *this;
306 }
307 inline StormAirDescentData& operator=(StormAirDescentData&& from) noexcept {
308 if (this == &from) return *this;
309 if (GetOwningArena() == from.GetOwningArena()
310 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
311 && GetOwningArena() != nullptr
312 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
313 ) {
314 InternalSwap(&from);
315 } else {
316 CopyFrom(from);
317 }
318 return *this;
319 }
320
321 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
322 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
323 }
324 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
325 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
326 }
327
328 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
329 return GetDescriptor();
330 }
331 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
332 return default_instance().GetMetadata().descriptor;
333 }
334 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
335 return default_instance().GetMetadata().reflection;
336 }
337 static const StormAirDescentData& default_instance() {
338 return *internal_default_instance();
339 }
340 static inline const StormAirDescentData* internal_default_instance() {
341 return reinterpret_cast<const StormAirDescentData*>(
343 }
344 static constexpr int kIndexInFileMessages =
345 1;
346
347 friend void swap(StormAirDescentData& a, StormAirDescentData& b) {
348 a.Swap(&b);
349 }
350 inline void Swap(StormAirDescentData* other) {
351 if (other == this) return;
352 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
353 if (GetOwningArena() != nullptr &&
354 GetOwningArena() == other->GetOwningArena()) {
355 #else // PROTOBUF_FORCE_COPY_IN_SWAP
356 if (GetOwningArena() == other->GetOwningArena()) {
357 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
358 InternalSwap(other);
359 } else {
360 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
361 }
362 }
363 void UnsafeArenaSwap(StormAirDescentData* other) {
364 if (other == this) return;
365 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
366 InternalSwap(other);
367 }
368
369 // implements Message ----------------------------------------------
370
371 StormAirDescentData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
372 return CreateMaybeMessage<StormAirDescentData>(arena);
373 }
374 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
375 void CopyFrom(const StormAirDescentData& from);
376 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
377 void MergeFrom( const StormAirDescentData& from) {
378 StormAirDescentData::MergeImpl(*this, from);
379 }
380 private:
381 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
382 public:
383 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
384 bool IsInitialized() const final;
385
386 size_t ByteSizeLong() const final;
387 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
388 uint8_t* _InternalSerialize(
389 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
390 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
391
392 private:
393 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
394 void SharedDtor();
395 void SetCachedSize(int size) const final;
396 void InternalSwap(StormAirDescentData* other);
397
398 private:
399 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
400 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
401 return "jaiabot.protobuf.StormAirDescentData";
402 }
403 protected:
404 explicit StormAirDescentData(::PROTOBUF_NAMESPACE_ID::Arena* arena,
405 bool is_message_owned = false);
406 public:
407
408 static const ClassData _class_data_;
409 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
410
411 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
412
413 // nested types ----------------------------------------------------
414
415 typedef StormAirDescentData_Sample Sample;
416
417 // accessors -------------------------------------------------------
418
419 enum : int {
420 kSampleFieldNumber = 2,
421 kPacketIndexFieldNumber = 1,
422 };
423 // repeated .jaiabot.protobuf.StormAirDescentData.Sample sample = 2 [(.nanopb) = {
424 int sample_size() const;
425 private:
426 int _internal_sample_size() const;
427 public:
428 void clear_sample();
429 ::jaiabot::protobuf::StormAirDescentData_Sample* mutable_sample(int index);
430 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::StormAirDescentData_Sample >*
431 mutable_sample();
432 private:
433 const ::jaiabot::protobuf::StormAirDescentData_Sample& _internal_sample(int index) const;
434 ::jaiabot::protobuf::StormAirDescentData_Sample* _internal_add_sample();
435 public:
436 const ::jaiabot::protobuf::StormAirDescentData_Sample& sample(int index) const;
437 ::jaiabot::protobuf::StormAirDescentData_Sample* add_sample();
438 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::StormAirDescentData_Sample >&
439 sample() const;
440
441 // required uint32 packet_index = 1 [(.dccl.field) = {
442 bool has_packet_index() const;
443 private:
444 bool _internal_has_packet_index() const;
445 public:
446 void clear_packet_index();
447 uint32_t packet_index() const;
448 void set_packet_index(uint32_t value);
449 private:
450 uint32_t _internal_packet_index() const;
451 void _internal_set_packet_index(uint32_t value);
452 public:
453
454 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.StormAirDescentData)
455 private:
456 class _Internal;
457
458 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
459 typedef void InternalArenaConstructable_;
460 typedef void DestructorSkippable_;
461 struct Impl_ {
462 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
463 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
464 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::StormAirDescentData_Sample > sample_;
465 uint32_t packet_index_;
466 };
467 union { Impl_ _impl_; };
468 friend struct ::TableStruct_jaiabot_2fmessages_2fstorm_5fmcu_2eproto;
469};
470// -------------------------------------------------------------------
471
472class StormMCURequest final :
473 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.StormMCURequest) */ {
474 public:
475 inline StormMCURequest() : StormMCURequest(nullptr) {}
476 ~StormMCURequest() override;
477 explicit PROTOBUF_CONSTEXPR StormMCURequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
478
479 StormMCURequest(const StormMCURequest& from);
480 StormMCURequest(StormMCURequest&& from) noexcept
481 : StormMCURequest() {
482 *this = ::std::move(from);
483 }
484
485 inline StormMCURequest& operator=(const StormMCURequest& from) {
486 CopyFrom(from);
487 return *this;
488 }
489 inline StormMCURequest& operator=(StormMCURequest&& from) noexcept {
490 if (this == &from) return *this;
491 if (GetOwningArena() == from.GetOwningArena()
492 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
493 && GetOwningArena() != nullptr
494 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
495 ) {
496 InternalSwap(&from);
497 } else {
498 CopyFrom(from);
499 }
500 return *this;
501 }
502
503 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
504 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
505 }
506 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
507 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
508 }
509
510 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
511 return GetDescriptor();
512 }
513 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
514 return default_instance().GetMetadata().descriptor;
515 }
516 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
517 return default_instance().GetMetadata().reflection;
518 }
519 static const StormMCURequest& default_instance() {
520 return *internal_default_instance();
521 }
522 static inline const StormMCURequest* internal_default_instance() {
523 return reinterpret_cast<const StormMCURequest*>(
525 }
526 static constexpr int kIndexInFileMessages =
527 2;
528
529 friend void swap(StormMCURequest& a, StormMCURequest& b) {
530 a.Swap(&b);
531 }
532 inline void Swap(StormMCURequest* other) {
533 if (other == this) return;
534 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
535 if (GetOwningArena() != nullptr &&
536 GetOwningArena() == other->GetOwningArena()) {
537 #else // PROTOBUF_FORCE_COPY_IN_SWAP
538 if (GetOwningArena() == other->GetOwningArena()) {
539 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
540 InternalSwap(other);
541 } else {
542 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
543 }
544 }
545 void UnsafeArenaSwap(StormMCURequest* other) {
546 if (other == this) return;
547 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
548 InternalSwap(other);
549 }
550
551 // implements Message ----------------------------------------------
552
553 StormMCURequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
554 return CreateMaybeMessage<StormMCURequest>(arena);
555 }
556 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
557 void CopyFrom(const StormMCURequest& from);
558 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
559 void MergeFrom( const StormMCURequest& from) {
560 StormMCURequest::MergeImpl(*this, from);
561 }
562 private:
563 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
564 public:
565 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
566 bool IsInitialized() const final;
567
568 size_t ByteSizeLong() const final;
569 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
570 uint8_t* _InternalSerialize(
571 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
572 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
573
574 private:
575 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
576 void SharedDtor();
577 void SetCachedSize(int size) const final;
578 void InternalSwap(StormMCURequest* other);
579
580 private:
581 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
582 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
583 return "jaiabot.protobuf.StormMCURequest";
584 }
585 protected:
586 explicit StormMCURequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
587 bool is_message_owned = false);
588 public:
589
590 static const ClassData _class_data_;
591 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
592
593 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
594
595 // nested types ----------------------------------------------------
596
597 typedef StormMCURequest_Type Type;
598 static constexpr Type AIR_DESCENT_METADATA_REQUEST =
599 StormMCURequest_Type_AIR_DESCENT_METADATA_REQUEST;
600 static constexpr Type AIR_DESCENT_DATA_REQUEST =
601 StormMCURequest_Type_AIR_DESCENT_DATA_REQUEST;
602 static constexpr Type SLEEP_REQUEST =
603 StormMCURequest_Type_SLEEP_REQUEST;
604 static inline bool Type_IsValid(int value) {
605 return StormMCURequest_Type_IsValid(value);
606 }
607 static constexpr Type Type_MIN =
609 static constexpr Type Type_MAX =
611 static constexpr int Type_ARRAYSIZE =
613 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
614 Type_descriptor() {
616 }
617 template<typename T>
618 static inline const std::string& Type_Name(T enum_t_value) {
619 static_assert(::std::is_same<T, Type>::value ||
620 ::std::is_integral<T>::value,
621 "Incorrect type passed to function Type_Name.");
622 return StormMCURequest_Type_Name(enum_t_value);
623 }
624 static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
625 Type* value) {
626 return StormMCURequest_Type_Parse(name, value);
627 }
628
629 // accessors -------------------------------------------------------
630
631 enum : int {
632 kPacketIndexFieldNumber = 2,
633 kSleepForMinutesFieldNumber = 3,
634 kTypeFieldNumber = 1,
635 };
636 // optional int32 packet_index = 2;
637 bool has_packet_index() const;
638 private:
639 bool _internal_has_packet_index() const;
640 public:
641 void clear_packet_index();
642 int32_t packet_index() const;
643 void set_packet_index(int32_t value);
644 private:
645 int32_t _internal_packet_index() const;
646 void _internal_set_packet_index(int32_t value);
647 public:
648
649 // optional int32 sleep_for_minutes = 3 [(.dccl.field) = {
650 bool has_sleep_for_minutes() const;
651 private:
652 bool _internal_has_sleep_for_minutes() const;
653 public:
654 void clear_sleep_for_minutes();
655 int32_t sleep_for_minutes() const;
656 void set_sleep_for_minutes(int32_t value);
657 private:
658 int32_t _internal_sleep_for_minutes() const;
659 void _internal_set_sleep_for_minutes(int32_t value);
660 public:
661
662 // required .jaiabot.protobuf.StormMCURequest.Type type = 1;
663 bool has_type() const;
664 private:
665 bool _internal_has_type() const;
666 public:
667 void clear_type();
670 private:
671 ::jaiabot::protobuf::StormMCURequest_Type _internal_type() const;
672 void _internal_set_type(::jaiabot::protobuf::StormMCURequest_Type value);
673 public:
674
675 typedef boost::units::metric::minute_base_unit::unit_type sleep_for_minutes_unit;
676
677 template<typename Quantity >
678 void set_sleep_for_minutes_with_units(Quantity value_w_units)
679 { set_sleep_for_minutes(boost::units::quantity<sleep_for_minutes_unit,google::protobuf::int32 >(value_w_units).value() ); };
680
681 template<typename Quantity >
682 Quantity sleep_for_minutes_with_units() const
683 { return Quantity(sleep_for_minutes() * sleep_for_minutes_unit()); };
684
685 boost::units::quantity< sleep_for_minutes_unit,google::protobuf::int32 > sleep_for_minutes_with_units() const
686 { return sleep_for_minutes_with_units<boost::units::quantity< sleep_for_minutes_unit,google::protobuf::int32 > >(); };
687
688 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.StormMCURequest)
689 private:
690 class _Internal;
691
692 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
693 typedef void InternalArenaConstructable_;
694 typedef void DestructorSkippable_;
695 struct Impl_ {
696 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
697 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
698 int32_t packet_index_;
699 int32_t sleep_for_minutes_;
700 int type_;
701 };
702 union { Impl_ _impl_; };
703 friend struct ::TableStruct_jaiabot_2fmessages_2fstorm_5fmcu_2eproto;
704};
705// -------------------------------------------------------------------
706
707class StormAirDescentMetadata final :
708 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.StormAirDescentMetadata) */ {
709 public:
710 inline StormAirDescentMetadata() : StormAirDescentMetadata(nullptr) {}
711 ~StormAirDescentMetadata() override;
712 explicit PROTOBUF_CONSTEXPR StormAirDescentMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
713
714 StormAirDescentMetadata(const StormAirDescentMetadata& from);
715 StormAirDescentMetadata(StormAirDescentMetadata&& from) noexcept
716 : StormAirDescentMetadata() {
717 *this = ::std::move(from);
718 }
719
720 inline StormAirDescentMetadata& operator=(const StormAirDescentMetadata& from) {
721 CopyFrom(from);
722 return *this;
723 }
724 inline StormAirDescentMetadata& operator=(StormAirDescentMetadata&& from) noexcept {
725 if (this == &from) return *this;
726 if (GetOwningArena() == from.GetOwningArena()
727 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
728 && GetOwningArena() != nullptr
729 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
730 ) {
731 InternalSwap(&from);
732 } else {
733 CopyFrom(from);
734 }
735 return *this;
736 }
737
738 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
739 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
740 }
741 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
742 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
743 }
744
745 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
746 return GetDescriptor();
747 }
748 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
749 return default_instance().GetMetadata().descriptor;
750 }
751 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
752 return default_instance().GetMetadata().reflection;
753 }
754 static const StormAirDescentMetadata& default_instance() {
755 return *internal_default_instance();
756 }
757 static inline const StormAirDescentMetadata* internal_default_instance() {
758 return reinterpret_cast<const StormAirDescentMetadata*>(
760 }
761 static constexpr int kIndexInFileMessages =
762 3;
763
764 friend void swap(StormAirDescentMetadata& a, StormAirDescentMetadata& b) {
765 a.Swap(&b);
766 }
767 inline void Swap(StormAirDescentMetadata* other) {
768 if (other == this) return;
769 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
770 if (GetOwningArena() != nullptr &&
771 GetOwningArena() == other->GetOwningArena()) {
772 #else // PROTOBUF_FORCE_COPY_IN_SWAP
773 if (GetOwningArena() == other->GetOwningArena()) {
774 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
775 InternalSwap(other);
776 } else {
777 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
778 }
779 }
780 void UnsafeArenaSwap(StormAirDescentMetadata* other) {
781 if (other == this) return;
782 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
783 InternalSwap(other);
784 }
785
786 // implements Message ----------------------------------------------
787
788 StormAirDescentMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
789 return CreateMaybeMessage<StormAirDescentMetadata>(arena);
790 }
791 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
792 void CopyFrom(const StormAirDescentMetadata& from);
793 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
794 void MergeFrom( const StormAirDescentMetadata& from) {
795 StormAirDescentMetadata::MergeImpl(*this, from);
796 }
797 private:
798 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
799 public:
800 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
801 bool IsInitialized() const final;
802
803 size_t ByteSizeLong() const final;
804 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
805 uint8_t* _InternalSerialize(
806 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
807 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
808
809 private:
810 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
811 void SharedDtor();
812 void SetCachedSize(int size) const final;
813 void InternalSwap(StormAirDescentMetadata* other);
814
815 private:
816 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
817 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
818 return "jaiabot.protobuf.StormAirDescentMetadata";
819 }
820 protected:
821 explicit StormAirDescentMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
822 bool is_message_owned = false);
823 public:
824
825 static const ClassData _class_data_;
826 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
827
828 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
829
830 // nested types ----------------------------------------------------
831
832 // accessors -------------------------------------------------------
833
834 enum : int {
835 kStartTimeFieldNumber = 1,
836 kEndTimeFieldNumber = 2,
837 kSampleRateFieldNumber = 3,
838 kNumPacketsFieldNumber = 4,
839 };
840 // required uint64 start_time = 1 [(.dccl.field) = {
841 bool has_start_time() const;
842 private:
843 bool _internal_has_start_time() const;
844 public:
845 void clear_start_time();
846 uint64_t start_time() const;
847 void set_start_time(uint64_t value);
848 private:
849 uint64_t _internal_start_time() const;
850 void _internal_set_start_time(uint64_t value);
851 public:
852
853 // required uint64 end_time = 2 [(.dccl.field) = {
854 bool has_end_time() const;
855 private:
856 bool _internal_has_end_time() const;
857 public:
858 void clear_end_time();
859 uint64_t end_time() const;
860 void set_end_time(uint64_t value);
861 private:
862 uint64_t _internal_end_time() const;
863 void _internal_set_end_time(uint64_t value);
864 public:
865
866 // required float sample_rate = 3 [(.dccl.field) = {
867 bool has_sample_rate() const;
868 private:
869 bool _internal_has_sample_rate() const;
870 public:
871 void clear_sample_rate();
872 float sample_rate() const;
873 void set_sample_rate(float value);
874 private:
875 float _internal_sample_rate() const;
876 void _internal_set_sample_rate(float value);
877 public:
878
879 // required uint32 num_packets = 4 [(.dccl.field) = {
880 bool has_num_packets() const;
881 private:
882 bool _internal_has_num_packets() const;
883 public:
884 void clear_num_packets();
885 uint32_t num_packets() const;
886 void set_num_packets(uint32_t value);
887 private:
888 uint32_t _internal_num_packets() const;
889 void _internal_set_num_packets(uint32_t value);
890 public:
891
892 typedef boost::units::time_dimension start_time_dimension;
893
894 typedef boost::units::make_scaled_unit<boost::units::unit<start_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type start_time_unit;
895
896 template<typename Quantity >
897 void set_start_time_with_units(Quantity value_w_units)
898 { set_start_time(boost::units::quantity<start_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
899
900 template<typename Quantity >
901 Quantity start_time_with_units() const
902 { return Quantity(start_time() * start_time_unit()); };
903
904 boost::units::quantity< start_time_unit,google::protobuf::uint64 > start_time_with_units() const
905 { return start_time_with_units<boost::units::quantity< start_time_unit,google::protobuf::uint64 > >(); };
906
907 typedef boost::units::time_dimension end_time_dimension;
908
909 typedef boost::units::make_scaled_unit<boost::units::unit<end_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type end_time_unit;
910
911 template<typename Quantity >
912 void set_end_time_with_units(Quantity value_w_units)
913 { set_end_time(boost::units::quantity<end_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
914
915 template<typename Quantity >
916 Quantity end_time_with_units() const
917 { return Quantity(end_time() * end_time_unit()); };
918
919 boost::units::quantity< end_time_unit,google::protobuf::uint64 > end_time_with_units() const
920 { return end_time_with_units<boost::units::quantity< end_time_unit,google::protobuf::uint64 > >(); };
921
922 typedef boost::units::frequency_dimension sample_rate_dimension;
923
924 typedef boost::units::unit<sample_rate_dimension,boost::units::si::system> sample_rate_unit;
925
926 template<typename Quantity >
927 void set_sample_rate_with_units(Quantity value_w_units)
928 { set_sample_rate(boost::units::quantity<sample_rate_unit,float >(value_w_units).value() ); };
929
930 template<typename Quantity >
931 Quantity sample_rate_with_units() const
932 { return Quantity(sample_rate() * sample_rate_unit()); };
933
934 boost::units::quantity< sample_rate_unit,float > sample_rate_with_units() const
935 { return sample_rate_with_units<boost::units::quantity< sample_rate_unit,float > >(); };
936
937 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.StormAirDescentMetadata)
938 private:
939 class _Internal;
940
941 // helper for ByteSizeLong()
942 size_t RequiredFieldsByteSizeFallback() const;
943
944 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
945 typedef void InternalArenaConstructable_;
946 typedef void DestructorSkippable_;
947 struct Impl_ {
948 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
949 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
950 uint64_t start_time_;
951 uint64_t end_time_;
952 float sample_rate_;
953 uint32_t num_packets_;
954 };
955 union { Impl_ _impl_; };
956 friend struct ::TableStruct_jaiabot_2fmessages_2fstorm_5fmcu_2eproto;
957};
958// -------------------------------------------------------------------
959
960class StormMCUResponse final :
961 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.StormMCUResponse) */ {
962 public:
963 inline StormMCUResponse() : StormMCUResponse(nullptr) {}
964 ~StormMCUResponse() override;
965 explicit PROTOBUF_CONSTEXPR StormMCUResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
966
967 StormMCUResponse(const StormMCUResponse& from);
968 StormMCUResponse(StormMCUResponse&& from) noexcept
969 : StormMCUResponse() {
970 *this = ::std::move(from);
971 }
972
973 inline StormMCUResponse& operator=(const StormMCUResponse& from) {
974 CopyFrom(from);
975 return *this;
976 }
977 inline StormMCUResponse& operator=(StormMCUResponse&& from) noexcept {
978 if (this == &from) return *this;
979 if (GetOwningArena() == from.GetOwningArena()
980 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
981 && GetOwningArena() != nullptr
982 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
983 ) {
984 InternalSwap(&from);
985 } else {
986 CopyFrom(from);
987 }
988 return *this;
989 }
990
991 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
992 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
993 }
994 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
995 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
996 }
997
998 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
999 return GetDescriptor();
1000 }
1001 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1002 return default_instance().GetMetadata().descriptor;
1003 }
1004 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1005 return default_instance().GetMetadata().reflection;
1006 }
1007 static const StormMCUResponse& default_instance() {
1008 return *internal_default_instance();
1009 }
1010 enum PayloadCase {
1011 kAirDescentMetadata = 1,
1012 kAirDescentData = 2,
1013 kSleepInitiated = 3,
1014 PAYLOAD_NOT_SET = 0,
1015 };
1016
1017 static inline const StormMCUResponse* internal_default_instance() {
1018 return reinterpret_cast<const StormMCUResponse*>(
1020 }
1021 static constexpr int kIndexInFileMessages =
1022 4;
1023
1024 friend void swap(StormMCUResponse& a, StormMCUResponse& b) {
1025 a.Swap(&b);
1026 }
1027 inline void Swap(StormMCUResponse* other) {
1028 if (other == this) return;
1029 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1030 if (GetOwningArena() != nullptr &&
1031 GetOwningArena() == other->GetOwningArena()) {
1032 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1033 if (GetOwningArena() == other->GetOwningArena()) {
1034 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1035 InternalSwap(other);
1036 } else {
1037 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1038 }
1039 }
1040 void UnsafeArenaSwap(StormMCUResponse* other) {
1041 if (other == this) return;
1042 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1043 InternalSwap(other);
1044 }
1045
1046 // implements Message ----------------------------------------------
1047
1048 StormMCUResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1049 return CreateMaybeMessage<StormMCUResponse>(arena);
1050 }
1051 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1052 void CopyFrom(const StormMCUResponse& from);
1053 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1054 void MergeFrom( const StormMCUResponse& from) {
1055 StormMCUResponse::MergeImpl(*this, from);
1056 }
1057 private:
1058 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1059 public:
1060 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1061 bool IsInitialized() const final;
1062
1063 size_t ByteSizeLong() const final;
1064 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1065 uint8_t* _InternalSerialize(
1066 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1067 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1068
1069 private:
1070 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1071 void SharedDtor();
1072 void SetCachedSize(int size) const final;
1073 void InternalSwap(StormMCUResponse* other);
1074
1075 private:
1076 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1077 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1078 return "jaiabot.protobuf.StormMCUResponse";
1079 }
1080 protected:
1081 explicit StormMCUResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1082 bool is_message_owned = false);
1083 public:
1084
1085 static const ClassData _class_data_;
1086 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1087
1088 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1089
1090 // nested types ----------------------------------------------------
1091
1092 // accessors -------------------------------------------------------
1093
1094 enum : int {
1095 kAirDescentMetadataFieldNumber = 1,
1096 kAirDescentDataFieldNumber = 2,
1097 kSleepInitiatedFieldNumber = 3,
1098 };
1099 // .jaiabot.protobuf.StormAirDescentMetadata air_descent_metadata = 1;
1100 bool has_air_descent_metadata() const;
1101 private:
1102 bool _internal_has_air_descent_metadata() const;
1103 public:
1104 void clear_air_descent_metadata();
1105 const ::jaiabot::protobuf::StormAirDescentMetadata& air_descent_metadata() const;
1106 PROTOBUF_NODISCARD ::jaiabot::protobuf::StormAirDescentMetadata* release_air_descent_metadata();
1107 ::jaiabot::protobuf::StormAirDescentMetadata* mutable_air_descent_metadata();
1108 void set_allocated_air_descent_metadata(::jaiabot::protobuf::StormAirDescentMetadata* air_descent_metadata);
1109 private:
1110 const ::jaiabot::protobuf::StormAirDescentMetadata& _internal_air_descent_metadata() const;
1111 ::jaiabot::protobuf::StormAirDescentMetadata* _internal_mutable_air_descent_metadata();
1112 public:
1113 void unsafe_arena_set_allocated_air_descent_metadata(
1114 ::jaiabot::protobuf::StormAirDescentMetadata* air_descent_metadata);
1115 ::jaiabot::protobuf::StormAirDescentMetadata* unsafe_arena_release_air_descent_metadata();
1116
1117 // .jaiabot.protobuf.StormAirDescentData air_descent_data = 2;
1118 bool has_air_descent_data() const;
1119 private:
1120 bool _internal_has_air_descent_data() const;
1121 public:
1122 void clear_air_descent_data();
1123 const ::jaiabot::protobuf::StormAirDescentData& air_descent_data() const;
1124 PROTOBUF_NODISCARD ::jaiabot::protobuf::StormAirDescentData* release_air_descent_data();
1125 ::jaiabot::protobuf::StormAirDescentData* mutable_air_descent_data();
1126 void set_allocated_air_descent_data(::jaiabot::protobuf::StormAirDescentData* air_descent_data);
1127 private:
1128 const ::jaiabot::protobuf::StormAirDescentData& _internal_air_descent_data() const;
1129 ::jaiabot::protobuf::StormAirDescentData* _internal_mutable_air_descent_data();
1130 public:
1131 void unsafe_arena_set_allocated_air_descent_data(
1132 ::jaiabot::protobuf::StormAirDescentData* air_descent_data);
1133 ::jaiabot::protobuf::StormAirDescentData* unsafe_arena_release_air_descent_data();
1134
1135 // bool sleep_initiated = 3 [default = false];
1136 bool has_sleep_initiated() const;
1137 private:
1138 bool _internal_has_sleep_initiated() const;
1139 public:
1140 void clear_sleep_initiated();
1141 bool sleep_initiated() const;
1142 void set_sleep_initiated(bool value);
1143 private:
1144 bool _internal_sleep_initiated() const;
1145 void _internal_set_sleep_initiated(bool value);
1146 public:
1147
1148 void clear_payload();
1149 PayloadCase payload_case() const;
1150 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.StormMCUResponse)
1151 private:
1152 class _Internal;
1153 void set_has_air_descent_metadata();
1154 void set_has_air_descent_data();
1155 void set_has_sleep_initiated();
1156
1157 inline bool has_payload() const;
1158 inline void clear_has_payload();
1159
1160 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1161 typedef void InternalArenaConstructable_;
1162 typedef void DestructorSkippable_;
1163 struct Impl_ {
1164 union PayloadUnion {
1165 constexpr PayloadUnion() : _constinit_{} {}
1166 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
1167 ::jaiabot::protobuf::StormAirDescentMetadata* air_descent_metadata_;
1168 ::jaiabot::protobuf::StormAirDescentData* air_descent_data_;
1169 bool sleep_initiated_;
1170 } payload_;
1171 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1172 uint32_t _oneof_case_[1];
1173
1174 };
1175 union { Impl_ _impl_; };
1176 friend struct ::TableStruct_jaiabot_2fmessages_2fstorm_5fmcu_2eproto;
1177};
1178// ===================================================================
1179
1180
1181// ===================================================================
1182
1183#ifdef __GNUC__
1184 #pragma GCC diagnostic push
1185 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1186#endif // __GNUC__
1187// StormAirDescentData_Sample
1188
1189// optional float temperature = 1 [(.dccl.field) = {
1190inline bool StormAirDescentData_Sample::_internal_has_temperature() const {
1191 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1192 return value;
1193}
1194inline bool StormAirDescentData_Sample::has_temperature() const {
1195 return _internal_has_temperature();
1196}
1197inline void StormAirDescentData_Sample::clear_temperature() {
1198 _impl_.temperature_ = 0;
1199 _impl_._has_bits_[0] &= ~0x00000001u;
1200}
1201inline float StormAirDescentData_Sample::_internal_temperature() const {
1202 return _impl_.temperature_;
1203}
1204inline float StormAirDescentData_Sample::temperature() const {
1205 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormAirDescentData.Sample.temperature)
1206 return _internal_temperature();
1207}
1208inline void StormAirDescentData_Sample::_internal_set_temperature(float value) {
1209 _impl_._has_bits_[0] |= 0x00000001u;
1210 _impl_.temperature_ = value;
1211}
1212inline void StormAirDescentData_Sample::set_temperature(float value) {
1213 _internal_set_temperature(value);
1214 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormAirDescentData.Sample.temperature)
1215}
1216
1217// -------------------------------------------------------------------
1218
1219// StormAirDescentData
1220
1221// required uint32 packet_index = 1 [(.dccl.field) = {
1222inline bool StormAirDescentData::_internal_has_packet_index() const {
1223 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1224 return value;
1225}
1226inline bool StormAirDescentData::has_packet_index() const {
1227 return _internal_has_packet_index();
1228}
1229inline void StormAirDescentData::clear_packet_index() {
1230 _impl_.packet_index_ = 0u;
1231 _impl_._has_bits_[0] &= ~0x00000001u;
1232}
1233inline uint32_t StormAirDescentData::_internal_packet_index() const {
1234 return _impl_.packet_index_;
1235}
1236inline uint32_t StormAirDescentData::packet_index() const {
1237 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormAirDescentData.packet_index)
1238 return _internal_packet_index();
1239}
1240inline void StormAirDescentData::_internal_set_packet_index(uint32_t value) {
1241 _impl_._has_bits_[0] |= 0x00000001u;
1242 _impl_.packet_index_ = value;
1243}
1244inline void StormAirDescentData::set_packet_index(uint32_t value) {
1245 _internal_set_packet_index(value);
1246 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormAirDescentData.packet_index)
1247}
1248
1249// repeated .jaiabot.protobuf.StormAirDescentData.Sample sample = 2 [(.nanopb) = {
1250inline int StormAirDescentData::_internal_sample_size() const {
1251 return _impl_.sample_.size();
1252}
1253inline int StormAirDescentData::sample_size() const {
1254 return _internal_sample_size();
1255}
1256inline void StormAirDescentData::clear_sample() {
1257 _impl_.sample_.Clear();
1258}
1259inline ::jaiabot::protobuf::StormAirDescentData_Sample* StormAirDescentData::mutable_sample(int index) {
1260 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.StormAirDescentData.sample)
1261 return _impl_.sample_.Mutable(index);
1262}
1263inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::StormAirDescentData_Sample >*
1264StormAirDescentData::mutable_sample() {
1265 // @@protoc_insertion_point(field_mutable_list:jaiabot.protobuf.StormAirDescentData.sample)
1266 return &_impl_.sample_;
1267}
1268inline const ::jaiabot::protobuf::StormAirDescentData_Sample& StormAirDescentData::_internal_sample(int index) const {
1269 return _impl_.sample_.Get(index);
1270}
1271inline const ::jaiabot::protobuf::StormAirDescentData_Sample& StormAirDescentData::sample(int index) const {
1272 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormAirDescentData.sample)
1273 return _internal_sample(index);
1274}
1275inline ::jaiabot::protobuf::StormAirDescentData_Sample* StormAirDescentData::_internal_add_sample() {
1276 return _impl_.sample_.Add();
1277}
1278inline ::jaiabot::protobuf::StormAirDescentData_Sample* StormAirDescentData::add_sample() {
1279 ::jaiabot::protobuf::StormAirDescentData_Sample* _add = _internal_add_sample();
1280 // @@protoc_insertion_point(field_add:jaiabot.protobuf.StormAirDescentData.sample)
1281 return _add;
1282}
1283inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::StormAirDescentData_Sample >&
1284StormAirDescentData::sample() const {
1285 // @@protoc_insertion_point(field_list:jaiabot.protobuf.StormAirDescentData.sample)
1286 return _impl_.sample_;
1287}
1288
1289// -------------------------------------------------------------------
1290
1291// StormMCURequest
1292
1293// required .jaiabot.protobuf.StormMCURequest.Type type = 1;
1294inline bool StormMCURequest::_internal_has_type() const {
1295 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1296 return value;
1297}
1298inline bool StormMCURequest::has_type() const {
1299 return _internal_has_type();
1300}
1301inline void StormMCURequest::clear_type() {
1302 _impl_.type_ = 1;
1303 _impl_._has_bits_[0] &= ~0x00000004u;
1304}
1305inline ::jaiabot::protobuf::StormMCURequest_Type StormMCURequest::_internal_type() const {
1306 return static_cast< ::jaiabot::protobuf::StormMCURequest_Type >(_impl_.type_);
1307}
1308inline ::jaiabot::protobuf::StormMCURequest_Type StormMCURequest::type() const {
1309 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormMCURequest.type)
1310 return _internal_type();
1311}
1312inline void StormMCURequest::_internal_set_type(::jaiabot::protobuf::StormMCURequest_Type value) {
1314 _impl_._has_bits_[0] |= 0x00000004u;
1315 _impl_.type_ = value;
1316}
1317inline void StormMCURequest::set_type(::jaiabot::protobuf::StormMCURequest_Type value) {
1318 _internal_set_type(value);
1319 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormMCURequest.type)
1320}
1321
1322// optional int32 packet_index = 2;
1323inline bool StormMCURequest::_internal_has_packet_index() const {
1324 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1325 return value;
1326}
1327inline bool StormMCURequest::has_packet_index() const {
1328 return _internal_has_packet_index();
1329}
1330inline void StormMCURequest::clear_packet_index() {
1331 _impl_.packet_index_ = 0;
1332 _impl_._has_bits_[0] &= ~0x00000001u;
1333}
1334inline int32_t StormMCURequest::_internal_packet_index() const {
1335 return _impl_.packet_index_;
1336}
1337inline int32_t StormMCURequest::packet_index() const {
1338 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormMCURequest.packet_index)
1339 return _internal_packet_index();
1340}
1341inline void StormMCURequest::_internal_set_packet_index(int32_t value) {
1342 _impl_._has_bits_[0] |= 0x00000001u;
1343 _impl_.packet_index_ = value;
1344}
1345inline void StormMCURequest::set_packet_index(int32_t value) {
1346 _internal_set_packet_index(value);
1347 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormMCURequest.packet_index)
1348}
1349
1350// optional int32 sleep_for_minutes = 3 [(.dccl.field) = {
1351inline bool StormMCURequest::_internal_has_sleep_for_minutes() const {
1352 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1353 return value;
1354}
1355inline bool StormMCURequest::has_sleep_for_minutes() const {
1356 return _internal_has_sleep_for_minutes();
1357}
1358inline void StormMCURequest::clear_sleep_for_minutes() {
1359 _impl_.sleep_for_minutes_ = 0;
1360 _impl_._has_bits_[0] &= ~0x00000002u;
1361}
1362inline int32_t StormMCURequest::_internal_sleep_for_minutes() const {
1363 return _impl_.sleep_for_minutes_;
1364}
1365inline int32_t StormMCURequest::sleep_for_minutes() const {
1366 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormMCURequest.sleep_for_minutes)
1367 return _internal_sleep_for_minutes();
1368}
1369inline void StormMCURequest::_internal_set_sleep_for_minutes(int32_t value) {
1370 _impl_._has_bits_[0] |= 0x00000002u;
1371 _impl_.sleep_for_minutes_ = value;
1372}
1373inline void StormMCURequest::set_sleep_for_minutes(int32_t value) {
1374 _internal_set_sleep_for_minutes(value);
1375 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormMCURequest.sleep_for_minutes)
1376}
1377
1378// -------------------------------------------------------------------
1379
1380// StormAirDescentMetadata
1381
1382// required uint64 start_time = 1 [(.dccl.field) = {
1383inline bool StormAirDescentMetadata::_internal_has_start_time() const {
1384 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1385 return value;
1386}
1387inline bool StormAirDescentMetadata::has_start_time() const {
1388 return _internal_has_start_time();
1389}
1390inline void StormAirDescentMetadata::clear_start_time() {
1391 _impl_.start_time_ = uint64_t{0u};
1392 _impl_._has_bits_[0] &= ~0x00000001u;
1393}
1394inline uint64_t StormAirDescentMetadata::_internal_start_time() const {
1395 return _impl_.start_time_;
1396}
1397inline uint64_t StormAirDescentMetadata::start_time() const {
1398 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormAirDescentMetadata.start_time)
1399 return _internal_start_time();
1400}
1401inline void StormAirDescentMetadata::_internal_set_start_time(uint64_t value) {
1402 _impl_._has_bits_[0] |= 0x00000001u;
1403 _impl_.start_time_ = value;
1404}
1405inline void StormAirDescentMetadata::set_start_time(uint64_t value) {
1406 _internal_set_start_time(value);
1407 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormAirDescentMetadata.start_time)
1408}
1409
1410// required uint64 end_time = 2 [(.dccl.field) = {
1411inline bool StormAirDescentMetadata::_internal_has_end_time() const {
1412 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1413 return value;
1414}
1415inline bool StormAirDescentMetadata::has_end_time() const {
1416 return _internal_has_end_time();
1417}
1418inline void StormAirDescentMetadata::clear_end_time() {
1419 _impl_.end_time_ = uint64_t{0u};
1420 _impl_._has_bits_[0] &= ~0x00000002u;
1421}
1422inline uint64_t StormAirDescentMetadata::_internal_end_time() const {
1423 return _impl_.end_time_;
1424}
1425inline uint64_t StormAirDescentMetadata::end_time() const {
1426 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormAirDescentMetadata.end_time)
1427 return _internal_end_time();
1428}
1429inline void StormAirDescentMetadata::_internal_set_end_time(uint64_t value) {
1430 _impl_._has_bits_[0] |= 0x00000002u;
1431 _impl_.end_time_ = value;
1432}
1433inline void StormAirDescentMetadata::set_end_time(uint64_t value) {
1434 _internal_set_end_time(value);
1435 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormAirDescentMetadata.end_time)
1436}
1437
1438// required float sample_rate = 3 [(.dccl.field) = {
1439inline bool StormAirDescentMetadata::_internal_has_sample_rate() const {
1440 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1441 return value;
1442}
1443inline bool StormAirDescentMetadata::has_sample_rate() const {
1444 return _internal_has_sample_rate();
1445}
1446inline void StormAirDescentMetadata::clear_sample_rate() {
1447 _impl_.sample_rate_ = 0;
1448 _impl_._has_bits_[0] &= ~0x00000004u;
1449}
1450inline float StormAirDescentMetadata::_internal_sample_rate() const {
1451 return _impl_.sample_rate_;
1452}
1453inline float StormAirDescentMetadata::sample_rate() const {
1454 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormAirDescentMetadata.sample_rate)
1455 return _internal_sample_rate();
1456}
1457inline void StormAirDescentMetadata::_internal_set_sample_rate(float value) {
1458 _impl_._has_bits_[0] |= 0x00000004u;
1459 _impl_.sample_rate_ = value;
1460}
1461inline void StormAirDescentMetadata::set_sample_rate(float value) {
1462 _internal_set_sample_rate(value);
1463 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormAirDescentMetadata.sample_rate)
1464}
1465
1466// required uint32 num_packets = 4 [(.dccl.field) = {
1467inline bool StormAirDescentMetadata::_internal_has_num_packets() const {
1468 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1469 return value;
1470}
1471inline bool StormAirDescentMetadata::has_num_packets() const {
1472 return _internal_has_num_packets();
1473}
1474inline void StormAirDescentMetadata::clear_num_packets() {
1475 _impl_.num_packets_ = 0u;
1476 _impl_._has_bits_[0] &= ~0x00000008u;
1477}
1478inline uint32_t StormAirDescentMetadata::_internal_num_packets() const {
1479 return _impl_.num_packets_;
1480}
1481inline uint32_t StormAirDescentMetadata::num_packets() const {
1482 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormAirDescentMetadata.num_packets)
1483 return _internal_num_packets();
1484}
1485inline void StormAirDescentMetadata::_internal_set_num_packets(uint32_t value) {
1486 _impl_._has_bits_[0] |= 0x00000008u;
1487 _impl_.num_packets_ = value;
1488}
1489inline void StormAirDescentMetadata::set_num_packets(uint32_t value) {
1490 _internal_set_num_packets(value);
1491 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormAirDescentMetadata.num_packets)
1492}
1493
1494// -------------------------------------------------------------------
1495
1496// StormMCUResponse
1497
1498// .jaiabot.protobuf.StormAirDescentMetadata air_descent_metadata = 1;
1499inline bool StormMCUResponse::_internal_has_air_descent_metadata() const {
1500 return payload_case() == kAirDescentMetadata;
1501}
1502inline bool StormMCUResponse::has_air_descent_metadata() const {
1503 return _internal_has_air_descent_metadata();
1504}
1505inline void StormMCUResponse::set_has_air_descent_metadata() {
1506 _impl_._oneof_case_[0] = kAirDescentMetadata;
1507}
1508inline void StormMCUResponse::clear_air_descent_metadata() {
1509 if (_internal_has_air_descent_metadata()) {
1510 if (GetArenaForAllocation() == nullptr) {
1511 delete _impl_.payload_.air_descent_metadata_;
1512 }
1513 clear_has_payload();
1514 }
1515}
1516inline ::jaiabot::protobuf::StormAirDescentMetadata* StormMCUResponse::release_air_descent_metadata() {
1517 // @@protoc_insertion_point(field_release:jaiabot.protobuf.StormMCUResponse.air_descent_metadata)
1518 if (_internal_has_air_descent_metadata()) {
1519 clear_has_payload();
1520 ::jaiabot::protobuf::StormAirDescentMetadata* temp = _impl_.payload_.air_descent_metadata_;
1521 if (GetArenaForAllocation() != nullptr) {
1522 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1523 }
1524 _impl_.payload_.air_descent_metadata_ = nullptr;
1525 return temp;
1526 } else {
1527 return nullptr;
1528 }
1529}
1530inline const ::jaiabot::protobuf::StormAirDescentMetadata& StormMCUResponse::_internal_air_descent_metadata() const {
1531 return _internal_has_air_descent_metadata()
1532 ? *_impl_.payload_.air_descent_metadata_
1533 : reinterpret_cast< ::jaiabot::protobuf::StormAirDescentMetadata&>(::jaiabot::protobuf::_StormAirDescentMetadata_default_instance_);
1534}
1535inline const ::jaiabot::protobuf::StormAirDescentMetadata& StormMCUResponse::air_descent_metadata() const {
1536 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormMCUResponse.air_descent_metadata)
1537 return _internal_air_descent_metadata();
1538}
1539inline ::jaiabot::protobuf::StormAirDescentMetadata* StormMCUResponse::unsafe_arena_release_air_descent_metadata() {
1540 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.StormMCUResponse.air_descent_metadata)
1541 if (_internal_has_air_descent_metadata()) {
1542 clear_has_payload();
1543 ::jaiabot::protobuf::StormAirDescentMetadata* temp = _impl_.payload_.air_descent_metadata_;
1544 _impl_.payload_.air_descent_metadata_ = nullptr;
1545 return temp;
1546 } else {
1547 return nullptr;
1548 }
1549}
1550inline void StormMCUResponse::unsafe_arena_set_allocated_air_descent_metadata(::jaiabot::protobuf::StormAirDescentMetadata* air_descent_metadata) {
1551 clear_payload();
1552 if (air_descent_metadata) {
1553 set_has_air_descent_metadata();
1554 _impl_.payload_.air_descent_metadata_ = air_descent_metadata;
1555 }
1556 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.StormMCUResponse.air_descent_metadata)
1557}
1558inline ::jaiabot::protobuf::StormAirDescentMetadata* StormMCUResponse::_internal_mutable_air_descent_metadata() {
1559 if (!_internal_has_air_descent_metadata()) {
1560 clear_payload();
1561 set_has_air_descent_metadata();
1562 _impl_.payload_.air_descent_metadata_ = CreateMaybeMessage< ::jaiabot::protobuf::StormAirDescentMetadata >(GetArenaForAllocation());
1563 }
1564 return _impl_.payload_.air_descent_metadata_;
1565}
1566inline ::jaiabot::protobuf::StormAirDescentMetadata* StormMCUResponse::mutable_air_descent_metadata() {
1567 ::jaiabot::protobuf::StormAirDescentMetadata* _msg = _internal_mutable_air_descent_metadata();
1568 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.StormMCUResponse.air_descent_metadata)
1569 return _msg;
1570}
1571
1572// .jaiabot.protobuf.StormAirDescentData air_descent_data = 2;
1573inline bool StormMCUResponse::_internal_has_air_descent_data() const {
1574 return payload_case() == kAirDescentData;
1575}
1576inline bool StormMCUResponse::has_air_descent_data() const {
1577 return _internal_has_air_descent_data();
1578}
1579inline void StormMCUResponse::set_has_air_descent_data() {
1580 _impl_._oneof_case_[0] = kAirDescentData;
1581}
1582inline void StormMCUResponse::clear_air_descent_data() {
1583 if (_internal_has_air_descent_data()) {
1584 if (GetArenaForAllocation() == nullptr) {
1585 delete _impl_.payload_.air_descent_data_;
1586 }
1587 clear_has_payload();
1588 }
1589}
1590inline ::jaiabot::protobuf::StormAirDescentData* StormMCUResponse::release_air_descent_data() {
1591 // @@protoc_insertion_point(field_release:jaiabot.protobuf.StormMCUResponse.air_descent_data)
1592 if (_internal_has_air_descent_data()) {
1593 clear_has_payload();
1594 ::jaiabot::protobuf::StormAirDescentData* temp = _impl_.payload_.air_descent_data_;
1595 if (GetArenaForAllocation() != nullptr) {
1596 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1597 }
1598 _impl_.payload_.air_descent_data_ = nullptr;
1599 return temp;
1600 } else {
1601 return nullptr;
1602 }
1603}
1604inline const ::jaiabot::protobuf::StormAirDescentData& StormMCUResponse::_internal_air_descent_data() const {
1605 return _internal_has_air_descent_data()
1606 ? *_impl_.payload_.air_descent_data_
1607 : reinterpret_cast< ::jaiabot::protobuf::StormAirDescentData&>(::jaiabot::protobuf::_StormAirDescentData_default_instance_);
1608}
1609inline const ::jaiabot::protobuf::StormAirDescentData& StormMCUResponse::air_descent_data() const {
1610 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormMCUResponse.air_descent_data)
1611 return _internal_air_descent_data();
1612}
1613inline ::jaiabot::protobuf::StormAirDescentData* StormMCUResponse::unsafe_arena_release_air_descent_data() {
1614 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.StormMCUResponse.air_descent_data)
1615 if (_internal_has_air_descent_data()) {
1616 clear_has_payload();
1617 ::jaiabot::protobuf::StormAirDescentData* temp = _impl_.payload_.air_descent_data_;
1618 _impl_.payload_.air_descent_data_ = nullptr;
1619 return temp;
1620 } else {
1621 return nullptr;
1622 }
1623}
1624inline void StormMCUResponse::unsafe_arena_set_allocated_air_descent_data(::jaiabot::protobuf::StormAirDescentData* air_descent_data) {
1625 clear_payload();
1626 if (air_descent_data) {
1627 set_has_air_descent_data();
1628 _impl_.payload_.air_descent_data_ = air_descent_data;
1629 }
1630 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.StormMCUResponse.air_descent_data)
1631}
1632inline ::jaiabot::protobuf::StormAirDescentData* StormMCUResponse::_internal_mutable_air_descent_data() {
1633 if (!_internal_has_air_descent_data()) {
1634 clear_payload();
1635 set_has_air_descent_data();
1636 _impl_.payload_.air_descent_data_ = CreateMaybeMessage< ::jaiabot::protobuf::StormAirDescentData >(GetArenaForAllocation());
1637 }
1638 return _impl_.payload_.air_descent_data_;
1639}
1640inline ::jaiabot::protobuf::StormAirDescentData* StormMCUResponse::mutable_air_descent_data() {
1641 ::jaiabot::protobuf::StormAirDescentData* _msg = _internal_mutable_air_descent_data();
1642 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.StormMCUResponse.air_descent_data)
1643 return _msg;
1644}
1645
1646// bool sleep_initiated = 3 [default = false];
1647inline bool StormMCUResponse::_internal_has_sleep_initiated() const {
1648 return payload_case() == kSleepInitiated;
1649}
1650inline bool StormMCUResponse::has_sleep_initiated() const {
1651 return _internal_has_sleep_initiated();
1652}
1653inline void StormMCUResponse::set_has_sleep_initiated() {
1654 _impl_._oneof_case_[0] = kSleepInitiated;
1655}
1656inline void StormMCUResponse::clear_sleep_initiated() {
1657 if (_internal_has_sleep_initiated()) {
1658 _impl_.payload_.sleep_initiated_ = false;
1659 clear_has_payload();
1660 }
1661}
1662inline bool StormMCUResponse::_internal_sleep_initiated() const {
1663 if (_internal_has_sleep_initiated()) {
1664 return _impl_.payload_.sleep_initiated_;
1665 }
1666 return false;
1667}
1668inline void StormMCUResponse::_internal_set_sleep_initiated(bool value) {
1669 if (!_internal_has_sleep_initiated()) {
1670 clear_payload();
1671 set_has_sleep_initiated();
1672 }
1673 _impl_.payload_.sleep_initiated_ = value;
1674}
1675inline bool StormMCUResponse::sleep_initiated() const {
1676 // @@protoc_insertion_point(field_get:jaiabot.protobuf.StormMCUResponse.sleep_initiated)
1677 return _internal_sleep_initiated();
1678}
1679inline void StormMCUResponse::set_sleep_initiated(bool value) {
1680 _internal_set_sleep_initiated(value);
1681 // @@protoc_insertion_point(field_set:jaiabot.protobuf.StormMCUResponse.sleep_initiated)
1682}
1683
1684inline bool StormMCUResponse::has_payload() const {
1685 return payload_case() != PAYLOAD_NOT_SET;
1686}
1687inline void StormMCUResponse::clear_has_payload() {
1688 _impl_._oneof_case_[0] = PAYLOAD_NOT_SET;
1689}
1690inline StormMCUResponse::PayloadCase StormMCUResponse::payload_case() const {
1691 return StormMCUResponse::PayloadCase(_impl_._oneof_case_[0]);
1692}
1693#ifdef __GNUC__
1694 #pragma GCC diagnostic pop
1695#endif // __GNUC__
1696// -------------------------------------------------------------------
1697
1698// -------------------------------------------------------------------
1699
1700// -------------------------------------------------------------------
1701
1702// -------------------------------------------------------------------
1703
1704
1705// @@protoc_insertion_point(namespace_scope)
1706
1707} // namespace protobuf
1708} // namespace jaiabot
1709
1710PROTOBUF_NAMESPACE_OPEN
1711
1712template <> struct is_proto_enum< ::jaiabot::protobuf::StormMCURequest_Type> : ::std::true_type {};
1713template <>
1715 return ::jaiabot::protobuf::StormMCURequest_Type_descriptor();
1716}
1717
1718PROTOBUF_NAMESPACE_CLOSE
1719
1720// @@protoc_insertion_point(global_scope)
1721
1722#include <google/protobuf/port_undef.inc>
1723#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fstorm_5fmcu_2eproto
void UnsafeArenaSwap(StormAirDescentData_Sample *other)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void CopyFrom(const StormAirDescentData_Sample &from)
void set_temperature_with_units(Quantity value_w_units)
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const StormAirDescentData_Sample * internal_default_instance()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void Swap(StormAirDescentData_Sample *other)
static const StormAirDescentData_Sample & default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
friend void swap(StormAirDescentData_Sample &a, StormAirDescentData_Sample &b)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
boost::units::temperature_dimension temperature_dimension
StormAirDescentData_Sample & operator=(const StormAirDescentData_Sample &from)
StormAirDescentData_Sample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void MergeFrom(const StormAirDescentData_Sample &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
bool StormMCURequest_Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, StormMCURequest_Type *value)
bool StormMCURequest_Type_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * StormMCURequest_Type_descriptor()
StormMCURequestDefaultTypeInternal _StormMCURequest_default_instance_
StormAirDescentMetadataDefaultTypeInternal _StormAirDescentMetadata_default_instance_
const std::string & StormMCURequest_Type_Name(T enum_t_value)
constexpr StormMCURequest_Type StormMCURequest_Type_Type_MAX
constexpr StormMCURequest_Type StormMCURequest_Type_Type_MIN
StormMCUResponseDefaultTypeInternal _StormMCUResponse_default_instance_
StormAirDescentDataDefaultTypeInternal _StormAirDescentData_default_instance_
@ StormMCURequest_Type_SLEEP_REQUEST
@ StormMCURequest_Type_AIR_DESCENT_DATA_REQUEST
@ StormMCURequest_Type_AIR_DESCENT_METADATA_REQUEST
constexpr int StormMCURequest_Type_Type_ARRAYSIZE
StormAirDescentData_SampleDefaultTypeInternal _StormAirDescentData_Sample_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fstorm_5fmcu_2eproto
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::StormMCURequest_Type >()