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 < 3019000
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 3019000 < 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 uint32_t offsets[];
72 struct 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>(
109 public ::PROTOBUF_NAMESPACE_ID::Message {
113 explicit constexpr
Atmosphere(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
118 *
this = ::std::move(from);
126 if (
this == &from)
return *
this;
127 if (GetOwningArena() == from.GetOwningArena()
128 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
129 && GetOwningArena() !=
nullptr
139 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
140 return GetDescriptor();
143 return default_instance().GetMetadata().descriptor;
146 return default_instance().GetMetadata().reflection;
149 return *internal_default_instance();
155 static constexpr
int kIndexInFileMessages =
162 if (other ==
this)
return;
163 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
164 if (GetOwningArena() !=
nullptr &&
165 GetOwningArena() == other->GetOwningArena()) {
167 if (GetOwningArena() == other->GetOwningArena()) {
171 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
175 if (other ==
this)
return;
176 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
182 Atmosphere*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
183 return CreateMaybeMessage<Atmosphere>(arena);
185 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
187 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
190 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
192 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
193 bool IsInitialized() const final;
195 size_t ByteSizeLong() const final;
196 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
197 uint8_t* _InternalSerialize(
198 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
199 int GetCachedSize() const final {
return _cached_size_.Get(); }
204 void SetCachedSize(
int size)
const final;
208 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
209 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
210 return "ignition.msgs.Atmosphere";
214 bool is_message_owned =
false);
216 static void ArenaDtor(
void*
object);
217 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
221 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
223 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
228 static constexpr
Type ADIABATIC =
230 static inline
bool Type_IsValid(
int value) {
233 static constexpr
Type Type_MIN =
235 static constexpr
Type Type_MAX =
237 static constexpr
int Type_ARRAYSIZE =
239 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
247 "Incorrect type passed to function Type_Name.");
250 static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
258 kHeaderFieldNumber = 1,
259 kTemperatureFieldNumber = 3,
260 kPressureFieldNumber = 4,
261 kTypeFieldNumber = 2,
262 kEnableAtmosphereFieldNumber = 6,
263 kMassDensityFieldNumber = 5,
266 bool has_header()
const;
268 bool _internal_has_header()
const;
271 const ::ignition::msgs::Header& header()
const;
272 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
276 const ::ignition::msgs::Header& _internal_header()
const;
279 void unsafe_arena_set_allocated_header(
284 void clear_temperature();
285 double temperature()
const;
286 void set_temperature(
double value);
288 double _internal_temperature()
const;
289 void _internal_set_temperature(
double value);
293 void clear_pressure();
294 double pressure()
const;
295 void set_pressure(
double value);
297 double _internal_pressure()
const;
298 void _internal_set_pressure(
double value);
311 void clear_enable_atmosphere();
312 bool enable_atmosphere()
const;
313 void set_enable_atmosphere(
bool value);
315 bool _internal_enable_atmosphere()
const;
316 void _internal_set_enable_atmosphere(
bool value);
320 void clear_mass_density();
321 double mass_density()
const;
322 void set_mass_density(
double value);
324 double _internal_mass_density()
const;
325 void _internal_set_mass_density(
double value);
332 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
333 typedef void InternalArenaConstructable_;
334 typedef void DestructorSkippable_;
339 bool enable_atmosphere_;
340 double mass_density_;
341 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
342 friend struct ::TableStruct_ignition_2fmsgs_2fatmosphere_2eproto;
350 #pragma GCC diagnostic push
351 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
356 inline bool Atmosphere::_internal_has_header()
const {
357 return this != internal_default_instance() && header_ !=
nullptr;
360 return _internal_has_header();
362 inline const ::ignition::msgs::Header& Atmosphere::_internal_header()
const {
363 const ::ignition::msgs::Header* p = header_;
369 return _internal_header();
373 if (GetArenaForAllocation() ==
nullptr) {
374 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
388 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
389 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
390 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
391 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
393 if (GetArenaForAllocation() !=
nullptr) {
394 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
406 inline ::ignition::msgs::Header* Atmosphere::_internal_mutable_header() {
408 if (header_ ==
nullptr) {
409 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
420 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
421 if (message_arena ==
nullptr) {
422 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
425 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
426 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
427 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
428 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
429 if (message_arena != submessage_arena) {
430 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
431 message_arena, header, submessage_arena);
450 return _internal_type();
457 _internal_set_type(value);
465 inline double Atmosphere::_internal_temperature()
const {
470 return _internal_temperature();
472 inline void Atmosphere::_internal_set_temperature(
double value) {
474 temperature_ = value;
477 _internal_set_temperature(value);
485 inline double Atmosphere::_internal_pressure()
const {
490 return _internal_pressure();
492 inline void Atmosphere::_internal_set_pressure(
double value) {
497 _internal_set_pressure(value);
505 inline double Atmosphere::_internal_mass_density()
const {
506 return mass_density_;
510 return _internal_mass_density();
512 inline void Atmosphere::_internal_set_mass_density(
double value) {
514 mass_density_ = value;
517 _internal_set_mass_density(value);
523 enable_atmosphere_ =
false;
525 inline bool Atmosphere::_internal_enable_atmosphere()
const {
526 return enable_atmosphere_;
530 return _internal_enable_atmosphere();
532 inline void Atmosphere::_internal_set_enable_atmosphere(
bool value) {
534 enable_atmosphere_ = value;
537 _internal_set_enable_atmosphere(value);
542 #pragma GCC diagnostic pop
554 PROTOBUF_NAMESPACE_OPEN
558 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Atmosphere_Type>() {
562 PROTOBUF_NAMESPACE_CLOSE
569 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fatmosphere_2eproto
Definition: atmosphere.pb.h:109
Atmosphere()
Definition: atmosphere.pb.h:111
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: atmosphere.pb.h:145
bool has_header() const
Definition: atmosphere.pb.h:359
static const std::string & Type_Name(T enum_t_value)
Definition: atmosphere.pb.h:244
::ignition::msgs::Header * mutable_header()
Definition: atmosphere.pb.h:414
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void Swap(Atmosphere *other)
Definition: atmosphere.pb.h:161
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: atmosphere.pb.h:139
double pressure() const
Definition: atmosphere.pb.h:488
Atmosphere(const Atmosphere &from)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Type_descriptor()
Definition: atmosphere.pb.h:240
::ignition::msgs::Atmosphere_Type type() const
Definition: atmosphere.pb.h:448
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: atmosphere.pb.h:371
Atmosphere & operator=(Atmosphere &&from) noexcept
Definition: atmosphere.pb.h:125
double temperature() const
Definition: atmosphere.pb.h:468
void clear_mass_density()
Definition: atmosphere.pb.h:502
void clear_temperature()
Definition: atmosphere.pb.h:462
bool enable_atmosphere() const
Definition: atmosphere.pb.h:528
void set_type(::ignition::msgs::Atmosphere_Type value)
Definition: atmosphere.pb.h:456
Atmosphere * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: atmosphere.pb.h:182
void clear_pressure()
Definition: atmosphere.pb.h:482
Atmosphere(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
Atmosphere(Atmosphere &&from) noexcept
Definition: atmosphere.pb.h:116
static const Atmosphere & default_instance()
Definition: atmosphere.pb.h:148
double mass_density() const
Definition: atmosphere.pb.h:508
static bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Type *value)
Definition: atmosphere.pb.h:250
void clear_type()
Definition: atmosphere.pb.h:442
Atmosphere & operator=(const Atmosphere &from)
Definition: atmosphere.pb.h:121
void set_allocated_header(::ignition::msgs::Header *header)
Definition: atmosphere.pb.h:419
void UnsafeArenaSwap(Atmosphere *other)
Definition: atmosphere.pb.h:174
void CopyFrom(const Atmosphere &from)
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: atmosphere.pb.h:384
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
friend void swap(Atmosphere &a, Atmosphere &b)
Definition: atmosphere.pb.h:158
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: atmosphere.pb.h:142
const ::ignition::msgs::Header & header() const
Definition: atmosphere.pb.h:367
constexpr Atmosphere(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
static const ClassData _class_data_
Definition: atmosphere.pb.h:220
void set_pressure(double value)
Definition: atmosphere.pb.h:496
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: atmosphere.pb.h:399
static const Atmosphere * internal_default_instance()
Definition: atmosphere.pb.h:151
void set_temperature(double value)
Definition: atmosphere.pb.h:476
void set_mass_density(double value)
Definition: atmosphere.pb.h:516
void set_enable_atmosphere(bool value)
Definition: atmosphere.pb.h:536
void MergeFrom(const Atmosphere &from)
void clear_enable_atmosphere()
Definition: atmosphere.pb.h:522
constexpr Atmosphere_Type Atmosphere_Type_Type_MIN
Definition: atmosphere.pb.h:88
std::unique_ptr< Atmosphere > AtmosphereUniquePtr
Definition: atmosphere.pb.h:545
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:546
std::shared_ptr< Atmosphere > AtmosphereSharedPtr
Definition: atmosphere.pb.h:547
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:548
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)