4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fair_5fpressure_5fsensor_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fair_5fpressure_5fsensor_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
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 3014000 < 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/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/unknown_field_set.h>
37 #pragma GCC system_header
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #include <sys/sysmacros.h>
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fair_5fpressure_5fsensor_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
54 PROTOBUF_NAMESPACE_CLOSE
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66 static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
71 class AirPressureSensor;
72 class AirPressureSensorDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::AirPressureSensor* Arena::CreateMaybeMessage<::ignition::msgs::AirPressureSensor>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class IGNITION_MSGS_VISIBLE AirPressureSensor PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
92 : AirPressureSensor() {
93 *
this = ::std::move(from);
96 inline AirPressureSensor&
operator=(
const AirPressureSensor& from) {
100 inline AirPressureSensor&
operator=(AirPressureSensor&& from) noexcept {
101 if (GetArena() == from.GetArena()) {
102 if (
this != &from) InternalSwap(&from);
109 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
110 return GetDescriptor();
113 return GetMetadataStatic().descriptor;
116 return GetMetadataStatic().reflection;
121 return reinterpret_cast<const AirPressureSensor*
>(
124 static constexpr
int kIndexInFileMessages =
127 friend void swap(AirPressureSensor& a, AirPressureSensor& b) {
130 inline void Swap(AirPressureSensor* other) {
131 if (other ==
this)
return;
132 if (GetArena() == other->GetArena()) {
135 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
139 if (other ==
this)
return;
140 GOOGLE_DCHECK(GetArena() == other->GetArena());
146 inline AirPressureSensor*
New() const final {
147 return CreateMaybeMessage<AirPressureSensor>(
nullptr);
150 AirPressureSensor*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
151 return CreateMaybeMessage<AirPressureSensor>(arena);
153 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
154 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
157 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
158 bool IsInitialized() const final;
160 size_t ByteSizeLong() const final;
161 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
162 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
163 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
164 int GetCachedSize() const final {
return _cached_size_.Get(); }
167 inline void SharedCtor();
168 inline void SharedDtor();
169 void SetCachedSize(
int size)
const final;
170 void InternalSwap(AirPressureSensor* other);
171 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173 return "ignition.msgs.AirPressureSensor";
178 static void ArenaDtor(
void*
object);
179 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
184 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
196 kHeaderFieldNumber = 1,
197 kPressureNoiseFieldNumber = 3,
198 kReferenceAltitudeFieldNumber = 2,
203 bool _internal_has_header()
const;
206 const ::ignition::msgs::Header&
header()
const;
211 const ::ignition::msgs::Header& _internal_header()
const;
212 ::ignition::msgs::Header* _internal_mutable_header();
215 ::ignition::msgs::Header* header);
221 bool _internal_has_pressure_noise()
const;
229 const ::ignition::msgs::SensorNoise& _internal_pressure_noise()
const;
230 ::ignition::msgs::SensorNoise* _internal_mutable_pressure_noise();
233 ::ignition::msgs::SensorNoise* pressure_noise);
241 double _internal_reference_altitude()
const;
242 void _internal_set_reference_altitude(
double value);
249 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
250 typedef void InternalArenaConstructable_;
251 typedef void DestructorSkippable_;
252 ::ignition::msgs::Header* header_;
253 ::ignition::msgs::SensorNoise* pressure_noise_;
254 double reference_altitude_;
255 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
256 friend struct ::TableStruct_ignition_2fmsgs_2fair_5fpressure_5fsensor_2eproto;
264 #pragma GCC diagnostic push
265 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
270 inline bool AirPressureSensor::_internal_has_header()
const {
271 return this != internal_default_instance() && header_ !=
nullptr;
273 inline bool AirPressureSensor::has_header()
const {
274 return _internal_has_header();
276 inline const ::ignition::msgs::Header& AirPressureSensor::_internal_header()
const {
277 const ::ignition::msgs::Header* p = header_;
278 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
281 inline const ::ignition::msgs::Header& AirPressureSensor::header()
const {
283 return _internal_header();
285 inline void AirPressureSensor::unsafe_arena_set_allocated_header(
286 ::ignition::msgs::Header* header) {
287 if (GetArena() ==
nullptr) {
288 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
298 inline ::ignition::msgs::Header* AirPressureSensor::release_header() {
300 ::ignition::msgs::Header* temp = header_;
302 if (GetArena() !=
nullptr) {
303 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
307 inline ::ignition::msgs::Header* AirPressureSensor::unsafe_arena_release_header() {
310 ::ignition::msgs::Header* temp = header_;
314 inline ::ignition::msgs::Header* AirPressureSensor::_internal_mutable_header() {
316 if (header_ ==
nullptr) {
317 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
322 inline ::ignition::msgs::Header* AirPressureSensor::mutable_header() {
324 return _internal_mutable_header();
326 inline void AirPressureSensor::set_allocated_header(::ignition::msgs::Header* header) {
327 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
328 if (message_arena ==
nullptr) {
329 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
332 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
333 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
334 if (message_arena != submessage_arena) {
335 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
336 message_arena, header, submessage_arena);
347 inline void AirPressureSensor::clear_reference_altitude() {
348 reference_altitude_ = 0;
350 inline double AirPressureSensor::_internal_reference_altitude()
const {
351 return reference_altitude_;
353 inline double AirPressureSensor::reference_altitude()
const {
355 return _internal_reference_altitude();
357 inline void AirPressureSensor::_internal_set_reference_altitude(
double value) {
359 reference_altitude_ = value;
361 inline void AirPressureSensor::set_reference_altitude(
double value) {
362 _internal_set_reference_altitude(value);
367 inline bool AirPressureSensor::_internal_has_pressure_noise()
const {
368 return this != internal_default_instance() && pressure_noise_ !=
nullptr;
370 inline bool AirPressureSensor::has_pressure_noise()
const {
371 return _internal_has_pressure_noise();
373 inline const ::ignition::msgs::SensorNoise& AirPressureSensor::_internal_pressure_noise()
const {
374 const ::ignition::msgs::SensorNoise* p = pressure_noise_;
375 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::SensorNoise&
>(
378 inline const ::ignition::msgs::SensorNoise& AirPressureSensor::pressure_noise()
const {
380 return _internal_pressure_noise();
382 inline void AirPressureSensor::unsafe_arena_set_allocated_pressure_noise(
383 ::ignition::msgs::SensorNoise* pressure_noise) {
384 if (GetArena() ==
nullptr) {
385 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pressure_noise_);
387 pressure_noise_ = pressure_noise;
388 if (pressure_noise) {
395 inline ::ignition::msgs::SensorNoise* AirPressureSensor::release_pressure_noise() {
397 ::ignition::msgs::SensorNoise* temp = pressure_noise_;
398 pressure_noise_ =
nullptr;
399 if (GetArena() !=
nullptr) {
400 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
404 inline ::ignition::msgs::SensorNoise* AirPressureSensor::unsafe_arena_release_pressure_noise() {
407 ::ignition::msgs::SensorNoise* temp = pressure_noise_;
408 pressure_noise_ =
nullptr;
411 inline ::ignition::msgs::SensorNoise* AirPressureSensor::_internal_mutable_pressure_noise() {
413 if (pressure_noise_ ==
nullptr) {
414 auto* p = CreateMaybeMessage<::ignition::msgs::SensorNoise>(GetArena());
417 return pressure_noise_;
419 inline ::ignition::msgs::SensorNoise* AirPressureSensor::mutable_pressure_noise() {
421 return _internal_mutable_pressure_noise();
423 inline void AirPressureSensor::set_allocated_pressure_noise(::ignition::msgs::SensorNoise* pressure_noise) {
424 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
425 if (message_arena ==
nullptr) {
426 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pressure_noise_);
428 if (pressure_noise) {
429 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
430 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pressure_noise)->GetArena();
431 if (message_arena != submessage_arena) {
432 pressure_noise = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
433 message_arena, pressure_noise, submessage_arena);
439 pressure_noise_ = pressure_noise;
444 #pragma GCC diagnostic pop
461 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fair_5fpressure_5fsensor_2eproto
::ignition::msgs::SensorNoise * unsafe_arena_release_pressure_noise()
void Swap(AirPressureSensor *other)
Definition: air_pressure_sensor.pb.h:130
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: air_pressure_sensor.pb.h:115
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
AirPressureSensor(const AirPressureSensor &from)
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: air_pressure_sensor.pb.h:109
AirPressureSensor * New() const final
Definition: air_pressure_sensor.pb.h:146
double reference_altitude() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
const ::ignition::msgs::SensorNoise & pressure_noise() const
void clear_reference_altitude()
AirPressureSensor & operator=(const AirPressureSensor &from)
Definition: air_pressure_sensor.pb.h:96
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
friend void swap(AirPressureSensor &a, AirPressureSensor &b)
Definition: air_pressure_sensor.pb.h:127
virtual ~AirPressureSensor()
static const AirPressureSensor * internal_default_instance()
Definition: air_pressure_sensor.pb.h:120
static const AirPressureSensor & default_instance()
bool has_pressure_noise() const
void MergeFrom(const AirPressureSensor &from)
::ignition::msgs::SensorNoise * mutable_pressure_noise()
void set_reference_altitude(double value)
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_allocated_pressure_noise(::ignition::msgs::SensorNoise *pressure_noise)
AirPressureSensor & operator=(AirPressureSensor &&from) noexcept
Definition: air_pressure_sensor.pb.h:100
void set_allocated_header(::ignition::msgs::Header *header)
AirPressureSensor * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: air_pressure_sensor.pb.h:150
AirPressureSensor(::PROTOBUF_NAMESPACE_ID::Arena *arena)
AirPressureSensor()
Definition: air_pressure_sensor.pb.h:87
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: air_pressure_sensor.pb.h:112
void unsafe_arena_set_allocated_pressure_noise(::ignition::msgs::SensorNoise *pressure_noise)
void clear_pressure_noise()
::ignition::msgs::SensorNoise * release_pressure_noise()
void CopyFrom(const AirPressureSensor &from)
void UnsafeArenaSwap(AirPressureSensor *other)
Definition: air_pressure_sensor.pb.h:138
const ::ignition::msgs::Header & header() const
AirPressureSensor(AirPressureSensor &&from) noexcept
Definition: air_pressure_sensor.pb.h:91
std::unique_ptr< AirPressureSensor > AirPressureSensorUniquePtr
Definition: air_pressure_sensor.pb.h:447
std::shared_ptr< AirPressureSensor > AirPressureSensorSharedPtr
Definition: air_pressure_sensor.pb.h:449
IGNITION_MSGS_VISIBLE SensorNoiseDefaultTypeInternal _SensorNoise_default_instance_
std::unique_ptr< const AirPressureSensor > ConstAirPressureSensorUniquePtr
Definition: air_pressure_sensor.pb.h:448
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const AirPressureSensor > ConstAirPressureSensorSharedPtr
Definition: air_pressure_sensor.pb.h:450
IGNITION_MSGS_VISIBLE AirPressureSensorDefaultTypeInternal _AirPressureSensor_default_instance_
Definition: actor.pb.h:52
Definition: air_pressure_sensor.pb.h:57
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)