4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fblue_5frobotics_5f_5fbar30_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fblue_5frobotics_5f_5fbar30_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_2fblue_5frobotics_5f_5fbar30_2eproto
40PROTOBUF_NAMESPACE_OPEN
44PROTOBUF_NAMESPACE_CLOSE
48 static const uint32_t
offsets[];
54class BlueRoboticsBar30;
55struct BlueRoboticsBar30DefaultTypeInternal;
60PROTOBUF_NAMESPACE_OPEN
62PROTOBUF_NAMESPACE_CLOSE
69class BlueRoboticsBar30 final :
70 public ::PROTOBUF_NAMESPACE_ID::Message {
74 explicit PROTOBUF_CONSTEXPR
BlueRoboticsBar30(::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() {
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());
151 return CreateMaybeMessage<BlueRoboticsBar30>(arena);
153 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
155 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
157 BlueRoboticsBar30::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;
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;
178 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
179 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
180 return "jaiabot.sensor.protobuf.BlueRoboticsBar30";
184 bool is_message_owned =
false);
188 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
190 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
203 bool _internal_has_pressure()
const;
209 double _internal_pressure()
const;
210 void _internal_set_pressure(
double value);
216 bool _internal_has_temperature()
const;
222 double _internal_temperature()
const;
223 void _internal_set_temperature(
double value);
230 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
231 typedef void InternalArenaConstructable_;
232 typedef void DestructorSkippable_;
234 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
235 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
240 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fblue_5frobotics_5f_5fbar30_2eproto;
248 #pragma GCC diagnostic push
249 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
254inline bool BlueRoboticsBar30::_internal_has_pressure()
const {
255 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
259 return _internal_has_pressure();
263 _impl_._has_bits_[0] &= ~0x00000001u;
265inline double BlueRoboticsBar30::_internal_pressure()
const {
270 return _internal_pressure();
272inline void BlueRoboticsBar30::_internal_set_pressure(
double value) {
273 _impl_._has_bits_[0] |= 0x00000001u;
277 _internal_set_pressure(value);
282inline bool BlueRoboticsBar30::_internal_has_temperature()
const {
283 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
287 return _internal_has_temperature();
291 _impl_._has_bits_[0] &= ~0x00000002u;
293inline double BlueRoboticsBar30::_internal_temperature()
const {
294 return _impl_.temperature_;
298 return _internal_temperature();
300inline void BlueRoboticsBar30::_internal_set_temperature(
double value) {
301 _impl_._has_bits_[0] |= 0x00000002u;
302 _impl_.temperature_ = value;
305 _internal_set_temperature(value);
310 #pragma GCC diagnostic pop
321#include <google/protobuf/port_undef.inc>
int GetCachedSize() const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
double temperature() const
bool IsInitialized() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
bool has_temperature() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
size_t ByteSizeLong() const final
void Swap(BlueRoboticsBar30 *other)
static const BlueRoboticsBar30 * internal_default_instance()
BlueRoboticsBar30 & operator=(const BlueRoboticsBar30 &from)
bool has_pressure() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
BlueRoboticsBar30 * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void MergeFrom(const BlueRoboticsBar30 &from)
static constexpr int kIndexInFileMessages
friend void swap(BlueRoboticsBar30 &a, BlueRoboticsBar30 &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void UnsafeArenaSwap(BlueRoboticsBar30 *other)
static const ClassData _class_data_
void set_temperature(double value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const BlueRoboticsBar30 & default_instance()
void set_pressure(double value)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
~BlueRoboticsBar30() override
@ kTemperatureFieldNumber
void CopyFrom(const BlueRoboticsBar30 &from)
BlueRoboticsBar30DefaultTypeInternal _BlueRoboticsBar30_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fblue_5frobotics_5f_5fbar30_2eproto
static const uint32_t offsets[]