4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_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/unknown_field_set.h>
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
39#include <boost/units/systems/si.hpp>
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto
43PROTOBUF_NAMESPACE_OPEN
47PROTOBUF_NAMESPACE_CLOSE
51 static const uint32_t
offsets[];
57class AtlasScientificOEMDO;
58struct AtlasScientificOEMDODefaultTypeInternal;
63PROTOBUF_NAMESPACE_OPEN
65PROTOBUF_NAMESPACE_CLOSE
72class AtlasScientificOEMDO final :
73 public ::PROTOBUF_NAMESPACE_ID::Message {
77 explicit PROTOBUF_CONSTEXPR
AtlasScientificOEMDO(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
82 *
this = ::std::move(from);
90 if (
this == &from)
return *
this;
91 if (GetOwningArena() == from.GetOwningArena()
92 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
93 && GetOwningArena() !=
nullptr
103 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet&
unknown_fields()
const {
104 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
107 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
110 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
113 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
GetDescriptor() {
116 static const ::PROTOBUF_NAMESPACE_ID::Reflection*
GetReflection() {
133 if (other ==
this)
return;
134 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
135 if (GetOwningArena() !=
nullptr &&
136 GetOwningArena() == other->GetOwningArena()) {
138 if (GetOwningArena() == other->GetOwningArena()) {
142 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
146 if (other ==
this)
return;
147 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
154 return CreateMaybeMessage<AtlasScientificOEMDO>(arena);
156 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
158 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
160 AtlasScientificOEMDO::MergeImpl(*
this, from);
163 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
165 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
171 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
175 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
177 void SetCachedSize(
int size)
const final;
181 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
182 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
183 return "jaiabot.sensor.protobuf.AtlasScientificOEMDO";
187 bool is_message_owned =
false);
191 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
193 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
210 bool _internal_has_do_raw()
const;
216 double _internal_do_raw()
const;
217 void _internal_set_do_raw(
double value);
223 bool _internal_has_do_solubility()
const;
229 double _internal_do_solubility()
const;
230 void _internal_set_do_solubility(
double value);
236 bool _internal_has_do_saturation_percent()
const;
242 double _internal_do_saturation_percent()
const;
243 void _internal_set_do_saturation_percent(
double value);
249 bool _internal_has_do_normalized_solubility()
const;
255 double _internal_do_normalized_solubility()
const;
256 void _internal_set_do_normalized_solubility(
double value);
262 bool _internal_has_temperature()
const;
268 double _internal_temperature()
const;
269 void _internal_set_temperature(
double value);
275 bool _internal_has_temperature_voltage()
const;
281 double _internal_temperature_voltage()
const;
282 void _internal_set_temperature_voltage(
double value);
289 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
290 typedef void InternalArenaConstructable_;
291 typedef void DestructorSkippable_;
293 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
294 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
296 double do_solubility_;
297 double do_saturation_percent_;
298 double do_normalized_solubility_;
300 double temperature_voltage_;
303 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto;
311 #pragma GCC diagnostic push
312 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
317inline bool AtlasScientificOEMDO::_internal_has_do_raw()
const {
318 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
322 return _internal_has_do_raw();
326 _impl_._has_bits_[0] &= ~0x00000001u;
328inline double AtlasScientificOEMDO::_internal_do_raw()
const {
333 return _internal_do_raw();
335inline void AtlasScientificOEMDO::_internal_set_do_raw(
double value) {
336 _impl_._has_bits_[0] |= 0x00000001u;
340 _internal_set_do_raw(value);
345inline bool AtlasScientificOEMDO::_internal_has_do_solubility()
const {
346 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
350 return _internal_has_do_solubility();
353 _impl_.do_solubility_ = 0;
354 _impl_._has_bits_[0] &= ~0x00000002u;
356inline double AtlasScientificOEMDO::_internal_do_solubility()
const {
357 return _impl_.do_solubility_;
361 return _internal_do_solubility();
363inline void AtlasScientificOEMDO::_internal_set_do_solubility(
double value) {
364 _impl_._has_bits_[0] |= 0x00000002u;
365 _impl_.do_solubility_ = value;
368 _internal_set_do_solubility(value);
373inline bool AtlasScientificOEMDO::_internal_has_do_saturation_percent()
const {
374 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
378 return _internal_has_do_saturation_percent();
381 _impl_.do_saturation_percent_ = 0;
382 _impl_._has_bits_[0] &= ~0x00000004u;
384inline double AtlasScientificOEMDO::_internal_do_saturation_percent()
const {
385 return _impl_.do_saturation_percent_;
389 return _internal_do_saturation_percent();
391inline void AtlasScientificOEMDO::_internal_set_do_saturation_percent(
double value) {
392 _impl_._has_bits_[0] |= 0x00000004u;
393 _impl_.do_saturation_percent_ = value;
396 _internal_set_do_saturation_percent(value);
401inline bool AtlasScientificOEMDO::_internal_has_do_normalized_solubility()
const {
402 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
406 return _internal_has_do_normalized_solubility();
409 _impl_.do_normalized_solubility_ = 0;
410 _impl_._has_bits_[0] &= ~0x00000008u;
412inline double AtlasScientificOEMDO::_internal_do_normalized_solubility()
const {
413 return _impl_.do_normalized_solubility_;
417 return _internal_do_normalized_solubility();
419inline void AtlasScientificOEMDO::_internal_set_do_normalized_solubility(
double value) {
420 _impl_._has_bits_[0] |= 0x00000008u;
421 _impl_.do_normalized_solubility_ = value;
424 _internal_set_do_normalized_solubility(value);
429inline bool AtlasScientificOEMDO::_internal_has_temperature()
const {
430 bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
434 return _internal_has_temperature();
438 _impl_._has_bits_[0] &= ~0x00000010u;
440inline double AtlasScientificOEMDO::_internal_temperature()
const {
441 return _impl_.temperature_;
445 return _internal_temperature();
447inline void AtlasScientificOEMDO::_internal_set_temperature(
double value) {
448 _impl_._has_bits_[0] |= 0x00000010u;
449 _impl_.temperature_ = value;
452 _internal_set_temperature(value);
457inline bool AtlasScientificOEMDO::_internal_has_temperature_voltage()
const {
458 bool value = (
_impl_._has_bits_[0] & 0x00000020u) != 0;
462 return _internal_has_temperature_voltage();
465 _impl_.temperature_voltage_ = 0;
466 _impl_._has_bits_[0] &= ~0x00000020u;
468inline double AtlasScientificOEMDO::_internal_temperature_voltage()
const {
469 return _impl_.temperature_voltage_;
473 return _internal_temperature_voltage();
475inline void AtlasScientificOEMDO::_internal_set_temperature_voltage(
double value) {
476 _impl_._has_bits_[0] |= 0x00000020u;
477 _impl_.temperature_voltage_ = value;
480 _internal_set_temperature_voltage(value);
485 #pragma GCC diagnostic pop
496#include <google/protobuf/port_undef.inc>
void clear_temperature_voltage()
void set_do_saturation_percent(double value)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void clear_do_normalized_solubility()
static const AtlasScientificOEMDO * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void clear_do_solubility()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void CopyFrom(const AtlasScientificOEMDO &from)
void UnsafeArenaSwap(AtlasScientificOEMDO *other)
void set_do_raw(double value)
double do_solubility() const
void set_temperature_voltage(double value)
static const ClassData _class_data_
double do_normalized_solubility() const
bool has_temperature_voltage() const
@ kTemperatureFieldNumber
@ kDoSolubilityFieldNumber
@ kDoNormalizedSolubilityFieldNumber
@ kTemperatureVoltageFieldNumber
@ kDoSaturationPercentFieldNumber
void set_temperature(double value)
bool IsInitialized() const final
int GetCachedSize() const final
friend void swap(AtlasScientificOEMDO &a, AtlasScientificOEMDO &b)
static const AtlasScientificOEMDO & default_instance()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
AtlasScientificOEMDO & operator=(const AtlasScientificOEMDO &from)
static constexpr int kIndexInFileMessages
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
double temperature_voltage() const
size_t ByteSizeLong() const final
void MergeFrom(const AtlasScientificOEMDO &from)
bool has_temperature() const
bool has_do_normalized_solubility() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
AtlasScientificOEMDO * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
double temperature() const
void set_do_solubility(double value)
bool has_do_saturation_percent() const
bool has_do_solubility() const
~AtlasScientificOEMDO() override
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
double do_saturation_percent() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_do_normalized_solubility(double value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void clear_do_saturation_percent()
void Swap(AtlasScientificOEMDO *other)
AtlasScientificOEMDODefaultTypeInternal _AtlasScientificOEMDO_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto
static const uint32_t offsets[]