Ignition Msgs

API Reference

5.8.1
fog.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/fog.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2ffog_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2ffog_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/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
35 #include "ignition/msgs/color.pb.h"
37 #ifndef _MSC_VER
38 #pragma GCC system_header
39 #else
40 #pragma warning(push)
41 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #endif
43 #ifdef __linux__
44 #include <sys/sysmacros.h>
45 #endif
46 #include <memory>
47 #include <ignition/msgs/Export.hh>
48 // @@protoc_insertion_point(includes)
49 #include <google/protobuf/port_def.inc>
50 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2ffog_2eproto IGNITION_MSGS_VISIBLE
51 PROTOBUF_NAMESPACE_OPEN
52 namespace internal {
53 class AnyMetadata;
54 } // namespace internal
55 PROTOBUF_NAMESPACE_CLOSE
56 
57 // Internal implementation detail -- do not use these members.
58 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2ffog_2eproto {
59  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
64  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
65  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
66  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
67  static const uint32_t offsets[];
68 };
69 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2ffog_2eproto;
70 namespace ignition {
71 namespace msgs {
72 class Fog;
73 struct FogDefaultTypeInternal;
74 IGNITION_MSGS_VISIBLE extern FogDefaultTypeInternal _Fog_default_instance_;
75 } // namespace msgs
76 } // namespace ignition
77 PROTOBUF_NAMESPACE_OPEN
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Fog* Arena::CreateMaybeMessage<::ignition::msgs::Fog>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
80 namespace ignition {
81 namespace msgs {
82 
83 enum Fog_FogType : int {
90 };
91 IGNITION_MSGS_VISIBLE bool Fog_FogType_IsValid(int value);
95 
96 IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Fog_FogType_descriptor();
97 template<typename T>
98 inline const std::string& Fog_FogType_Name(T enum_t_value) {
99  static_assert(::std::is_same<T, Fog_FogType>::value ||
101  "Incorrect type passed to function Fog_FogType_Name.");
102  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
103  Fog_FogType_descriptor(), enum_t_value);
104 }
105 inline bool Fog_FogType_Parse(
106  ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Fog_FogType* value) {
107  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Fog_FogType>(
108  Fog_FogType_descriptor(), name, value);
109 }
110 // ===================================================================
111 
112 class IGNITION_MSGS_VISIBLE Fog final :
113  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Fog) */ {
114  public:
115  inline Fog() : Fog(nullptr) {}
116  ~Fog() override;
117  explicit constexpr Fog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
118 
119  Fog(const Fog& from);
120  Fog(Fog&& from) noexcept
121  : Fog() {
122  *this = ::std::move(from);
123  }
124 
125  inline Fog& operator=(const Fog& from) {
126  CopyFrom(from);
127  return *this;
128  }
129  inline Fog& operator=(Fog&& from) noexcept {
130  if (this == &from) return *this;
131  if (GetOwningArena() == from.GetOwningArena()
132  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
133  && GetOwningArena() != nullptr
134  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
135  ) {
136  InternalSwap(&from);
137  } else {
138  CopyFrom(from);
139  }
140  return *this;
141  }
142 
143  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
144  return GetDescriptor();
145  }
146  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
147  return default_instance().GetMetadata().descriptor;
148  }
149  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
150  return default_instance().GetMetadata().reflection;
151  }
152  static const Fog& default_instance() {
153  return *internal_default_instance();
154  }
155  static inline const Fog* internal_default_instance() {
156  return reinterpret_cast<const Fog*>(
158  }
159  static constexpr int kIndexInFileMessages =
160  0;
161 
162  friend void swap(Fog& a, Fog& b) {
163  a.Swap(&b);
164  }
165  inline void Swap(Fog* other) {
166  if (other == this) return;
167  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
168  if (GetOwningArena() != nullptr &&
169  GetOwningArena() == other->GetOwningArena()) {
170  #else // PROTOBUF_FORCE_COPY_IN_SWAP
171  if (GetOwningArena() == other->GetOwningArena()) {
172  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
173  InternalSwap(other);
174  } else {
175  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
176  }
177  }
178  void UnsafeArenaSwap(Fog* other) {
179  if (other == this) return;
180  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
181  InternalSwap(other);
182  }
183 
184  // implements Message ----------------------------------------------
185 
186  Fog* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
187  return CreateMaybeMessage<Fog>(arena);
188  }
189  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
190  void CopyFrom(const Fog& from);
191  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
192  void MergeFrom(const Fog& from);
193  private:
194  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
195  public:
196  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
197  bool IsInitialized() const final;
198 
199  size_t ByteSizeLong() const final;
200  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
201  uint8_t* _InternalSerialize(
202  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
203  int GetCachedSize() const final { return _cached_size_.Get(); }
204 
205  private:
206  void SharedCtor();
207  void SharedDtor();
208  void SetCachedSize(int size) const final;
209  void InternalSwap(Fog* other);
210 
211  private:
212  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
213  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
214  return "ignition.msgs.Fog";
215  }
216  protected:
217  explicit Fog(::PROTOBUF_NAMESPACE_ID::Arena* arena,
218  bool is_message_owned = false);
219  private:
220  static void ArenaDtor(void* object);
221  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
222  public:
223 
224  static const ClassData _class_data_;
225  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
226 
227  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
228 
229  // nested types ----------------------------------------------------
230 
232  static constexpr FogType NONE =
234  static constexpr FogType LINEAR =
236  static constexpr FogType EXPONENTIAL =
238  static constexpr FogType EXPONENTIAL2 =
240  static inline bool FogType_IsValid(int value) {
241  return Fog_FogType_IsValid(value);
242  }
243  static constexpr FogType FogType_MIN =
245  static constexpr FogType FogType_MAX =
247  static constexpr int FogType_ARRAYSIZE =
249  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
251  return Fog_FogType_descriptor();
252  }
253  template<typename T>
254  static inline const std::string& FogType_Name(T enum_t_value) {
255  static_assert(::std::is_same<T, FogType>::value ||
257  "Incorrect type passed to function FogType_Name.");
258  return Fog_FogType_Name(enum_t_value);
259  }
260  static inline bool FogType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
261  FogType* value) {
262  return Fog_FogType_Parse(name, value);
263  }
264 
265  // accessors -------------------------------------------------------
266 
267  enum : int {
268  kHeaderFieldNumber = 1,
269  kColorFieldNumber = 3,
270  kTypeFieldNumber = 2,
271  kDensityFieldNumber = 4,
272  kStartFieldNumber = 5,
273  kEndFieldNumber = 6,
274  };
275  // .ignition.msgs.Header header = 1;
276  bool has_header() const;
277  private:
278  bool _internal_has_header() const;
279  public:
280  void clear_header();
281  const ::ignition::msgs::Header& header() const;
282  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
283  ::ignition::msgs::Header* mutable_header();
284  void set_allocated_header(::ignition::msgs::Header* header);
285  private:
286  const ::ignition::msgs::Header& _internal_header() const;
287  ::ignition::msgs::Header* _internal_mutable_header();
288  public:
289  void unsafe_arena_set_allocated_header(
290  ::ignition::msgs::Header* header);
291  ::ignition::msgs::Header* unsafe_arena_release_header();
292 
293  // .ignition.msgs.Color color = 3;
294  bool has_color() const;
295  private:
296  bool _internal_has_color() const;
297  public:
298  void clear_color();
299  const ::ignition::msgs::Color& color() const;
300  PROTOBUF_NODISCARD ::ignition::msgs::Color* release_color();
301  ::ignition::msgs::Color* mutable_color();
302  void set_allocated_color(::ignition::msgs::Color* color);
303  private:
304  const ::ignition::msgs::Color& _internal_color() const;
305  ::ignition::msgs::Color* _internal_mutable_color();
306  public:
307  void unsafe_arena_set_allocated_color(
308  ::ignition::msgs::Color* color);
309  ::ignition::msgs::Color* unsafe_arena_release_color();
310 
311  // .ignition.msgs.Fog.FogType type = 2;
312  void clear_type();
313  ::ignition::msgs::Fog_FogType type() const;
314  void set_type(::ignition::msgs::Fog_FogType value);
315  private:
316  ::ignition::msgs::Fog_FogType _internal_type() const;
317  void _internal_set_type(::ignition::msgs::Fog_FogType value);
318  public:
319 
320  // float density = 4;
321  void clear_density();
322  float density() const;
323  void set_density(float value);
324  private:
325  float _internal_density() const;
326  void _internal_set_density(float value);
327  public:
328 
329  // float start = 5;
330  void clear_start();
331  float start() const;
332  void set_start(float value);
333  private:
334  float _internal_start() const;
335  void _internal_set_start(float value);
336  public:
337 
338  // float end = 6;
339  void clear_end();
340  float end() const;
341  void set_end(float value);
342  private:
343  float _internal_end() const;
344  void _internal_set_end(float value);
345  public:
346 
347  // @@protoc_insertion_point(class_scope:ignition.msgs.Fog)
348  private:
349  class _Internal;
350 
351  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
352  typedef void InternalArenaConstructable_;
353  typedef void DestructorSkippable_;
354  ::ignition::msgs::Header* header_;
355  ::ignition::msgs::Color* color_;
356  int type_;
357  float density_;
358  float start_;
359  float end_;
360  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
361  friend struct ::TableStruct_ignition_2fmsgs_2ffog_2eproto;
362 };
363 // ===================================================================
364 
365 
366 // ===================================================================
367 
368 #ifdef __GNUC__
369  #pragma GCC diagnostic push
370  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
371 #endif // __GNUC__
372 // Fog
373 
374 // .ignition.msgs.Header header = 1;
375 inline bool Fog::_internal_has_header() const {
376  return this != internal_default_instance() && header_ != nullptr;
377 }
378 inline bool Fog::has_header() const {
379  return _internal_has_header();
380 }
381 inline const ::ignition::msgs::Header& Fog::_internal_header() const {
382  const ::ignition::msgs::Header* p = header_;
383  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
385 }
386 inline const ::ignition::msgs::Header& Fog::header() const {
387  // @@protoc_insertion_point(field_get:ignition.msgs.Fog.header)
388  return _internal_header();
389 }
391  ::ignition::msgs::Header* header) {
392  if (GetArenaForAllocation() == nullptr) {
393  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
394  }
395  header_ = header;
396  if (header) {
397 
398  } else {
399 
400  }
401  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Fog.header)
402 }
403 inline ::ignition::msgs::Header* Fog::release_header() {
404 
405  ::ignition::msgs::Header* temp = header_;
406  header_ = nullptr;
407 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
408  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
409  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
410  if (GetArenaForAllocation() == nullptr) { delete old; }
411 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
412  if (GetArenaForAllocation() != nullptr) {
413  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
414  }
415 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
416  return temp;
417 }
418 inline ::ignition::msgs::Header* Fog::unsafe_arena_release_header() {
419  // @@protoc_insertion_point(field_release:ignition.msgs.Fog.header)
420 
421  ::ignition::msgs::Header* temp = header_;
422  header_ = nullptr;
423  return temp;
424 }
425 inline ::ignition::msgs::Header* Fog::_internal_mutable_header() {
426 
427  if (header_ == nullptr) {
428  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
429  header_ = p;
430  }
431  return header_;
432 }
433 inline ::ignition::msgs::Header* Fog::mutable_header() {
434  ::ignition::msgs::Header* _msg = _internal_mutable_header();
435  // @@protoc_insertion_point(field_mutable:ignition.msgs.Fog.header)
436  return _msg;
437 }
439  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
440  if (message_arena == nullptr) {
441  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
442  }
443  if (header) {
444  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
445  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
446  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
447  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
448  if (message_arena != submessage_arena) {
449  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
450  message_arena, header, submessage_arena);
451  }
452 
453  } else {
454 
455  }
456  header_ = header;
457  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Fog.header)
458 }
459 
460 // .ignition.msgs.Fog.FogType type = 2;
461 inline void Fog::clear_type() {
462  type_ = 0;
463 }
464 inline ::ignition::msgs::Fog_FogType Fog::_internal_type() const {
465  return static_cast< ::ignition::msgs::Fog_FogType >(type_);
466 }
468  // @@protoc_insertion_point(field_get:ignition.msgs.Fog.type)
469  return _internal_type();
470 }
471 inline void Fog::_internal_set_type(::ignition::msgs::Fog_FogType value) {
472 
473  type_ = value;
474 }
476  _internal_set_type(value);
477  // @@protoc_insertion_point(field_set:ignition.msgs.Fog.type)
478 }
479 
480 // .ignition.msgs.Color color = 3;
481 inline bool Fog::_internal_has_color() const {
482  return this != internal_default_instance() && color_ != nullptr;
483 }
484 inline bool Fog::has_color() const {
485  return _internal_has_color();
486 }
487 inline const ::ignition::msgs::Color& Fog::_internal_color() const {
488  const ::ignition::msgs::Color* p = color_;
489  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Color&>(
491 }
492 inline const ::ignition::msgs::Color& Fog::color() const {
493  // @@protoc_insertion_point(field_get:ignition.msgs.Fog.color)
494  return _internal_color();
495 }
497  ::ignition::msgs::Color* color) {
498  if (GetArenaForAllocation() == nullptr) {
499  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(color_);
500  }
501  color_ = color;
502  if (color) {
503 
504  } else {
505 
506  }
507  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Fog.color)
508 }
509 inline ::ignition::msgs::Color* Fog::release_color() {
510 
511  ::ignition::msgs::Color* temp = color_;
512  color_ = nullptr;
513 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
514  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
515  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
516  if (GetArenaForAllocation() == nullptr) { delete old; }
517 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
518  if (GetArenaForAllocation() != nullptr) {
519  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
520  }
521 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
522  return temp;
523 }
524 inline ::ignition::msgs::Color* Fog::unsafe_arena_release_color() {
525  // @@protoc_insertion_point(field_release:ignition.msgs.Fog.color)
526 
527  ::ignition::msgs::Color* temp = color_;
528  color_ = nullptr;
529  return temp;
530 }
531 inline ::ignition::msgs::Color* Fog::_internal_mutable_color() {
532 
533  if (color_ == nullptr) {
534  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaForAllocation());
535  color_ = p;
536  }
537  return color_;
538 }
539 inline ::ignition::msgs::Color* Fog::mutable_color() {
540  ::ignition::msgs::Color* _msg = _internal_mutable_color();
541  // @@protoc_insertion_point(field_mutable:ignition.msgs.Fog.color)
542  return _msg;
543 }
545  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
546  if (message_arena == nullptr) {
547  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(color_);
548  }
549  if (color) {
550  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
551  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
552  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
553  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(color));
554  if (message_arena != submessage_arena) {
555  color = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
556  message_arena, color, submessage_arena);
557  }
558 
559  } else {
560 
561  }
562  color_ = color;
563  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Fog.color)
564 }
565 
566 // float density = 4;
567 inline void Fog::clear_density() {
568  density_ = 0;
569 }
570 inline float Fog::_internal_density() const {
571  return density_;
572 }
573 inline float Fog::density() const {
574  // @@protoc_insertion_point(field_get:ignition.msgs.Fog.density)
575  return _internal_density();
576 }
577 inline void Fog::_internal_set_density(float value) {
578 
579  density_ = value;
580 }
581 inline void Fog::set_density(float value) {
582  _internal_set_density(value);
583  // @@protoc_insertion_point(field_set:ignition.msgs.Fog.density)
584 }
585 
586 // float start = 5;
587 inline void Fog::clear_start() {
588  start_ = 0;
589 }
590 inline float Fog::_internal_start() const {
591  return start_;
592 }
593 inline float Fog::start() const {
594  // @@protoc_insertion_point(field_get:ignition.msgs.Fog.start)
595  return _internal_start();
596 }
597 inline void Fog::_internal_set_start(float value) {
598 
599  start_ = value;
600 }
601 inline void Fog::set_start(float value) {
602  _internal_set_start(value);
603  // @@protoc_insertion_point(field_set:ignition.msgs.Fog.start)
604 }
605 
606 // float end = 6;
607 inline void Fog::clear_end() {
608  end_ = 0;
609 }
610 inline float Fog::_internal_end() const {
611  return end_;
612 }
613 inline float Fog::end() const {
614  // @@protoc_insertion_point(field_get:ignition.msgs.Fog.end)
615  return _internal_end();
616 }
617 inline void Fog::_internal_set_end(float value) {
618 
619  end_ = value;
620 }
621 inline void Fog::set_end(float value) {
622  _internal_set_end(value);
623  // @@protoc_insertion_point(field_set:ignition.msgs.Fog.end)
624 }
625 
626 #ifdef __GNUC__
627  #pragma GCC diagnostic pop
628 #endif // __GNUC__
629 
634 // @@protoc_insertion_point(namespace_scope)
635 
636 } // namespace msgs
637 } // namespace ignition
638 
639 PROTOBUF_NAMESPACE_OPEN
640 
641 template <> struct is_proto_enum< ::ignition::msgs::Fog_FogType> : ::std::true_type {};
642 template <>
643 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Fog_FogType>() {
645 }
646 
647 PROTOBUF_NAMESPACE_CLOSE
648 
649 #ifdef _MSC_VER
650 #pragma warning(pop)
651 #endif
652 // @@protoc_insertion_point(global_scope)
653 
654 #include <google/protobuf/port_undef.inc>
655 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2ffog_2eproto
Definition: color.pb.h:84
Definition: fog.pb.h:113
void set_density(float value)
Definition: fog.pb.h:581
Fog & operator=(Fog &&from) noexcept
Definition: fog.pb.h:129
void CopyFrom(const Fog &from)
void Swap(Fog *other)
Definition: fog.pb.h:165
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: fog.pb.h:149
::ignition::msgs::Color * mutable_color()
Definition: fog.pb.h:539
bool has_header() const
Definition: fog.pb.h:378
::ignition::msgs::Header * mutable_header()
Definition: fog.pb.h:433
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Fog()
Definition: fog.pb.h:115
static bool FogType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, FogType *value)
Definition: fog.pb.h:260
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: fog.pb.h:143
bool has_color() const
Definition: fog.pb.h:484
constexpr Fog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void unsafe_arena_set_allocated_color(::ignition::msgs::Color *color)
Definition: fog.pb.h:496
static const Fog * internal_default_instance()
Definition: fog.pb.h:155
Fog & operator=(const Fog &from)
Definition: fog.pb.h:125
PROTOBUF_NODISCARD ::ignition::msgs::Color * release_color()
Definition: fog.pb.h:509
void UnsafeArenaSwap(Fog *other)
Definition: fog.pb.h:178
float density() const
Definition: fog.pb.h:573
void set_allocated_color(::ignition::msgs::Color *color)
Definition: fog.pb.h:544
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: fog.pb.h:390
Fog(Fog &&from) noexcept
Definition: fog.pb.h:120
void clear_start()
Definition: fog.pb.h:587
void clear_density()
Definition: fog.pb.h:567
::ignition::msgs::Color * unsafe_arena_release_color()
Definition: fog.pb.h:524
static const Fog & default_instance()
Definition: fog.pb.h:152
Fog * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: fog.pb.h:186
friend void swap(Fog &a, Fog &b)
Definition: fog.pb.h:162
void set_start(float value)
Definition: fog.pb.h:601
static const std::string & FogType_Name(T enum_t_value)
Definition: fog.pb.h:254
void MergeFrom(const Fog &from)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * FogType_descriptor()
Definition: fog.pb.h:250
void clear_type()
Definition: fog.pb.h:461
void set_allocated_header(::ignition::msgs::Header *header)
Definition: fog.pb.h:438
float start() const
Definition: fog.pb.h:593
Fog(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void clear_end()
Definition: fog.pb.h:607
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: fog.pb.h:403
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void set_end(float value)
Definition: fog.pb.h:621
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: fog.pb.h:146
const ::ignition::msgs::Header & header() const
Definition: fog.pb.h:386
static const ClassData _class_data_
Definition: fog.pb.h:224
Fog(const Fog &from)
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: fog.pb.h:418
::ignition::msgs::Fog_FogType type() const
Definition: fog.pb.h:467
const ::ignition::msgs::Color & color() const
Definition: fog.pb.h:492
void set_type(::ignition::msgs::Fog_FogType value)
Definition: fog.pb.h:475
float end() const
Definition: fog.pb.h:613
Definition: header.pb.h:265
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2ffog_2eproto
T max(T... args)
T min(T... args)
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
std::shared_ptr< const Fog > ConstFogSharedPtr
Definition: fog.pb.h:633
std::shared_ptr< Fog > FogSharedPtr
Definition: fog.pb.h:632
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Fog_FogType_descriptor()
IGNITION_MSGS_VISIBLE bool Fog_FogType_IsValid(int value)
IGNITION_MSGS_VISIBLE FogDefaultTypeInternal _Fog_default_instance_
constexpr Fog_FogType Fog_FogType_FogType_MIN
Definition: fog.pb.h:92
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
const std::string & Fog_FogType_Name(T enum_t_value)
Definition: fog.pb.h:98
std::unique_ptr< const Fog > ConstFogUniquePtr
Definition: fog.pb.h:631
constexpr Fog_FogType Fog_FogType_FogType_MAX
Definition: fog.pb.h:93
Fog_FogType
Definition: fog.pb.h:83
@ Fog_FogType_EXPONENTIAL2
Definition: fog.pb.h:87
@ Fog_FogType_EXPONENTIAL
Definition: fog.pb.h:86
@ Fog_FogType_Fog_FogType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: fog.pb.h:89
@ Fog_FogType_LINEAR
Definition: fog.pb.h:85
@ Fog_FogType_NONE
Definition: fog.pb.h:84
@ Fog_FogType_Fog_FogType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: fog.pb.h:88
std::unique_ptr< Fog > FogUniquePtr
Definition: fog.pb.h:630
bool Fog_FogType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Fog_FogType *value)
Definition: fog.pb.h:105
constexpr int Fog_FogType_FogType_ARRAYSIZE
Definition: fog.pb.h:94
Definition: actor.pb.h:52
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)