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 kCalculatedDepthFieldNumber = 11,
456 bool has_pressure_raw()
const;
458 bool _internal_has_pressure_raw()
const;
460 void clear_pressure_raw();
461 double pressure_raw()
const;
462 void set_pressure_raw(
double value);
464 double _internal_pressure_raw()
const;
465 void _internal_set_pressure_raw(
double value);
469 bool has_pressure_adjusted()
const;
471 bool _internal_has_pressure_adjusted()
const;
473 void clear_pressure_adjusted();
475 void set_pressure_adjusted(
double value);
477 double _internal_pressure_adjusted()
const;
478 void _internal_set_pressure_adjusted(
double value);
482 bool has_pressure_raw_before_dive()
const;
484 bool _internal_has_pressure_raw_before_dive()
const;
486 void clear_pressure_raw_before_dive();
487 double pressure_raw_before_dive()
const;
488 void set_pressure_raw_before_dive(
double value);
490 double _internal_pressure_raw_before_dive()
const;
491 void _internal_set_pressure_raw_before_dive(
double value);
495 bool has_calculated_depth()
const;
497 bool _internal_has_calculated_depth()
const;
499 void clear_calculated_depth();
500 double calculated_depth()
const;
501 void set_calculated_depth(
double value);
503 double _internal_calculated_depth()
const;
504 void _internal_set_calculated_depth(
double value);
507 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;
509 template<
typename Quantity >
510 void set_pressure_raw_with_units(Quantity value_w_units)
511 { set_pressure_raw(boost::units::quantity<pressure_raw_unit,double >(value_w_units).value() ); };
513 template<
typename Quantity >
514 Quantity pressure_raw_with_units()
const
515 {
return Quantity(pressure_raw() * pressure_raw_unit()); };
517 boost::units::quantity< pressure_raw_unit,double > pressure_raw_with_units()
const
518 {
return pressure_raw_with_units<boost::units::quantity< pressure_raw_unit,double > >(); };
520 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;
522 template<
typename Quantity >
523 void set_pressure_adjusted_with_units(Quantity value_w_units)
524 { set_pressure_adjusted(boost::units::quantity<pressure_adjusted_unit,double >(value_w_units).value() ); };
526 template<
typename Quantity >
527 Quantity pressure_adjusted_with_units()
const
530 boost::units::quantity< pressure_adjusted_unit,double > pressure_adjusted_with_units()
const
531 {
return pressure_adjusted_with_units<boost::units::quantity< pressure_adjusted_unit,double > >(); };
533 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;
535 template<
typename Quantity >
536 void set_pressure_raw_before_dive_with_units(Quantity value_w_units)
537 { set_pressure_raw_before_dive(boost::units::quantity<pressure_raw_before_dive_unit,double >(value_w_units).value() ); };
539 template<
typename Quantity >
540 Quantity pressure_raw_before_dive_with_units()
const
541 {
return Quantity(pressure_raw_before_dive() * pressure_raw_before_dive_unit()); };
543 boost::units::quantity< pressure_raw_before_dive_unit,double > pressure_raw_before_dive_with_units()
const
544 {
return pressure_raw_before_dive_with_units<boost::units::quantity< pressure_raw_before_dive_unit,double > >(); };
546 typedef boost::units::length_dimension calculated_depth_dimension;
548 typedef boost::units::unit<calculated_depth_dimension,boost::units::si::system> calculated_depth_unit;
550 template<
typename Quantity >
551 void set_calculated_depth_with_units(Quantity value_w_units)
552 { set_calculated_depth(boost::units::quantity<calculated_depth_unit,double >(value_w_units).value() ); };
554 template<
typename Quantity >
555 Quantity calculated_depth_with_units()
const
556 {
return Quantity(calculated_depth() * calculated_depth_unit()); };
558 boost::units::quantity< calculated_depth_unit,double > calculated_depth_with_units()
const
559 {
return calculated_depth_with_units<boost::units::quantity< calculated_depth_unit,double > >(); };
565 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
566 typedef void InternalArenaConstructable_;
567 typedef void DestructorSkippable_;
569 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
570 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
571 double pressure_raw_;
572 double pressure_adjusted_;
573 double pressure_raw_before_dive_;
574 double calculated_depth_;
576 union { Impl_ _impl_; };
577 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fpressure_5ftemperature_2eproto;
585 #pragma GCC diagnostic push
586 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
591inline bool PressureTemperatureData::_internal_has_pressure_raw()
const {
592 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
595inline bool PressureTemperatureData::has_pressure_raw()
const {
596 return _internal_has_pressure_raw();
598inline void PressureTemperatureData::clear_pressure_raw() {
599 _impl_.pressure_raw_ = 0;
600 _impl_._has_bits_[0] &= ~0x00000001u;
602inline double PressureTemperatureData::_internal_pressure_raw()
const {
603 return _impl_.pressure_raw_;
605inline double PressureTemperatureData::pressure_raw()
const {
607 return _internal_pressure_raw();
609inline void PressureTemperatureData::_internal_set_pressure_raw(
double value) {
610 _impl_._has_bits_[0] |= 0x00000001u;
611 _impl_.pressure_raw_ = value;
613inline void PressureTemperatureData::set_pressure_raw(
double value) {
614 _internal_set_pressure_raw(value);
619inline bool PressureTemperatureData::_internal_has_temperature()
const {
620 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
623inline bool PressureTemperatureData::has_temperature()
const {
624 return _internal_has_temperature();
626inline void PressureTemperatureData::clear_temperature() {
627 _impl_.temperature_ = 0;
628 _impl_._has_bits_[0] &= ~0x00000002u;
630inline double PressureTemperatureData::_internal_temperature()
const {
631 return _impl_.temperature_;
633inline double PressureTemperatureData::temperature()
const {
635 return _internal_temperature();
637inline void PressureTemperatureData::_internal_set_temperature(
double value) {
638 _impl_._has_bits_[0] |= 0x00000002u;
639 _impl_.temperature_ = value;
641inline void PressureTemperatureData::set_temperature(
double value) {
642 _internal_set_temperature(value);
647inline bool PressureTemperatureData::_internal_has_sensor_type()
const {
648 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
651inline bool PressureTemperatureData::has_sensor_type()
const {
652 return _internal_has_sensor_type();
654inline void PressureTemperatureData::clear_sensor_type() {
655 _impl_.sensor_type_ = 1;
656 _impl_._has_bits_[0] &= ~0x00000004u;
658inline ::jaiabot::protobuf::PressureSensorType PressureTemperatureData::_internal_sensor_type()
const {
661inline ::jaiabot::protobuf::PressureSensorType PressureTemperatureData::sensor_type()
const {
663 return _internal_sensor_type();
667 _impl_._has_bits_[0] |= 0x00000004u;
668 _impl_.sensor_type_ = value;
671 _internal_set_sensor_type(value);
680inline bool PressureAdjustedData::_internal_has_pressure_raw()
const {
681 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
684inline bool PressureAdjustedData::has_pressure_raw()
const {
685 return _internal_has_pressure_raw();
687inline void PressureAdjustedData::clear_pressure_raw() {
688 _impl_.pressure_raw_ = 0;
689 _impl_._has_bits_[0] &= ~0x00000001u;
691inline double PressureAdjustedData::_internal_pressure_raw()
const {
692 return _impl_.pressure_raw_;
694inline double PressureAdjustedData::pressure_raw()
const {
696 return _internal_pressure_raw();
698inline void PressureAdjustedData::_internal_set_pressure_raw(
double value) {
699 _impl_._has_bits_[0] |= 0x00000001u;
700 _impl_.pressure_raw_ = value;
702inline void PressureAdjustedData::set_pressure_raw(
double value) {
703 _internal_set_pressure_raw(value);
708inline bool PressureAdjustedData::_internal_has_pressure_adjusted()
const {
709 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
712inline bool PressureAdjustedData::has_pressure_adjusted()
const {
713 return _internal_has_pressure_adjusted();
715inline void PressureAdjustedData::clear_pressure_adjusted() {
716 _impl_.pressure_adjusted_ = 0;
717 _impl_._has_bits_[0] &= ~0x00000002u;
719inline double PressureAdjustedData::_internal_pressure_adjusted()
const {
720 return _impl_.pressure_adjusted_;
722inline double PressureAdjustedData::pressure_adjusted()
const {
724 return _internal_pressure_adjusted();
726inline void PressureAdjustedData::_internal_set_pressure_adjusted(
double value) {
727 _impl_._has_bits_[0] |= 0x00000002u;
728 _impl_.pressure_adjusted_ = value;
730inline void PressureAdjustedData::set_pressure_adjusted(
double value) {
731 _internal_set_pressure_adjusted(value);
736inline bool PressureAdjustedData::_internal_has_pressure_raw_before_dive()
const {
737 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
740inline bool PressureAdjustedData::has_pressure_raw_before_dive()
const {
741 return _internal_has_pressure_raw_before_dive();
743inline void PressureAdjustedData::clear_pressure_raw_before_dive() {
744 _impl_.pressure_raw_before_dive_ = 0;
745 _impl_._has_bits_[0] &= ~0x00000004u;
747inline double PressureAdjustedData::_internal_pressure_raw_before_dive()
const {
748 return _impl_.pressure_raw_before_dive_;
750inline double PressureAdjustedData::pressure_raw_before_dive()
const {
752 return _internal_pressure_raw_before_dive();
754inline void PressureAdjustedData::_internal_set_pressure_raw_before_dive(
double value) {
755 _impl_._has_bits_[0] |= 0x00000004u;
756 _impl_.pressure_raw_before_dive_ = value;
758inline void PressureAdjustedData::set_pressure_raw_before_dive(
double value) {
759 _internal_set_pressure_raw_before_dive(value);
764inline bool PressureAdjustedData::_internal_has_calculated_depth()
const {
765 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
768inline bool PressureAdjustedData::has_calculated_depth()
const {
769 return _internal_has_calculated_depth();
771inline void PressureAdjustedData::clear_calculated_depth() {
772 _impl_.calculated_depth_ = 0;
773 _impl_._has_bits_[0] &= ~0x00000008u;
775inline double PressureAdjustedData::_internal_calculated_depth()
const {
776 return _impl_.calculated_depth_;
778inline double PressureAdjustedData::calculated_depth()
const {
780 return _internal_calculated_depth();
782inline void PressureAdjustedData::_internal_set_calculated_depth(
double value) {
783 _impl_._has_bits_[0] |= 0x00000008u;
784 _impl_.calculated_depth_ = value;
786inline void PressureAdjustedData::set_calculated_depth(
double value) {
787 _internal_set_calculated_depth(value);
792 #pragma GCC diagnostic pop
802PROTOBUF_NAMESPACE_OPEN
807 return ::jaiabot::protobuf::PressureSensorType_descriptor();
810PROTOBUF_NAMESPACE_CLOSE
814#include <google/protobuf/port_undef.inc>
void CopyFrom(const PressureTemperatureData &from)
Quantity pressure_raw_with_units() const
void set_pressure_raw(double value)
void Swap(PressureTemperatureData *other)
static const ClassData _class_data_
void set_temperature(double value)
@ kPressureRawFieldNumber
@ kTemperatureFieldNumber
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[]