4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fpressure_5ftemperature_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fpressure_5ftemperature_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>
35#include <boost/units/quantity.hpp>
36#include <boost/units/absolute.hpp>
37#include <boost/units/dimensionless_type.hpp>
38#include <boost/units/make_scaled_unit.hpp>
40#include <boost/units/systems/temperature/celsius.hpp>
42#include <boost/units/systems/si.hpp>
44#include <boost/units/base_units/metric/bar.hpp>
46#include <google/protobuf/port_def.inc>
47#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fsensor_2fpressure_5ftemperature_2eproto
48PROTOBUF_NAMESPACE_OPEN
52PROTOBUF_NAMESPACE_CLOSE
56 static const uint32_t
offsets[];
61class PressureAdjustedData;
62struct PressureAdjustedDataDefaultTypeInternal;
64class PressureTemperatureData;
65struct PressureTemperatureDataDefaultTypeInternal;
69PROTOBUF_NAMESPACE_OPEN
72PROTOBUF_NAMESPACE_CLOSE
88 static_assert(::std::is_same<T, PressureSensorType>::value ||
89 ::std::is_integral<T>::value,
90 "Incorrect type passed to function PressureSensorType_Name.");
91 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
96 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PressureSensorType>(
101class PressureTemperatureData final :
102 public ::PROTOBUF_NAMESPACE_ID::Message {
111 *
this = ::std::move(from);
119 if (
this == &from)
return *
this;
120 if (GetOwningArena() == from.GetOwningArena()
121 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
122 && GetOwningArena() !=
nullptr
132 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet&
unknown_fields()
const {
133 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
136 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
139 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
142 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
GetDescriptor() {
145 static const ::PROTOBUF_NAMESPACE_ID::Reflection*
GetReflection() {
162 if (other ==
this)
return;
163 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
164 if (GetOwningArena() !=
nullptr &&
165 GetOwningArena() == other->GetOwningArena()) {
167 if (GetOwningArena() == other->GetOwningArena()) {
171 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
175 if (other ==
this)
return;
176 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
183 return CreateMaybeMessage<PressureTemperatureData>(arena);
185 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
187 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
189 PressureTemperatureData::MergeImpl(*
this, from);
192 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
194 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
200 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
204 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
206 void SetCachedSize(
int size)
const final;
210 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
211 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
212 return "jaiabot.protobuf.PressureTemperatureData";
216 bool is_message_owned =
false);
220 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
222 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
236 bool _internal_has_pressure_raw()
const;
242 double _internal_pressure_raw()
const;
243 void _internal_set_pressure_raw(
double value);
249 bool _internal_has_temperature()
const;
255 double _internal_temperature()
const;
256 void _internal_set_temperature(
double value);
262 bool _internal_has_sensor_type()
const;
272 typedef boost::units::make_scaled_unit<boost::units::metric::bar_base_unit::unit_type , boost::units::scale<10, boost::units::static_rational<-1> > >::type
pressure_raw_unit;
274 template<
typename Quantity >
276 {
set_pressure_raw(boost::units::quantity<pressure_raw_unit,double >(value_w_units).value() ); };
278 template<
typename Quantity >
283 {
return pressure_raw_with_units<boost::units::quantity< pressure_raw_unit,double > >(); };
287 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> >
temperature_unit;
289 template<
typename Quantity >
291 {
set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
293 template<
typename Quantity >
298 {
return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
305 size_t RequiredFieldsByteSizeFallback()
const;
307 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
308 typedef void InternalArenaConstructable_;
309 typedef void DestructorSkippable_;
311 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
312 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
313 double pressure_raw_;
318 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fpressure_5ftemperature_2eproto;
322class PressureAdjustedData final :
323 public ::PROTOBUF_NAMESPACE_ID::Message {
325 inline PressureAdjustedData() : PressureAdjustedData(nullptr) {}
326 ~PressureAdjustedData()
override;
327 explicit PROTOBUF_CONSTEXPR PressureAdjustedData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
329 PressureAdjustedData(
const PressureAdjustedData& from);
330 PressureAdjustedData(PressureAdjustedData&& from) noexcept
331 : PressureAdjustedData() {
332 *
this = ::std::move(from);
335 inline PressureAdjustedData& operator=(
const PressureAdjustedData& from) {
339 inline PressureAdjustedData& operator=(PressureAdjustedData&& from)
noexcept {
340 if (
this == &from)
return *
this;
341 if (GetOwningArena() == from.GetOwningArena()
342 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
343 && GetOwningArena() !=
nullptr
353 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields()
const {
354 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
356 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
357 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
360 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
361 return GetDescriptor();
363 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
364 return default_instance().GetMetadata().descriptor;
366 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
367 return default_instance().GetMetadata().reflection;
369 static const PressureAdjustedData& default_instance() {
370 return *internal_default_instance();
372 static inline const PressureAdjustedData* internal_default_instance() {
373 return reinterpret_cast<const PressureAdjustedData*
>(
376 static constexpr int kIndexInFileMessages =
379 friend void swap(PressureAdjustedData& a, PressureAdjustedData& b) {
382 inline void Swap(PressureAdjustedData* other) {
383 if (other ==
this)
return;
384 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
385 if (GetOwningArena() !=
nullptr &&
386 GetOwningArena() == other->GetOwningArena()) {
388 if (GetOwningArena() == other->GetOwningArena()) {
392 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
395 void UnsafeArenaSwap(PressureAdjustedData* other) {
396 if (other ==
this)
return;
397 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
403 PressureAdjustedData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
404 return CreateMaybeMessage<PressureAdjustedData>(arena);
406 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
407 void CopyFrom(
const PressureAdjustedData& from);
408 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
409 void MergeFrom(
const PressureAdjustedData& from) {
410 PressureAdjustedData::MergeImpl(*
this, from);
413 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
415 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
416 bool IsInitialized() const final;
418 size_t ByteSizeLong() const final;
419 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
420 uint8_t* _InternalSerialize(
421 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
422 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
425 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
427 void SetCachedSize(
int size)
const final;
428 void InternalSwap(PressureAdjustedData* other);
431 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
432 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
433 return "jaiabot.protobuf.PressureAdjustedData";
436 explicit PressureAdjustedData(::PROTOBUF_NAMESPACE_ID::Arena* arena,
437 bool is_message_owned =
false);
440 static const ClassData _class_data_;
441 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
443 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
450 kPressureRawFieldNumber = 1,
451 kPressureAdjustedFieldNumber = 2,
452 kPressureRawBeforeDiveFieldNumber = 3,
453 kSensorDepthFieldNumber = 4,
454 kDepthFieldNumber = 5,
457 bool has_pressure_raw()
const;
459 bool _internal_has_pressure_raw()
const;
461 void clear_pressure_raw();
462 double pressure_raw()
const;
463 void set_pressure_raw(
double value);
465 double _internal_pressure_raw()
const;
466 void _internal_set_pressure_raw(
double value);
470 bool has_pressure_adjusted()
const;
472 bool _internal_has_pressure_adjusted()
const;
474 void clear_pressure_adjusted();
476 void set_pressure_adjusted(
double value);
478 double _internal_pressure_adjusted()
const;
479 void _internal_set_pressure_adjusted(
double value);
483 bool has_pressure_raw_before_dive()
const;
485 bool _internal_has_pressure_raw_before_dive()
const;
487 void clear_pressure_raw_before_dive();
488 double pressure_raw_before_dive()
const;
489 void set_pressure_raw_before_dive(
double value);
491 double _internal_pressure_raw_before_dive()
const;
492 void _internal_set_pressure_raw_before_dive(
double value);
496 bool has_sensor_depth()
const;
498 bool _internal_has_sensor_depth()
const;
500 void clear_sensor_depth();
501 double sensor_depth()
const;
502 void set_sensor_depth(
double value);
504 double _internal_sensor_depth()
const;
505 void _internal_set_sensor_depth(
double value);
509 bool has_depth()
const;
511 bool _internal_has_depth()
const;
514 double depth()
const;
515 void set_depth(
double value);
517 double _internal_depth()
const;
518 void _internal_set_depth(
double value);
521 typedef boost::units::make_scaled_unit<boost::units::metric::bar_base_unit::unit_type , boost::units::scale<10, boost::units::static_rational<-1> > >::type pressure_raw_unit;
523 template<
typename Quantity >
524 void set_pressure_raw_with_units(Quantity value_w_units)
525 { set_pressure_raw(boost::units::quantity<pressure_raw_unit,double >(value_w_units).value() ); };
527 template<
typename Quantity >
528 Quantity pressure_raw_with_units()
const
529 {
return Quantity(pressure_raw() * pressure_raw_unit()); };
531 boost::units::quantity< pressure_raw_unit,double > pressure_raw_with_units()
const
532 {
return pressure_raw_with_units<boost::units::quantity< pressure_raw_unit,double > >(); };
534 typedef boost::units::make_scaled_unit<boost::units::metric::bar_base_unit::unit_type , boost::units::scale<10, boost::units::static_rational<-1> > >::type pressure_adjusted_unit;
536 template<
typename Quantity >
537 void set_pressure_adjusted_with_units(Quantity value_w_units)
538 { set_pressure_adjusted(boost::units::quantity<pressure_adjusted_unit,double >(value_w_units).value() ); };
540 template<
typename Quantity >
541 Quantity pressure_adjusted_with_units()
const
544 boost::units::quantity< pressure_adjusted_unit,double > pressure_adjusted_with_units()
const
545 {
return pressure_adjusted_with_units<boost::units::quantity< pressure_adjusted_unit,double > >(); };
547 typedef boost::units::make_scaled_unit<boost::units::metric::bar_base_unit::unit_type , boost::units::scale<10, boost::units::static_rational<-1> > >::type pressure_raw_before_dive_unit;
549 template<
typename Quantity >
550 void set_pressure_raw_before_dive_with_units(Quantity value_w_units)
551 { set_pressure_raw_before_dive(boost::units::quantity<pressure_raw_before_dive_unit,double >(value_w_units).value() ); };
553 template<
typename Quantity >
554 Quantity pressure_raw_before_dive_with_units()
const
555 {
return Quantity(pressure_raw_before_dive() * pressure_raw_before_dive_unit()); };
557 boost::units::quantity< pressure_raw_before_dive_unit,double > pressure_raw_before_dive_with_units()
const
558 {
return pressure_raw_before_dive_with_units<boost::units::quantity< pressure_raw_before_dive_unit,double > >(); };
560 typedef boost::units::length_dimension sensor_depth_dimension;
562 typedef boost::units::unit<sensor_depth_dimension,boost::units::si::system> sensor_depth_unit;
564 template<
typename Quantity >
565 void set_sensor_depth_with_units(Quantity value_w_units)
566 { set_sensor_depth(boost::units::quantity<sensor_depth_unit,double >(value_w_units).value() ); };
568 template<
typename Quantity >
569 Quantity sensor_depth_with_units()
const
570 {
return Quantity(sensor_depth() * sensor_depth_unit()); };
572 boost::units::quantity< sensor_depth_unit,double > sensor_depth_with_units()
const
573 {
return sensor_depth_with_units<boost::units::quantity< sensor_depth_unit,double > >(); };
575 typedef boost::units::length_dimension depth_dimension;
577 typedef boost::units::unit<depth_dimension,boost::units::si::system> depth_unit;
579 template<
typename Quantity >
580 void set_depth_with_units(Quantity value_w_units)
581 { set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
583 template<
typename Quantity >
584 Quantity depth_with_units()
const
585 {
return Quantity(depth() * depth_unit()); };
587 boost::units::quantity< depth_unit,double > depth_with_units()
const
588 {
return depth_with_units<boost::units::quantity< depth_unit,double > >(); };
594 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
595 typedef void InternalArenaConstructable_;
596 typedef void DestructorSkippable_;
598 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
599 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
600 double pressure_raw_;
601 double pressure_adjusted_;
602 double pressure_raw_before_dive_;
603 double sensor_depth_;
606 union { Impl_ _impl_; };
607 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fpressure_5ftemperature_2eproto;
615 #pragma GCC diagnostic push
616 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
621inline bool PressureTemperatureData::_internal_has_pressure_raw()
const {
622 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
625inline bool PressureTemperatureData::has_pressure_raw()
const {
626 return _internal_has_pressure_raw();
628inline void PressureTemperatureData::clear_pressure_raw() {
629 _impl_.pressure_raw_ = 0;
630 _impl_._has_bits_[0] &= ~0x00000001u;
632inline double PressureTemperatureData::_internal_pressure_raw()
const {
633 return _impl_.pressure_raw_;
635inline double PressureTemperatureData::pressure_raw()
const {
637 return _internal_pressure_raw();
639inline void PressureTemperatureData::_internal_set_pressure_raw(
double value) {
640 _impl_._has_bits_[0] |= 0x00000001u;
641 _impl_.pressure_raw_ = value;
643inline void PressureTemperatureData::set_pressure_raw(
double value) {
644 _internal_set_pressure_raw(value);
649inline bool PressureTemperatureData::_internal_has_temperature()
const {
650 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
653inline bool PressureTemperatureData::has_temperature()
const {
654 return _internal_has_temperature();
656inline void PressureTemperatureData::clear_temperature() {
657 _impl_.temperature_ = 0;
658 _impl_._has_bits_[0] &= ~0x00000002u;
660inline double PressureTemperatureData::_internal_temperature()
const {
661 return _impl_.temperature_;
663inline double PressureTemperatureData::temperature()
const {
665 return _internal_temperature();
667inline void PressureTemperatureData::_internal_set_temperature(
double value) {
668 _impl_._has_bits_[0] |= 0x00000002u;
669 _impl_.temperature_ = value;
671inline void PressureTemperatureData::set_temperature(
double value) {
672 _internal_set_temperature(value);
677inline bool PressureTemperatureData::_internal_has_sensor_type()
const {
678 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
681inline bool PressureTemperatureData::has_sensor_type()
const {
682 return _internal_has_sensor_type();
684inline void PressureTemperatureData::clear_sensor_type() {
685 _impl_.sensor_type_ = 1;
686 _impl_._has_bits_[0] &= ~0x00000004u;
688inline ::jaiabot::protobuf::PressureSensorType PressureTemperatureData::_internal_sensor_type()
const {
691inline ::jaiabot::protobuf::PressureSensorType PressureTemperatureData::sensor_type()
const {
693 return _internal_sensor_type();
697 _impl_._has_bits_[0] |= 0x00000004u;
698 _impl_.sensor_type_ = value;
701 _internal_set_sensor_type(value);
710inline bool PressureAdjustedData::_internal_has_pressure_raw()
const {
711 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
714inline bool PressureAdjustedData::has_pressure_raw()
const {
715 return _internal_has_pressure_raw();
717inline void PressureAdjustedData::clear_pressure_raw() {
718 _impl_.pressure_raw_ = 0;
719 _impl_._has_bits_[0] &= ~0x00000001u;
721inline double PressureAdjustedData::_internal_pressure_raw()
const {
722 return _impl_.pressure_raw_;
724inline double PressureAdjustedData::pressure_raw()
const {
726 return _internal_pressure_raw();
728inline void PressureAdjustedData::_internal_set_pressure_raw(
double value) {
729 _impl_._has_bits_[0] |= 0x00000001u;
730 _impl_.pressure_raw_ = value;
732inline void PressureAdjustedData::set_pressure_raw(
double value) {
733 _internal_set_pressure_raw(value);
738inline bool PressureAdjustedData::_internal_has_pressure_adjusted()
const {
739 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
742inline bool PressureAdjustedData::has_pressure_adjusted()
const {
743 return _internal_has_pressure_adjusted();
745inline void PressureAdjustedData::clear_pressure_adjusted() {
746 _impl_.pressure_adjusted_ = 0;
747 _impl_._has_bits_[0] &= ~0x00000002u;
749inline double PressureAdjustedData::_internal_pressure_adjusted()
const {
750 return _impl_.pressure_adjusted_;
752inline double PressureAdjustedData::pressure_adjusted()
const {
754 return _internal_pressure_adjusted();
756inline void PressureAdjustedData::_internal_set_pressure_adjusted(
double value) {
757 _impl_._has_bits_[0] |= 0x00000002u;
758 _impl_.pressure_adjusted_ = value;
760inline void PressureAdjustedData::set_pressure_adjusted(
double value) {
761 _internal_set_pressure_adjusted(value);
766inline bool PressureAdjustedData::_internal_has_pressure_raw_before_dive()
const {
767 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
770inline bool PressureAdjustedData::has_pressure_raw_before_dive()
const {
771 return _internal_has_pressure_raw_before_dive();
773inline void PressureAdjustedData::clear_pressure_raw_before_dive() {
774 _impl_.pressure_raw_before_dive_ = 0;
775 _impl_._has_bits_[0] &= ~0x00000004u;
777inline double PressureAdjustedData::_internal_pressure_raw_before_dive()
const {
778 return _impl_.pressure_raw_before_dive_;
780inline double PressureAdjustedData::pressure_raw_before_dive()
const {
782 return _internal_pressure_raw_before_dive();
784inline void PressureAdjustedData::_internal_set_pressure_raw_before_dive(
double value) {
785 _impl_._has_bits_[0] |= 0x00000004u;
786 _impl_.pressure_raw_before_dive_ = value;
788inline void PressureAdjustedData::set_pressure_raw_before_dive(
double value) {
789 _internal_set_pressure_raw_before_dive(value);
794inline bool PressureAdjustedData::_internal_has_sensor_depth()
const {
795 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
798inline bool PressureAdjustedData::has_sensor_depth()
const {
799 return _internal_has_sensor_depth();
801inline void PressureAdjustedData::clear_sensor_depth() {
802 _impl_.sensor_depth_ = 0;
803 _impl_._has_bits_[0] &= ~0x00000008u;
805inline double PressureAdjustedData::_internal_sensor_depth()
const {
806 return _impl_.sensor_depth_;
808inline double PressureAdjustedData::sensor_depth()
const {
810 return _internal_sensor_depth();
812inline void PressureAdjustedData::_internal_set_sensor_depth(
double value) {
813 _impl_._has_bits_[0] |= 0x00000008u;
814 _impl_.sensor_depth_ = value;
816inline void PressureAdjustedData::set_sensor_depth(
double value) {
817 _internal_set_sensor_depth(value);
822inline bool PressureAdjustedData::_internal_has_depth()
const {
823 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
826inline bool PressureAdjustedData::has_depth()
const {
827 return _internal_has_depth();
829inline void PressureAdjustedData::clear_depth() {
831 _impl_._has_bits_[0] &= ~0x00000010u;
833inline double PressureAdjustedData::_internal_depth()
const {
834 return _impl_.depth_;
836inline double PressureAdjustedData::depth()
const {
838 return _internal_depth();
840inline void PressureAdjustedData::_internal_set_depth(
double value) {
841 _impl_._has_bits_[0] |= 0x00000010u;
842 _impl_.depth_ = value;
844inline void PressureAdjustedData::set_depth(
double value) {
845 _internal_set_depth(value);
850 #pragma GCC diagnostic pop
860PROTOBUF_NAMESPACE_OPEN
865 return ::jaiabot::protobuf::PressureSensorType_descriptor();
868PROTOBUF_NAMESPACE_CLOSE
872#include <google/protobuf/port_undef.inc>
void CopyFrom(const PressureTemperatureData &from)
Quantity pressure_raw_with_units() const
@ kPressureRawFieldNumber
@ kTemperatureFieldNumber
void set_pressure_raw(double value)
void Swap(PressureTemperatureData *other)
static const ClassData _class_data_
void set_temperature(double value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
double pressure_raw() const
bool IsInitialized() const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PressureTemperatureData & operator=(const PressureTemperatureData &from)
Quantity temperature_with_units() const
size_t ByteSizeLong() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::jaiabot::protobuf::PressureSensorType sensor_type() const
friend void swap(PressureTemperatureData &a, PressureTemperatureData &b)
~PressureTemperatureData() override
boost::units::temperature_dimension temperature_dimension
void clear_pressure_raw()
void MergeFrom(const PressureTemperatureData &from)
void UnsafeArenaSwap(PressureTemperatureData *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
boost::units::make_scaled_unit< boost::units::metric::bar_base_unit::unit_type, boost::units::scale< 10, boost::units::static_rational<-1 > > >::type pressure_raw_unit
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PressureTemperatureData()
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
double temperature() const
void set_sensor_type(::jaiabot::protobuf::PressureSensorType value)
bool has_pressure_raw() const
int GetCachedSize() const final
void set_pressure_raw_with_units(Quantity value_w_units)
bool has_temperature() const
void set_temperature_with_units(Quantity value_w_units)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static constexpr int kIndexInFileMessages
PressureTemperatureData * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
static const PressureTemperatureData & default_instance()
bool has_sensor_type() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const PressureTemperatureData * internal_default_instance()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
constexpr goby::middleware::Group pressure_adjusted
constexpr PressureSensorType PressureSensorType_MAX
bool PressureSensorType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PressureSensorType *value)
constexpr PressureSensorType PressureSensorType_MIN
bool PressureSensorType_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * PressureSensorType_descriptor()
const std::string & PressureSensorType_Name(T enum_t_value)
PressureTemperatureDataDefaultTypeInternal _PressureTemperatureData_default_instance_
PressureAdjustedDataDefaultTypeInternal _PressureAdjustedData_default_instance_
constexpr int PressureSensorType_ARRAYSIZE
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::PressureSensorType >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fpressure_5ftemperature_2eproto
static const uint32_t offsets[]