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 < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3012004 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
37 #include <boost/units/quantity.hpp>
38 #include <boost/units/absolute.hpp>
39 #include <boost/units/dimensionless_type.hpp>
40 #include <boost/units/make_scaled_unit.hpp>
42 #include <boost/units/systems/temperature/celsius.hpp>
44 #include <boost/units/systems/si.hpp>
46 #include <boost/units/base_units/metric/bar.hpp>
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fsensor_2fpressure_5ftemperature_2eproto
50 PROTOBUF_NAMESPACE_OPEN
54 PROTOBUF_NAMESPACE_CLOSE
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
66 static const ::PROTOBUF_NAMESPACE_ID::uint32
offsets[];
71 class PressureAdjustedData;
72 class PressureAdjustedDataDefaultTypeInternal;
74 class PressureTemperatureData;
75 class PressureTemperatureDataDefaultTypeInternal;
79 PROTOBUF_NAMESPACE_OPEN
80 template<> ::jaiabot::protobuf::PressureAdjustedData* Arena::CreateMaybeMessage<::jaiabot::protobuf::PressureAdjustedData>(Arena*);
81 template<> ::jaiabot::protobuf::PressureTemperatureData* Arena::CreateMaybeMessage<::jaiabot::protobuf::PressureTemperatureData>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
98 static_assert(::std::is_same<T, PressureSensorType>::value ||
99 ::std::is_integral<T>::value,
100 "Incorrect type passed to function PressureSensorType_Name.");
101 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
106 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PressureSensorType>(
112 public ::PROTOBUF_NAMESPACE_ID::Message {
114 inline PressureTemperatureData() : PressureTemperatureData(nullptr) {};
115 virtual ~PressureTemperatureData();
117 PressureTemperatureData(
const PressureTemperatureData& from);
118 PressureTemperatureData(PressureTemperatureData&& from) noexcept
119 : PressureTemperatureData() {
120 *
this = ::std::move(from);
123 inline PressureTemperatureData& operator=(
const PressureTemperatureData& from) {
127 inline PressureTemperatureData& operator=(PressureTemperatureData&& from) noexcept {
128 if (GetArena() == from.GetArena()) {
129 if (
this != &from) InternalSwap(&from);
136 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields()
const {
137 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
139 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
140 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
143 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
144 return GetDescriptor();
146 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
147 return GetMetadataStatic().descriptor;
149 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
150 return GetMetadataStatic().reflection;
152 static const PressureTemperatureData& default_instance();
154 static void InitAsDefaultInstance();
155 static inline const PressureTemperatureData* internal_default_instance() {
156 return reinterpret_cast<const PressureTemperatureData*
>(
159 static constexpr
int kIndexInFileMessages =
162 friend void swap(PressureTemperatureData& a, PressureTemperatureData& b) {
165 inline void Swap(PressureTemperatureData* other) {
166 if (other ==
this)
return;
167 if (GetArena() == other->GetArena()) {
170 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
173 void UnsafeArenaSwap(PressureTemperatureData* other) {
174 if (other ==
this)
return;
175 GOOGLE_DCHECK(GetArena() == other->GetArena());
181 inline PressureTemperatureData* New() const final {
182 return CreateMaybeMessage<PressureTemperatureData>(
nullptr);
185 PressureTemperatureData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
186 return CreateMaybeMessage<PressureTemperatureData>(arena);
188 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
189 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
190 void CopyFrom(
const PressureTemperatureData& from);
191 void MergeFrom(
const PressureTemperatureData& from);
192 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
193 bool IsInitialized() const final;
195 size_t ByteSizeLong() const final;
196 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
197 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
198 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
199 int GetCachedSize() const final {
return _cached_size_.Get(); }
202 inline void SharedCtor();
203 inline void SharedDtor();
204 void SetCachedSize(
int size)
const final;
205 void InternalSwap(PressureTemperatureData* other);
206 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
207 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
208 return "jaiabot.protobuf.PressureTemperatureData";
211 explicit PressureTemperatureData(::PROTOBUF_NAMESPACE_ID::Arena* arena);
213 static void ArenaDtor(
void*
object);
214 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
217 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
219 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
231 kPressureRawFieldNumber = 1,
232 kTemperatureFieldNumber = 2,
233 kSensorTypeFieldNumber = 3,
236 bool has_pressure_raw()
const;
238 bool _internal_has_pressure_raw()
const;
240 void clear_pressure_raw();
241 double pressure_raw()
const;
242 void set_pressure_raw(
double value);
244 double _internal_pressure_raw()
const;
245 void _internal_set_pressure_raw(
double value);
249 bool has_temperature()
const;
251 bool _internal_has_temperature()
const;
253 void clear_temperature();
254 double temperature()
const;
255 void set_temperature(
double value);
257 double _internal_temperature()
const;
258 void _internal_set_temperature(
double value);
262 bool has_sensor_type()
const;
264 bool _internal_has_sensor_type()
const;
266 void clear_sensor_type();
274 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;
276 template<
typename Quantity >
277 void set_pressure_raw_with_units(Quantity value_w_units)
278 { set_pressure_raw(boost::units::quantity<pressure_raw_unit,double >(value_w_units).value() ); };
280 template<
typename Quantity >
281 Quantity pressure_raw_with_units()
const
282 {
return Quantity(pressure_raw() * pressure_raw_unit()); };
284 boost::units::quantity< pressure_raw_unit,double > pressure_raw_with_units()
const
285 {
return pressure_raw_with_units<boost::units::quantity< pressure_raw_unit,double > >(); };
287 typedef boost::units::temperature_dimension temperature_dimension;
289 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> > temperature_unit;
291 template<
typename Quantity >
292 void set_temperature_with_units(Quantity value_w_units)
293 { set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
295 template<
typename Quantity >
296 Quantity temperature_with_units()
const
297 {
return Quantity(temperature() * temperature_unit()); };
299 boost::units::quantity< temperature_unit,double > temperature_with_units()
const
300 {
return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
307 size_t RequiredFieldsByteSizeFallback()
const;
309 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
310 typedef void InternalArenaConstructable_;
311 typedef void DestructorSkippable_;
312 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
313 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
314 double pressure_raw_;
317 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fpressure_5ftemperature_2eproto;
322 public ::PROTOBUF_NAMESPACE_ID::Message {
324 inline PressureAdjustedData() : PressureAdjustedData(nullptr) {};
325 virtual ~PressureAdjustedData();
327 PressureAdjustedData(
const PressureAdjustedData& from);
328 PressureAdjustedData(PressureAdjustedData&& from) noexcept
329 : PressureAdjustedData() {
330 *
this = ::std::move(from);
333 inline PressureAdjustedData& operator=(
const PressureAdjustedData& from) {
337 inline PressureAdjustedData& operator=(PressureAdjustedData&& from) noexcept {
338 if (GetArena() == from.GetArena()) {
339 if (
this != &from) InternalSwap(&from);
346 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields()
const {
347 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
349 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
350 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
353 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
354 return GetDescriptor();
356 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
357 return GetMetadataStatic().descriptor;
359 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
360 return GetMetadataStatic().reflection;
362 static const PressureAdjustedData& default_instance();
364 static void InitAsDefaultInstance();
365 static inline const PressureAdjustedData* internal_default_instance() {
366 return reinterpret_cast<const PressureAdjustedData*
>(
369 static constexpr
int kIndexInFileMessages =
372 friend void swap(PressureAdjustedData& a, PressureAdjustedData& b) {
375 inline void Swap(PressureAdjustedData* other) {
376 if (other ==
this)
return;
377 if (GetArena() == other->GetArena()) {
380 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
383 void UnsafeArenaSwap(PressureAdjustedData* other) {
384 if (other ==
this)
return;
385 GOOGLE_DCHECK(GetArena() == other->GetArena());
391 inline PressureAdjustedData* New() const final {
392 return CreateMaybeMessage<PressureAdjustedData>(
nullptr);
395 PressureAdjustedData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
396 return CreateMaybeMessage<PressureAdjustedData>(arena);
398 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
399 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
400 void CopyFrom(
const PressureAdjustedData& from);
401 void MergeFrom(
const PressureAdjustedData& from);
402 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
403 bool IsInitialized() const final;
405 size_t ByteSizeLong() const final;
406 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
407 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
408 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
409 int GetCachedSize() const final {
return _cached_size_.Get(); }
412 inline void SharedCtor();
413 inline void SharedDtor();
414 void SetCachedSize(
int size)
const final;
415 void InternalSwap(PressureAdjustedData* other);
416 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
417 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
418 return "jaiabot.protobuf.PressureAdjustedData";
421 explicit PressureAdjustedData(::PROTOBUF_NAMESPACE_ID::Arena* arena);
423 static void ArenaDtor(
void*
object);
424 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
427 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
429 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
441 kPressureRawFieldNumber = 1,
442 kPressureAdjustedFieldNumber = 2,
443 kPressureRawBeforeDiveFieldNumber = 3,
444 kCalculatedDepthFieldNumber = 11,
447 bool has_pressure_raw()
const;
449 bool _internal_has_pressure_raw()
const;
451 void clear_pressure_raw();
452 double pressure_raw()
const;
453 void set_pressure_raw(
double value);
455 double _internal_pressure_raw()
const;
456 void _internal_set_pressure_raw(
double value);
460 bool has_pressure_adjusted()
const;
462 bool _internal_has_pressure_adjusted()
const;
464 void clear_pressure_adjusted();
466 void set_pressure_adjusted(
double value);
468 double _internal_pressure_adjusted()
const;
469 void _internal_set_pressure_adjusted(
double value);
473 bool has_pressure_raw_before_dive()
const;
475 bool _internal_has_pressure_raw_before_dive()
const;
477 void clear_pressure_raw_before_dive();
478 double pressure_raw_before_dive()
const;
479 void set_pressure_raw_before_dive(
double value);
481 double _internal_pressure_raw_before_dive()
const;
482 void _internal_set_pressure_raw_before_dive(
double value);
486 bool has_calculated_depth()
const;
488 bool _internal_has_calculated_depth()
const;
490 void clear_calculated_depth();
491 double calculated_depth()
const;
492 void set_calculated_depth(
double value);
494 double _internal_calculated_depth()
const;
495 void _internal_set_calculated_depth(
double value);
498 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;
500 template<
typename Quantity >
501 void set_pressure_raw_with_units(Quantity value_w_units)
502 { set_pressure_raw(boost::units::quantity<pressure_raw_unit,double >(value_w_units).value() ); };
504 template<
typename Quantity >
505 Quantity pressure_raw_with_units()
const
506 {
return Quantity(pressure_raw() * pressure_raw_unit()); };
508 boost::units::quantity< pressure_raw_unit,double > pressure_raw_with_units()
const
509 {
return pressure_raw_with_units<boost::units::quantity< pressure_raw_unit,double > >(); };
511 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;
513 template<
typename Quantity >
514 void set_pressure_adjusted_with_units(Quantity value_w_units)
515 { set_pressure_adjusted(boost::units::quantity<pressure_adjusted_unit,double >(value_w_units).value() ); };
517 template<
typename Quantity >
518 Quantity pressure_adjusted_with_units()
const
521 boost::units::quantity< pressure_adjusted_unit,double > pressure_adjusted_with_units()
const
522 {
return pressure_adjusted_with_units<boost::units::quantity< pressure_adjusted_unit,double > >(); };
524 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;
526 template<
typename Quantity >
527 void set_pressure_raw_before_dive_with_units(Quantity value_w_units)
528 { set_pressure_raw_before_dive(boost::units::quantity<pressure_raw_before_dive_unit,double >(value_w_units).value() ); };
530 template<
typename Quantity >
531 Quantity pressure_raw_before_dive_with_units()
const
532 {
return Quantity(pressure_raw_before_dive() * pressure_raw_before_dive_unit()); };
534 boost::units::quantity< pressure_raw_before_dive_unit,double > pressure_raw_before_dive_with_units()
const
535 {
return pressure_raw_before_dive_with_units<boost::units::quantity< pressure_raw_before_dive_unit,double > >(); };
537 typedef boost::units::length_dimension calculated_depth_dimension;
539 typedef boost::units::unit<calculated_depth_dimension,boost::units::si::system> calculated_depth_unit;
541 template<
typename Quantity >
542 void set_calculated_depth_with_units(Quantity value_w_units)
543 { set_calculated_depth(boost::units::quantity<calculated_depth_unit,double >(value_w_units).value() ); };
545 template<
typename Quantity >
546 Quantity calculated_depth_with_units()
const
547 {
return Quantity(calculated_depth() * calculated_depth_unit()); };
549 boost::units::quantity< calculated_depth_unit,double > calculated_depth_with_units()
const
550 {
return calculated_depth_with_units<boost::units::quantity< calculated_depth_unit,double > >(); };
556 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
557 typedef void InternalArenaConstructable_;
558 typedef void DestructorSkippable_;
559 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
560 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
561 double pressure_raw_;
562 double pressure_adjusted_;
563 double pressure_raw_before_dive_;
564 double calculated_depth_;
565 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fpressure_5ftemperature_2eproto;
573 #pragma GCC diagnostic push
574 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
579 inline bool PressureTemperatureData::_internal_has_pressure_raw()
const {
580 bool value = (_has_bits_[0] & 0x00000001u) != 0;
583 inline bool PressureTemperatureData::has_pressure_raw()
const {
584 return _internal_has_pressure_raw();
586 inline void PressureTemperatureData::clear_pressure_raw() {
588 _has_bits_[0] &= ~0x00000001u;
590 inline double PressureTemperatureData::_internal_pressure_raw()
const {
591 return pressure_raw_;
593 inline double PressureTemperatureData::pressure_raw()
const {
595 return _internal_pressure_raw();
597 inline void PressureTemperatureData::_internal_set_pressure_raw(
double value) {
598 _has_bits_[0] |= 0x00000001u;
599 pressure_raw_ = value;
601 inline void PressureTemperatureData::set_pressure_raw(
double value) {
602 _internal_set_pressure_raw(value);
607 inline bool PressureTemperatureData::_internal_has_temperature()
const {
608 bool value = (_has_bits_[0] & 0x00000002u) != 0;
611 inline bool PressureTemperatureData::has_temperature()
const {
612 return _internal_has_temperature();
614 inline void PressureTemperatureData::clear_temperature() {
616 _has_bits_[0] &= ~0x00000002u;
618 inline double PressureTemperatureData::_internal_temperature()
const {
621 inline double PressureTemperatureData::temperature()
const {
623 return _internal_temperature();
625 inline void PressureTemperatureData::_internal_set_temperature(
double value) {
626 _has_bits_[0] |= 0x00000002u;
627 temperature_ = value;
629 inline void PressureTemperatureData::set_temperature(
double value) {
630 _internal_set_temperature(value);
635 inline bool PressureTemperatureData::_internal_has_sensor_type()
const {
636 bool value = (_has_bits_[0] & 0x00000004u) != 0;
639 inline bool PressureTemperatureData::has_sensor_type()
const {
640 return _internal_has_sensor_type();
642 inline void PressureTemperatureData::clear_sensor_type() {
644 _has_bits_[0] &= ~0x00000004u;
651 return _internal_sensor_type();
655 _has_bits_[0] |= 0x00000004u;
656 sensor_type_ = value;
659 _internal_set_sensor_type(value);
668 inline bool PressureAdjustedData::_internal_has_pressure_raw()
const {
669 bool value = (_has_bits_[0] & 0x00000001u) != 0;
672 inline bool PressureAdjustedData::has_pressure_raw()
const {
673 return _internal_has_pressure_raw();
675 inline void PressureAdjustedData::clear_pressure_raw() {
677 _has_bits_[0] &= ~0x00000001u;
679 inline double PressureAdjustedData::_internal_pressure_raw()
const {
680 return pressure_raw_;
682 inline double PressureAdjustedData::pressure_raw()
const {
684 return _internal_pressure_raw();
686 inline void PressureAdjustedData::_internal_set_pressure_raw(
double value) {
687 _has_bits_[0] |= 0x00000001u;
688 pressure_raw_ = value;
690 inline void PressureAdjustedData::set_pressure_raw(
double value) {
691 _internal_set_pressure_raw(value);
696 inline bool PressureAdjustedData::_internal_has_pressure_adjusted()
const {
697 bool value = (_has_bits_[0] & 0x00000002u) != 0;
700 inline bool PressureAdjustedData::has_pressure_adjusted()
const {
701 return _internal_has_pressure_adjusted();
703 inline void PressureAdjustedData::clear_pressure_adjusted() {
704 pressure_adjusted_ = 0;
705 _has_bits_[0] &= ~0x00000002u;
707 inline double PressureAdjustedData::_internal_pressure_adjusted()
const {
708 return pressure_adjusted_;
712 return _internal_pressure_adjusted();
714 inline void PressureAdjustedData::_internal_set_pressure_adjusted(
double value) {
715 _has_bits_[0] |= 0x00000002u;
716 pressure_adjusted_ = value;
718 inline void PressureAdjustedData::set_pressure_adjusted(
double value) {
719 _internal_set_pressure_adjusted(value);
724 inline bool PressureAdjustedData::_internal_has_pressure_raw_before_dive()
const {
725 bool value = (_has_bits_[0] & 0x00000004u) != 0;
728 inline bool PressureAdjustedData::has_pressure_raw_before_dive()
const {
729 return _internal_has_pressure_raw_before_dive();
731 inline void PressureAdjustedData::clear_pressure_raw_before_dive() {
732 pressure_raw_before_dive_ = 0;
733 _has_bits_[0] &= ~0x00000004u;
735 inline double PressureAdjustedData::_internal_pressure_raw_before_dive()
const {
736 return pressure_raw_before_dive_;
738 inline double PressureAdjustedData::pressure_raw_before_dive()
const {
740 return _internal_pressure_raw_before_dive();
742 inline void PressureAdjustedData::_internal_set_pressure_raw_before_dive(
double value) {
743 _has_bits_[0] |= 0x00000004u;
744 pressure_raw_before_dive_ = value;
746 inline void PressureAdjustedData::set_pressure_raw_before_dive(
double value) {
747 _internal_set_pressure_raw_before_dive(value);
752 inline bool PressureAdjustedData::_internal_has_calculated_depth()
const {
753 bool value = (_has_bits_[0] & 0x00000008u) != 0;
756 inline bool PressureAdjustedData::has_calculated_depth()
const {
757 return _internal_has_calculated_depth();
759 inline void PressureAdjustedData::clear_calculated_depth() {
760 calculated_depth_ = 0;
761 _has_bits_[0] &= ~0x00000008u;
763 inline double PressureAdjustedData::_internal_calculated_depth()
const {
764 return calculated_depth_;
766 inline double PressureAdjustedData::calculated_depth()
const {
768 return _internal_calculated_depth();
770 inline void PressureAdjustedData::_internal_set_calculated_depth(
double value) {
771 _has_bits_[0] |= 0x00000008u;
772 calculated_depth_ = value;
774 inline void PressureAdjustedData::set_calculated_depth(
double value) {
775 _internal_set_calculated_depth(value);
780 #pragma GCC diagnostic pop
790 PROTOBUF_NAMESPACE_OPEN
794 inline const EnumDescriptor* GetEnumDescriptor< ::jaiabot::protobuf::PressureSensorType>() {
798 PROTOBUF_NAMESPACE_CLOSE
802 #include <google/protobuf/port_undef.inc>
constexpr goby::middleware::Group pressure_adjusted
constexpr PressureSensorType PressureSensorType_MAX
constexpr PressureSensorType PressureSensorType_MIN
bool PressureSensorType_IsValid(int value)
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * PressureSensorType_descriptor()
bool PressureSensorType_Parse(const std::string &name, PressureSensorType *value)
const std::string & PressureSensorType_Name(T enum_t_value)
PressureTemperatureDataDefaultTypeInternal _PressureTemperatureData_default_instance_
PressureAdjustedDataDefaultTypeInternal _PressureAdjustedData_default_instance_
constexpr int PressureSensorType_ARRAYSIZE
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fpressure_5ftemperature_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)