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 < 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>
35 #include <boost/units/quantity.hpp>
36 #include <boost/units/absolute.hpp>
37 #include <boost/units/dimensionless_type.hpp>
38 #include <boost/units/make_scaled_unit.hpp>
40 #include <google/protobuf/port_def.inc>
41 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fsensor_2fblue_5frobotics_5f_5fbar30_2eproto
42 PROTOBUF_NAMESPACE_OPEN
46 PROTOBUF_NAMESPACE_CLOSE
50 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
52 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
54 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
56 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
58 static const ::PROTOBUF_NAMESPACE_ID::uint32
offsets[];
64 class BlueRoboticsBar30;
65 class BlueRoboticsBar30DefaultTypeInternal;
70 PROTOBUF_NAMESPACE_OPEN
71 template<> ::jaiabot::sensor::protobuf::BlueRoboticsBar30* Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::BlueRoboticsBar30>(Arena*);
72 PROTOBUF_NAMESPACE_CLOSE
80 public ::PROTOBUF_NAMESPACE_ID::Message {
82 inline BlueRoboticsBar30() : BlueRoboticsBar30(nullptr) {};
83 virtual ~BlueRoboticsBar30();
85 BlueRoboticsBar30(
const BlueRoboticsBar30& from);
86 BlueRoboticsBar30(BlueRoboticsBar30&& from) noexcept
87 : BlueRoboticsBar30() {
88 *
this = ::std::move(from);
91 inline BlueRoboticsBar30& operator=(
const BlueRoboticsBar30& from) {
95 inline BlueRoboticsBar30& operator=(BlueRoboticsBar30&& from) noexcept {
96 if (GetArena() == from.GetArena()) {
97 if (
this != &from) InternalSwap(&from);
104 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields()
const {
105 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
107 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
108 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
112 return GetDescriptor();
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
115 return GetMetadataStatic().descriptor;
117 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
118 return GetMetadataStatic().reflection;
120 static const BlueRoboticsBar30& default_instance();
122 static void InitAsDefaultInstance();
123 static inline const BlueRoboticsBar30* internal_default_instance() {
124 return reinterpret_cast<const BlueRoboticsBar30*
>(
127 static constexpr
int kIndexInFileMessages =
130 friend void swap(BlueRoboticsBar30& a, BlueRoboticsBar30& b) {
133 inline void Swap(BlueRoboticsBar30* other) {
134 if (other ==
this)
return;
135 if (GetArena() == other->GetArena()) {
138 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
141 void UnsafeArenaSwap(BlueRoboticsBar30* other) {
142 if (other ==
this)
return;
143 GOOGLE_DCHECK(GetArena() == other->GetArena());
149 inline BlueRoboticsBar30* New() const final {
150 return CreateMaybeMessage<BlueRoboticsBar30>(
nullptr);
153 BlueRoboticsBar30* New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
154 return CreateMaybeMessage<BlueRoboticsBar30>(arena);
156 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
157 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
158 void CopyFrom(
const BlueRoboticsBar30& from);
159 void MergeFrom(
const BlueRoboticsBar30& from);
160 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
161 bool IsInitialized() const final;
163 size_t ByteSizeLong() const final;
164 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
165 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
166 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
167 int GetCachedSize() const final {
return _cached_size_.Get(); }
170 inline void SharedCtor();
171 inline void SharedDtor();
172 void SetCachedSize(
int size)
const final;
173 void InternalSwap(BlueRoboticsBar30* other);
174 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
175 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
176 return "jaiabot.sensor.protobuf.BlueRoboticsBar30";
179 explicit BlueRoboticsBar30(::PROTOBUF_NAMESPACE_ID::Arena* arena);
181 static void ArenaDtor(
void*
object);
182 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
185 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
187 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
199 kPressureFieldNumber = 1,
200 kTemperatureFieldNumber = 2,
203 bool has_pressure()
const;
205 bool _internal_has_pressure()
const;
207 void clear_pressure();
208 double pressure()
const;
209 void set_pressure(
double value);
211 double _internal_pressure()
const;
212 void _internal_set_pressure(
double value);
216 bool has_temperature()
const;
218 bool _internal_has_temperature()
const;
220 void clear_temperature();
221 double temperature()
const;
222 void set_temperature(
double value);
224 double _internal_temperature()
const;
225 void _internal_set_temperature(
double value);
232 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
233 typedef void InternalArenaConstructable_;
234 typedef void DestructorSkippable_;
235 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
236 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
239 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fblue_5frobotics_5f_5fbar30_2eproto;
247 #pragma GCC diagnostic push
248 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
253 inline bool BlueRoboticsBar30::_internal_has_pressure()
const {
254 bool value = (_has_bits_[0] & 0x00000001u) != 0;
257 inline bool BlueRoboticsBar30::has_pressure()
const {
258 return _internal_has_pressure();
260 inline void BlueRoboticsBar30::clear_pressure() {
262 _has_bits_[0] &= ~0x00000001u;
264 inline double BlueRoboticsBar30::_internal_pressure()
const {
267 inline double BlueRoboticsBar30::pressure()
const {
269 return _internal_pressure();
271 inline void BlueRoboticsBar30::_internal_set_pressure(
double value) {
272 _has_bits_[0] |= 0x00000001u;
275 inline void BlueRoboticsBar30::set_pressure(
double value) {
276 _internal_set_pressure(value);
281 inline bool BlueRoboticsBar30::_internal_has_temperature()
const {
282 bool value = (_has_bits_[0] & 0x00000002u) != 0;
285 inline bool BlueRoboticsBar30::has_temperature()
const {
286 return _internal_has_temperature();
288 inline void BlueRoboticsBar30::clear_temperature() {
290 _has_bits_[0] &= ~0x00000002u;
292 inline double BlueRoboticsBar30::_internal_temperature()
const {
295 inline double BlueRoboticsBar30::temperature()
const {
297 return _internal_temperature();
299 inline void BlueRoboticsBar30::_internal_set_temperature(
double value) {
300 _has_bits_[0] |= 0x00000002u;
301 temperature_ = value;
303 inline void BlueRoboticsBar30::set_temperature(
double value) {
304 _internal_set_temperature(value);
309 #pragma GCC diagnostic pop
320 #include <google/protobuf/port_undef.inc>
BlueRoboticsBar30DefaultTypeInternal _BlueRoboticsBar30_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fblue_5frobotics_5f_5fbar30_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]