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 < 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/unknown_field_set.h>
36 #include <boost/units/quantity.hpp>
37 #include <boost/units/absolute.hpp>
38 #include <boost/units/dimensionless_type.hpp>
39 #include <boost/units/make_scaled_unit.hpp>
41 #include <boost/units/systems/si.hpp>
43 #include <google/protobuf/port_def.inc>
44 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fph_2eproto
45 PROTOBUF_NAMESPACE_OPEN
49 PROTOBUF_NAMESPACE_CLOSE
53 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
55 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
61 static const ::PROTOBUF_NAMESPACE_ID::uint32
offsets[];
67 class AtlasScientificOEMpH;
68 class AtlasScientificOEMpHDefaultTypeInternal;
73 PROTOBUF_NAMESPACE_OPEN
74 template<> ::jaiabot::sensor::protobuf::AtlasScientificOEMpH* Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::AtlasScientificOEMpH>(Arena*);
75 PROTOBUF_NAMESPACE_CLOSE
83 public ::PROTOBUF_NAMESPACE_ID::Message {
85 inline AtlasScientificOEMpH() : AtlasScientificOEMpH(nullptr) {};
86 virtual ~AtlasScientificOEMpH();
88 AtlasScientificOEMpH(
const AtlasScientificOEMpH& from);
89 AtlasScientificOEMpH(AtlasScientificOEMpH&& from) noexcept
90 : AtlasScientificOEMpH() {
91 *
this = ::std::move(from);
94 inline AtlasScientificOEMpH& operator=(
const AtlasScientificOEMpH& from) {
98 inline AtlasScientificOEMpH& operator=(AtlasScientificOEMpH&& from) noexcept {
99 if (GetArena() == from.GetArena()) {
100 if (
this != &from) InternalSwap(&from);
107 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields()
const {
108 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
110 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
111 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
115 return GetDescriptor();
117 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
118 return GetMetadataStatic().descriptor;
120 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
121 return GetMetadataStatic().reflection;
123 static const AtlasScientificOEMpH& default_instance();
125 static void InitAsDefaultInstance();
126 static inline const AtlasScientificOEMpH* internal_default_instance() {
127 return reinterpret_cast<const AtlasScientificOEMpH*
>(
130 static constexpr
int kIndexInFileMessages =
133 friend void swap(AtlasScientificOEMpH& a, AtlasScientificOEMpH& b) {
136 inline void Swap(AtlasScientificOEMpH* other) {
137 if (other ==
this)
return;
138 if (GetArena() == other->GetArena()) {
141 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
144 void UnsafeArenaSwap(AtlasScientificOEMpH* other) {
145 if (other ==
this)
return;
146 GOOGLE_DCHECK(GetArena() == other->GetArena());
152 inline AtlasScientificOEMpH* New() const final {
153 return CreateMaybeMessage<AtlasScientificOEMpH>(
nullptr);
156 AtlasScientificOEMpH* New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
157 return CreateMaybeMessage<AtlasScientificOEMpH>(arena);
159 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
160 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
161 void CopyFrom(
const AtlasScientificOEMpH& from);
162 void MergeFrom(
const AtlasScientificOEMpH& from);
163 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
164 bool IsInitialized() const final;
166 size_t ByteSizeLong() const final;
167 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
168 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
169 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
170 int GetCachedSize() const final {
return _cached_size_.Get(); }
173 inline void SharedCtor();
174 inline void SharedDtor();
175 void SetCachedSize(
int size)
const final;
176 void InternalSwap(AtlasScientificOEMpH* other);
177 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
178 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
179 return "jaiabot.sensor.protobuf.AtlasScientificOEMpH";
182 explicit AtlasScientificOEMpH(::PROTOBUF_NAMESPACE_ID::Arena* arena);
184 static void ArenaDtor(
void*
object);
185 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
188 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
190 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
202 kPhRawFieldNumber = 1,
204 kTemperatureFieldNumber = 3,
205 kTemperatureVoltageFieldNumber = 4,
208 bool has_ph_raw()
const;
210 bool _internal_has_ph_raw()
const;
213 double ph_raw()
const;
214 void set_ph_raw(
double value);
216 double _internal_ph_raw()
const;
217 void _internal_set_ph_raw(
double value);
223 bool _internal_has_ph()
const;
227 void set_ph(
double value);
229 double _internal_ph()
const;
230 void _internal_set_ph(
double value);
234 bool has_temperature()
const;
236 bool _internal_has_temperature()
const;
238 void clear_temperature();
239 double temperature()
const;
240 void set_temperature(
double value);
242 double _internal_temperature()
const;
243 void _internal_set_temperature(
double value);
247 bool has_temperature_voltage()
const;
249 bool _internal_has_temperature_voltage()
const;
251 void clear_temperature_voltage();
252 double temperature_voltage()
const;
253 void set_temperature_voltage(
double value);
255 double _internal_temperature_voltage()
const;
256 void _internal_set_temperature_voltage(
double value);
263 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
264 typedef void InternalArenaConstructable_;
265 typedef void DestructorSkippable_;
266 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
267 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
271 double temperature_voltage_;
272 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fph_2eproto;
280 #pragma GCC diagnostic push
281 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
286 inline bool AtlasScientificOEMpH::_internal_has_ph_raw()
const {
287 bool value = (_has_bits_[0] & 0x00000001u) != 0;
290 inline bool AtlasScientificOEMpH::has_ph_raw()
const {
291 return _internal_has_ph_raw();
293 inline void AtlasScientificOEMpH::clear_ph_raw() {
295 _has_bits_[0] &= ~0x00000001u;
297 inline double AtlasScientificOEMpH::_internal_ph_raw()
const {
300 inline double AtlasScientificOEMpH::ph_raw()
const {
302 return _internal_ph_raw();
304 inline void AtlasScientificOEMpH::_internal_set_ph_raw(
double value) {
305 _has_bits_[0] |= 0x00000001u;
308 inline void AtlasScientificOEMpH::set_ph_raw(
double value) {
309 _internal_set_ph_raw(value);
314 inline bool AtlasScientificOEMpH::_internal_has_ph()
const {
315 bool value = (_has_bits_[0] & 0x00000002u) != 0;
318 inline bool AtlasScientificOEMpH::has_ph()
const {
319 return _internal_has_ph();
321 inline void AtlasScientificOEMpH::clear_ph() {
323 _has_bits_[0] &= ~0x00000002u;
325 inline double AtlasScientificOEMpH::_internal_ph()
const {
330 return _internal_ph();
332 inline void AtlasScientificOEMpH::_internal_set_ph(
double value) {
333 _has_bits_[0] |= 0x00000002u;
336 inline void AtlasScientificOEMpH::set_ph(
double value) {
337 _internal_set_ph(value);
342 inline bool AtlasScientificOEMpH::_internal_has_temperature()
const {
343 bool value = (_has_bits_[0] & 0x00000004u) != 0;
346 inline bool AtlasScientificOEMpH::has_temperature()
const {
347 return _internal_has_temperature();
349 inline void AtlasScientificOEMpH::clear_temperature() {
351 _has_bits_[0] &= ~0x00000004u;
353 inline double AtlasScientificOEMpH::_internal_temperature()
const {
356 inline double AtlasScientificOEMpH::temperature()
const {
358 return _internal_temperature();
360 inline void AtlasScientificOEMpH::_internal_set_temperature(
double value) {
361 _has_bits_[0] |= 0x00000004u;
362 temperature_ = value;
364 inline void AtlasScientificOEMpH::set_temperature(
double value) {
365 _internal_set_temperature(value);
370 inline bool AtlasScientificOEMpH::_internal_has_temperature_voltage()
const {
371 bool value = (_has_bits_[0] & 0x00000008u) != 0;
374 inline bool AtlasScientificOEMpH::has_temperature_voltage()
const {
375 return _internal_has_temperature_voltage();
377 inline void AtlasScientificOEMpH::clear_temperature_voltage() {
378 temperature_voltage_ = 0;
379 _has_bits_[0] &= ~0x00000008u;
381 inline double AtlasScientificOEMpH::_internal_temperature_voltage()
const {
382 return temperature_voltage_;
384 inline double AtlasScientificOEMpH::temperature_voltage()
const {
386 return _internal_temperature_voltage();
388 inline void AtlasScientificOEMpH::_internal_set_temperature_voltage(
double value) {
389 _has_bits_[0] |= 0x00000008u;
390 temperature_voltage_ = value;
392 inline void AtlasScientificOEMpH::set_temperature_voltage(
double value) {
393 _internal_set_temperature_voltage(value);
398 #pragma GCC diagnostic pop
409 #include <google/protobuf/port_undef.inc>
constexpr goby::middleware::Group ph
AtlasScientificOEMpHDefaultTypeInternal _AtlasScientificOEMpH_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fph_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]