4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fph_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fph_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_5fph_2eproto
43PROTOBUF_NAMESPACE_OPEN
47PROTOBUF_NAMESPACE_CLOSE
51 static const uint32_t
offsets[];
57class AtlasScientificOEMpH;
58struct AtlasScientificOEMpHDefaultTypeInternal;
63PROTOBUF_NAMESPACE_OPEN
65PROTOBUF_NAMESPACE_CLOSE
72class AtlasScientificOEMpH final :
73 public ::PROTOBUF_NAMESPACE_ID::Message {
77 explicit PROTOBUF_CONSTEXPR
AtlasScientificOEMpH(::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<AtlasScientificOEMpH>(arena);
156 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
158 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
160 AtlasScientificOEMpH::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.AtlasScientificOEMpH";
187 bool is_message_owned =
false);
191 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
193 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
208 bool _internal_has_ph_raw()
const;
214 double _internal_ph_raw()
const;
215 void _internal_set_ph_raw(
double value);
221 bool _internal_has_ph()
const;
225 void set_ph(
double value);
227 double _internal_ph()
const;
228 void _internal_set_ph(
double value);
234 bool _internal_has_temperature()
const;
240 double _internal_temperature()
const;
241 void _internal_set_temperature(
double value);
247 bool _internal_has_temperature_voltage()
const;
253 double _internal_temperature_voltage()
const;
254 void _internal_set_temperature_voltage(
double value);
261 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
262 typedef void InternalArenaConstructable_;
263 typedef void DestructorSkippable_;
265 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
266 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
270 double temperature_voltage_;
273 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fph_2eproto;
281 #pragma GCC diagnostic push
282 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
287inline bool AtlasScientificOEMpH::_internal_has_ph_raw()
const {
288 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
292 return _internal_has_ph_raw();
296 _impl_._has_bits_[0] &= ~0x00000001u;
298inline double AtlasScientificOEMpH::_internal_ph_raw()
const {
303 return _internal_ph_raw();
305inline void AtlasScientificOEMpH::_internal_set_ph_raw(
double value) {
306 _impl_._has_bits_[0] |= 0x00000001u;
310 _internal_set_ph_raw(value);
315inline bool AtlasScientificOEMpH::_internal_has_ph()
const {
316 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
320 return _internal_has_ph();
324 _impl_._has_bits_[0] &= ~0x00000002u;
326inline double AtlasScientificOEMpH::_internal_ph()
const {
331 return _internal_ph();
333inline void AtlasScientificOEMpH::_internal_set_ph(
double value) {
334 _impl_._has_bits_[0] |= 0x00000002u;
338 _internal_set_ph(value);
343inline bool AtlasScientificOEMpH::_internal_has_temperature()
const {
344 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
348 return _internal_has_temperature();
352 _impl_._has_bits_[0] &= ~0x00000004u;
354inline double AtlasScientificOEMpH::_internal_temperature()
const {
355 return _impl_.temperature_;
359 return _internal_temperature();
361inline void AtlasScientificOEMpH::_internal_set_temperature(
double value) {
362 _impl_._has_bits_[0] |= 0x00000004u;
363 _impl_.temperature_ = value;
366 _internal_set_temperature(value);
371inline bool AtlasScientificOEMpH::_internal_has_temperature_voltage()
const {
372 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
376 return _internal_has_temperature_voltage();
379 _impl_.temperature_voltage_ = 0;
380 _impl_._has_bits_[0] &= ~0x00000008u;
382inline double AtlasScientificOEMpH::_internal_temperature_voltage()
const {
383 return _impl_.temperature_voltage_;
387 return _internal_temperature_voltage();
389inline void AtlasScientificOEMpH::_internal_set_temperature_voltage(
double value) {
390 _impl_._has_bits_[0] |= 0x00000008u;
391 _impl_.temperature_voltage_ = value;
394 _internal_set_temperature_voltage(value);
399 #pragma GCC diagnostic pop
410#include <google/protobuf/port_undef.inc>
bool IsInitialized() const final
int GetCachedSize() const final
AtlasScientificOEMpH & operator=(const AtlasScientificOEMpH &from)
void CopyFrom(const AtlasScientificOEMpH &from)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void set_ph(double value)
void set_temperature(double value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const AtlasScientificOEMpH & default_instance()
friend void swap(AtlasScientificOEMpH &a, AtlasScientificOEMpH &b)
bool has_temperature_voltage() const
bool has_temperature() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
~AtlasScientificOEMpH() override
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void UnsafeArenaSwap(AtlasScientificOEMpH *other)
void set_temperature_voltage(double value)
double temperature_voltage() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
double temperature() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void Swap(AtlasScientificOEMpH *other)
void set_ph_raw(double value)
void MergeFrom(const AtlasScientificOEMpH &from)
static constexpr int kIndexInFileMessages
static const ClassData _class_data_
AtlasScientificOEMpH * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
@ kTemperatureVoltageFieldNumber
@ kTemperatureFieldNumber
void clear_temperature_voltage()
size_t ByteSizeLong() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const AtlasScientificOEMpH * internal_default_instance()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
AtlasScientificOEMpHDefaultTypeInternal _AtlasScientificOEMpH_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fph_2eproto
static const uint32_t offsets[]