4 #ifndef PROTOBUF_ignition_2fmsgs_2fsky_2eproto__INCLUDED 5 #define PROTOBUF_ignition_2fmsgs_2fsky_2eproto__INCLUDED 9 #include <google/protobuf/stubs/common.h> 11 #if GOOGLE_PROTOBUF_VERSION < 3000000 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 3000000 < 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/arena.h> 23 #include <google/protobuf/arenastring.h> 24 #include <google/protobuf/generated_message_util.h> 25 #include <google/protobuf/metadata.h> 26 #include <google/protobuf/message.h> 27 #include <google/protobuf/repeated_field.h> 28 #include <google/protobuf/extension_set.h> 29 #include <google/protobuf/unknown_field_set.h> 33 #pragma GCC system_header 36 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251) 39 #include <sys/sysmacros.h> 57 class IGNITION_MSGS_VISIBLE
Sky :
public ::google::protobuf::Message {
69 static const ::google::protobuf::Descriptor* descriptor();
70 static const Sky& default_instance();
72 void Swap(
Sky* other);
78 Sky* New(::google::protobuf::Arena* arena)
const;
79 void CopyFrom(const ::google::protobuf::Message& from);
80 void MergeFrom(const ::google::protobuf::Message& from);
81 void CopyFrom(
const Sky& from);
82 void MergeFrom(
const Sky& from);
84 bool IsInitialized()
const;
87 bool MergePartialFromCodedStream(
88 ::google::protobuf::io::CodedInputStream* input);
89 void SerializeWithCachedSizes(
90 ::google::protobuf::io::CodedOutputStream* output)
const;
91 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
92 bool deterministic, ::google::protobuf::uint8* output)
const;
94 return InternalSerializeWithCachedSizesToArray(
false, output);
100 void SetCachedSize(
int size)
const;
101 void InternalSwap(
Sky* other);
103 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
104 return _internal_metadata_.arena();
106 inline void* MaybeArenaPtr()
const {
107 return _internal_metadata_.raw_arena_ptr();
111 ::google::protobuf::Metadata GetMetadata()
const;
118 bool has_header()
const;
120 static const int kHeaderFieldNumber = 1;
121 const ::ignition::msgs::Header& header()
const;
128 static const int kTimeFieldNumber = 2;
130 void set_time(
double value);
133 void clear_sunrise();
134 static const int kSunriseFieldNumber = 3;
135 double sunrise()
const;
136 void set_sunrise(
double value);
140 static const int kSunsetFieldNumber = 4;
141 double sunset()
const;
142 void set_sunset(
double value);
145 void clear_wind_speed();
146 static const int kWindSpeedFieldNumber = 5;
147 double wind_speed()
const;
148 void set_wind_speed(
double value);
151 void clear_wind_direction();
152 static const int kWindDirectionFieldNumber = 6;
153 double wind_direction()
const;
154 void set_wind_direction(
double value);
157 bool has_cloud_ambient()
const;
158 void clear_cloud_ambient();
159 static const int kCloudAmbientFieldNumber = 7;
160 const ::ignition::msgs::Color& cloud_ambient()
const;
166 void clear_humidity();
167 static const int kHumidityFieldNumber = 8;
168 double humidity()
const;
169 void set_humidity(
double value);
172 void clear_mean_cloud_size();
173 static const int kMeanCloudSizeFieldNumber = 9;
174 double mean_cloud_size()
const;
175 void set_mean_cloud_size(
double value);
180 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
181 bool _is_default_instance_;
187 double wind_direction_;
190 double mean_cloud_size_;
191 mutable int _cached_size_;
196 void InitAsDefaultInstance();
197 static Sky* default_instance_;
204 #if !PROTOBUF_INLINE_NOT_IN_HEADERS 209 return !_is_default_instance_ && header_ != NULL;
212 if (GetArenaNoVirtual() == NULL && header_ != NULL)
delete header_;
217 return header_ != NULL ? *header_ : *default_instance_->header_;
221 if (header_ == NULL) {
222 header_ = new ::ignition::msgs::Header;
307 return wind_direction_;
311 wind_direction_ = value;
317 return !_is_default_instance_ && cloud_ambient_ != NULL;
320 if (GetArenaNoVirtual() == NULL && cloud_ambient_ != NULL)
delete cloud_ambient_;
321 cloud_ambient_ = NULL;
325 return cloud_ambient_ != NULL ? *cloud_ambient_ : *default_instance_->cloud_ambient_;
329 if (cloud_ambient_ == NULL) {
330 cloud_ambient_ = new ::ignition::msgs::Color;
333 return cloud_ambient_;
339 cloud_ambient_ = NULL;
343 delete cloud_ambient_;
344 cloud_ambient_ = cloud_ambient;
369 mean_cloud_size_ = 0;
373 return mean_cloud_size_;
377 mean_cloud_size_ = value;
381 #endif // !PROTOBUF_INLINE_NOT_IN_HEADERS 397 #endif // PROTOBUF_ignition_2fmsgs_2fsky_2eproto__INCLUDED double wind_speed() const
Definition: sky.pb.h:291
::ignition::msgs::Header * release_header()
Definition: sky.pb.h:227
double mean_cloud_size() const
Definition: sky.pb.h:371
double wind_direction() const
Definition: sky.pb.h:305
double sunset() const
Definition: sky.pb.h:277
void set_mean_cloud_size(double value)
Definition: sky.pb.h:375
std::shared_ptr< Sky > SkySharedPtr
Definition: sky.pb.h:385
const ::ignition::msgs::Header & header() const
Definition: sky.pb.h:215
void clear_wind_speed()
Definition: sky.pb.h:288
void protobuf_ShutdownFile_ignition_2fmsgs_2fsky_2eproto()
void set_sunrise(double value)
Definition: sky.pb.h:267
std::unique_ptr< const Sky > ConstSkyUniquePtr
Definition: sky.pb.h:384
void clear_humidity()
Definition: sky.pb.h:354
bool has_header() const
Definition: sky.pb.h:208
double humidity() const
Definition: sky.pb.h:357
void set_allocated_cloud_ambient(::ignition::msgs::Color *cloud_ambient)
Definition: sky.pb.h:342
double sunrise() const
Definition: sky.pb.h:263
void protobuf_AssignDesc_ignition_2fmsgs_2fsky_2eproto()
void set_wind_direction(double value)
Definition: sky.pb.h:309
std::unique_ptr< Sky > SkyUniquePtr
Definition: sky.pb.h:383
int GetCachedSize() const
Definition: sky.pb.h:96
double time() const
Definition: sky.pb.h:249
void clear_sunrise()
Definition: sky.pb.h:260
Sky * New() const
Definition: sky.pb.h:76
::google::protobuf::uint8 * SerializeWithCachedSizesToArray(::google::protobuf::uint8 *output) const
Definition: sky.pb.h:93
void set_humidity(double value)
Definition: sky.pb.h:361
::ignition::msgs::Header * mutable_header()
Definition: sky.pb.h:219
bool has_cloud_ambient() const
Definition: sky.pb.h:316
Definition: color.pb.h:56
void clear_header()
Definition: sky.pb.h:211
Sky & operator=(const Sky &from)
Definition: sky.pb.h:64
std::shared_ptr< const Sky > ConstSkySharedPtr
Definition: sky.pb.h:386
::ignition::msgs::Color * release_cloud_ambient()
Definition: sky.pb.h:335
void clear_cloud_ambient()
Definition: sky.pb.h:319
void set_wind_speed(double value)
Definition: sky.pb.h:295
void clear_mean_cloud_size()
Definition: sky.pb.h:368
void IGNITION_MSGS_VISIBLE protobuf_AddDesc_ignition_2fmsgs_2fsky_2eproto()
void clear_time()
Definition: sky.pb.h:246
void set_sunset(double value)
Definition: sky.pb.h:281
void set_time(double value)
Definition: sky.pb.h:253
::ignition::msgs::Color * mutable_cloud_ambient()
Definition: sky.pb.h:327
void clear_wind_direction()
Definition: sky.pb.h:302
void clear_sunset()
Definition: sky.pb.h:274
void set_allocated_header(::ignition::msgs::Header *header)
Definition: sky.pb.h:234
const ::ignition::msgs::Color & cloud_ambient() const
Definition: sky.pb.h:323