Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fatmosphere_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fatmosphere_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.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/generated_enum_reflection.h>
33 #include <google/protobuf/unknown_field_set.h>
36 #pragma GCC system_header
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #include <sys/sysmacros.h>
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fatmosphere_2eproto IGNITION_MSGS_VISIBLE
52 static const ::google::protobuf::internal::ParseTableField entries[];
53 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
54 static const ::google::protobuf::internal::ParseTable schema[1];
55 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
56 static const ::google::protobuf::internal::SerializationTable serialization_table[];
57 static const ::google::protobuf::uint32 offsets[];
64 class AtmosphereDefaultTypeInternal;
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Atmosphere* Arena::CreateMaybeMessage<::ignition::msgs::Atmosphere>(Arena*);
88 return ::google::protobuf::internal::NameOfEnum(
93 return ::google::protobuf::internal::ParseNamedEnum<Atmosphere_Type>(
98 class IGNITION_MSGS_VISIBLE
Atmosphere :
public ::google::protobuf::Message {
112 *
this = ::std::move(from);
115 inline Atmosphere& operator=(Atmosphere&& from) noexcept {
116 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
117 if (
this != &from) InternalSwap(&from);
124 static const ::google::protobuf::Descriptor* descriptor();
125 static const Atmosphere& default_instance();
127 static void InitAsDefaultInstance();
132 static constexpr
int kIndexInFileMessages =
143 return CreateMaybeMessage<Atmosphere>(NULL);
147 return CreateMaybeMessage<Atmosphere>(arena);
149 void CopyFrom(const ::google::protobuf::Message& from)
final;
150 void MergeFrom(const ::google::protobuf::Message& from)
final;
154 bool IsInitialized() const final;
156 size_t ByteSizeLong() const final;
157 bool MergePartialFromCodedStream(
158 ::
google::protobuf::io::CodedInputStream* input) final;
159 void SerializeWithCachedSizes(
160 ::
google::protobuf::io::CodedOutputStream* output) const final;
161 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
162 bool deterministic, ::
google::protobuf::uint8* target) const final;
163 int GetCachedSize() const final {
return _cached_size_.Get(); }
168 void SetCachedSize(
int size)
const final;
171 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
174 inline void* MaybeArenaPtr()
const {
179 ::google::protobuf::Metadata GetMetadata() const final;
186 static inline
bool Type_IsValid(
int value) {
193 static const int Type_ARRAYSIZE =
195 static inline const ::google::protobuf::EnumDescriptor*
210 bool has_header()
const;
212 static const int kHeaderFieldNumber = 1;
214 const ::ignition::msgs::Header& _internal_header()
const;
216 const ::ignition::msgs::Header& header()
const;
222 void clear_temperature();
223 static const int kTemperatureFieldNumber = 3;
224 double temperature()
const;
225 void set_temperature(
double value);
228 void clear_pressure();
229 static const int kPressureFieldNumber = 4;
230 double pressure()
const;
231 void set_pressure(
double value);
235 static const int kTypeFieldNumber = 2;
240 void clear_enable_atmosphere();
241 static const int kEnableAtmosphereFieldNumber = 6;
242 bool enable_atmosphere()
const;
243 void set_enable_atmosphere(
bool value);
246 void clear_mass_density();
247 static const int kMassDensityFieldNumber = 5;
248 double mass_density()
const;
249 void set_mass_density(
double value);
254 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
259 bool enable_atmosphere_;
260 double mass_density_;
261 mutable ::google::protobuf::internal::CachedSize _cached_size_;
262 friend struct ::protobuf_ignition_2fmsgs_2fatmosphere_2eproto::TableStruct;
270 #pragma GCC diagnostic push
271 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
279 inline const ::ignition::msgs::Header& Atmosphere::_internal_header()
const {
283 const ::ignition::msgs::Header* p = header_;
297 if (header_ == NULL) {
298 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
305 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
306 if (message_arena == NULL) {
307 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
310 ::google::protobuf::Arena* submessage_arena = NULL;
311 if (message_arena != submessage_arena) {
312 header = ::google::protobuf::internal::GetOwnedMessage(
313 message_arena,
header, submessage_arena);
347 temperature_ = value;
371 return mass_density_;
375 mass_density_ = value;
381 enable_atmosphere_ =
false;
385 return enable_atmosphere_;
389 enable_atmosphere_ = value;
394 #pragma GCC diagnostic pop
411 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Atmosphere_Type>() {
423 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fatmosphere_2eproto
Atmosphere * New(::google::protobuf::Arena *arena) const final
Definition: atmosphere.pb.h:146
void clear_pressure()
Definition: atmosphere.pb.h:352
std::shared_ptr< const Atmosphere > ConstAtmosphereSharedPtr
Definition: atmosphere.pb.h:400
double temperature() const
Definition: atmosphere.pb.h:341
Definition: atmosphere.pb.h:98
friend void swap(Atmosphere &a, Atmosphere &b)
Definition: atmosphere.pb.h:136
Definition: atmosphere.pb.h:49
IGNITION_MSGS_VISIBLE bool Atmosphere_Type_IsValid(int value)
void Swap(Atmosphere *other)
::ignition::msgs::Header * mutable_header()
Definition: atmosphere.pb.h:295
const Atmosphere_Type Atmosphere_Type_Type_MIN
Definition: atmosphere.pb.h:82
void set_mass_density(double value)
Definition: atmosphere.pb.h:373
std::shared_ptr< Atmosphere > AtmosphereSharedPtr
Definition: atmosphere.pb.h:399
std::unique_ptr< Atmosphere > AtmosphereUniquePtr
Definition: atmosphere.pb.h:397
@ Atmosphere_Type_ADIABATIC
Definition: atmosphere.pb.h:77
IGNITION_MSGS_VISIBLE AtmosphereDefaultTypeInternal _Atmosphere_default_instance_
static const ::std::string & Type_Name(Type value)
Definition: atmosphere.pb.h:199
const ::ignition::msgs::Header & header() const
Definition: atmosphere.pb.h:282
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * Atmosphere_Type_descriptor()
bool has_header() const
Definition: atmosphere.pb.h:276
void clear_mass_density()
Definition: atmosphere.pb.h:366
const ::std::string & Atmosphere_Type_Name(Atmosphere_Type value)
Definition: atmosphere.pb.h:87
static const ::google::protobuf::EnumDescriptor * Type_descriptor()
Definition: atmosphere.pb.h:196
std::unique_ptr< const Atmosphere > ConstAtmosphereUniquePtr
Definition: atmosphere.pb.h:398
void set_allocated_header(::ignition::msgs::Header *header)
Definition: atmosphere.pb.h:304
Atmosphere * New() const final
Definition: atmosphere.pb.h:142
static const Atmosphere * internal_default_instance()
Definition: atmosphere.pb.h:128
static bool Type_Parse(const ::std::string &name, Type *value)
Definition: atmosphere.pb.h:202
@ Atmosphere_Type_Atmosphere_Type_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: atmosphere.pb.h:78
void clear_temperature()
Definition: atmosphere.pb.h:338
const int Atmosphere_Type_Type_ARRAYSIZE
Definition: atmosphere.pb.h:84
::ignition::msgs::Header * release_header()
Definition: atmosphere.pb.h:288
const Atmosphere_Type Atmosphere_Type_Type_MAX
Definition: atmosphere.pb.h:83
double pressure() const
Definition: atmosphere.pb.h:355
Atmosphere & operator=(const Atmosphere &from)
Definition: atmosphere.pb.h:105
@ Atmosphere_Type_Atmosphere_Type_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: atmosphere.pb.h:79
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
Atmosphere_Type
Definition: atmosphere.pb.h:76
bool enable_atmosphere() const
Definition: atmosphere.pb.h:383
void clear_enable_atmosphere()
Definition: atmosphere.pb.h:380
void set_temperature(double value)
Definition: atmosphere.pb.h:345
void set_pressure(double value)
Definition: atmosphere.pb.h:359
void set_type(::ignition::msgs::Atmosphere_Type value)
Definition: atmosphere.pb.h:331
::ignition::msgs::Atmosphere_Type type() const
Definition: atmosphere.pb.h:327
void clear_type()
Definition: atmosphere.pb.h:324
bool Atmosphere_Type_Parse(const ::std::string &name, Atmosphere_Type *value)
Definition: atmosphere.pb.h:91
double mass_density() const
Definition: atmosphere.pb.h:369
void set_enable_atmosphere(bool value)
Definition: atmosphere.pb.h:387
Definition: actor.pb.h:78
void IGNITION_MSGS_VISIBLE AddDescriptors()
Definition: atmosphere.pb.h:51