Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/light.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/light.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flight_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flight_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/generated_enum_reflection.h>
35 #include <google/protobuf/unknown_field_set.h>
37 #include "ignition/msgs/pose.pb.h"
39 #include "ignition/msgs/color.pb.h"
40 #ifndef _MSC_VER
41 #pragma GCC system_header
42 #else
43 #pragma warning(push)
44 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
45 #endif
46 #ifdef __linux__
47 #include <sys/sysmacros.h>
48 #endif
49 #include <memory>
50 #include <ignition/msgs/Export.hh>
51 // @@protoc_insertion_point(includes)
52 #include <google/protobuf/port_def.inc>
53 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2flight_2eproto IGNITION_MSGS_VISIBLE
54 PROTOBUF_NAMESPACE_OPEN
55 namespace internal {
56 class AnyMetadata;
57 } // namespace internal
58 PROTOBUF_NAMESPACE_CLOSE
59 
60 // Internal implementation detail -- do not use these members.
61 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2flight_2eproto {
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
65  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
66  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
67  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
68  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
69  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
70  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
71 };
72 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2flight_2eproto;
73 namespace ignition {
74 namespace msgs {
75 class Light;
76 class LightDefaultTypeInternal;
77 IGNITION_MSGS_VISIBLE extern LightDefaultTypeInternal _Light_default_instance_;
78 } // namespace msgs
79 } // namespace ignition
80 PROTOBUF_NAMESPACE_OPEN
81 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Light* Arena::CreateMaybeMessage<::ignition::msgs::Light>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
83 namespace ignition {
84 namespace msgs {
85 
86 enum Light_LightType : int {
92 };
93 IGNITION_MSGS_VISIBLE bool Light_LightType_IsValid(int value);
97 
98 IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Light_LightType_descriptor();
99 template<typename T>
100 inline const std::string& Light_LightType_Name(T enum_t_value) {
101  static_assert(::std::is_same<T, Light_LightType>::value ||
103  "Incorrect type passed to function Light_LightType_Name.");
104  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
105  Light_LightType_descriptor(), enum_t_value);
106 }
108  const std::string& name, Light_LightType* value) {
109  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Light_LightType>(
110  Light_LightType_descriptor(), name, value);
111 }
112 // ===================================================================
113 
114 class IGNITION_MSGS_VISIBLE Light PROTOBUF_FINAL :
115  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Light) */ {
116  public:
117  inline Light() : Light(nullptr) {};
118  virtual ~Light();
119 
120  Light(const Light& from);
121  Light(Light&& from) noexcept
122  : Light() {
123  *this = ::std::move(from);
124  }
125 
126  inline Light& operator=(const Light& from) {
127  CopyFrom(from);
128  return *this;
129  }
130  inline Light& operator=(Light&& from) noexcept {
131  if (GetArena() == from.GetArena()) {
132  if (this != &from) InternalSwap(&from);
133  } else {
134  CopyFrom(from);
135  }
136  return *this;
137  }
138 
139  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
140  return GetDescriptor();
141  }
142  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
143  return GetMetadataStatic().descriptor;
144  }
145  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
146  return GetMetadataStatic().reflection;
147  }
148  static const Light& default_instance();
149 
150  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
151  static inline const Light* internal_default_instance() {
152  return reinterpret_cast<const Light*>(
154  }
155  static constexpr int kIndexInFileMessages =
156  0;
157 
158  friend void swap(Light& a, Light& b) {
159  a.Swap(&b);
160  }
161  inline void Swap(Light* other) {
162  if (other == this) return;
163  if (GetArena() == other->GetArena()) {
164  InternalSwap(other);
165  } else {
166  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
167  }
168  }
169  void UnsafeArenaSwap(Light* other) {
170  if (other == this) return;
171  GOOGLE_DCHECK(GetArena() == other->GetArena());
172  InternalSwap(other);
173  }
174 
175  // implements Message ----------------------------------------------
176 
177  inline Light* New() const final {
178  return CreateMaybeMessage<Light>(nullptr);
179  }
180 
181  Light* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
182  return CreateMaybeMessage<Light>(arena);
183  }
184  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
185  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
186  void CopyFrom(const Light& from);
187  void MergeFrom(const Light& from);
188  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
189  bool IsInitialized() const final;
190 
191  size_t ByteSizeLong() const final;
192  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
193  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
194  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
195  int GetCachedSize() const final { return _cached_size_.Get(); }
196 
197  private:
198  inline void SharedCtor();
199  inline void SharedDtor();
200  void SetCachedSize(int size) const final;
201  void InternalSwap(Light* other);
202  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
203  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
204  return "ignition.msgs.Light";
205  }
206  protected:
207  explicit Light(::PROTOBUF_NAMESPACE_ID::Arena* arena);
208  private:
209  static void ArenaDtor(void* object);
210  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
211  public:
212 
213  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
214  private:
215  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
216  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2flight_2eproto);
217  return ::descriptor_table_ignition_2fmsgs_2flight_2eproto.file_level_metadata[kIndexInFileMessages];
218  }
219 
220  public:
221 
222  // nested types ----------------------------------------------------
223 
225  static constexpr LightType POINT =
227  static constexpr LightType SPOT =
229  static constexpr LightType DIRECTIONAL =
231  static inline bool LightType_IsValid(int value) {
232  return Light_LightType_IsValid(value);
233  }
234  static constexpr LightType LightType_MIN =
236  static constexpr LightType LightType_MAX =
238  static constexpr int LightType_ARRAYSIZE =
240  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
243  }
244  template<typename T>
245  static inline const std::string& LightType_Name(T enum_t_value) {
246  static_assert(::std::is_same<T, LightType>::value ||
248  "Incorrect type passed to function LightType_Name.");
249  return Light_LightType_Name(enum_t_value);
250  }
251  static inline bool LightType_Parse(const std::string& name,
252  LightType* value) {
253  return Light_LightType_Parse(name, value);
254  }
255 
256  // accessors -------------------------------------------------------
257 
258  enum : int {
259  kNameFieldNumber = 2,
260  kHeaderFieldNumber = 1,
261  kPoseFieldNumber = 4,
262  kDiffuseFieldNumber = 5,
263  kSpecularFieldNumber = 6,
264  kDirectionFieldNumber = 10,
265  kTypeFieldNumber = 3,
266  kAttenuationConstantFieldNumber = 7,
267  kAttenuationLinearFieldNumber = 8,
268  kAttenuationQuadraticFieldNumber = 9,
269  kRangeFieldNumber = 11,
270  kCastShadowsFieldNumber = 12,
271  kSpotInnerAngleFieldNumber = 13,
272  kSpotOuterAngleFieldNumber = 14,
273  kSpotFalloffFieldNumber = 15,
274  kIdFieldNumber = 16,
275  kParentIdFieldNumber = 17,
276  kIntensityFieldNumber = 18,
277  };
278  // string name = 2;
279  void clear_name();
280  const std::string& name() const;
281  void set_name(const std::string& value);
282  void set_name(std::string&& value);
283  void set_name(const char* value);
284  void set_name(const char* value, size_t size);
288  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
289  " string fields are deprecated and will be removed in a"
290  " future release.")
291  std::string* unsafe_arena_release_name();
292  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
293  " string fields are deprecated and will be removed in a"
294  " future release.")
295  void unsafe_arena_set_allocated_name(
296  std::string* name);
297  private:
298  const std::string& _internal_name() const;
299  void _internal_set_name(const std::string& value);
300  std::string* _internal_mutable_name();
301  public:
302 
303  // .ignition.msgs.Header header = 1;
304  bool has_header() const;
305  private:
306  bool _internal_has_header() const;
307  public:
308  void clear_header();
309  const ::ignition::msgs::Header& header() const;
310  ::ignition::msgs::Header* release_header();
311  ::ignition::msgs::Header* mutable_header();
312  void set_allocated_header(::ignition::msgs::Header* header);
313  private:
314  const ::ignition::msgs::Header& _internal_header() const;
315  ::ignition::msgs::Header* _internal_mutable_header();
316  public:
317  void unsafe_arena_set_allocated_header(
318  ::ignition::msgs::Header* header);
319  ::ignition::msgs::Header* unsafe_arena_release_header();
320 
321  // .ignition.msgs.Pose pose = 4;
322  bool has_pose() const;
323  private:
324  bool _internal_has_pose() const;
325  public:
326  void clear_pose();
327  const ::ignition::msgs::Pose& pose() const;
328  ::ignition::msgs::Pose* release_pose();
329  ::ignition::msgs::Pose* mutable_pose();
330  void set_allocated_pose(::ignition::msgs::Pose* pose);
331  private:
332  const ::ignition::msgs::Pose& _internal_pose() const;
333  ::ignition::msgs::Pose* _internal_mutable_pose();
334  public:
335  void unsafe_arena_set_allocated_pose(
336  ::ignition::msgs::Pose* pose);
337  ::ignition::msgs::Pose* unsafe_arena_release_pose();
338 
339  // .ignition.msgs.Color diffuse = 5;
340  bool has_diffuse() const;
341  private:
342  bool _internal_has_diffuse() const;
343  public:
344  void clear_diffuse();
345  const ::ignition::msgs::Color& diffuse() const;
346  ::ignition::msgs::Color* release_diffuse();
347  ::ignition::msgs::Color* mutable_diffuse();
348  void set_allocated_diffuse(::ignition::msgs::Color* diffuse);
349  private:
350  const ::ignition::msgs::Color& _internal_diffuse() const;
351  ::ignition::msgs::Color* _internal_mutable_diffuse();
352  public:
353  void unsafe_arena_set_allocated_diffuse(
354  ::ignition::msgs::Color* diffuse);
355  ::ignition::msgs::Color* unsafe_arena_release_diffuse();
356 
357  // .ignition.msgs.Color specular = 6;
358  bool has_specular() const;
359  private:
360  bool _internal_has_specular() const;
361  public:
362  void clear_specular();
363  const ::ignition::msgs::Color& specular() const;
364  ::ignition::msgs::Color* release_specular();
365  ::ignition::msgs::Color* mutable_specular();
366  void set_allocated_specular(::ignition::msgs::Color* specular);
367  private:
368  const ::ignition::msgs::Color& _internal_specular() const;
369  ::ignition::msgs::Color* _internal_mutable_specular();
370  public:
371  void unsafe_arena_set_allocated_specular(
372  ::ignition::msgs::Color* specular);
373  ::ignition::msgs::Color* unsafe_arena_release_specular();
374 
375  // .ignition.msgs.Vector3d direction = 10;
376  bool has_direction() const;
377  private:
378  bool _internal_has_direction() const;
379  public:
380  void clear_direction();
381  const ::ignition::msgs::Vector3d& direction() const;
382  ::ignition::msgs::Vector3d* release_direction();
383  ::ignition::msgs::Vector3d* mutable_direction();
384  void set_allocated_direction(::ignition::msgs::Vector3d* direction);
385  private:
386  const ::ignition::msgs::Vector3d& _internal_direction() const;
387  ::ignition::msgs::Vector3d* _internal_mutable_direction();
388  public:
389  void unsafe_arena_set_allocated_direction(
390  ::ignition::msgs::Vector3d* direction);
391  ::ignition::msgs::Vector3d* unsafe_arena_release_direction();
392 
393  // .ignition.msgs.Light.LightType type = 3;
394  void clear_type();
395  ::ignition::msgs::Light_LightType type() const;
396  void set_type(::ignition::msgs::Light_LightType value);
397  private:
398  ::ignition::msgs::Light_LightType _internal_type() const;
399  void _internal_set_type(::ignition::msgs::Light_LightType value);
400  public:
401 
402  // float attenuation_constant = 7;
403  void clear_attenuation_constant();
404  float attenuation_constant() const;
405  void set_attenuation_constant(float value);
406  private:
407  float _internal_attenuation_constant() const;
408  void _internal_set_attenuation_constant(float value);
409  public:
410 
411  // float attenuation_linear = 8;
412  void clear_attenuation_linear();
413  float attenuation_linear() const;
414  void set_attenuation_linear(float value);
415  private:
416  float _internal_attenuation_linear() const;
417  void _internal_set_attenuation_linear(float value);
418  public:
419 
420  // float attenuation_quadratic = 9;
421  void clear_attenuation_quadratic();
422  float attenuation_quadratic() const;
423  void set_attenuation_quadratic(float value);
424  private:
425  float _internal_attenuation_quadratic() const;
426  void _internal_set_attenuation_quadratic(float value);
427  public:
428 
429  // float range = 11;
430  void clear_range();
431  float range() const;
432  void set_range(float value);
433  private:
434  float _internal_range() const;
435  void _internal_set_range(float value);
436  public:
437 
438  // bool cast_shadows = 12;
439  void clear_cast_shadows();
440  bool cast_shadows() const;
441  void set_cast_shadows(bool value);
442  private:
443  bool _internal_cast_shadows() const;
444  void _internal_set_cast_shadows(bool value);
445  public:
446 
447  // float spot_inner_angle = 13;
448  void clear_spot_inner_angle();
449  float spot_inner_angle() const;
450  void set_spot_inner_angle(float value);
451  private:
452  float _internal_spot_inner_angle() const;
453  void _internal_set_spot_inner_angle(float value);
454  public:
455 
456  // float spot_outer_angle = 14;
457  void clear_spot_outer_angle();
458  float spot_outer_angle() const;
459  void set_spot_outer_angle(float value);
460  private:
461  float _internal_spot_outer_angle() const;
462  void _internal_set_spot_outer_angle(float value);
463  public:
464 
465  // float spot_falloff = 15;
466  void clear_spot_falloff();
467  float spot_falloff() const;
468  void set_spot_falloff(float value);
469  private:
470  float _internal_spot_falloff() const;
471  void _internal_set_spot_falloff(float value);
472  public:
473 
474  // uint32 id = 16;
475  void clear_id();
476  ::PROTOBUF_NAMESPACE_ID::uint32 id() const;
477  void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
478  private:
479  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id() const;
480  void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
481  public:
482 
483  // uint32 parent_id = 17;
484  void clear_parent_id();
485  ::PROTOBUF_NAMESPACE_ID::uint32 parent_id() const;
486  void set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
487  private:
488  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_parent_id() const;
489  void _internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
490  public:
491 
492  // float intensity = 18;
493  void clear_intensity();
494  float intensity() const;
495  void set_intensity(float value);
496  private:
497  float _internal_intensity() const;
498  void _internal_set_intensity(float value);
499  public:
500 
501  // @@protoc_insertion_point(class_scope:ignition.msgs.Light)
502  private:
503  class _Internal;
504 
505  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
506  typedef void InternalArenaConstructable_;
507  typedef void DestructorSkippable_;
508  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
509  ::ignition::msgs::Header* header_;
510  ::ignition::msgs::Pose* pose_;
511  ::ignition::msgs::Color* diffuse_;
512  ::ignition::msgs::Color* specular_;
513  ::ignition::msgs::Vector3d* direction_;
514  int type_;
515  float attenuation_constant_;
516  float attenuation_linear_;
517  float attenuation_quadratic_;
518  float range_;
519  bool cast_shadows_;
520  float spot_inner_angle_;
521  float spot_outer_angle_;
522  float spot_falloff_;
523  ::PROTOBUF_NAMESPACE_ID::uint32 id_;
524  ::PROTOBUF_NAMESPACE_ID::uint32 parent_id_;
525  float intensity_;
526  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
528 };
529 // ===================================================================
530 
531 
532 // ===================================================================
533 
534 #ifdef __GNUC__
535  #pragma GCC diagnostic push
536  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
537 #endif // __GNUC__
538 // Light
539 
540 // .ignition.msgs.Header header = 1;
541 inline bool Light::_internal_has_header() const {
542  return this != internal_default_instance() && header_ != nullptr;
543 }
544 inline bool Light::has_header() const {
545  return _internal_has_header();
546 }
547 inline const ::ignition::msgs::Header& Light::_internal_header() const {
548  const ::ignition::msgs::Header* p = header_;
549  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
551 }
552 inline const ::ignition::msgs::Header& Light::header() const {
553  // @@protoc_insertion_point(field_get:ignition.msgs.Light.header)
554  return _internal_header();
555 }
556 inline void Light::unsafe_arena_set_allocated_header(
557  ::ignition::msgs::Header* header) {
558  if (GetArena() == nullptr) {
559  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
560  }
561  header_ = header;
562  if (header) {
563 
564  } else {
565 
566  }
567  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.header)
568 }
569 inline ::ignition::msgs::Header* Light::release_header() {
570  auto temp = unsafe_arena_release_header();
571  if (GetArena() != nullptr) {
572  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
573  }
574  return temp;
575 }
576 inline ::ignition::msgs::Header* Light::unsafe_arena_release_header() {
577  // @@protoc_insertion_point(field_release:ignition.msgs.Light.header)
578 
579  ::ignition::msgs::Header* temp = header_;
580  header_ = nullptr;
581  return temp;
582 }
583 inline ::ignition::msgs::Header* Light::_internal_mutable_header() {
584 
585  if (header_ == nullptr) {
586  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
587  header_ = p;
588  }
589  return header_;
590 }
591 inline ::ignition::msgs::Header* Light::mutable_header() {
592  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.header)
593  return _internal_mutable_header();
594 }
595 inline void Light::set_allocated_header(::ignition::msgs::Header* header) {
596  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
597  if (message_arena == nullptr) {
598  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
599  }
600  if (header) {
601  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
602  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
603  if (message_arena != submessage_arena) {
604  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
605  message_arena, header, submessage_arena);
606  }
607 
608  } else {
609 
610  }
611  header_ = header;
612  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.header)
613 }
614 
615 // string name = 2;
616 inline void Light::clear_name() {
617  name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
618 }
619 inline const std::string& Light::name() const {
620  // @@protoc_insertion_point(field_get:ignition.msgs.Light.name)
621  return _internal_name();
622 }
623 inline void Light::set_name(const std::string& value) {
624  _internal_set_name(value);
625  // @@protoc_insertion_point(field_set:ignition.msgs.Light.name)
626 }
627 inline std::string* Light::mutable_name() {
628  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.name)
629  return _internal_mutable_name();
630 }
631 inline const std::string& Light::_internal_name() const {
632  return name_.Get();
633 }
634 inline void Light::_internal_set_name(const std::string& value) {
635 
636  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
637 }
638 inline void Light::set_name(std::string&& value) {
639 
640  name_.Set(
641  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
642  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Light.name)
643 }
644 inline void Light::set_name(const char* value) {
645  GOOGLE_DCHECK(value != nullptr);
646 
647  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
648  GetArena());
649  // @@protoc_insertion_point(field_set_char:ignition.msgs.Light.name)
650 }
651 inline void Light::set_name(const char* value,
652  size_t size) {
653 
654  name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
655  reinterpret_cast<const char*>(value), size), GetArena());
656  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Light.name)
657 }
658 inline std::string* Light::_internal_mutable_name() {
659 
660  return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
661 }
662 inline std::string* Light::release_name() {
663  // @@protoc_insertion_point(field_release:ignition.msgs.Light.name)
664  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
665 }
666 inline void Light::set_allocated_name(std::string* name) {
667  if (name != nullptr) {
668 
669  } else {
670 
671  }
672  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
673  GetArena());
674  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.name)
675 }
676 inline std::string* Light::unsafe_arena_release_name() {
677  // @@protoc_insertion_point(field_unsafe_arena_release:ignition.msgs.Light.name)
678  GOOGLE_DCHECK(GetArena() != nullptr);
679 
680  return name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
681  GetArena());
682 }
683 inline void Light::unsafe_arena_set_allocated_name(
684  std::string* name) {
685  GOOGLE_DCHECK(GetArena() != nullptr);
686  if (name != nullptr) {
687 
688  } else {
689 
690  }
691  name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
692  name, GetArena());
693  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.name)
694 }
695 
696 // .ignition.msgs.Light.LightType type = 3;
697 inline void Light::clear_type() {
698  type_ = 0;
699 }
700 inline ::ignition::msgs::Light_LightType Light::_internal_type() const {
701  return static_cast< ::ignition::msgs::Light_LightType >(type_);
702 }
703 inline ::ignition::msgs::Light_LightType Light::type() const {
704  // @@protoc_insertion_point(field_get:ignition.msgs.Light.type)
705  return _internal_type();
706 }
707 inline void Light::_internal_set_type(::ignition::msgs::Light_LightType value) {
708 
709  type_ = value;
710 }
711 inline void Light::set_type(::ignition::msgs::Light_LightType value) {
712  _internal_set_type(value);
713  // @@protoc_insertion_point(field_set:ignition.msgs.Light.type)
714 }
715 
716 // .ignition.msgs.Pose pose = 4;
717 inline bool Light::_internal_has_pose() const {
718  return this != internal_default_instance() && pose_ != nullptr;
719 }
720 inline bool Light::has_pose() const {
721  return _internal_has_pose();
722 }
723 inline const ::ignition::msgs::Pose& Light::_internal_pose() const {
724  const ::ignition::msgs::Pose* p = pose_;
725  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Pose*>(
727 }
728 inline const ::ignition::msgs::Pose& Light::pose() const {
729  // @@protoc_insertion_point(field_get:ignition.msgs.Light.pose)
730  return _internal_pose();
731 }
732 inline void Light::unsafe_arena_set_allocated_pose(
733  ::ignition::msgs::Pose* pose) {
734  if (GetArena() == nullptr) {
735  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
736  }
737  pose_ = pose;
738  if (pose) {
739 
740  } else {
741 
742  }
743  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.pose)
744 }
745 inline ::ignition::msgs::Pose* Light::release_pose() {
746  auto temp = unsafe_arena_release_pose();
747  if (GetArena() != nullptr) {
748  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
749  }
750  return temp;
751 }
752 inline ::ignition::msgs::Pose* Light::unsafe_arena_release_pose() {
753  // @@protoc_insertion_point(field_release:ignition.msgs.Light.pose)
754 
755  ::ignition::msgs::Pose* temp = pose_;
756  pose_ = nullptr;
757  return temp;
758 }
759 inline ::ignition::msgs::Pose* Light::_internal_mutable_pose() {
760 
761  if (pose_ == nullptr) {
762  auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArena());
763  pose_ = p;
764  }
765  return pose_;
766 }
767 inline ::ignition::msgs::Pose* Light::mutable_pose() {
768  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.pose)
769  return _internal_mutable_pose();
770 }
771 inline void Light::set_allocated_pose(::ignition::msgs::Pose* pose) {
772  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
773  if (message_arena == nullptr) {
774  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
775  }
776  if (pose) {
777  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
778  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose)->GetArena();
779  if (message_arena != submessage_arena) {
780  pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
781  message_arena, pose, submessage_arena);
782  }
783 
784  } else {
785 
786  }
787  pose_ = pose;
788  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.pose)
789 }
790 
791 // .ignition.msgs.Color diffuse = 5;
792 inline bool Light::_internal_has_diffuse() const {
793  return this != internal_default_instance() && diffuse_ != nullptr;
794 }
795 inline bool Light::has_diffuse() const {
796  return _internal_has_diffuse();
797 }
798 inline const ::ignition::msgs::Color& Light::_internal_diffuse() const {
799  const ::ignition::msgs::Color* p = diffuse_;
800  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
802 }
803 inline const ::ignition::msgs::Color& Light::diffuse() const {
804  // @@protoc_insertion_point(field_get:ignition.msgs.Light.diffuse)
805  return _internal_diffuse();
806 }
807 inline void Light::unsafe_arena_set_allocated_diffuse(
808  ::ignition::msgs::Color* diffuse) {
809  if (GetArena() == nullptr) {
810  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(diffuse_);
811  }
812  diffuse_ = diffuse;
813  if (diffuse) {
814 
815  } else {
816 
817  }
818  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.diffuse)
819 }
820 inline ::ignition::msgs::Color* Light::release_diffuse() {
821  auto temp = unsafe_arena_release_diffuse();
822  if (GetArena() != nullptr) {
823  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
824  }
825  return temp;
826 }
827 inline ::ignition::msgs::Color* Light::unsafe_arena_release_diffuse() {
828  // @@protoc_insertion_point(field_release:ignition.msgs.Light.diffuse)
829 
830  ::ignition::msgs::Color* temp = diffuse_;
831  diffuse_ = nullptr;
832  return temp;
833 }
834 inline ::ignition::msgs::Color* Light::_internal_mutable_diffuse() {
835 
836  if (diffuse_ == nullptr) {
837  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArena());
838  diffuse_ = p;
839  }
840  return diffuse_;
841 }
842 inline ::ignition::msgs::Color* Light::mutable_diffuse() {
843  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.diffuse)
844  return _internal_mutable_diffuse();
845 }
846 inline void Light::set_allocated_diffuse(::ignition::msgs::Color* diffuse) {
847  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
848  if (message_arena == nullptr) {
849  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(diffuse_);
850  }
851  if (diffuse) {
852  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
853  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(diffuse)->GetArena();
854  if (message_arena != submessage_arena) {
855  diffuse = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
856  message_arena, diffuse, submessage_arena);
857  }
858 
859  } else {
860 
861  }
862  diffuse_ = diffuse;
863  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.diffuse)
864 }
865 
866 // .ignition.msgs.Color specular = 6;
867 inline bool Light::_internal_has_specular() const {
868  return this != internal_default_instance() && specular_ != nullptr;
869 }
870 inline bool Light::has_specular() const {
871  return _internal_has_specular();
872 }
873 inline const ::ignition::msgs::Color& Light::_internal_specular() const {
874  const ::ignition::msgs::Color* p = specular_;
875  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
877 }
878 inline const ::ignition::msgs::Color& Light::specular() const {
879  // @@protoc_insertion_point(field_get:ignition.msgs.Light.specular)
880  return _internal_specular();
881 }
882 inline void Light::unsafe_arena_set_allocated_specular(
883  ::ignition::msgs::Color* specular) {
884  if (GetArena() == nullptr) {
885  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(specular_);
886  }
887  specular_ = specular;
888  if (specular) {
889 
890  } else {
891 
892  }
893  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.specular)
894 }
895 inline ::ignition::msgs::Color* Light::release_specular() {
896  auto temp = unsafe_arena_release_specular();
897  if (GetArena() != nullptr) {
898  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
899  }
900  return temp;
901 }
902 inline ::ignition::msgs::Color* Light::unsafe_arena_release_specular() {
903  // @@protoc_insertion_point(field_release:ignition.msgs.Light.specular)
904 
905  ::ignition::msgs::Color* temp = specular_;
906  specular_ = nullptr;
907  return temp;
908 }
909 inline ::ignition::msgs::Color* Light::_internal_mutable_specular() {
910 
911  if (specular_ == nullptr) {
912  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArena());
913  specular_ = p;
914  }
915  return specular_;
916 }
917 inline ::ignition::msgs::Color* Light::mutable_specular() {
918  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.specular)
919  return _internal_mutable_specular();
920 }
921 inline void Light::set_allocated_specular(::ignition::msgs::Color* specular) {
922  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
923  if (message_arena == nullptr) {
924  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(specular_);
925  }
926  if (specular) {
927  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
928  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(specular)->GetArena();
929  if (message_arena != submessage_arena) {
930  specular = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
931  message_arena, specular, submessage_arena);
932  }
933 
934  } else {
935 
936  }
937  specular_ = specular;
938  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.specular)
939 }
940 
941 // float attenuation_constant = 7;
942 inline void Light::clear_attenuation_constant() {
943  attenuation_constant_ = 0;
944 }
945 inline float Light::_internal_attenuation_constant() const {
946  return attenuation_constant_;
947 }
948 inline float Light::attenuation_constant() const {
949  // @@protoc_insertion_point(field_get:ignition.msgs.Light.attenuation_constant)
950  return _internal_attenuation_constant();
951 }
952 inline void Light::_internal_set_attenuation_constant(float value) {
953 
954  attenuation_constant_ = value;
955 }
956 inline void Light::set_attenuation_constant(float value) {
957  _internal_set_attenuation_constant(value);
958  // @@protoc_insertion_point(field_set:ignition.msgs.Light.attenuation_constant)
959 }
960 
961 // float attenuation_linear = 8;
962 inline void Light::clear_attenuation_linear() {
963  attenuation_linear_ = 0;
964 }
965 inline float Light::_internal_attenuation_linear() const {
966  return attenuation_linear_;
967 }
968 inline float Light::attenuation_linear() const {
969  // @@protoc_insertion_point(field_get:ignition.msgs.Light.attenuation_linear)
970  return _internal_attenuation_linear();
971 }
972 inline void Light::_internal_set_attenuation_linear(float value) {
973 
974  attenuation_linear_ = value;
975 }
976 inline void Light::set_attenuation_linear(float value) {
977  _internal_set_attenuation_linear(value);
978  // @@protoc_insertion_point(field_set:ignition.msgs.Light.attenuation_linear)
979 }
980 
981 // float attenuation_quadratic = 9;
982 inline void Light::clear_attenuation_quadratic() {
983  attenuation_quadratic_ = 0;
984 }
985 inline float Light::_internal_attenuation_quadratic() const {
986  return attenuation_quadratic_;
987 }
988 inline float Light::attenuation_quadratic() const {
989  // @@protoc_insertion_point(field_get:ignition.msgs.Light.attenuation_quadratic)
990  return _internal_attenuation_quadratic();
991 }
992 inline void Light::_internal_set_attenuation_quadratic(float value) {
993 
994  attenuation_quadratic_ = value;
995 }
996 inline void Light::set_attenuation_quadratic(float value) {
997  _internal_set_attenuation_quadratic(value);
998  // @@protoc_insertion_point(field_set:ignition.msgs.Light.attenuation_quadratic)
999 }
1000 
1001 // .ignition.msgs.Vector3d direction = 10;
1002 inline bool Light::_internal_has_direction() const {
1003  return this != internal_default_instance() && direction_ != nullptr;
1004 }
1005 inline bool Light::has_direction() const {
1006  return _internal_has_direction();
1007 }
1008 inline const ::ignition::msgs::Vector3d& Light::_internal_direction() const {
1009  const ::ignition::msgs::Vector3d* p = direction_;
1010  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
1012 }
1013 inline const ::ignition::msgs::Vector3d& Light::direction() const {
1014  // @@protoc_insertion_point(field_get:ignition.msgs.Light.direction)
1015  return _internal_direction();
1016 }
1017 inline void Light::unsafe_arena_set_allocated_direction(
1018  ::ignition::msgs::Vector3d* direction) {
1019  if (GetArena() == nullptr) {
1020  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction_);
1021  }
1022  direction_ = direction;
1023  if (direction) {
1024 
1025  } else {
1026 
1027  }
1028  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.direction)
1029 }
1030 inline ::ignition::msgs::Vector3d* Light::release_direction() {
1031  auto temp = unsafe_arena_release_direction();
1032  if (GetArena() != nullptr) {
1033  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1034  }
1035  return temp;
1036 }
1037 inline ::ignition::msgs::Vector3d* Light::unsafe_arena_release_direction() {
1038  // @@protoc_insertion_point(field_release:ignition.msgs.Light.direction)
1039 
1040  ::ignition::msgs::Vector3d* temp = direction_;
1041  direction_ = nullptr;
1042  return temp;
1043 }
1044 inline ::ignition::msgs::Vector3d* Light::_internal_mutable_direction() {
1045 
1046  if (direction_ == nullptr) {
1047  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
1048  direction_ = p;
1049  }
1050  return direction_;
1051 }
1052 inline ::ignition::msgs::Vector3d* Light::mutable_direction() {
1053  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.direction)
1054  return _internal_mutable_direction();
1055 }
1056 inline void Light::set_allocated_direction(::ignition::msgs::Vector3d* direction) {
1057  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1058  if (message_arena == nullptr) {
1059  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction_);
1060  }
1061  if (direction) {
1062  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1063  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction)->GetArena();
1064  if (message_arena != submessage_arena) {
1065  direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1066  message_arena, direction, submessage_arena);
1067  }
1068 
1069  } else {
1070 
1071  }
1072  direction_ = direction;
1073  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.direction)
1074 }
1075 
1076 // float range = 11;
1077 inline void Light::clear_range() {
1078  range_ = 0;
1079 }
1080 inline float Light::_internal_range() const {
1081  return range_;
1082 }
1083 inline float Light::range() const {
1084  // @@protoc_insertion_point(field_get:ignition.msgs.Light.range)
1085  return _internal_range();
1086 }
1087 inline void Light::_internal_set_range(float value) {
1088 
1089  range_ = value;
1090 }
1091 inline void Light::set_range(float value) {
1092  _internal_set_range(value);
1093  // @@protoc_insertion_point(field_set:ignition.msgs.Light.range)
1094 }
1095 
1096 // bool cast_shadows = 12;
1097 inline void Light::clear_cast_shadows() {
1098  cast_shadows_ = false;
1099 }
1100 inline bool Light::_internal_cast_shadows() const {
1101  return cast_shadows_;
1102 }
1103 inline bool Light::cast_shadows() const {
1104  // @@protoc_insertion_point(field_get:ignition.msgs.Light.cast_shadows)
1105  return _internal_cast_shadows();
1106 }
1107 inline void Light::_internal_set_cast_shadows(bool value) {
1108 
1109  cast_shadows_ = value;
1110 }
1111 inline void Light::set_cast_shadows(bool value) {
1112  _internal_set_cast_shadows(value);
1113  // @@protoc_insertion_point(field_set:ignition.msgs.Light.cast_shadows)
1114 }
1115 
1116 // float spot_inner_angle = 13;
1117 inline void Light::clear_spot_inner_angle() {
1118  spot_inner_angle_ = 0;
1119 }
1120 inline float Light::_internal_spot_inner_angle() const {
1121  return spot_inner_angle_;
1122 }
1123 inline float Light::spot_inner_angle() const {
1124  // @@protoc_insertion_point(field_get:ignition.msgs.Light.spot_inner_angle)
1125  return _internal_spot_inner_angle();
1126 }
1127 inline void Light::_internal_set_spot_inner_angle(float value) {
1128 
1129  spot_inner_angle_ = value;
1130 }
1131 inline void Light::set_spot_inner_angle(float value) {
1132  _internal_set_spot_inner_angle(value);
1133  // @@protoc_insertion_point(field_set:ignition.msgs.Light.spot_inner_angle)
1134 }
1135 
1136 // float spot_outer_angle = 14;
1137 inline void Light::clear_spot_outer_angle() {
1138  spot_outer_angle_ = 0;
1139 }
1140 inline float Light::_internal_spot_outer_angle() const {
1141  return spot_outer_angle_;
1142 }
1143 inline float Light::spot_outer_angle() const {
1144  // @@protoc_insertion_point(field_get:ignition.msgs.Light.spot_outer_angle)
1145  return _internal_spot_outer_angle();
1146 }
1147 inline void Light::_internal_set_spot_outer_angle(float value) {
1148 
1149  spot_outer_angle_ = value;
1150 }
1151 inline void Light::set_spot_outer_angle(float value) {
1152  _internal_set_spot_outer_angle(value);
1153  // @@protoc_insertion_point(field_set:ignition.msgs.Light.spot_outer_angle)
1154 }
1155 
1156 // float spot_falloff = 15;
1157 inline void Light::clear_spot_falloff() {
1158  spot_falloff_ = 0;
1159 }
1160 inline float Light::_internal_spot_falloff() const {
1161  return spot_falloff_;
1162 }
1163 inline float Light::spot_falloff() const {
1164  // @@protoc_insertion_point(field_get:ignition.msgs.Light.spot_falloff)
1165  return _internal_spot_falloff();
1166 }
1167 inline void Light::_internal_set_spot_falloff(float value) {
1168 
1169  spot_falloff_ = value;
1170 }
1171 inline void Light::set_spot_falloff(float value) {
1172  _internal_set_spot_falloff(value);
1173  // @@protoc_insertion_point(field_set:ignition.msgs.Light.spot_falloff)
1174 }
1175 
1176 // uint32 id = 16;
1177 inline void Light::clear_id() {
1178  id_ = 0u;
1179 }
1180 inline ::PROTOBUF_NAMESPACE_ID::uint32 Light::_internal_id() const {
1181  return id_;
1182 }
1183 inline ::PROTOBUF_NAMESPACE_ID::uint32 Light::id() const {
1184  // @@protoc_insertion_point(field_get:ignition.msgs.Light.id)
1185  return _internal_id();
1186 }
1187 inline void Light::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1188 
1189  id_ = value;
1190 }
1191 inline void Light::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1192  _internal_set_id(value);
1193  // @@protoc_insertion_point(field_set:ignition.msgs.Light.id)
1194 }
1195 
1196 // uint32 parent_id = 17;
1197 inline void Light::clear_parent_id() {
1198  parent_id_ = 0u;
1199 }
1200 inline ::PROTOBUF_NAMESPACE_ID::uint32 Light::_internal_parent_id() const {
1201  return parent_id_;
1202 }
1203 inline ::PROTOBUF_NAMESPACE_ID::uint32 Light::parent_id() const {
1204  // @@protoc_insertion_point(field_get:ignition.msgs.Light.parent_id)
1205  return _internal_parent_id();
1206 }
1207 inline void Light::_internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1208 
1209  parent_id_ = value;
1210 }
1211 inline void Light::set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1212  _internal_set_parent_id(value);
1213  // @@protoc_insertion_point(field_set:ignition.msgs.Light.parent_id)
1214 }
1215 
1216 // float intensity = 18;
1217 inline void Light::clear_intensity() {
1218  intensity_ = 0;
1219 }
1220 inline float Light::_internal_intensity() const {
1221  return intensity_;
1222 }
1223 inline float Light::intensity() const {
1224  // @@protoc_insertion_point(field_get:ignition.msgs.Light.intensity)
1225  return _internal_intensity();
1226 }
1227 inline void Light::_internal_set_intensity(float value) {
1228 
1229  intensity_ = value;
1230 }
1231 inline void Light::set_intensity(float value) {
1232  _internal_set_intensity(value);
1233  // @@protoc_insertion_point(field_set:ignition.msgs.Light.intensity)
1234 }
1235 
1236 #ifdef __GNUC__
1237  #pragma GCC diagnostic pop
1238 #endif // __GNUC__
1239 
1244 // @@protoc_insertion_point(namespace_scope)
1245 
1246 } // namespace msgs
1247 } // namespace ignition
1248 
1249 PROTOBUF_NAMESPACE_OPEN
1250 
1251 template <> struct is_proto_enum< ::ignition::msgs::Light_LightType> : ::std::true_type {};
1252 template <>
1253 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Light_LightType>() {
1255 }
1256 
1257 PROTOBUF_NAMESPACE_CLOSE
1258 
1259 #ifdef _MSC_VER
1260 #pragma warning(pop)
1261 #endif
1262 // @@protoc_insertion_point(global_scope)
1263 
1264 #include <google/protobuf/port_undef.inc>
1265 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flight_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2flight_2eproto
Light * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:177
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:145
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static bool LightType_IsValid(int value)
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:231
void set_name(const char *value, size_t size)
Light & operator=(Light &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:130
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:139
void set_name(const std::string &value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * LightType_descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:241
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void MergeFrom(const Light &from)
static const Light * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:151
static const Light & default_instance()
Light(::PROTOBUF_NAMESPACE_ID::Arena *arena)
friend void swap(Light &a, Light &b)
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:158
Light()
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:117
void UnsafeArenaSwap(Light *other)
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:169
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Light & operator=(const Light &from)
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:126
Light_LightType LightType
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:224
Light * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:181
void Swap(Light *other)
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:161
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static bool LightType_Parse(const std::string &name, LightType *value)
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:251
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:142
static const std::string & LightType_Name(T enum_t_value)
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:245
const std::string & name() const
void CopyFrom(const Light &from)
void set_name(const char *value)
void set_name(std::string &&value)
void set_allocated_name(std::string *name)
Light(Light &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:121
T max(T... args)
T min(T... args)
T move(T... args)
Vector3< double > Vector3d
std::shared_ptr< const Light > ConstLightSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:1243
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
const std::string & Light_LightType_Name(T enum_t_value)
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:100
constexpr Light_LightType Light_LightType_LightType_MAX
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:95
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
std::unique_ptr< Light > LightUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:1240
constexpr int Light_LightType_LightType_ARRAYSIZE
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:96
std::shared_ptr< Light > LightSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:1242
constexpr Light_LightType Light_LightType_LightType_MIN
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:94
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE LightDefaultTypeInternal _Light_default_instance_
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
std::unique_ptr< const Light > ConstLightUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:1241
Light_LightType
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:86
@ Light_LightType_SPOT
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:88
@ Light_LightType_DIRECTIONAL
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:89
@ Light_LightType_Light_LightType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:91
@ Light_LightType_POINT
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:87
@ Light_LightType_Light_LightType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:90
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Light_LightType_descriptor()
IGNITION_MSGS_VISIBLE bool Light_LightType_IsValid(int value)
bool Light_LightType_Parse(const std::string &name, Light_LightType *value)
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:107
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
STL namespace.
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:61
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)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)