Ignition Msgs

API Reference

5.8.1
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 GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fsky_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fsky_2eproto
6 
7 #include <limits>
8 #include <string>
9 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
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> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
34 #include "ignition/msgs/color.pb.h"
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fsky_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
57 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fsky_2eproto {
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
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[];
67 };
68 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fsky_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class Sky;
72 struct SkyDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern SkyDefaultTypeInternal _Sky_default_instance_;
74 } // namespace msgs
75 } // namespace ignition
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Sky* Arena::CreateMaybeMessage<::ignition::msgs::Sky>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace ignition {
80 namespace msgs {
81 
82 // ===================================================================
83 
84 class IGNITION_MSGS_VISIBLE Sky final :
85  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Sky) */ {
86  public:
87  inline Sky() : Sky(nullptr) {}
88  ~Sky() override;
89  explicit constexpr Sky(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
90 
91  Sky(const Sky& from);
92  Sky(Sky&& from) noexcept
93  : Sky() {
94  *this = ::std::move(from);
95  }
96 
97  inline Sky& operator=(const Sky& from) {
98  CopyFrom(from);
99  return *this;
100  }
101  inline Sky& operator=(Sky&& from) noexcept {
102  if (this == &from) return *this;
103  if (GetOwningArena() == from.GetOwningArena()
104  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
105  && GetOwningArena() != nullptr
106  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
107  ) {
108  InternalSwap(&from);
109  } else {
110  CopyFrom(from);
111  }
112  return *this;
113  }
114 
115  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
116  return GetDescriptor();
117  }
118  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
119  return default_instance().GetMetadata().descriptor;
120  }
121  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
122  return default_instance().GetMetadata().reflection;
123  }
124  static const Sky& default_instance() {
125  return *internal_default_instance();
126  }
127  static inline const Sky* internal_default_instance() {
128  return reinterpret_cast<const Sky*>(
130  }
131  static constexpr int kIndexInFileMessages =
132  0;
133 
134  friend void swap(Sky& a, Sky& b) {
135  a.Swap(&b);
136  }
137  inline void Swap(Sky* other) {
138  if (other == this) return;
139  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
140  if (GetOwningArena() != nullptr &&
141  GetOwningArena() == other->GetOwningArena()) {
142  #else // PROTOBUF_FORCE_COPY_IN_SWAP
143  if (GetOwningArena() == other->GetOwningArena()) {
144  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
145  InternalSwap(other);
146  } else {
147  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
148  }
149  }
150  void UnsafeArenaSwap(Sky* other) {
151  if (other == this) return;
152  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
153  InternalSwap(other);
154  }
155 
156  // implements Message ----------------------------------------------
157 
158  Sky* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
159  return CreateMaybeMessage<Sky>(arena);
160  }
161  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
162  void CopyFrom(const Sky& from);
163  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
164  void MergeFrom(const Sky& from);
165  private:
166  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
167  public:
168  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
169  bool IsInitialized() const final;
170 
171  size_t ByteSizeLong() const final;
172  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
173  uint8_t* _InternalSerialize(
174  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
175  int GetCachedSize() const final { return _cached_size_.Get(); }
176 
177  private:
178  void SharedCtor();
179  void SharedDtor();
180  void SetCachedSize(int size) const final;
181  void InternalSwap(Sky* other);
182 
183  private:
184  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
185  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
186  return "ignition.msgs.Sky";
187  }
188  protected:
189  explicit Sky(::PROTOBUF_NAMESPACE_ID::Arena* arena,
190  bool is_message_owned = false);
191  private:
192  static void ArenaDtor(void* object);
193  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
194  public:
195 
196  static const ClassData _class_data_;
197  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
198 
199  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
200 
201  // nested types ----------------------------------------------------
202 
203  // accessors -------------------------------------------------------
204 
205  enum : int {
206  kHeaderFieldNumber = 1,
207  kCloudAmbientFieldNumber = 7,
208  kTimeFieldNumber = 2,
209  kSunriseFieldNumber = 3,
210  kSunsetFieldNumber = 4,
211  kWindSpeedFieldNumber = 5,
212  kWindDirectionFieldNumber = 6,
213  kHumidityFieldNumber = 8,
214  kMeanCloudSizeFieldNumber = 9,
215  };
216  // .ignition.msgs.Header header = 1;
217  bool has_header() const;
218  private:
219  bool _internal_has_header() const;
220  public:
221  void clear_header();
222  const ::ignition::msgs::Header& header() const;
223  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
224  ::ignition::msgs::Header* mutable_header();
225  void set_allocated_header(::ignition::msgs::Header* header);
226  private:
227  const ::ignition::msgs::Header& _internal_header() const;
228  ::ignition::msgs::Header* _internal_mutable_header();
229  public:
230  void unsafe_arena_set_allocated_header(
231  ::ignition::msgs::Header* header);
232  ::ignition::msgs::Header* unsafe_arena_release_header();
233 
234  // .ignition.msgs.Color cloud_ambient = 7;
235  bool has_cloud_ambient() const;
236  private:
237  bool _internal_has_cloud_ambient() const;
238  public:
240  const ::ignition::msgs::Color& cloud_ambient() const;
241  PROTOBUF_NODISCARD ::ignition::msgs::Color* release_cloud_ambient();
242  ::ignition::msgs::Color* mutable_cloud_ambient();
243  void set_allocated_cloud_ambient(::ignition::msgs::Color* cloud_ambient);
244  private:
245  const ::ignition::msgs::Color& _internal_cloud_ambient() const;
246  ::ignition::msgs::Color* _internal_mutable_cloud_ambient();
247  public:
248  void unsafe_arena_set_allocated_cloud_ambient(
249  ::ignition::msgs::Color* cloud_ambient);
250  ::ignition::msgs::Color* unsafe_arena_release_cloud_ambient();
251 
252  // double time = 2;
253  void clear_time();
254  double time() const;
255  void set_time(double value);
256  private:
257  double _internal_time() const;
258  void _internal_set_time(double value);
259  public:
260 
261  // double sunrise = 3;
262  void clear_sunrise();
263  double sunrise() const;
264  void set_sunrise(double value);
265  private:
266  double _internal_sunrise() const;
267  void _internal_set_sunrise(double value);
268  public:
269 
270  // double sunset = 4;
271  void clear_sunset();
272  double sunset() const;
273  void set_sunset(double value);
274  private:
275  double _internal_sunset() const;
276  void _internal_set_sunset(double value);
277  public:
278 
279  // double wind_speed = 5;
280  void clear_wind_speed();
281  double wind_speed() const;
282  void set_wind_speed(double value);
283  private:
284  double _internal_wind_speed() const;
285  void _internal_set_wind_speed(double value);
286  public:
287 
288  // double wind_direction = 6;
289  void clear_wind_direction();
290  double wind_direction() const;
291  void set_wind_direction(double value);
292  private:
293  double _internal_wind_direction() const;
294  void _internal_set_wind_direction(double value);
295  public:
296 
297  // double humidity = 8;
298  void clear_humidity();
299  double humidity() const;
300  void set_humidity(double value);
301  private:
302  double _internal_humidity() const;
303  void _internal_set_humidity(double value);
304  public:
305 
306  // double mean_cloud_size = 9;
307  void clear_mean_cloud_size();
308  double mean_cloud_size() const;
309  void set_mean_cloud_size(double value);
310  private:
311  double _internal_mean_cloud_size() const;
312  void _internal_set_mean_cloud_size(double value);
313  public:
314 
315  // @@protoc_insertion_point(class_scope:ignition.msgs.Sky)
316  private:
317  class _Internal;
318 
319  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
320  typedef void InternalArenaConstructable_;
321  typedef void DestructorSkippable_;
322  ::ignition::msgs::Header* header_;
323  ::ignition::msgs::Color* cloud_ambient_;
324  double time_;
325  double sunrise_;
326  double sunset_;
327  double wind_speed_;
328  double wind_direction_;
329  double humidity_;
330  double mean_cloud_size_;
331  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
332  friend struct ::TableStruct_ignition_2fmsgs_2fsky_2eproto;
333 };
334 // ===================================================================
335 
336 
337 // ===================================================================
338 
339 #ifdef __GNUC__
340  #pragma GCC diagnostic push
341  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
342 #endif // __GNUC__
343 // Sky
344 
345 // .ignition.msgs.Header header = 1;
346 inline bool Sky::_internal_has_header() const {
347  return this != internal_default_instance() && header_ != nullptr;
348 }
349 inline bool Sky::has_header() const {
350  return _internal_has_header();
351 }
352 inline const ::ignition::msgs::Header& Sky::_internal_header() const {
353  const ::ignition::msgs::Header* p = header_;
354  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
356 }
357 inline const ::ignition::msgs::Header& Sky::header() const {
358  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.header)
359  return _internal_header();
360 }
362  ::ignition::msgs::Header* header) {
363  if (GetArenaForAllocation() == nullptr) {
364  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
365  }
366  header_ = header;
367  if (header) {
368 
369  } else {
370 
371  }
372  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Sky.header)
373 }
374 inline ::ignition::msgs::Header* Sky::release_header() {
375 
376  ::ignition::msgs::Header* temp = header_;
377  header_ = nullptr;
378 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
379  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
380  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
381  if (GetArenaForAllocation() == nullptr) { delete old; }
382 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
383  if (GetArenaForAllocation() != nullptr) {
384  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
385  }
386 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
387  return temp;
388 }
389 inline ::ignition::msgs::Header* Sky::unsafe_arena_release_header() {
390  // @@protoc_insertion_point(field_release:ignition.msgs.Sky.header)
391 
392  ::ignition::msgs::Header* temp = header_;
393  header_ = nullptr;
394  return temp;
395 }
396 inline ::ignition::msgs::Header* Sky::_internal_mutable_header() {
397 
398  if (header_ == nullptr) {
399  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
400  header_ = p;
401  }
402  return header_;
403 }
404 inline ::ignition::msgs::Header* Sky::mutable_header() {
405  ::ignition::msgs::Header* _msg = _internal_mutable_header();
406  // @@protoc_insertion_point(field_mutable:ignition.msgs.Sky.header)
407  return _msg;
408 }
410  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
411  if (message_arena == nullptr) {
412  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
413  }
414  if (header) {
415  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
416  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
417  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
418  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
419  if (message_arena != submessage_arena) {
420  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
421  message_arena, header, submessage_arena);
422  }
423 
424  } else {
425 
426  }
427  header_ = header;
428  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Sky.header)
429 }
430 
431 // double time = 2;
432 inline void Sky::clear_time() {
433  time_ = 0;
434 }
435 inline double Sky::_internal_time() const {
436  return time_;
437 }
438 inline double Sky::time() const {
439  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.time)
440  return _internal_time();
441 }
442 inline void Sky::_internal_set_time(double value) {
443 
444  time_ = value;
445 }
446 inline void Sky::set_time(double value) {
447  _internal_set_time(value);
448  // @@protoc_insertion_point(field_set:ignition.msgs.Sky.time)
449 }
450 
451 // double sunrise = 3;
452 inline void Sky::clear_sunrise() {
453  sunrise_ = 0;
454 }
455 inline double Sky::_internal_sunrise() const {
456  return sunrise_;
457 }
458 inline double Sky::sunrise() const {
459  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.sunrise)
460  return _internal_sunrise();
461 }
462 inline void Sky::_internal_set_sunrise(double value) {
463 
464  sunrise_ = value;
465 }
466 inline void Sky::set_sunrise(double value) {
467  _internal_set_sunrise(value);
468  // @@protoc_insertion_point(field_set:ignition.msgs.Sky.sunrise)
469 }
470 
471 // double sunset = 4;
472 inline void Sky::clear_sunset() {
473  sunset_ = 0;
474 }
475 inline double Sky::_internal_sunset() const {
476  return sunset_;
477 }
478 inline double Sky::sunset() const {
479  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.sunset)
480  return _internal_sunset();
481 }
482 inline void Sky::_internal_set_sunset(double value) {
483 
484  sunset_ = value;
485 }
486 inline void Sky::set_sunset(double value) {
487  _internal_set_sunset(value);
488  // @@protoc_insertion_point(field_set:ignition.msgs.Sky.sunset)
489 }
490 
491 // double wind_speed = 5;
492 inline void Sky::clear_wind_speed() {
493  wind_speed_ = 0;
494 }
495 inline double Sky::_internal_wind_speed() const {
496  return wind_speed_;
497 }
498 inline double Sky::wind_speed() const {
499  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.wind_speed)
500  return _internal_wind_speed();
501 }
502 inline void Sky::_internal_set_wind_speed(double value) {
503 
504  wind_speed_ = value;
505 }
506 inline void Sky::set_wind_speed(double value) {
507  _internal_set_wind_speed(value);
508  // @@protoc_insertion_point(field_set:ignition.msgs.Sky.wind_speed)
509 }
510 
511 // double wind_direction = 6;
513  wind_direction_ = 0;
514 }
515 inline double Sky::_internal_wind_direction() const {
516  return wind_direction_;
517 }
518 inline double Sky::wind_direction() const {
519  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.wind_direction)
520  return _internal_wind_direction();
521 }
522 inline void Sky::_internal_set_wind_direction(double value) {
523 
524  wind_direction_ = value;
525 }
526 inline void Sky::set_wind_direction(double value) {
527  _internal_set_wind_direction(value);
528  // @@protoc_insertion_point(field_set:ignition.msgs.Sky.wind_direction)
529 }
530 
531 // .ignition.msgs.Color cloud_ambient = 7;
532 inline bool Sky::_internal_has_cloud_ambient() const {
533  return this != internal_default_instance() && cloud_ambient_ != nullptr;
534 }
535 inline bool Sky::has_cloud_ambient() const {
536  return _internal_has_cloud_ambient();
537 }
538 inline const ::ignition::msgs::Color& Sky::_internal_cloud_ambient() const {
539  const ::ignition::msgs::Color* p = cloud_ambient_;
540  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Color&>(
542 }
543 inline const ::ignition::msgs::Color& Sky::cloud_ambient() const {
544  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.cloud_ambient)
545  return _internal_cloud_ambient();
546 }
548  ::ignition::msgs::Color* cloud_ambient) {
549  if (GetArenaForAllocation() == nullptr) {
550  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cloud_ambient_);
551  }
552  cloud_ambient_ = cloud_ambient;
553  if (cloud_ambient) {
554 
555  } else {
556 
557  }
558  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Sky.cloud_ambient)
559 }
560 inline ::ignition::msgs::Color* Sky::release_cloud_ambient() {
561 
562  ::ignition::msgs::Color* temp = cloud_ambient_;
563  cloud_ambient_ = nullptr;
564 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
565  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
566  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
567  if (GetArenaForAllocation() == nullptr) { delete old; }
568 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
569  if (GetArenaForAllocation() != nullptr) {
570  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
571  }
572 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
573  return temp;
574 }
575 inline ::ignition::msgs::Color* Sky::unsafe_arena_release_cloud_ambient() {
576  // @@protoc_insertion_point(field_release:ignition.msgs.Sky.cloud_ambient)
577 
578  ::ignition::msgs::Color* temp = cloud_ambient_;
579  cloud_ambient_ = nullptr;
580  return temp;
581 }
582 inline ::ignition::msgs::Color* Sky::_internal_mutable_cloud_ambient() {
583 
584  if (cloud_ambient_ == nullptr) {
585  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaForAllocation());
586  cloud_ambient_ = p;
587  }
588  return cloud_ambient_;
589 }
590 inline ::ignition::msgs::Color* Sky::mutable_cloud_ambient() {
591  ::ignition::msgs::Color* _msg = _internal_mutable_cloud_ambient();
592  // @@protoc_insertion_point(field_mutable:ignition.msgs.Sky.cloud_ambient)
593  return _msg;
594 }
596  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
597  if (message_arena == nullptr) {
598  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(cloud_ambient_);
599  }
600  if (cloud_ambient) {
601  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
602  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
603  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
604  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(cloud_ambient));
605  if (message_arena != submessage_arena) {
606  cloud_ambient = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
607  message_arena, cloud_ambient, submessage_arena);
608  }
609 
610  } else {
611 
612  }
613  cloud_ambient_ = cloud_ambient;
614  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Sky.cloud_ambient)
615 }
616 
617 // double humidity = 8;
618 inline void Sky::clear_humidity() {
619  humidity_ = 0;
620 }
621 inline double Sky::_internal_humidity() const {
622  return humidity_;
623 }
624 inline double Sky::humidity() const {
625  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.humidity)
626  return _internal_humidity();
627 }
628 inline void Sky::_internal_set_humidity(double value) {
629 
630  humidity_ = value;
631 }
632 inline void Sky::set_humidity(double value) {
633  _internal_set_humidity(value);
634  // @@protoc_insertion_point(field_set:ignition.msgs.Sky.humidity)
635 }
636 
637 // double mean_cloud_size = 9;
639  mean_cloud_size_ = 0;
640 }
641 inline double Sky::_internal_mean_cloud_size() const {
642  return mean_cloud_size_;
643 }
644 inline double Sky::mean_cloud_size() const {
645  // @@protoc_insertion_point(field_get:ignition.msgs.Sky.mean_cloud_size)
646  return _internal_mean_cloud_size();
647 }
648 inline void Sky::_internal_set_mean_cloud_size(double value) {
649 
650  mean_cloud_size_ = value;
651 }
652 inline void Sky::set_mean_cloud_size(double value) {
653  _internal_set_mean_cloud_size(value);
654  // @@protoc_insertion_point(field_set:ignition.msgs.Sky.mean_cloud_size)
655 }
656 
657 #ifdef __GNUC__
658  #pragma GCC diagnostic pop
659 #endif // __GNUC__
660 
665 // @@protoc_insertion_point(namespace_scope)
666 
667 } // namespace msgs
668 } // namespace ignition
669 
670 #ifdef _MSC_VER
671 #pragma warning(pop)
672 #endif
673 // @@protoc_insertion_point(global_scope)
674 
675 #include <google/protobuf/port_undef.inc>
676 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fsky_2eproto
Definition: color.pb.h:84
Definition: header.pb.h:265
Definition: sky.pb.h:85
Sky & operator=(const Sky &from)
Definition: sky.pb.h:97
void set_allocated_cloud_ambient(::ignition::msgs::Color *cloud_ambient)
Definition: sky.pb.h:595
Sky(const Sky &from)
void clear_sunrise()
Definition: sky.pb.h:452
constexpr Sky(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void CopyFrom(const Sky &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: sky.pb.h:121
static const Sky & default_instance()
Definition: sky.pb.h:124
bool has_header() const
Definition: sky.pb.h:349
Sky()
Definition: sky.pb.h:87
::ignition::msgs::Header * mutable_header()
Definition: sky.pb.h:404
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const Sky &from)
double sunrise() const
Definition: sky.pb.h:458
double humidity() const
Definition: sky.pb.h:624
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: sky.pb.h:115
void clear_humidity()
Definition: sky.pb.h:618
PROTOBUF_NODISCARD ::ignition::msgs::Color * release_cloud_ambient()
Definition: sky.pb.h:560
static const Sky * internal_default_instance()
Definition: sky.pb.h:127
double wind_speed() const
Definition: sky.pb.h:498
Sky & operator=(Sky &&from) noexcept
Definition: sky.pb.h:101
::ignition::msgs::Color * unsafe_arena_release_cloud_ambient()
Definition: sky.pb.h:575
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: sky.pb.h:361
friend void swap(Sky &a, Sky &b)
Definition: sky.pb.h:134
void set_wind_direction(double value)
Definition: sky.pb.h:526
void set_mean_cloud_size(double value)
Definition: sky.pb.h:652
void clear_mean_cloud_size()
Definition: sky.pb.h:638
::ignition::msgs::Color * mutable_cloud_ambient()
Definition: sky.pb.h:590
void UnsafeArenaSwap(Sky *other)
Definition: sky.pb.h:150
bool has_cloud_ambient() const
Definition: sky.pb.h:535
void set_time(double value)
Definition: sky.pb.h:446
const ::ignition::msgs::Color & cloud_ambient() const
Definition: sky.pb.h:543
Sky(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_allocated_header(::ignition::msgs::Header *header)
Definition: sky.pb.h:409
double time() const
Definition: sky.pb.h:438
double wind_direction() const
Definition: sky.pb.h:518
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: sky.pb.h:374
void set_sunset(double value)
Definition: sky.pb.h:486
void set_wind_speed(double value)
Definition: sky.pb.h:506
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void clear_sunset()
Definition: sky.pb.h:472
double mean_cloud_size() const
Definition: sky.pb.h:644
void clear_time()
Definition: sky.pb.h:432
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: sky.pb.h:118
void Swap(Sky *other)
Definition: sky.pb.h:137
double sunset() const
Definition: sky.pb.h:478
const ::ignition::msgs::Header & header() const
Definition: sky.pb.h:357
void clear_wind_direction()
Definition: sky.pb.h:512
void set_sunrise(double value)
Definition: sky.pb.h:466
Sky(Sky &&from) noexcept
Definition: sky.pb.h:92
static const ClassData _class_data_
Definition: sky.pb.h:196
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: sky.pb.h:389
Sky * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: sky.pb.h:158
void clear_wind_speed()
Definition: sky.pb.h:492
void set_humidity(double value)
Definition: sky.pb.h:632
void unsafe_arena_set_allocated_cloud_ambient(::ignition::msgs::Color *cloud_ambient)
Definition: sky.pb.h:547
IGNITION_MSGS_VISIBLE SkyDefaultTypeInternal _Sky_default_instance_
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
std::unique_ptr< const Sky > ConstSkyUniquePtr
Definition: sky.pb.h:662
std::shared_ptr< Sky > SkySharedPtr
Definition: sky.pb.h:663
std::unique_ptr< Sky > SkyUniquePtr
Definition: sky.pb.h:661
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const Sky > ConstSkySharedPtr
Definition: sky.pb.h:664
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fsky_2eproto
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)