4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2ftsys01_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2ftsys01_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>
33#include <boost/units/quantity.hpp>
34#include <boost/units/absolute.hpp>
35#include <boost/units/dimensionless_type.hpp>
36#include <boost/units/make_scaled_unit.hpp>
38#include <google/protobuf/port_def.inc>
39#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fsensor_2ftsys01_2eproto
40PROTOBUF_NAMESPACE_OPEN
44PROTOBUF_NAMESPACE_CLOSE
48 static const uint32_t
offsets[];
55struct TSYS01DefaultTypeInternal;
60PROTOBUF_NAMESPACE_OPEN
62PROTOBUF_NAMESPACE_CLOSE
70 public ::PROTOBUF_NAMESPACE_ID::Message {
74 explicit PROTOBUF_CONSTEXPR
TSYS01(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
79 *
this = ::std::move(from);
87 if (
this == &from)
return *
this;
88 if (GetOwningArena() == from.GetOwningArena()
89 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
90 && GetOwningArena() !=
nullptr
100 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet&
unknown_fields()
const {
101 return _internal_metadata_.
unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
104 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
107 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
110 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
GetDescriptor() {
113 static const ::PROTOBUF_NAMESPACE_ID::Reflection*
GetReflection() {
120 return reinterpret_cast<const TSYS01*
>(
130 if (other ==
this)
return;
131 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
132 if (GetOwningArena() !=
nullptr &&
133 GetOwningArena() == other->GetOwningArena()) {
135 if (GetOwningArena() == other->GetOwningArena()) {
139 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
143 if (other ==
this)
return;
144 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
150 TSYS01*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
151 return CreateMaybeMessage<TSYS01>(arena);
153 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
155 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
157 TSYS01::MergeImpl(*
this, from);
160 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
162 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
166 const
char*
_InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
168 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
172 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
174 void SetCachedSize(
int size)
const final;
175 void InternalSwap(
TSYS01* other);
178 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
179 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
180 return "jaiabot.sensor.protobuf.TSYS01";
183 explicit TSYS01(::PROTOBUF_NAMESPACE_ID::Arena* arena,
184 bool is_message_owned =
false);
188 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
190 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
202 bool _internal_has_temperature()
const;
208 double _internal_temperature()
const;
209 void _internal_set_temperature(
double value);
216 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
217 typedef void InternalArenaConstructable_;
218 typedef void DestructorSkippable_;
220 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
221 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
225 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2ftsys01_2eproto;
233 #pragma GCC diagnostic push
234 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
239inline bool TSYS01::_internal_has_temperature()
const {
240 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
244 return _internal_has_temperature();
248 _impl_._has_bits_[0] &= ~0x00000001u;
250inline double TSYS01::_internal_temperature()
const {
251 return _impl_.temperature_;
255 return _internal_temperature();
257inline void TSYS01::_internal_set_temperature(
double value) {
258 _impl_._has_bits_[0] |= 0x00000001u;
259 _impl_.temperature_ = value;
262 _internal_set_temperature(value);
267 #pragma GCC diagnostic pop
278#include <google/protobuf/port_undef.inc>
@ kTemperatureFieldNumber
bool IsInitialized() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void CopyFrom(const TSYS01 &from)
friend void swap(TSYS01 &a, TSYS01 &b)
void set_temperature(double value)
static const TSYS01 & default_instance()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static constexpr int kIndexInFileMessages
static const ClassData _class_data_
void MergeFrom(const TSYS01 &from)
TSYS01 * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
TSYS01 & operator=(const TSYS01 &from)
void UnsafeArenaSwap(TSYS01 *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
size_t ByteSizeLong() const final
int GetCachedSize() const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const TSYS01 * internal_default_instance()
double temperature() const
bool has_temperature() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
TSYS01DefaultTypeInternal _TSYS01_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2ftsys01_2eproto
static const uint32_t offsets[]