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 < 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_5fdo_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 AtlasScientificOEMDO;
68 class AtlasScientificOEMDODefaultTypeInternal;
73 PROTOBUF_NAMESPACE_OPEN
74 template<> ::jaiabot::sensor::protobuf::AtlasScientificOEMDO* Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::AtlasScientificOEMDO>(Arena*);
75 PROTOBUF_NAMESPACE_CLOSE
83 public ::PROTOBUF_NAMESPACE_ID::Message {
85 inline AtlasScientificOEMDO() : AtlasScientificOEMDO(nullptr) {};
86 virtual ~AtlasScientificOEMDO();
88 AtlasScientificOEMDO(
const AtlasScientificOEMDO& from);
89 AtlasScientificOEMDO(AtlasScientificOEMDO&& from) noexcept
90 : AtlasScientificOEMDO() {
91 *
this = ::std::move(from);
94 inline AtlasScientificOEMDO& operator=(
const AtlasScientificOEMDO& from) {
98 inline AtlasScientificOEMDO& operator=(AtlasScientificOEMDO&& 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 AtlasScientificOEMDO& default_instance();
125 static void InitAsDefaultInstance();
126 static inline const AtlasScientificOEMDO* internal_default_instance() {
127 return reinterpret_cast<const AtlasScientificOEMDO*
>(
130 static constexpr
int kIndexInFileMessages =
133 friend void swap(AtlasScientificOEMDO& a, AtlasScientificOEMDO& b) {
136 inline void Swap(AtlasScientificOEMDO* other) {
137 if (other ==
this)
return;
138 if (GetArena() == other->GetArena()) {
141 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
144 void UnsafeArenaSwap(AtlasScientificOEMDO* other) {
145 if (other ==
this)
return;
146 GOOGLE_DCHECK(GetArena() == other->GetArena());
152 inline AtlasScientificOEMDO* New() const final {
153 return CreateMaybeMessage<AtlasScientificOEMDO>(
nullptr);
156 AtlasScientificOEMDO* New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
157 return CreateMaybeMessage<AtlasScientificOEMDO>(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 AtlasScientificOEMDO& from);
162 void MergeFrom(
const AtlasScientificOEMDO& 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(AtlasScientificOEMDO* other);
177 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
178 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
179 return "jaiabot.sensor.protobuf.AtlasScientificOEMDO";
182 explicit AtlasScientificOEMDO(::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 kDoRawFieldNumber = 1,
203 kDoSolubilityFieldNumber = 2,
204 kDoSaturationPercentFieldNumber = 3,
205 kDoNormalizedSolubilityFieldNumber = 4,
206 kTemperatureFieldNumber = 5,
207 kTemperatureVoltageFieldNumber = 6,
210 bool has_do_raw()
const;
212 bool _internal_has_do_raw()
const;
215 double do_raw()
const;
216 void set_do_raw(
double value);
218 double _internal_do_raw()
const;
219 void _internal_set_do_raw(
double value);
223 bool has_do_solubility()
const;
225 bool _internal_has_do_solubility()
const;
227 void clear_do_solubility();
228 double do_solubility()
const;
229 void set_do_solubility(
double value);
231 double _internal_do_solubility()
const;
232 void _internal_set_do_solubility(
double value);
236 bool has_do_saturation_percent()
const;
238 bool _internal_has_do_saturation_percent()
const;
240 void clear_do_saturation_percent();
241 double do_saturation_percent()
const;
242 void set_do_saturation_percent(
double value);
244 double _internal_do_saturation_percent()
const;
245 void _internal_set_do_saturation_percent(
double value);
249 bool has_do_normalized_solubility()
const;
251 bool _internal_has_do_normalized_solubility()
const;
253 void clear_do_normalized_solubility();
254 double do_normalized_solubility()
const;
255 void set_do_normalized_solubility(
double value);
257 double _internal_do_normalized_solubility()
const;
258 void _internal_set_do_normalized_solubility(
double value);
262 bool has_temperature()
const;
264 bool _internal_has_temperature()
const;
266 void clear_temperature();
267 double temperature()
const;
268 void set_temperature(
double value);
270 double _internal_temperature()
const;
271 void _internal_set_temperature(
double value);
275 bool has_temperature_voltage()
const;
277 bool _internal_has_temperature_voltage()
const;
279 void clear_temperature_voltage();
280 double temperature_voltage()
const;
281 void set_temperature_voltage(
double value);
283 double _internal_temperature_voltage()
const;
284 void _internal_set_temperature_voltage(
double value);
291 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
292 typedef void InternalArenaConstructable_;
293 typedef void DestructorSkippable_;
294 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
295 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
297 double do_solubility_;
298 double do_saturation_percent_;
299 double do_normalized_solubility_;
301 double temperature_voltage_;
302 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto;
310 #pragma GCC diagnostic push
311 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
316 inline bool AtlasScientificOEMDO::_internal_has_do_raw()
const {
317 bool value = (_has_bits_[0] & 0x00000001u) != 0;
320 inline bool AtlasScientificOEMDO::has_do_raw()
const {
321 return _internal_has_do_raw();
323 inline void AtlasScientificOEMDO::clear_do_raw() {
325 _has_bits_[0] &= ~0x00000001u;
327 inline double AtlasScientificOEMDO::_internal_do_raw()
const {
330 inline double AtlasScientificOEMDO::do_raw()
const {
332 return _internal_do_raw();
334 inline void AtlasScientificOEMDO::_internal_set_do_raw(
double value) {
335 _has_bits_[0] |= 0x00000001u;
338 inline void AtlasScientificOEMDO::set_do_raw(
double value) {
339 _internal_set_do_raw(value);
344 inline bool AtlasScientificOEMDO::_internal_has_do_solubility()
const {
345 bool value = (_has_bits_[0] & 0x00000002u) != 0;
348 inline bool AtlasScientificOEMDO::has_do_solubility()
const {
349 return _internal_has_do_solubility();
351 inline void AtlasScientificOEMDO::clear_do_solubility() {
353 _has_bits_[0] &= ~0x00000002u;
355 inline double AtlasScientificOEMDO::_internal_do_solubility()
const {
356 return do_solubility_;
358 inline double AtlasScientificOEMDO::do_solubility()
const {
360 return _internal_do_solubility();
362 inline void AtlasScientificOEMDO::_internal_set_do_solubility(
double value) {
363 _has_bits_[0] |= 0x00000002u;
364 do_solubility_ = value;
366 inline void AtlasScientificOEMDO::set_do_solubility(
double value) {
367 _internal_set_do_solubility(value);
372 inline bool AtlasScientificOEMDO::_internal_has_do_saturation_percent()
const {
373 bool value = (_has_bits_[0] & 0x00000004u) != 0;
376 inline bool AtlasScientificOEMDO::has_do_saturation_percent()
const {
377 return _internal_has_do_saturation_percent();
379 inline void AtlasScientificOEMDO::clear_do_saturation_percent() {
380 do_saturation_percent_ = 0;
381 _has_bits_[0] &= ~0x00000004u;
383 inline double AtlasScientificOEMDO::_internal_do_saturation_percent()
const {
384 return do_saturation_percent_;
386 inline double AtlasScientificOEMDO::do_saturation_percent()
const {
388 return _internal_do_saturation_percent();
390 inline void AtlasScientificOEMDO::_internal_set_do_saturation_percent(
double value) {
391 _has_bits_[0] |= 0x00000004u;
392 do_saturation_percent_ = value;
394 inline void AtlasScientificOEMDO::set_do_saturation_percent(
double value) {
395 _internal_set_do_saturation_percent(value);
400 inline bool AtlasScientificOEMDO::_internal_has_do_normalized_solubility()
const {
401 bool value = (_has_bits_[0] & 0x00000008u) != 0;
404 inline bool AtlasScientificOEMDO::has_do_normalized_solubility()
const {
405 return _internal_has_do_normalized_solubility();
407 inline void AtlasScientificOEMDO::clear_do_normalized_solubility() {
408 do_normalized_solubility_ = 0;
409 _has_bits_[0] &= ~0x00000008u;
411 inline double AtlasScientificOEMDO::_internal_do_normalized_solubility()
const {
412 return do_normalized_solubility_;
414 inline double AtlasScientificOEMDO::do_normalized_solubility()
const {
416 return _internal_do_normalized_solubility();
418 inline void AtlasScientificOEMDO::_internal_set_do_normalized_solubility(
double value) {
419 _has_bits_[0] |= 0x00000008u;
420 do_normalized_solubility_ = value;
422 inline void AtlasScientificOEMDO::set_do_normalized_solubility(
double value) {
423 _internal_set_do_normalized_solubility(value);
428 inline bool AtlasScientificOEMDO::_internal_has_temperature()
const {
429 bool value = (_has_bits_[0] & 0x00000010u) != 0;
432 inline bool AtlasScientificOEMDO::has_temperature()
const {
433 return _internal_has_temperature();
435 inline void AtlasScientificOEMDO::clear_temperature() {
437 _has_bits_[0] &= ~0x00000010u;
439 inline double AtlasScientificOEMDO::_internal_temperature()
const {
442 inline double AtlasScientificOEMDO::temperature()
const {
444 return _internal_temperature();
446 inline void AtlasScientificOEMDO::_internal_set_temperature(
double value) {
447 _has_bits_[0] |= 0x00000010u;
448 temperature_ = value;
450 inline void AtlasScientificOEMDO::set_temperature(
double value) {
451 _internal_set_temperature(value);
456 inline bool AtlasScientificOEMDO::_internal_has_temperature_voltage()
const {
457 bool value = (_has_bits_[0] & 0x00000020u) != 0;
460 inline bool AtlasScientificOEMDO::has_temperature_voltage()
const {
461 return _internal_has_temperature_voltage();
463 inline void AtlasScientificOEMDO::clear_temperature_voltage() {
464 temperature_voltage_ = 0;
465 _has_bits_[0] &= ~0x00000020u;
467 inline double AtlasScientificOEMDO::_internal_temperature_voltage()
const {
468 return temperature_voltage_;
470 inline double AtlasScientificOEMDO::temperature_voltage()
const {
472 return _internal_temperature_voltage();
474 inline void AtlasScientificOEMDO::_internal_set_temperature_voltage(
double value) {
475 _has_bits_[0] |= 0x00000020u;
476 temperature_voltage_ = value;
478 inline void AtlasScientificOEMDO::set_temperature_voltage(
double value) {
479 _internal_set_temperature_voltage(value);
484 #pragma GCC diagnostic pop
495 #include <google/protobuf/port_undef.inc>
AtlasScientificOEMDODefaultTypeInternal _AtlasScientificOEMDO_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)