4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fec_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fec_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_5fec_2eproto
43PROTOBUF_NAMESPACE_OPEN
47PROTOBUF_NAMESPACE_CLOSE
51 static const uint32_t
offsets[];
57class AtlasScientificOEMEC;
58struct AtlasScientificOEMECDefaultTypeInternal;
63PROTOBUF_NAMESPACE_OPEN
65PROTOBUF_NAMESPACE_CLOSE
72class AtlasScientificOEMEC final :
73 public ::PROTOBUF_NAMESPACE_ID::Message {
77 explicit PROTOBUF_CONSTEXPR
AtlasScientificOEMEC(::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<AtlasScientificOEMEC>(arena);
156 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
158 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
160 AtlasScientificOEMEC::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.AtlasScientificOEMEC";
187 bool is_message_owned =
false);
191 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
193 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
209 bool _internal_has_conductivity_raw()
const;
215 double _internal_conductivity_raw()
const;
216 void _internal_set_conductivity_raw(
double value);
222 bool _internal_has_conductivity()
const;
228 double _internal_conductivity()
const;
229 void _internal_set_conductivity(
double value);
235 bool _internal_has_total_dissolved_solids()
const;
241 double _internal_total_dissolved_solids()
const;
242 void _internal_set_total_dissolved_solids(
double value);
248 bool _internal_has_salinity_raw()
const;
254 double _internal_salinity_raw()
const;
255 void _internal_set_salinity_raw(
double value);
261 bool _internal_has_salinity()
const;
267 double _internal_salinity()
const;
268 void _internal_set_salinity(
double value);
275 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
276 typedef void InternalArenaConstructable_;
277 typedef void DestructorSkippable_;
279 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
280 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
281 double conductivity_raw_;
282 double conductivity_;
283 double total_dissolved_solids_;
284 double salinity_raw_;
288 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fec_2eproto;
296 #pragma GCC diagnostic push
297 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
302inline bool AtlasScientificOEMEC::_internal_has_conductivity_raw()
const {
303 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
307 return _internal_has_conductivity_raw();
310 _impl_.conductivity_raw_ = 0;
311 _impl_._has_bits_[0] &= ~0x00000001u;
313inline double AtlasScientificOEMEC::_internal_conductivity_raw()
const {
314 return _impl_.conductivity_raw_;
318 return _internal_conductivity_raw();
320inline void AtlasScientificOEMEC::_internal_set_conductivity_raw(
double value) {
321 _impl_._has_bits_[0] |= 0x00000001u;
322 _impl_.conductivity_raw_ = value;
325 _internal_set_conductivity_raw(value);
330inline bool AtlasScientificOEMEC::_internal_has_conductivity()
const {
331 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
335 return _internal_has_conductivity();
339 _impl_._has_bits_[0] &= ~0x00000002u;
341inline double AtlasScientificOEMEC::_internal_conductivity()
const {
342 return _impl_.conductivity_;
346 return _internal_conductivity();
348inline void AtlasScientificOEMEC::_internal_set_conductivity(
double value) {
349 _impl_._has_bits_[0] |= 0x00000002u;
350 _impl_.conductivity_ = value;
353 _internal_set_conductivity(value);
358inline bool AtlasScientificOEMEC::_internal_has_total_dissolved_solids()
const {
359 bool value = (
_impl_._has_bits_[0] & 0x00000004u) != 0;
363 return _internal_has_total_dissolved_solids();
366 _impl_.total_dissolved_solids_ = 0;
367 _impl_._has_bits_[0] &= ~0x00000004u;
369inline double AtlasScientificOEMEC::_internal_total_dissolved_solids()
const {
370 return _impl_.total_dissolved_solids_;
374 return _internal_total_dissolved_solids();
376inline void AtlasScientificOEMEC::_internal_set_total_dissolved_solids(
double value) {
377 _impl_._has_bits_[0] |= 0x00000004u;
378 _impl_.total_dissolved_solids_ = value;
381 _internal_set_total_dissolved_solids(value);
386inline bool AtlasScientificOEMEC::_internal_has_salinity_raw()
const {
387 bool value = (
_impl_._has_bits_[0] & 0x00000008u) != 0;
391 return _internal_has_salinity_raw();
395 _impl_._has_bits_[0] &= ~0x00000008u;
397inline double AtlasScientificOEMEC::_internal_salinity_raw()
const {
398 return _impl_.salinity_raw_;
402 return _internal_salinity_raw();
404inline void AtlasScientificOEMEC::_internal_set_salinity_raw(
double value) {
405 _impl_._has_bits_[0] |= 0x00000008u;
406 _impl_.salinity_raw_ = value;
409 _internal_set_salinity_raw(value);
414inline bool AtlasScientificOEMEC::_internal_has_salinity()
const {
415 bool value = (
_impl_._has_bits_[0] & 0x00000010u) != 0;
419 return _internal_has_salinity();
423 _impl_._has_bits_[0] &= ~0x00000010u;
425inline double AtlasScientificOEMEC::_internal_salinity()
const {
430 return _internal_salinity();
432inline void AtlasScientificOEMEC::_internal_set_salinity(
double value) {
433 _impl_._has_bits_[0] |= 0x00000010u;
437 _internal_set_salinity(value);
442 #pragma GCC diagnostic pop
453#include <google/protobuf/port_undef.inc>
@ kSalinityRawFieldNumber
@ kConductivityRawFieldNumber
@ kTotalDissolvedSolidsFieldNumber
@ kConductivityFieldNumber
AtlasScientificOEMEC & operator=(const AtlasScientificOEMEC &from)
bool has_salinity() const
static const AtlasScientificOEMEC * internal_default_instance()
static constexpr int kIndexInFileMessages
void CopyFrom(const AtlasScientificOEMEC &from)
bool has_conductivity() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void set_conductivity(double value)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
AtlasScientificOEMEC * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_total_dissolved_solids(double value)
void Swap(AtlasScientificOEMEC *other)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void MergeFrom(const AtlasScientificOEMEC &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
int GetCachedSize() const final
void clear_total_dissolved_solids()
void clear_conductivity_raw()
double total_dissolved_solids() const
double salinity_raw() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
friend void swap(AtlasScientificOEMEC &a, AtlasScientificOEMEC &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
bool has_total_dissolved_solids() const
void UnsafeArenaSwap(AtlasScientificOEMEC *other)
bool has_conductivity_raw() const
void clear_conductivity()
size_t ByteSizeLong() const final
void set_salinity_raw(double value)
void set_conductivity_raw(double value)
double conductivity_raw() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
bool IsInitialized() const final
void set_salinity(double value)
static const AtlasScientificOEMEC & default_instance()
void clear_salinity_raw()
~AtlasScientificOEMEC() override
bool has_salinity_raw() const
double conductivity() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ClassData _class_data_
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
AtlasScientificOEMECDefaultTypeInternal _AtlasScientificOEMEC_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fec_2eproto
static const uint32_t offsets[]