Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/sky.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/sky.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fsky_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fsky_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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> // IWYU pragma: export
31 #include <google/protobuf/extension_set.h> // IWYU pragma: export
32 #include <google/protobuf/unknown_field_set.h>
33 #include "ignition/msgs/color.pb.h"
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fsky_2eproto IGNITION_MSGS_VISIBLE
48 
50 // Internal implementation detail -- do not use these members.
51 struct IGNITION_MSGS_VISIBLE TableStruct {
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[];
58 };
59 void IGNITION_MSGS_VISIBLE AddDescriptors();
60 } // namespace protobuf_ignition_2fmsgs_2fsky_2eproto
61 namespace ignition {
62 namespace msgs {
63 class Sky;
64 class SkyDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern SkyDefaultTypeInternal _Sky_default_instance_;
66 } // namespace msgs
67 } // namespace ignition
68 namespace google {
69 namespace protobuf {
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Sky* Arena::CreateMaybeMessage<::ignition::msgs::Sky>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace ignition {
74 namespace msgs {
75 
76 // ===================================================================
77 
78 class IGNITION_MSGS_VISIBLE Sky : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Sky) */ {
79  public:
80  Sky();
81  virtual ~Sky();
82 
83  Sky(const Sky& from);
84 
85  inline Sky& operator=(const Sky& from) {
86  CopyFrom(from);
87  return *this;
88  }
89  #if LANG_CXX11
90  Sky(Sky&& from) noexcept
91  : Sky() {
92  *this = ::std::move(from);
93  }
94 
95  inline Sky& operator=(Sky&& from) noexcept {
96  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
97  if (this != &from) InternalSwap(&from);
98  } else {
99  CopyFrom(from);
100  }
101  return *this;
102  }
103  #endif
104  static const ::google::protobuf::Descriptor* descriptor();
105  static const Sky& default_instance();
106 
107  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
108  static inline const Sky* internal_default_instance() {
109  return reinterpret_cast<const Sky*>(
111  }
112  static constexpr int kIndexInFileMessages =
113  0;
114 
115  void Swap(Sky* other);
116  friend void swap(Sky& a, Sky& b) {
117  a.Swap(&b);
118  }
119 
120  // implements Message ----------------------------------------------
121 
122  inline Sky* New() const final {
123  return CreateMaybeMessage<Sky>(NULL);
124  }
125 
126  Sky* New(::google::protobuf::Arena* arena) const final {
127  return CreateMaybeMessage<Sky>(arena);
128  }
129  void CopyFrom(const ::google::protobuf::Message& from) final;
130  void MergeFrom(const ::google::protobuf::Message& from) final;
131  void CopyFrom(const Sky& from);
132  void MergeFrom(const Sky& from);
133  void Clear() final;
134  bool IsInitialized() const final;
135 
136  size_t ByteSizeLong() const final;
137  bool MergePartialFromCodedStream(
138  ::google::protobuf::io::CodedInputStream* input) final;
139  void SerializeWithCachedSizes(
140  ::google::protobuf::io::CodedOutputStream* output) const final;
141  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
142  bool deterministic, ::google::protobuf::uint8* target) const final;
143  int GetCachedSize() const final { return _cached_size_.Get(); }
144 
145  private:
146  void SharedCtor();
147  void SharedDtor();
148  void SetCachedSize(int size) const final;
149  void InternalSwap(Sky* other);
150  private:
151  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
152  return NULL;
153  }
154  inline void* MaybeArenaPtr() const {
155  return NULL;
156  }
157  public:
158 
159  ::google::protobuf::Metadata GetMetadata() const final;
160 
161  // nested types ----------------------------------------------------
162 
163  // accessors -------------------------------------------------------
164 
165  // .ignition.msgs.Header header = 1;
166  bool has_header() const;
167  void clear_header();
168  static const int kHeaderFieldNumber = 1;
169  private:
170  const ::ignition::msgs::Header& _internal_header() const;
171  public:
172  const ::ignition::msgs::Header& header() const;
173  ::ignition::msgs::Header* release_header();
174  ::ignition::msgs::Header* mutable_header();
175  void set_allocated_header(::ignition::msgs::Header* header);
176 
177  // .ignition.msgs.Color cloud_ambient = 7;
178  bool has_cloud_ambient() const;
179  void clear_cloud_ambient();
180  static const int kCloudAmbientFieldNumber = 7;
181  private:
182  const ::ignition::msgs::Color& _internal_cloud_ambient() const;
183  public:
184  const ::ignition::msgs::Color& cloud_ambient() const;
185  ::ignition::msgs::Color* release_cloud_ambient();
186  ::ignition::msgs::Color* mutable_cloud_ambient();
187  void set_allocated_cloud_ambient(::ignition::msgs::Color* cloud_ambient);
188 
189  // double time = 2;
190  void clear_time();
191  static const int kTimeFieldNumber = 2;
192  double time() const;
193  void set_time(double value);
194 
195  // double sunrise = 3;
196  void clear_sunrise();
197  static const int kSunriseFieldNumber = 3;
198  double sunrise() const;
199  void set_sunrise(double value);
200 
201  // double sunset = 4;
202  void clear_sunset();
203  static const int kSunsetFieldNumber = 4;
204  double sunset() const;
205  void set_sunset(double value);
206 
207  // double wind_speed = 5;
208  void clear_wind_speed();
209  static const int kWindSpeedFieldNumber = 5;
210  double wind_speed() const;
211  void set_wind_speed(double value);
212 
213  // double wind_direction = 6;
214  void clear_wind_direction();
215  static const int kWindDirectionFieldNumber = 6;
216  double wind_direction() const;
217  void set_wind_direction(double value);
218 
219  // double humidity = 8;
220  void clear_humidity();
221  static const int kHumidityFieldNumber = 8;
222  double humidity() const;
223  void set_humidity(double value);
224 
225  // double mean_cloud_size = 9;
226  void clear_mean_cloud_size();
227  static const int kMeanCloudSizeFieldNumber = 9;
228  double mean_cloud_size() const;
229  void set_mean_cloud_size(double value);
230 
231  // @@protoc_insertion_point(class_scope:ignition.msgs.Sky)
232  private:
233 
234  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
235  ::ignition::msgs::Header* header_;
236  ::ignition::msgs::Color* cloud_ambient_;
237  double time_;
238  double sunrise_;
239  double sunset_;
240  double wind_speed_;
241  double wind_direction_;
242  double humidity_;
243  double mean_cloud_size_;
244  mutable ::google::protobuf::internal::CachedSize _cached_size_;
245  friend struct ::protobuf_ignition_2fmsgs_2fsky_2eproto::TableStruct;
246 };
247 // ===================================================================
248 
249 
250 // ===================================================================
251 
252 #ifdef __GNUC__
253  #pragma GCC diagnostic push
254  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
255 #endif // __GNUC__
256 // Sky
257 
258 // .ignition.msgs.Header header = 1;
259 inline bool Sky::has_header() const {
260  return this != internal_default_instance() && header_ != NULL;
261 }
262 inline const ::ignition::msgs::Header& Sky::_internal_header() const {
263  return *header_;
264 }
265 inline const ::ignition::msgs::Header& Sky::header() const {
266  const ::ignition::msgs::Header* p = header_;
267  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.header)
268  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
270 }
271 inline ::ignition::msgs::Header* Sky::release_header() {
272  // @@protoc_insertion_point(field_release:ignition.msgs.Sky.header)
273 
274  ::ignition::msgs::Header* temp = header_;
275  header_ = NULL;
276  return temp;
277 }
278 inline ::ignition::msgs::Header* Sky::mutable_header() {
279 
280  if (header_ == NULL) {
281  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
282  header_ = p;
283  }
284  // @@protoc_insertion_point(field_mutable:ignition.msgs.Sky.header)
285  return header_;
286 }
288  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
289  if (message_arena == NULL) {
290  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
291  }
292  if (header) {
293  ::google::protobuf::Arena* submessage_arena = NULL;
294  if (message_arena != submessage_arena) {
295  header = ::google::protobuf::internal::GetOwnedMessage(
296  message_arena, header, submessage_arena);
297  }
298 
299  } else {
300 
301  }
302  header_ = header;
303  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Sky.header)
304 }
305 
306 // double time = 2;
307 inline void Sky::clear_time() {
308  time_ = 0;
309 }
310 inline double Sky::time() const {
311  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.time)
312  return time_;
313 }
314 inline void Sky::set_time(double value) {
315 
316  time_ = value;
317  // @@protoc_insertion_point(field_set:ignition.msgs.Sky.time)
318 }
319 
320 // double sunrise = 3;
321 inline void Sky::clear_sunrise() {
322  sunrise_ = 0;
323 }
324 inline double Sky::sunrise() const {
325  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.sunrise)
326  return sunrise_;
327 }
328 inline void Sky::set_sunrise(double value) {
329 
330  sunrise_ = value;
331  // @@protoc_insertion_point(field_set:ignition.msgs.Sky.sunrise)
332 }
333 
334 // double sunset = 4;
335 inline void Sky::clear_sunset() {
336  sunset_ = 0;
337 }
338 inline double Sky::sunset() const {
339  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.sunset)
340  return sunset_;
341 }
342 inline void Sky::set_sunset(double value) {
343 
344  sunset_ = value;
345  // @@protoc_insertion_point(field_set:ignition.msgs.Sky.sunset)
346 }
347 
348 // double wind_speed = 5;
349 inline void Sky::clear_wind_speed() {
350  wind_speed_ = 0;
351 }
352 inline double Sky::wind_speed() const {
353  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.wind_speed)
354  return wind_speed_;
355 }
356 inline void Sky::set_wind_speed(double value) {
357 
358  wind_speed_ = value;
359  // @@protoc_insertion_point(field_set:ignition.msgs.Sky.wind_speed)
360 }
361 
362 // double wind_direction = 6;
364  wind_direction_ = 0;
365 }
366 inline double Sky::wind_direction() const {
367  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.wind_direction)
368  return wind_direction_;
369 }
370 inline void Sky::set_wind_direction(double value) {
371 
372  wind_direction_ = value;
373  // @@protoc_insertion_point(field_set:ignition.msgs.Sky.wind_direction)
374 }
375 
376 // .ignition.msgs.Color cloud_ambient = 7;
377 inline bool Sky::has_cloud_ambient() const {
378  return this != internal_default_instance() && cloud_ambient_ != NULL;
379 }
380 inline const ::ignition::msgs::Color& Sky::_internal_cloud_ambient() const {
381  return *cloud_ambient_;
382 }
383 inline const ::ignition::msgs::Color& Sky::cloud_ambient() const {
384  const ::ignition::msgs::Color* p = cloud_ambient_;
385  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.cloud_ambient)
386  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
388 }
389 inline ::ignition::msgs::Color* Sky::release_cloud_ambient() {
390  // @@protoc_insertion_point(field_release:ignition.msgs.Sky.cloud_ambient)
391 
392  ::ignition::msgs::Color* temp = cloud_ambient_;
393  cloud_ambient_ = NULL;
394  return temp;
395 }
396 inline ::ignition::msgs::Color* Sky::mutable_cloud_ambient() {
397 
398  if (cloud_ambient_ == NULL) {
399  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
400  cloud_ambient_ = p;
401  }
402  // @@protoc_insertion_point(field_mutable:ignition.msgs.Sky.cloud_ambient)
403  return cloud_ambient_;
404 }
406  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
407  if (message_arena == NULL) {
408  delete reinterpret_cast< ::google::protobuf::MessageLite*>(cloud_ambient_);
409  }
410  if (cloud_ambient) {
411  ::google::protobuf::Arena* submessage_arena = NULL;
412  if (message_arena != submessage_arena) {
413  cloud_ambient = ::google::protobuf::internal::GetOwnedMessage(
414  message_arena, cloud_ambient, submessage_arena);
415  }
416 
417  } else {
418 
419  }
420  cloud_ambient_ = cloud_ambient;
421  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Sky.cloud_ambient)
422 }
423 
424 // double humidity = 8;
425 inline void Sky::clear_humidity() {
426  humidity_ = 0;
427 }
428 inline double Sky::humidity() const {
429  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.humidity)
430  return humidity_;
431 }
432 inline void Sky::set_humidity(double value) {
433 
434  humidity_ = value;
435  // @@protoc_insertion_point(field_set:ignition.msgs.Sky.humidity)
436 }
437 
438 // double mean_cloud_size = 9;
440  mean_cloud_size_ = 0;
441 }
442 inline double Sky::mean_cloud_size() const {
443  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.mean_cloud_size)
444  return mean_cloud_size_;
445 }
446 inline void Sky::set_mean_cloud_size(double value) {
447 
448  mean_cloud_size_ = value;
449  // @@protoc_insertion_point(field_set:ignition.msgs.Sky.mean_cloud_size)
450 }
451 
452 #ifdef __GNUC__
453  #pragma GCC diagnostic pop
454 #endif // __GNUC__
455 
460 // @@protoc_insertion_point(namespace_scope)
461 
462 } // namespace msgs
463 } // namespace ignition
464 
465 #ifdef _MSC_VER
466 #pragma warning(pop)
467 #endif
468 // @@protoc_insertion_point(global_scope)
469 
470 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fsky_2eproto
void set_sunrise(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:328
void set_wind_direction(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:370
::ignition::msgs::Color * mutable_cloud_ambient()
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:396
void clear_mean_cloud_size()
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:439
double sunrise() const
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:324
STL class.
void set_sunset(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:342
void clear_sunset()
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:335
double time() const
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:310
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:49
std::shared_ptr< const Sky > ConstSkySharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:459
Sky * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:126
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:51
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:78
std::unique_ptr< Sky > SkyUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:456
double sunset() const
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:338
void set_humidity(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:432
void clear_sunrise()
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:321
double mean_cloud_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:442
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:265
void set_mean_cloud_size(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:446
void clear_wind_speed()
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:349
std::unique_ptr< const Sky > ConstSkyUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:457
Sky * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:122
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
void clear_humidity()
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:425
::ignition::msgs::Color * release_cloud_ambient()
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:389
IGNITION_MSGS_VISIBLE SkyDefaultTypeInternal _Sky_default_instance_
friend void swap(Sky &a, Sky &b)
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:116
Definition: build/ignition-msgs8/include/ignition/msgs/color.pb.h:77
void Swap(Sky *other)
std::shared_ptr< Sky > SkySharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:458
void clear_time()
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:307
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
void set_time(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:314
double wind_speed() const
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:352
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
void clear_wind_direction()
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:363
double wind_direction() const
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:366
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:278
bool has_cloud_ambient() const
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:377
Sky & operator=(const Sky &from)
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:85
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:287
const ::ignition::msgs::Color & cloud_ambient() const
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:383
void IGNITION_MSGS_VISIBLE AddDescriptors()
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:271
static const Sky * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:108
STL class.
void set_wind_speed(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:356
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:259
double humidity() const
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:428
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
void set_allocated_cloud_ambient(::ignition::msgs::Color *cloud_ambient)
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:405