4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fatmosphere_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fatmosphere_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/generated_enum_reflection.h>
34 #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_2fatmosphere_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[];
72 class AtmosphereDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Atmosphere* Arena::CreateMaybeMessage<::ignition::msgs::Atmosphere>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
97 "Incorrect type passed to function Atmosphere_Type_Name.");
98 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
102 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
Atmosphere_Type* value) {
103 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Atmosphere_Type>(
108 class IGNITION_MSGS_VISIBLE Atmosphere PROTOBUF_FINAL :
109 public ::PROTOBUF_NAMESPACE_ID::Message {
117 *
this = ::std::move(from);
124 inline Atmosphere&
operator=(Atmosphere&& from) noexcept {
125 if (GetArena() == from.GetArena()) {
126 if (
this != &from) InternalSwap(&from);
133 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
134 return GetDescriptor();
137 return GetMetadataStatic().descriptor;
140 return GetMetadataStatic().reflection;
145 return reinterpret_cast<const Atmosphere*
>(
148 static constexpr
int kIndexInFileMessages =
151 friend void swap(Atmosphere& a, Atmosphere& b) {
154 inline void Swap(Atmosphere* other) {
155 if (other ==
this)
return;
156 if (GetArena() == other->GetArena()) {
159 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
163 if (other ==
this)
return;
164 GOOGLE_DCHECK(GetArena() == other->GetArena());
170 inline Atmosphere*
New() const final {
171 return CreateMaybeMessage<Atmosphere>(
nullptr);
174 Atmosphere*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
175 return CreateMaybeMessage<Atmosphere>(arena);
177 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
178 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
181 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
182 bool IsInitialized() const final;
184 size_t ByteSizeLong() const final;
185 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
186 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
187 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
188 int GetCachedSize() const final {
return _cached_size_.Get(); }
191 inline void SharedCtor();
192 inline void SharedDtor();
193 void SetCachedSize(
int size)
const final;
194 void InternalSwap(Atmosphere* other);
195 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
196 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
197 return "ignition.msgs.Atmosphere";
202 static void ArenaDtor(
void*
object);
203 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
208 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
218 static constexpr
Type ADIABATIC =
223 static constexpr
Type Type_MIN =
225 static constexpr
Type Type_MAX =
227 static constexpr
int Type_ARRAYSIZE =
229 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
237 "Incorrect type passed to function Type_Name.");
240 static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
248 kHeaderFieldNumber = 1,
249 kTemperatureFieldNumber = 3,
250 kPressureFieldNumber = 4,
251 kTypeFieldNumber = 2,
252 kEnableAtmosphereFieldNumber = 6,
253 kMassDensityFieldNumber = 5,
258 bool _internal_has_header()
const;
261 const ::ignition::msgs::Header&
header()
const;
266 const ::ignition::msgs::Header& _internal_header()
const;
267 ::ignition::msgs::Header* _internal_mutable_header();
270 ::ignition::msgs::Header* header);
278 double _internal_temperature()
const;
279 void _internal_set_temperature(
double value);
287 double _internal_pressure()
const;
288 void _internal_set_pressure(
double value);
305 bool _internal_enable_atmosphere()
const;
306 void _internal_set_enable_atmosphere(
bool value);
314 double _internal_mass_density()
const;
315 void _internal_set_mass_density(
double value);
322 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
323 typedef void InternalArenaConstructable_;
324 typedef void DestructorSkippable_;
325 ::ignition::msgs::Header* header_;
329 bool enable_atmosphere_;
330 double mass_density_;
331 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
332 friend struct ::TableStruct_ignition_2fmsgs_2fatmosphere_2eproto;
340 #pragma GCC diagnostic push
341 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
346 inline bool Atmosphere::_internal_has_header()
const {
347 return this != internal_default_instance() && header_ !=
nullptr;
349 inline bool Atmosphere::has_header()
const {
350 return _internal_has_header();
352 inline const ::ignition::msgs::Header& Atmosphere::_internal_header()
const {
353 const ::ignition::msgs::Header* p = header_;
354 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
357 inline const ::ignition::msgs::Header& Atmosphere::header()
const {
359 return _internal_header();
361 inline void Atmosphere::unsafe_arena_set_allocated_header(
362 ::ignition::msgs::Header* header) {
363 if (GetArena() ==
nullptr) {
364 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
374 inline ::ignition::msgs::Header* Atmosphere::release_header() {
376 ::ignition::msgs::Header* temp = header_;
378 if (GetArena() !=
nullptr) {
379 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
383 inline ::ignition::msgs::Header* Atmosphere::unsafe_arena_release_header() {
386 ::ignition::msgs::Header* temp = header_;
390 inline ::ignition::msgs::Header* Atmosphere::_internal_mutable_header() {
392 if (header_ ==
nullptr) {
393 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
398 inline ::ignition::msgs::Header* Atmosphere::mutable_header() {
400 return _internal_mutable_header();
402 inline void Atmosphere::set_allocated_header(::ignition::msgs::Header* header) {
403 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
404 if (message_arena ==
nullptr) {
405 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
408 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
409 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
410 if (message_arena != submessage_arena) {
411 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
412 message_arena, header, submessage_arena);
423 inline void Atmosphere::clear_type() {
431 return _internal_type();
438 _internal_set_type(value);
443 inline void Atmosphere::clear_temperature() {
446 inline double Atmosphere::_internal_temperature()
const {
449 inline double Atmosphere::temperature()
const {
451 return _internal_temperature();
453 inline void Atmosphere::_internal_set_temperature(
double value) {
455 temperature_ = value;
457 inline void Atmosphere::set_temperature(
double value) {
458 _internal_set_temperature(value);
463 inline void Atmosphere::clear_pressure() {
466 inline double Atmosphere::_internal_pressure()
const {
469 inline double Atmosphere::pressure()
const {
471 return _internal_pressure();
473 inline void Atmosphere::_internal_set_pressure(
double value) {
477 inline void Atmosphere::set_pressure(
double value) {
478 _internal_set_pressure(value);
483 inline void Atmosphere::clear_mass_density() {
486 inline double Atmosphere::_internal_mass_density()
const {
487 return mass_density_;
489 inline double Atmosphere::mass_density()
const {
491 return _internal_mass_density();
493 inline void Atmosphere::_internal_set_mass_density(
double value) {
495 mass_density_ = value;
497 inline void Atmosphere::set_mass_density(
double value) {
498 _internal_set_mass_density(value);
503 inline void Atmosphere::clear_enable_atmosphere() {
504 enable_atmosphere_ =
false;
506 inline bool Atmosphere::_internal_enable_atmosphere()
const {
507 return enable_atmosphere_;
509 inline bool Atmosphere::enable_atmosphere()
const {
511 return _internal_enable_atmosphere();
513 inline void Atmosphere::_internal_set_enable_atmosphere(
bool value) {
515 enable_atmosphere_ = value;
517 inline void Atmosphere::set_enable_atmosphere(
bool value) {
518 _internal_set_enable_atmosphere(value);
523 #pragma GCC diagnostic pop
535 PROTOBUF_NAMESPACE_OPEN
539 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Atmosphere_Type>() {
543 PROTOBUF_NAMESPACE_CLOSE
550 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fatmosphere_2eproto
Atmosphere()
Definition: atmosphere.pb.h:111
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: atmosphere.pb.h:139
static const std::string & Type_Name(T enum_t_value)
Definition: atmosphere.pb.h:234
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
void Swap(Atmosphere *other)
Definition: atmosphere.pb.h:154
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: atmosphere.pb.h:133
Atmosphere(const Atmosphere &from)
::ignition::msgs::Atmosphere_Type type() const
Atmosphere * New() const final
Definition: atmosphere.pb.h:170
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
Definition: atmosphere.pb.h:230
Atmosphere_Type Type
Definition: atmosphere.pb.h:217
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
static bool Type_IsValid(int value)
Definition: atmosphere.pb.h:220
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Atmosphere & operator=(Atmosphere &&from) noexcept
Definition: atmosphere.pb.h:124
double temperature() const
void clear_mass_density()
bool enable_atmosphere() const
Atmosphere(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::ignition::msgs::Header * unsafe_arena_release_header()
void set_type(::ignition::msgs::Atmosphere_Type value)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Atmosphere(Atmosphere &&from) noexcept
Definition: atmosphere.pb.h:115
static const Atmosphere & default_instance()
double mass_density() const
static bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type *value)
Definition: atmosphere.pb.h:240
Atmosphere & operator=(const Atmosphere &from)
Definition: atmosphere.pb.h:120
void set_allocated_header(::ignition::msgs::Header *header)
void UnsafeArenaSwap(Atmosphere *other)
Definition: atmosphere.pb.h:162
void CopyFrom(const Atmosphere &from)
Atmosphere * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: atmosphere.pb.h:174
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
friend void swap(Atmosphere &a, Atmosphere &b)
Definition: atmosphere.pb.h:151
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: atmosphere.pb.h:136
void set_pressure(double value)
static const Atmosphere * internal_default_instance()
Definition: atmosphere.pb.h:144
void set_temperature(double value)
void set_mass_density(double value)
void set_enable_atmosphere(bool value)
const ::ignition::msgs::Header & header() const
void MergeFrom(const Atmosphere &from)
void clear_enable_atmosphere()
constexpr Atmosphere_Type Atmosphere_Type_Type_MIN
Definition: atmosphere.pb.h:88
std::unique_ptr< Atmosphere > AtmosphereUniquePtr
Definition: atmosphere.pb.h:526
IGNITION_MSGS_VISIBLE AtmosphereDefaultTypeInternal _Atmosphere_default_instance_
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Atmosphere_Type_descriptor()
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE bool Atmosphere_Type_IsValid(int value)
std::unique_ptr< const Atmosphere > ConstAtmosphereUniquePtr
Definition: atmosphere.pb.h:527
std::shared_ptr< Atmosphere > AtmosphereSharedPtr
Definition: atmosphere.pb.h:528
constexpr Atmosphere_Type Atmosphere_Type_Type_MAX
Definition: atmosphere.pb.h:89
constexpr int Atmosphere_Type_Type_ARRAYSIZE
Definition: atmosphere.pb.h:90
const std::string & Atmosphere_Type_Name(T enum_t_value)
Definition: atmosphere.pb.h:94
bool Atmosphere_Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Atmosphere_Type *value)
Definition: atmosphere.pb.h:101
Atmosphere_Type
Definition: atmosphere.pb.h:82
@ Atmosphere_Type_Atmosphere_Type_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: atmosphere.pb.h:84
@ Atmosphere_Type_Atmosphere_Type_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: atmosphere.pb.h:85
@ Atmosphere_Type_ADIABATIC
Definition: atmosphere.pb.h:83
std::shared_ptr< const Atmosphere > ConstAtmosphereSharedPtr
Definition: atmosphere.pb.h:529
Definition: actor.pb.h:52
Definition: atmosphere.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)