4 #ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2ftsys01_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2ftsys01_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/temperature/celsius.hpp>
43 #include <boost/units/systems/si.hpp>
45 #include <google/protobuf/port_def.inc>
46 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2ftsys01_2eproto
47 PROTOBUF_NAMESPACE_OPEN
51 PROTOBUF_NAMESPACE_CLOSE
55 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
57 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
63 static const ::PROTOBUF_NAMESPACE_ID::uint32
offsets[];
69 class TSYS01DataDefaultTypeInternal;
73 PROTOBUF_NAMESPACE_OPEN
74 template<> ::jaiabot::protobuf::TSYS01Data* Arena::CreateMaybeMessage<::jaiabot::protobuf::TSYS01Data>(Arena*);
75 PROTOBUF_NAMESPACE_CLOSE
82 public ::PROTOBUF_NAMESPACE_ID::Message {
90 *
this = ::std::move(from);
93 inline TSYS01Data&
operator=(
const TSYS01Data& from) {
97 inline TSYS01Data&
operator=(TSYS01Data&& from) noexcept {
98 if (GetArena() == from.GetArena()) {
99 if (
this != &from) InternalSwap(&from);
107 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
110 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
113 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
114 return GetDescriptor();
117 return GetMetadataStatic().descriptor;
120 return GetMetadataStatic().reflection;
126 return reinterpret_cast<const TSYS01Data*
>(
129 static constexpr
int kIndexInFileMessages =
132 friend void swap(TSYS01Data& a, TSYS01Data& b) {
135 inline void Swap(TSYS01Data* other) {
136 if (other ==
this)
return;
137 if (GetArena() == other->GetArena()) {
140 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
144 if (other ==
this)
return;
145 GOOGLE_DCHECK(GetArena() == other->GetArena());
151 inline TSYS01Data*
New() const final {
152 return CreateMaybeMessage<TSYS01Data>(
nullptr);
155 TSYS01Data*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
156 return CreateMaybeMessage<TSYS01Data>(arena);
158 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
159 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
162 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
163 bool IsInitialized() const final;
165 size_t ByteSizeLong() const final;
166 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
167 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
168 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
169 int GetCachedSize() const final {
return _cached_size_.Get(); }
172 inline void SharedCtor();
173 inline void SharedDtor();
174 void SetCachedSize(
int size)
const final;
175 void InternalSwap(TSYS01Data* other);
176 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
177 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
178 return "jaiabot.protobuf.TSYS01Data";
183 static void ArenaDtor(
void*
object);
184 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
189 static ::PROTOBUF_NAMESPACE_ID::
Metadata GetMetadataStatic() {
201 kTemperatureFieldNumber = 1,
206 bool _internal_has_temperature()
const;
212 double _internal_temperature()
const;
213 void _internal_set_temperature(
double value);
218 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> >
temperature_unit;
220 template<
typename Quantity >
222 { set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
224 template<
typename Quantity >
229 {
return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
235 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
236 typedef void InternalArenaConstructable_;
237 typedef void DestructorSkippable_;
238 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
239 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
241 friend struct ::TableStruct_jaiabot_2fmessages_2ftsys01_2eproto;
249 #pragma GCC diagnostic push
250 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
255 inline bool TSYS01Data::_internal_has_temperature()
const {
256 bool value = (_has_bits_[0] & 0x00000001u) != 0;
259 inline bool TSYS01Data::has_temperature()
const {
260 return _internal_has_temperature();
262 inline void TSYS01Data::clear_temperature() {
264 _has_bits_[0] &= ~0x00000001u;
266 inline double TSYS01Data::_internal_temperature()
const {
269 inline double TSYS01Data::temperature()
const {
271 return _internal_temperature();
273 inline void TSYS01Data::_internal_set_temperature(
double value) {
274 _has_bits_[0] |= 0x00000001u;
275 temperature_ = value;
277 inline void TSYS01Data::set_temperature(
double value) {
278 _internal_set_temperature(value);
283 #pragma GCC diagnostic pop
293 #include <google/protobuf/port_undef.inc>
TSYS01Data(TSYS01Data &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void Swap(TSYS01Data *other)
TSYS01Data & operator=(const TSYS01Data &from)
static const TSYS01Data & default_instance()
void UnsafeArenaSwap(TSYS01Data *other)
void MergeFrom(const TSYS01Data &from)
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
boost::units::temperature_dimension temperature_dimension
friend void swap(TSYS01Data &a, TSYS01Data &b)
CameraResponse_Metadata Metadata
boost::units::quantity< temperature_unit, double > temperature_with_units() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
TSYS01Data(const TSYS01Data &from)
TSYS01Data * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void CopyFrom(const TSYS01Data &from)
TSYS01Data & operator=(TSYS01Data &&from) noexcept
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
TSYS01Data(::PROTOBUF_NAMESPACE_ID::Arena *arena)
Quantity temperature_with_units() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static void InitAsDefaultInstance()
void set_temperature(double value)
void set_temperature_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const TSYS01Data * internal_default_instance()
bool has_temperature() const
double temperature() const
TSYS01Data * New() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
TSYS01DataDefaultTypeInternal _TSYS01Data_default_instance_
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
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::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2ftsys01_2eproto