4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fstorm_5fmcu_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fstorm_5fmcu_2eproto
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
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.
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>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/generated_enum_reflection.h>
33#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>
41#include <boost/units/systems/temperature/celsius.hpp>
43#include <boost/units/systems/si.hpp>
45#include <boost/units/base_units/metric/minute.hpp>
47#include <google/protobuf/port_def.inc>
48#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fstorm_5fmcu_2eproto
49PROTOBUF_NAMESPACE_OPEN
53PROTOBUF_NAMESPACE_CLOSE
57 static const uint32_t
offsets[];
63struct StormAirDescentDataDefaultTypeInternal;
66struct StormAirDescentData_SampleDefaultTypeInternal;
69struct StormAirDescentMetadataDefaultTypeInternal;
72struct StormMCURequestDefaultTypeInternal;
75struct StormMCUResponseDefaultTypeInternal;
79PROTOBUF_NAMESPACE_OPEN
85PROTOBUF_NAMESPACE_CLOSE
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(
110 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<StormMCURequest_Type>(
116 public ::PROTOBUF_NAMESPACE_ID::Message {
125 *
this = ::std::move(from);
133 if (
this == &from)
return *
this;
134 if (GetOwningArena() == from.GetOwningArena()
135 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
136 && GetOwningArena() !=
nullptr
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);
150 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
153 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
156 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
GetDescriptor() {
159 static const ::PROTOBUF_NAMESPACE_ID::Reflection*
GetReflection() {
176 if (other ==
this)
return;
177 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
178 if (GetOwningArena() !=
nullptr &&
179 GetOwningArena() == other->GetOwningArena()) {
181 if (GetOwningArena() == other->GetOwningArena()) {
185 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
189 if (other ==
this)
return;
190 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
197 return CreateMaybeMessage<StormAirDescentData_Sample>(arena);
199 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
201 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
203 StormAirDescentData_Sample::MergeImpl(*
this, from);
206 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
208 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
212 const
char*
_InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
214 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
218 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
220 void SetCachedSize(
int size)
const final;
224 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
225 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
226 return "jaiabot.protobuf.StormAirDescentData.Sample";
230 bool is_message_owned =
false);
234 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
236 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
248 bool _internal_has_temperature()
const;
254 float _internal_temperature()
const;
255 void _internal_set_temperature(
float value);
260 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> >
temperature_unit;
262 template<
typename Quantity >
264 {
set_temperature(boost::units::quantity<temperature_unit,float >(value_w_units).value() ); };
266 template<
typename Quantity >
277 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
278 typedef void InternalArenaConstructable_;
279 typedef void DestructorSkippable_;
281 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
282 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
286 friend struct ::TableStruct_jaiabot_2fmessages_2fstorm_5fmcu_2eproto;
290class StormAirDescentData final :
291 public ::PROTOBUF_NAMESPACE_ID::Message {
293 inline StormAirDescentData() : StormAirDescentData(nullptr) {}
294 ~StormAirDescentData()
override;
295 explicit PROTOBUF_CONSTEXPR StormAirDescentData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
297 StormAirDescentData(
const StormAirDescentData& from);
298 StormAirDescentData(StormAirDescentData&& from) noexcept
299 : StormAirDescentData() {
300 *
this = ::std::move(from);
303 inline StormAirDescentData& operator=(
const StormAirDescentData& from) {
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
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);
324 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
325 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
328 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
329 return GetDescriptor();
331 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
332 return default_instance().GetMetadata().descriptor;
334 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
335 return default_instance().GetMetadata().reflection;
337 static const StormAirDescentData& default_instance() {
338 return *internal_default_instance();
340 static inline const StormAirDescentData* internal_default_instance() {
341 return reinterpret_cast<const StormAirDescentData*
>(
344 static constexpr int kIndexInFileMessages =
347 friend void swap(StormAirDescentData& a, StormAirDescentData& b) {
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()) {
356 if (GetOwningArena() == other->GetOwningArena()) {
360 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
363 void UnsafeArenaSwap(StormAirDescentData* other) {
364 if (other ==
this)
return;
365 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
371 StormAirDescentData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
372 return CreateMaybeMessage<StormAirDescentData>(arena);
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);
381 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
383 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
384 bool IsInitialized() const final;
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(); }
393 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
395 void SetCachedSize(
int size)
const final;
396 void InternalSwap(StormAirDescentData* other);
399 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
400 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
401 return "jaiabot.protobuf.StormAirDescentData";
404 explicit StormAirDescentData(::PROTOBUF_NAMESPACE_ID::Arena* arena,
405 bool is_message_owned =
false);
408 static const ClassData _class_data_;
409 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
411 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
415 typedef StormAirDescentData_Sample Sample;
420 kSampleFieldNumber = 2,
421 kPacketIndexFieldNumber = 1,
424 int sample_size()
const;
426 int _internal_sample_size()
const;
429 ::jaiabot::protobuf::StormAirDescentData_Sample* mutable_sample(
int index);
430 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::StormAirDescentData_Sample >*
433 const ::jaiabot::protobuf::StormAirDescentData_Sample& _internal_sample(
int index)
const;
434 ::jaiabot::protobuf::StormAirDescentData_Sample* _internal_add_sample();
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 >&
442 bool has_packet_index()
const;
444 bool _internal_has_packet_index()
const;
446 void clear_packet_index();
447 uint32_t packet_index()
const;
448 void set_packet_index(uint32_t value);
450 uint32_t _internal_packet_index()
const;
451 void _internal_set_packet_index(uint32_t value);
458 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
459 typedef void InternalArenaConstructable_;
460 typedef void DestructorSkippable_;
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_;
467 union { Impl_ _impl_; };
468 friend struct ::TableStruct_jaiabot_2fmessages_2fstorm_5fmcu_2eproto;
472class StormMCURequest final :
473 public ::PROTOBUF_NAMESPACE_ID::Message {
475 inline StormMCURequest() : StormMCURequest(nullptr) {}
476 ~StormMCURequest()
override;
477 explicit PROTOBUF_CONSTEXPR StormMCURequest(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
479 StormMCURequest(
const StormMCURequest& from);
480 StormMCURequest(StormMCURequest&& from) noexcept
481 : StormMCURequest() {
482 *
this = ::std::move(from);
485 inline StormMCURequest& operator=(
const StormMCURequest& from) {
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
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);
506 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
507 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
510 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
511 return GetDescriptor();
513 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
514 return default_instance().GetMetadata().descriptor;
516 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
517 return default_instance().GetMetadata().reflection;
519 static const StormMCURequest& default_instance() {
520 return *internal_default_instance();
522 static inline const StormMCURequest* internal_default_instance() {
523 return reinterpret_cast<const StormMCURequest*
>(
526 static constexpr int kIndexInFileMessages =
529 friend void swap(StormMCURequest& a, StormMCURequest& b) {
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()) {
538 if (GetOwningArena() == other->GetOwningArena()) {
542 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
545 void UnsafeArenaSwap(StormMCURequest* other) {
546 if (other ==
this)
return;
547 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
553 StormMCURequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
554 return CreateMaybeMessage<StormMCURequest>(arena);
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);
563 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
565 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
566 bool IsInitialized() const final;
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(); }
575 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
577 void SetCachedSize(
int size)
const final;
578 void InternalSwap(StormMCURequest* other);
581 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
582 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
583 return "jaiabot.protobuf.StormMCURequest";
586 explicit StormMCURequest(::PROTOBUF_NAMESPACE_ID::Arena* arena,
587 bool is_message_owned =
false);
590 static const ClassData _class_data_;
591 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
593 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
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) {
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*
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.");
624 static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
632 kPacketIndexFieldNumber = 2,
633 kSleepForMinutesFieldNumber = 3,
634 kTypeFieldNumber = 1,
637 bool has_packet_index()
const;
639 bool _internal_has_packet_index()
const;
641 void clear_packet_index();
642 int32_t packet_index()
const;
643 void set_packet_index(int32_t value);
645 int32_t _internal_packet_index()
const;
646 void _internal_set_packet_index(int32_t value);
650 bool has_sleep_for_minutes()
const;
652 bool _internal_has_sleep_for_minutes()
const;
654 void clear_sleep_for_minutes();
655 int32_t sleep_for_minutes()
const;
656 void set_sleep_for_minutes(int32_t value);
658 int32_t _internal_sleep_for_minutes()
const;
659 void _internal_set_sleep_for_minutes(int32_t value);
663 bool has_type()
const;
665 bool _internal_has_type()
const;
675 typedef boost::units::metric::minute_base_unit::unit_type sleep_for_minutes_unit;
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() ); };
681 template<
typename Quantity >
682 Quantity sleep_for_minutes_with_units()
const
683 {
return Quantity(sleep_for_minutes() * sleep_for_minutes_unit()); };
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 > >(); };
692 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
693 typedef void InternalArenaConstructable_;
694 typedef void DestructorSkippable_;
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_;
702 union { Impl_ _impl_; };
703 friend struct ::TableStruct_jaiabot_2fmessages_2fstorm_5fmcu_2eproto;
707class StormAirDescentMetadata final :
708 public ::PROTOBUF_NAMESPACE_ID::Message {
710 inline StormAirDescentMetadata() : StormAirDescentMetadata(nullptr) {}
711 ~StormAirDescentMetadata()
override;
712 explicit PROTOBUF_CONSTEXPR StormAirDescentMetadata(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
714 StormAirDescentMetadata(
const StormAirDescentMetadata& from);
715 StormAirDescentMetadata(StormAirDescentMetadata&& from) noexcept
716 : StormAirDescentMetadata() {
717 *
this = ::std::move(from);
720 inline StormAirDescentMetadata& operator=(
const StormAirDescentMetadata& from) {
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
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);
741 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
742 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
745 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
746 return GetDescriptor();
748 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
749 return default_instance().GetMetadata().descriptor;
751 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
752 return default_instance().GetMetadata().reflection;
754 static const StormAirDescentMetadata& default_instance() {
755 return *internal_default_instance();
757 static inline const StormAirDescentMetadata* internal_default_instance() {
758 return reinterpret_cast<const StormAirDescentMetadata*
>(
761 static constexpr int kIndexInFileMessages =
764 friend void swap(StormAirDescentMetadata& a, StormAirDescentMetadata& b) {
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()) {
773 if (GetOwningArena() == other->GetOwningArena()) {
777 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
780 void UnsafeArenaSwap(StormAirDescentMetadata* other) {
781 if (other ==
this)
return;
782 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
788 StormAirDescentMetadata* New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
789 return CreateMaybeMessage<StormAirDescentMetadata>(arena);
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);
798 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
800 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
801 bool IsInitialized() const final;
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(); }
810 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
812 void SetCachedSize(
int size)
const final;
813 void InternalSwap(StormAirDescentMetadata* other);
816 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
817 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
818 return "jaiabot.protobuf.StormAirDescentMetadata";
821 explicit StormAirDescentMetadata(::PROTOBUF_NAMESPACE_ID::Arena* arena,
822 bool is_message_owned =
false);
825 static const ClassData _class_data_;
826 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
828 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
835 kStartTimeFieldNumber = 1,
836 kEndTimeFieldNumber = 2,
837 kSampleRateFieldNumber = 3,
838 kNumPacketsFieldNumber = 4,
841 bool has_start_time()
const;
843 bool _internal_has_start_time()
const;
845 void clear_start_time();
846 uint64_t start_time()
const;
847 void set_start_time(uint64_t value);
849 uint64_t _internal_start_time()
const;
850 void _internal_set_start_time(uint64_t value);
854 bool has_end_time()
const;
856 bool _internal_has_end_time()
const;
858 void clear_end_time();
859 uint64_t end_time()
const;
860 void set_end_time(uint64_t value);
862 uint64_t _internal_end_time()
const;
863 void _internal_set_end_time(uint64_t value);
867 bool has_sample_rate()
const;
869 bool _internal_has_sample_rate()
const;
871 void clear_sample_rate();
872 float sample_rate()
const;
873 void set_sample_rate(
float value);
875 float _internal_sample_rate()
const;
876 void _internal_set_sample_rate(
float value);
880 bool has_num_packets()
const;
882 bool _internal_has_num_packets()
const;
884 void clear_num_packets();
885 uint32_t num_packets()
const;
886 void set_num_packets(uint32_t value);
888 uint32_t _internal_num_packets()
const;
889 void _internal_set_num_packets(uint32_t value);
892 typedef boost::units::time_dimension start_time_dimension;
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;
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() ); };
900 template<
typename Quantity >
901 Quantity start_time_with_units()
const
902 {
return Quantity(start_time() * start_time_unit()); };
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 > >(); };
907 typedef boost::units::time_dimension end_time_dimension;
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;
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() ); };
915 template<
typename Quantity >
916 Quantity end_time_with_units()
const
917 {
return Quantity(end_time() * end_time_unit()); };
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 > >(); };
922 typedef boost::units::frequency_dimension sample_rate_dimension;
924 typedef boost::units::unit<sample_rate_dimension,boost::units::si::system> sample_rate_unit;
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() ); };
930 template<
typename Quantity >
931 Quantity sample_rate_with_units()
const
932 {
return Quantity(sample_rate() * sample_rate_unit()); };
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 > >(); };
942 size_t RequiredFieldsByteSizeFallback()
const;
944 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
945 typedef void InternalArenaConstructable_;
946 typedef void DestructorSkippable_;
948 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
949 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
950 uint64_t start_time_;
953 uint32_t num_packets_;
955 union { Impl_ _impl_; };
956 friend struct ::TableStruct_jaiabot_2fmessages_2fstorm_5fmcu_2eproto;
960class StormMCUResponse final :
961 public ::PROTOBUF_NAMESPACE_ID::Message {
963 inline StormMCUResponse() : StormMCUResponse(nullptr) {}
964 ~StormMCUResponse()
override;
965 explicit PROTOBUF_CONSTEXPR StormMCUResponse(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
967 StormMCUResponse(
const StormMCUResponse& from);
968 StormMCUResponse(StormMCUResponse&& from) noexcept
969 : StormMCUResponse() {
970 *
this = ::std::move(from);
973 inline StormMCUResponse& operator=(
const StormMCUResponse& from) {
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
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);
994 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
995 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
998 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
999 return GetDescriptor();
1001 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1002 return default_instance().GetMetadata().descriptor;
1004 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1005 return default_instance().GetMetadata().reflection;
1007 static const StormMCUResponse& default_instance() {
1008 return *internal_default_instance();
1011 kAirDescentMetadata = 1,
1012 kAirDescentData = 2,
1013 kSleepInitiated = 3,
1014 PAYLOAD_NOT_SET = 0,
1017 static inline const StormMCUResponse* internal_default_instance() {
1018 return reinterpret_cast<const StormMCUResponse*
>(
1021 static constexpr int kIndexInFileMessages =
1024 friend void swap(StormMCUResponse& a, StormMCUResponse& b) {
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()) {
1033 if (GetOwningArena() == other->GetOwningArena()) {
1035 InternalSwap(other);
1037 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1040 void UnsafeArenaSwap(StormMCUResponse* other) {
1041 if (other ==
this)
return;
1042 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1043 InternalSwap(other);
1048 StormMCUResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
1049 return CreateMaybeMessage<StormMCUResponse>(arena);
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);
1058 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1060 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1061 bool IsInitialized() const final;
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(); }
1070 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
1072 void SetCachedSize(
int size)
const final;
1073 void InternalSwap(StormMCUResponse* other);
1076 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1077 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1078 return "jaiabot.protobuf.StormMCUResponse";
1081 explicit StormMCUResponse(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1082 bool is_message_owned =
false);
1085 static const ClassData _class_data_;
1086 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1088 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1095 kAirDescentMetadataFieldNumber = 1,
1096 kAirDescentDataFieldNumber = 2,
1097 kSleepInitiatedFieldNumber = 3,
1100 bool has_air_descent_metadata()
const;
1102 bool _internal_has_air_descent_metadata()
const;
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);
1110 const ::jaiabot::protobuf::StormAirDescentMetadata& _internal_air_descent_metadata()
const;
1111 ::jaiabot::protobuf::StormAirDescentMetadata* _internal_mutable_air_descent_metadata();
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();
1118 bool has_air_descent_data()
const;
1120 bool _internal_has_air_descent_data()
const;
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);
1128 const ::jaiabot::protobuf::StormAirDescentData& _internal_air_descent_data()
const;
1129 ::jaiabot::protobuf::StormAirDescentData* _internal_mutable_air_descent_data();
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();
1136 bool has_sleep_initiated()
const;
1138 bool _internal_has_sleep_initiated()
const;
1140 void clear_sleep_initiated();
1141 bool sleep_initiated()
const;
1142 void set_sleep_initiated(
bool value);
1144 bool _internal_sleep_initiated()
const;
1145 void _internal_set_sleep_initiated(
bool value);
1148 void clear_payload();
1149 PayloadCase payload_case()
const;
1153 void set_has_air_descent_metadata();
1154 void set_has_air_descent_data();
1155 void set_has_sleep_initiated();
1157 inline bool has_payload()
const;
1158 inline void clear_has_payload();
1160 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1161 typedef void InternalArenaConstructable_;
1162 typedef void DestructorSkippable_;
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_;
1171 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1172 uint32_t _oneof_case_[1];
1175 union { Impl_ _impl_; };
1176 friend struct ::TableStruct_jaiabot_2fmessages_2fstorm_5fmcu_2eproto;
1184 #pragma GCC diagnostic push
1185 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1190inline bool StormAirDescentData_Sample::_internal_has_temperature()
const {
1191 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1194inline bool StormAirDescentData_Sample::has_temperature()
const {
1195 return _internal_has_temperature();
1197inline void StormAirDescentData_Sample::clear_temperature() {
1198 _impl_.temperature_ = 0;
1199 _impl_._has_bits_[0] &= ~0x00000001u;
1201inline float StormAirDescentData_Sample::_internal_temperature()
const {
1202 return _impl_.temperature_;
1204inline float StormAirDescentData_Sample::temperature()
const {
1206 return _internal_temperature();
1208inline void StormAirDescentData_Sample::_internal_set_temperature(
float value) {
1209 _impl_._has_bits_[0] |= 0x00000001u;
1210 _impl_.temperature_ = value;
1212inline void StormAirDescentData_Sample::set_temperature(
float value) {
1213 _internal_set_temperature(value);
1222inline bool StormAirDescentData::_internal_has_packet_index()
const {
1223 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1226inline bool StormAirDescentData::has_packet_index()
const {
1227 return _internal_has_packet_index();
1229inline void StormAirDescentData::clear_packet_index() {
1230 _impl_.packet_index_ = 0u;
1231 _impl_._has_bits_[0] &= ~0x00000001u;
1233inline uint32_t StormAirDescentData::_internal_packet_index()
const {
1234 return _impl_.packet_index_;
1236inline uint32_t StormAirDescentData::packet_index()
const {
1238 return _internal_packet_index();
1240inline void StormAirDescentData::_internal_set_packet_index(uint32_t value) {
1241 _impl_._has_bits_[0] |= 0x00000001u;
1242 _impl_.packet_index_ = value;
1244inline void StormAirDescentData::set_packet_index(uint32_t value) {
1245 _internal_set_packet_index(value);
1250inline int StormAirDescentData::_internal_sample_size()
const {
1251 return _impl_.sample_.size();
1253inline int StormAirDescentData::sample_size()
const {
1254 return _internal_sample_size();
1256inline void StormAirDescentData::clear_sample() {
1257 _impl_.sample_.Clear();
1259inline ::jaiabot::protobuf::StormAirDescentData_Sample* StormAirDescentData::mutable_sample(
int index) {
1261 return _impl_.sample_.Mutable(index);
1263inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::StormAirDescentData_Sample >*
1264StormAirDescentData::mutable_sample() {
1266 return &_impl_.sample_;
1268inline const ::jaiabot::protobuf::StormAirDescentData_Sample& StormAirDescentData::_internal_sample(
int index)
const {
1269 return _impl_.sample_.Get(index);
1271inline const ::jaiabot::protobuf::StormAirDescentData_Sample& StormAirDescentData::sample(
int index)
const {
1273 return _internal_sample(index);
1275inline ::jaiabot::protobuf::StormAirDescentData_Sample* StormAirDescentData::_internal_add_sample() {
1276 return _impl_.sample_.Add();
1278inline ::jaiabot::protobuf::StormAirDescentData_Sample* StormAirDescentData::add_sample() {
1279 ::jaiabot::protobuf::StormAirDescentData_Sample* _add = _internal_add_sample();
1283inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::protobuf::StormAirDescentData_Sample >&
1284StormAirDescentData::sample()
const {
1286 return _impl_.sample_;
1294inline bool StormMCURequest::_internal_has_type()
const {
1295 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1298inline bool StormMCURequest::has_type()
const {
1299 return _internal_has_type();
1301inline void StormMCURequest::clear_type() {
1303 _impl_._has_bits_[0] &= ~0x00000004u;
1305inline ::jaiabot::protobuf::StormMCURequest_Type StormMCURequest::_internal_type()
const {
1308inline ::jaiabot::protobuf::StormMCURequest_Type StormMCURequest::type()
const {
1310 return _internal_type();
1314 _impl_._has_bits_[0] |= 0x00000004u;
1315 _impl_.type_ = value;
1318 _internal_set_type(value);
1323inline bool StormMCURequest::_internal_has_packet_index()
const {
1324 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1327inline bool StormMCURequest::has_packet_index()
const {
1328 return _internal_has_packet_index();
1330inline void StormMCURequest::clear_packet_index() {
1331 _impl_.packet_index_ = 0;
1332 _impl_._has_bits_[0] &= ~0x00000001u;
1334inline int32_t StormMCURequest::_internal_packet_index()
const {
1335 return _impl_.packet_index_;
1337inline int32_t StormMCURequest::packet_index()
const {
1339 return _internal_packet_index();
1341inline void StormMCURequest::_internal_set_packet_index(int32_t value) {
1342 _impl_._has_bits_[0] |= 0x00000001u;
1343 _impl_.packet_index_ = value;
1345inline void StormMCURequest::set_packet_index(int32_t value) {
1346 _internal_set_packet_index(value);
1351inline bool StormMCURequest::_internal_has_sleep_for_minutes()
const {
1352 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1355inline bool StormMCURequest::has_sleep_for_minutes()
const {
1356 return _internal_has_sleep_for_minutes();
1358inline void StormMCURequest::clear_sleep_for_minutes() {
1359 _impl_.sleep_for_minutes_ = 0;
1360 _impl_._has_bits_[0] &= ~0x00000002u;
1362inline int32_t StormMCURequest::_internal_sleep_for_minutes()
const {
1363 return _impl_.sleep_for_minutes_;
1365inline int32_t StormMCURequest::sleep_for_minutes()
const {
1367 return _internal_sleep_for_minutes();
1369inline void StormMCURequest::_internal_set_sleep_for_minutes(int32_t value) {
1370 _impl_._has_bits_[0] |= 0x00000002u;
1371 _impl_.sleep_for_minutes_ = value;
1373inline void StormMCURequest::set_sleep_for_minutes(int32_t value) {
1374 _internal_set_sleep_for_minutes(value);
1383inline bool StormAirDescentMetadata::_internal_has_start_time()
const {
1384 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1387inline bool StormAirDescentMetadata::has_start_time()
const {
1388 return _internal_has_start_time();
1390inline void StormAirDescentMetadata::clear_start_time() {
1391 _impl_.start_time_ = uint64_t{0u};
1392 _impl_._has_bits_[0] &= ~0x00000001u;
1394inline uint64_t StormAirDescentMetadata::_internal_start_time()
const {
1395 return _impl_.start_time_;
1397inline uint64_t StormAirDescentMetadata::start_time()
const {
1399 return _internal_start_time();
1401inline void StormAirDescentMetadata::_internal_set_start_time(uint64_t value) {
1402 _impl_._has_bits_[0] |= 0x00000001u;
1403 _impl_.start_time_ = value;
1405inline void StormAirDescentMetadata::set_start_time(uint64_t value) {
1406 _internal_set_start_time(value);
1411inline bool StormAirDescentMetadata::_internal_has_end_time()
const {
1412 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1415inline bool StormAirDescentMetadata::has_end_time()
const {
1416 return _internal_has_end_time();
1418inline void StormAirDescentMetadata::clear_end_time() {
1419 _impl_.end_time_ = uint64_t{0u};
1420 _impl_._has_bits_[0] &= ~0x00000002u;
1422inline uint64_t StormAirDescentMetadata::_internal_end_time()
const {
1423 return _impl_.end_time_;
1425inline uint64_t StormAirDescentMetadata::end_time()
const {
1427 return _internal_end_time();
1429inline void StormAirDescentMetadata::_internal_set_end_time(uint64_t value) {
1430 _impl_._has_bits_[0] |= 0x00000002u;
1431 _impl_.end_time_ = value;
1433inline void StormAirDescentMetadata::set_end_time(uint64_t value) {
1434 _internal_set_end_time(value);
1439inline bool StormAirDescentMetadata::_internal_has_sample_rate()
const {
1440 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1443inline bool StormAirDescentMetadata::has_sample_rate()
const {
1444 return _internal_has_sample_rate();
1446inline void StormAirDescentMetadata::clear_sample_rate() {
1447 _impl_.sample_rate_ = 0;
1448 _impl_._has_bits_[0] &= ~0x00000004u;
1450inline float StormAirDescentMetadata::_internal_sample_rate()
const {
1451 return _impl_.sample_rate_;
1453inline float StormAirDescentMetadata::sample_rate()
const {
1455 return _internal_sample_rate();
1457inline void StormAirDescentMetadata::_internal_set_sample_rate(
float value) {
1458 _impl_._has_bits_[0] |= 0x00000004u;
1459 _impl_.sample_rate_ = value;
1461inline void StormAirDescentMetadata::set_sample_rate(
float value) {
1462 _internal_set_sample_rate(value);
1467inline bool StormAirDescentMetadata::_internal_has_num_packets()
const {
1468 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1471inline bool StormAirDescentMetadata::has_num_packets()
const {
1472 return _internal_has_num_packets();
1474inline void StormAirDescentMetadata::clear_num_packets() {
1475 _impl_.num_packets_ = 0u;
1476 _impl_._has_bits_[0] &= ~0x00000008u;
1478inline uint32_t StormAirDescentMetadata::_internal_num_packets()
const {
1479 return _impl_.num_packets_;
1481inline uint32_t StormAirDescentMetadata::num_packets()
const {
1483 return _internal_num_packets();
1485inline void StormAirDescentMetadata::_internal_set_num_packets(uint32_t value) {
1486 _impl_._has_bits_[0] |= 0x00000008u;
1487 _impl_.num_packets_ = value;
1489inline void StormAirDescentMetadata::set_num_packets(uint32_t value) {
1490 _internal_set_num_packets(value);
1499inline bool StormMCUResponse::_internal_has_air_descent_metadata()
const {
1500 return payload_case() == kAirDescentMetadata;
1502inline bool StormMCUResponse::has_air_descent_metadata()
const {
1503 return _internal_has_air_descent_metadata();
1505inline void StormMCUResponse::set_has_air_descent_metadata() {
1506 _impl_._oneof_case_[0] = kAirDescentMetadata;
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_;
1513 clear_has_payload();
1516inline ::jaiabot::protobuf::StormAirDescentMetadata* StormMCUResponse::release_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);
1524 _impl_.payload_.air_descent_metadata_ =
nullptr;
1530inline const ::jaiabot::protobuf::StormAirDescentMetadata& StormMCUResponse::_internal_air_descent_metadata()
const {
1531 return _internal_has_air_descent_metadata()
1532 ? *_impl_.payload_.air_descent_metadata_
1535inline const ::jaiabot::protobuf::StormAirDescentMetadata& StormMCUResponse::air_descent_metadata()
const {
1537 return _internal_air_descent_metadata();
1539inline ::jaiabot::protobuf::StormAirDescentMetadata* StormMCUResponse::unsafe_arena_release_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;
1550inline void StormMCUResponse::unsafe_arena_set_allocated_air_descent_metadata(::jaiabot::protobuf::StormAirDescentMetadata* air_descent_metadata) {
1552 if (air_descent_metadata) {
1553 set_has_air_descent_metadata();
1554 _impl_.payload_.air_descent_metadata_ = air_descent_metadata;
1558inline ::jaiabot::protobuf::StormAirDescentMetadata* StormMCUResponse::_internal_mutable_air_descent_metadata() {
1559 if (!_internal_has_air_descent_metadata()) {
1561 set_has_air_descent_metadata();
1562 _impl_.payload_.air_descent_metadata_ = CreateMaybeMessage< ::jaiabot::protobuf::StormAirDescentMetadata >(GetArenaForAllocation());
1564 return _impl_.payload_.air_descent_metadata_;
1566inline ::jaiabot::protobuf::StormAirDescentMetadata* StormMCUResponse::mutable_air_descent_metadata() {
1567 ::jaiabot::protobuf::StormAirDescentMetadata* _msg = _internal_mutable_air_descent_metadata();
1573inline bool StormMCUResponse::_internal_has_air_descent_data()
const {
1574 return payload_case() == kAirDescentData;
1576inline bool StormMCUResponse::has_air_descent_data()
const {
1577 return _internal_has_air_descent_data();
1579inline void StormMCUResponse::set_has_air_descent_data() {
1580 _impl_._oneof_case_[0] = kAirDescentData;
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_;
1587 clear_has_payload();
1590inline ::jaiabot::protobuf::StormAirDescentData* StormMCUResponse::release_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);
1598 _impl_.payload_.air_descent_data_ =
nullptr;
1604inline const ::jaiabot::protobuf::StormAirDescentData& StormMCUResponse::_internal_air_descent_data()
const {
1605 return _internal_has_air_descent_data()
1606 ? *_impl_.payload_.air_descent_data_
1609inline const ::jaiabot::protobuf::StormAirDescentData& StormMCUResponse::air_descent_data()
const {
1611 return _internal_air_descent_data();
1613inline ::jaiabot::protobuf::StormAirDescentData* StormMCUResponse::unsafe_arena_release_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;
1624inline void StormMCUResponse::unsafe_arena_set_allocated_air_descent_data(::jaiabot::protobuf::StormAirDescentData* air_descent_data) {
1626 if (air_descent_data) {
1627 set_has_air_descent_data();
1628 _impl_.payload_.air_descent_data_ = air_descent_data;
1632inline ::jaiabot::protobuf::StormAirDescentData* StormMCUResponse::_internal_mutable_air_descent_data() {
1633 if (!_internal_has_air_descent_data()) {
1635 set_has_air_descent_data();
1636 _impl_.payload_.air_descent_data_ = CreateMaybeMessage< ::jaiabot::protobuf::StormAirDescentData >(GetArenaForAllocation());
1638 return _impl_.payload_.air_descent_data_;
1640inline ::jaiabot::protobuf::StormAirDescentData* StormMCUResponse::mutable_air_descent_data() {
1641 ::jaiabot::protobuf::StormAirDescentData* _msg = _internal_mutable_air_descent_data();
1647inline bool StormMCUResponse::_internal_has_sleep_initiated()
const {
1648 return payload_case() == kSleepInitiated;
1650inline bool StormMCUResponse::has_sleep_initiated()
const {
1651 return _internal_has_sleep_initiated();
1653inline void StormMCUResponse::set_has_sleep_initiated() {
1654 _impl_._oneof_case_[0] = kSleepInitiated;
1656inline void StormMCUResponse::clear_sleep_initiated() {
1657 if (_internal_has_sleep_initiated()) {
1658 _impl_.payload_.sleep_initiated_ =
false;
1659 clear_has_payload();
1662inline bool StormMCUResponse::_internal_sleep_initiated()
const {
1663 if (_internal_has_sleep_initiated()) {
1664 return _impl_.payload_.sleep_initiated_;
1668inline void StormMCUResponse::_internal_set_sleep_initiated(
bool value) {
1669 if (!_internal_has_sleep_initiated()) {
1671 set_has_sleep_initiated();
1673 _impl_.payload_.sleep_initiated_ = value;
1675inline bool StormMCUResponse::sleep_initiated()
const {
1677 return _internal_sleep_initiated();
1679inline void StormMCUResponse::set_sleep_initiated(
bool value) {
1680 _internal_set_sleep_initiated(value);
1684inline bool StormMCUResponse::has_payload()
const {
1685 return payload_case() != PAYLOAD_NOT_SET;
1687inline void StormMCUResponse::clear_has_payload() {
1688 _impl_._oneof_case_[0] = PAYLOAD_NOT_SET;
1690inline StormMCUResponse::PayloadCase StormMCUResponse::payload_case()
const {
1691 return StormMCUResponse::PayloadCase(_impl_._oneof_case_[0]);
1694 #pragma GCC diagnostic pop
1710PROTOBUF_NAMESPACE_OPEN
1715 return ::jaiabot::protobuf::StormMCURequest_Type_descriptor();
1718PROTOBUF_NAMESPACE_CLOSE
1722#include <google/protobuf/port_undef.inc>
size_t ByteSizeLong() const final
void UnsafeArenaSwap(StormAirDescentData_Sample *other)
Quantity temperature_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
int GetCachedSize() const final
void CopyFrom(const StormAirDescentData_Sample &from)
~StormAirDescentData_Sample() override
static constexpr int kIndexInFileMessages
StormAirDescentData_Sample()
void set_temperature_with_units(Quantity value_w_units)
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
bool has_temperature() const
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
@ kTemperatureFieldNumber
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void Swap(StormAirDescentData_Sample *other)
void set_temperature(float value)
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
static const ClassData _class_data_
StormAirDescentData_Sample & operator=(const StormAirDescentData_Sample &from)
bool IsInitialized() const final
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
float temperature() const
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 >()
static const uint32_t offsets[]