// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: ignition/msgs/light.proto

#ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flight_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flight_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3014000
#error This file was generated by a newer version of protoc which is
#error incompatible with your Protocol Buffer headers. Please update
#error your headers.
#endif
#if 3014000 < PROTOBUF_MIN_PROTOC_VERSION
#error This file was generated by an older version of protoc which is
#error incompatible with your Protocol Buffer headers. Please
#error regenerate this file with a newer version of protoc.
#endif

#include <google/protobuf/port_undef.inc>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/arena.h>
#include <google/protobuf/arenastring.h>
#include <google/protobuf/generated_message_table_driven.h>
#include <google/protobuf/generated_message_util.h>
#include <google/protobuf/metadata_lite.h>
#include <google/protobuf/generated_message_reflection.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
#include <google/protobuf/generated_enum_reflection.h>
#include <google/protobuf/unknown_field_set.h>
#include "ignition/msgs/header.pb.h"
#include "ignition/msgs/pose.pb.h"
#include "ignition/msgs/vector3d.pb.h"
#include "ignition/msgs/color.pb.h"
#ifndef _MSC_VER
#pragma GCC system_header
#else
#pragma warning(push)
#pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
#endif
#ifdef __linux__
#include <sys/sysmacros.h>
#endif
#include <memory>
#include <ignition/msgs/Export.hh>
// @@protoc_insertion_point(includes)
#include <google/protobuf/port_def.inc>
#define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2flight_2eproto IGNITION_MSGS_VISIBLE
PROTOBUF_NAMESPACE_OPEN
namespace internal {
class AnyMetadata;
}  // namespace internal
PROTOBUF_NAMESPACE_CLOSE

// Internal implementation detail -- do not use these members.
struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2flight_2eproto {
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
    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::FieldMetadata field_metadata[];
  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
};
extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2flight_2eproto;
namespace ignition {
namespace msgs {
class Light;
class LightDefaultTypeInternal;
IGNITION_MSGS_VISIBLE extern LightDefaultTypeInternal _Light_default_instance_;
}  // namespace msgs
}  // namespace ignition
PROTOBUF_NAMESPACE_OPEN
template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Light* Arena::CreateMaybeMessage<::ignition::msgs::Light>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace ignition {
namespace msgs {

enum Light_LightType : int {
  Light_LightType_POINT = 0,
  Light_LightType_SPOT = 1,
  Light_LightType_DIRECTIONAL = 2,
  Light_LightType_Light_LightType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
  Light_LightType_Light_LightType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
};
IGNITION_MSGS_VISIBLE bool Light_LightType_IsValid(int value);
constexpr Light_LightType Light_LightType_LightType_MIN = Light_LightType_POINT;
constexpr Light_LightType Light_LightType_LightType_MAX = Light_LightType_DIRECTIONAL;
constexpr int Light_LightType_LightType_ARRAYSIZE = Light_LightType_LightType_MAX + 1;

IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Light_LightType_descriptor();
template<typename T>
inline const std::string& Light_LightType_Name(T enum_t_value) {
  static_assert(::std::is_same<T, Light_LightType>::value ||
    ::std::is_integral<T>::value,
    "Incorrect type passed to function Light_LightType_Name.");
  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
    Light_LightType_descriptor(), enum_t_value);
}
inline bool Light_LightType_Parse(
    ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Light_LightType* value) {
  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Light_LightType>(
    Light_LightType_descriptor(), name, value);
}
// ===================================================================

class IGNITION_MSGS_VISIBLE Light PROTOBUF_FINAL :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Light) */ {
 public:
  inline Light() : Light(nullptr) {}
  virtual ~Light();

  Light(const Light& from);
  Light(Light&& from) noexcept
    : Light() {
    *this = ::std::move(from);
  }

  inline Light& operator=(const Light& from) {
    CopyFrom(from);
    return *this;
  }
  inline Light& operator=(Light&& from) noexcept {
    if (GetArena() == from.GetArena()) {
      if (this != &from) InternalSwap(&from);
    } else {
      CopyFrom(from);
    }
    return *this;
  }

  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
    return GetDescriptor();
  }
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
    return GetMetadataStatic().descriptor;
  }
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
    return GetMetadataStatic().reflection;
  }
  static const Light& default_instance();

  static inline const Light* internal_default_instance() {
    return reinterpret_cast<const Light*>(
               &_Light_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(Light& a, Light& b) {
    a.Swap(&b);
  }
  inline void Swap(Light* other) {
    if (other == this) return;
    if (GetArena() == other->GetArena()) {
      InternalSwap(other);
    } else {
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
    }
  }
  void UnsafeArenaSwap(Light* other) {
    if (other == this) return;
    GOOGLE_DCHECK(GetArena() == other->GetArena());
    InternalSwap(other);
  }

  // implements Message ----------------------------------------------

  inline Light* New() const final {
    return CreateMaybeMessage<Light>(nullptr);
  }

  Light* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<Light>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const Light& from);
  void MergeFrom(const Light& from);
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  bool IsInitialized() const final;

  size_t ByteSizeLong() const final;
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
      ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  int GetCachedSize() const final { return _cached_size_.Get(); }

  private:
  inline void SharedCtor();
  inline void SharedDtor();
  void SetCachedSize(int size) const final;
  void InternalSwap(Light* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "ignition.msgs.Light";
  }
  protected:
  explicit Light(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  private:
  static void ArenaDtor(void* object);
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  public:

  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  private:
  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
    ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2flight_2eproto);
    return ::descriptor_table_ignition_2fmsgs_2flight_2eproto.file_level_metadata[kIndexInFileMessages];
  }

  public:

  // nested types ----------------------------------------------------

  typedef Light_LightType LightType;
  static constexpr LightType POINT =
    Light_LightType_POINT;
  static constexpr LightType SPOT =
    Light_LightType_SPOT;
  static constexpr LightType DIRECTIONAL =
    Light_LightType_DIRECTIONAL;
  static inline bool LightType_IsValid(int value) {
    return Light_LightType_IsValid(value);
  }
  static constexpr LightType LightType_MIN =
    Light_LightType_LightType_MIN;
  static constexpr LightType LightType_MAX =
    Light_LightType_LightType_MAX;
  static constexpr int LightType_ARRAYSIZE =
    Light_LightType_LightType_ARRAYSIZE;
  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  LightType_descriptor() {
    return Light_LightType_descriptor();
  }
  template<typename T>
  static inline const std::string& LightType_Name(T enum_t_value) {
    static_assert(::std::is_same<T, LightType>::value ||
      ::std::is_integral<T>::value,
      "Incorrect type passed to function LightType_Name.");
    return Light_LightType_Name(enum_t_value);
  }
  static inline bool LightType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
      LightType* value) {
    return Light_LightType_Parse(name, value);
  }

  // accessors -------------------------------------------------------

  enum : int {
    kNameFieldNumber = 2,
    kHeaderFieldNumber = 1,
    kPoseFieldNumber = 4,
    kDiffuseFieldNumber = 5,
    kSpecularFieldNumber = 6,
    kDirectionFieldNumber = 10,
    kTypeFieldNumber = 3,
    kAttenuationConstantFieldNumber = 7,
    kAttenuationLinearFieldNumber = 8,
    kAttenuationQuadraticFieldNumber = 9,
    kRangeFieldNumber = 11,
    kCastShadowsFieldNumber = 12,
    kSpotInnerAngleFieldNumber = 13,
    kSpotOuterAngleFieldNumber = 14,
    kSpotFalloffFieldNumber = 15,
    kIdFieldNumber = 16,
    kParentIdFieldNumber = 17,
  };
  // string name = 2;
  void clear_name();
  const std::string& name() const;
  void set_name(const std::string& value);
  void set_name(std::string&& value);
  void set_name(const char* value);
  void set_name(const char* value, size_t size);
  std::string* mutable_name();
  std::string* release_name();
  void set_allocated_name(std::string* name);
  private:
  const std::string& _internal_name() const;
  void _internal_set_name(const std::string& value);
  std::string* _internal_mutable_name();
  public:

  // .ignition.msgs.Header header = 1;
  bool has_header() const;
  private:
  bool _internal_has_header() const;
  public:
  void clear_header();
  const ::ignition::msgs::Header& header() const;
  ::ignition::msgs::Header* release_header();
  ::ignition::msgs::Header* mutable_header();
  void set_allocated_header(::ignition::msgs::Header* header);
  private:
  const ::ignition::msgs::Header& _internal_header() const;
  ::ignition::msgs::Header* _internal_mutable_header();
  public:
  void unsafe_arena_set_allocated_header(
      ::ignition::msgs::Header* header);
  ::ignition::msgs::Header* unsafe_arena_release_header();

  // .ignition.msgs.Pose pose = 4;
  bool has_pose() const;
  private:
  bool _internal_has_pose() const;
  public:
  void clear_pose();
  const ::ignition::msgs::Pose& pose() const;
  ::ignition::msgs::Pose* release_pose();
  ::ignition::msgs::Pose* mutable_pose();
  void set_allocated_pose(::ignition::msgs::Pose* pose);
  private:
  const ::ignition::msgs::Pose& _internal_pose() const;
  ::ignition::msgs::Pose* _internal_mutable_pose();
  public:
  void unsafe_arena_set_allocated_pose(
      ::ignition::msgs::Pose* pose);
  ::ignition::msgs::Pose* unsafe_arena_release_pose();

  // .ignition.msgs.Color diffuse = 5;
  bool has_diffuse() const;
  private:
  bool _internal_has_diffuse() const;
  public:
  void clear_diffuse();
  const ::ignition::msgs::Color& diffuse() const;
  ::ignition::msgs::Color* release_diffuse();
  ::ignition::msgs::Color* mutable_diffuse();
  void set_allocated_diffuse(::ignition::msgs::Color* diffuse);
  private:
  const ::ignition::msgs::Color& _internal_diffuse() const;
  ::ignition::msgs::Color* _internal_mutable_diffuse();
  public:
  void unsafe_arena_set_allocated_diffuse(
      ::ignition::msgs::Color* diffuse);
  ::ignition::msgs::Color* unsafe_arena_release_diffuse();

  // .ignition.msgs.Color specular = 6;
  bool has_specular() const;
  private:
  bool _internal_has_specular() const;
  public:
  void clear_specular();
  const ::ignition::msgs::Color& specular() const;
  ::ignition::msgs::Color* release_specular();
  ::ignition::msgs::Color* mutable_specular();
  void set_allocated_specular(::ignition::msgs::Color* specular);
  private:
  const ::ignition::msgs::Color& _internal_specular() const;
  ::ignition::msgs::Color* _internal_mutable_specular();
  public:
  void unsafe_arena_set_allocated_specular(
      ::ignition::msgs::Color* specular);
  ::ignition::msgs::Color* unsafe_arena_release_specular();

  // .ignition.msgs.Vector3d direction = 10;
  bool has_direction() const;
  private:
  bool _internal_has_direction() const;
  public:
  void clear_direction();
  const ::ignition::msgs::Vector3d& direction() const;
  ::ignition::msgs::Vector3d* release_direction();
  ::ignition::msgs::Vector3d* mutable_direction();
  void set_allocated_direction(::ignition::msgs::Vector3d* direction);
  private:
  const ::ignition::msgs::Vector3d& _internal_direction() const;
  ::ignition::msgs::Vector3d* _internal_mutable_direction();
  public:
  void unsafe_arena_set_allocated_direction(
      ::ignition::msgs::Vector3d* direction);
  ::ignition::msgs::Vector3d* unsafe_arena_release_direction();

  // .ignition.msgs.Light.LightType type = 3;
  void clear_type();
  ::ignition::msgs::Light_LightType type() const;
  void set_type(::ignition::msgs::Light_LightType value);
  private:
  ::ignition::msgs::Light_LightType _internal_type() const;
  void _internal_set_type(::ignition::msgs::Light_LightType value);
  public:

  // float attenuation_constant = 7;
  void clear_attenuation_constant();
  float attenuation_constant() const;
  void set_attenuation_constant(float value);
  private:
  float _internal_attenuation_constant() const;
  void _internal_set_attenuation_constant(float value);
  public:

  // float attenuation_linear = 8;
  void clear_attenuation_linear();
  float attenuation_linear() const;
  void set_attenuation_linear(float value);
  private:
  float _internal_attenuation_linear() const;
  void _internal_set_attenuation_linear(float value);
  public:

  // float attenuation_quadratic = 9;
  void clear_attenuation_quadratic();
  float attenuation_quadratic() const;
  void set_attenuation_quadratic(float value);
  private:
  float _internal_attenuation_quadratic() const;
  void _internal_set_attenuation_quadratic(float value);
  public:

  // float range = 11;
  void clear_range();
  float range() const;
  void set_range(float value);
  private:
  float _internal_range() const;
  void _internal_set_range(float value);
  public:

  // bool cast_shadows = 12;
  void clear_cast_shadows();
  bool cast_shadows() const;
  void set_cast_shadows(bool value);
  private:
  bool _internal_cast_shadows() const;
  void _internal_set_cast_shadows(bool value);
  public:

  // float spot_inner_angle = 13;
  void clear_spot_inner_angle();
  float spot_inner_angle() const;
  void set_spot_inner_angle(float value);
  private:
  float _internal_spot_inner_angle() const;
  void _internal_set_spot_inner_angle(float value);
  public:

  // float spot_outer_angle = 14;
  void clear_spot_outer_angle();
  float spot_outer_angle() const;
  void set_spot_outer_angle(float value);
  private:
  float _internal_spot_outer_angle() const;
  void _internal_set_spot_outer_angle(float value);
  public:

  // float spot_falloff = 15;
  void clear_spot_falloff();
  float spot_falloff() const;
  void set_spot_falloff(float value);
  private:
  float _internal_spot_falloff() const;
  void _internal_set_spot_falloff(float value);
  public:

  // uint32 id = 16;
  void clear_id();
  ::PROTOBUF_NAMESPACE_ID::uint32 id() const;
  void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id() const;
  void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
  public:

  // uint32 parent_id = 17;
  void clear_parent_id();
  ::PROTOBUF_NAMESPACE_ID::uint32 parent_id() const;
  void set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
  private:
  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_parent_id() const;
  void _internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
  public:

  // @@protoc_insertion_point(class_scope:ignition.msgs.Light)
 private:
  class _Internal;

  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  typedef void InternalArenaConstructable_;
  typedef void DestructorSkippable_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  ::ignition::msgs::Header* header_;
  ::ignition::msgs::Pose* pose_;
  ::ignition::msgs::Color* diffuse_;
  ::ignition::msgs::Color* specular_;
  ::ignition::msgs::Vector3d* direction_;
  int type_;
  float attenuation_constant_;
  float attenuation_linear_;
  float attenuation_quadratic_;
  float range_;
  bool cast_shadows_;
  float spot_inner_angle_;
  float spot_outer_angle_;
  float spot_falloff_;
  ::PROTOBUF_NAMESPACE_ID::uint32 id_;
  ::PROTOBUF_NAMESPACE_ID::uint32 parent_id_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_ignition_2fmsgs_2flight_2eproto;
};
// ===================================================================


// ===================================================================

#ifdef __GNUC__
  #pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif  // __GNUC__
// Light

// .ignition.msgs.Header header = 1;
inline bool Light::_internal_has_header() const {
  return this != internal_default_instance() && header_ != nullptr;
}
inline bool Light::has_header() const {
  return _internal_has_header();
}
inline const ::ignition::msgs::Header& Light::_internal_header() const {
  const ::ignition::msgs::Header* p = header_;
  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
      ::ignition::msgs::_Header_default_instance_);
}
inline const ::ignition::msgs::Header& Light::header() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.header)
  return _internal_header();
}
inline void Light::unsafe_arena_set_allocated_header(
    ::ignition::msgs::Header* header) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
  }
  header_ = header;
  if (header) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.header)
}
inline ::ignition::msgs::Header* Light::release_header() {
  
  ::ignition::msgs::Header* temp = header_;
  header_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::ignition::msgs::Header* Light::unsafe_arena_release_header() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Light.header)
  
  ::ignition::msgs::Header* temp = header_;
  header_ = nullptr;
  return temp;
}
inline ::ignition::msgs::Header* Light::_internal_mutable_header() {
  
  if (header_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
    header_ = p;
  }
  return header_;
}
inline ::ignition::msgs::Header* Light::mutable_header() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.header)
  return _internal_mutable_header();
}
inline void Light::set_allocated_header(::ignition::msgs::Header* header) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
  }
  if (header) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
    if (message_arena != submessage_arena) {
      header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, header, submessage_arena);
    }
    
  } else {
    
  }
  header_ = header;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.header)
}

// string name = 2;
inline void Light::clear_name() {
  name_.ClearToEmpty();
}
inline const std::string& Light::name() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.name)
  return _internal_name();
}
inline void Light::set_name(const std::string& value) {
  _internal_set_name(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Light.name)
}
inline std::string* Light::mutable_name() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.name)
  return _internal_mutable_name();
}
inline const std::string& Light::_internal_name() const {
  return name_.Get();
}
inline void Light::_internal_set_name(const std::string& value) {
  
  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
}
inline void Light::set_name(std::string&& value) {
  
  name_.Set(
    ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Light.name)
}
inline void Light::set_name(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
  // @@protoc_insertion_point(field_set_char:ignition.msgs.Light.name)
}
inline void Light::set_name(const char* value,
    size_t size) {
  
  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
      reinterpret_cast<const char*>(value), size), GetArena());
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Light.name)
}
inline std::string* Light::_internal_mutable_name() {
  
  return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
}
inline std::string* Light::release_name() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Light.name)
  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
}
inline void Light::set_allocated_name(std::string* name) {
  if (name != nullptr) {
    
  } else {
    
  }
  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
      GetArena());
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.name)
}

// .ignition.msgs.Light.LightType type = 3;
inline void Light::clear_type() {
  type_ = 0;
}
inline ::ignition::msgs::Light_LightType Light::_internal_type() const {
  return static_cast< ::ignition::msgs::Light_LightType >(type_);
}
inline ::ignition::msgs::Light_LightType Light::type() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.type)
  return _internal_type();
}
inline void Light::_internal_set_type(::ignition::msgs::Light_LightType value) {
  
  type_ = value;
}
inline void Light::set_type(::ignition::msgs::Light_LightType value) {
  _internal_set_type(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Light.type)
}

// .ignition.msgs.Pose pose = 4;
inline bool Light::_internal_has_pose() const {
  return this != internal_default_instance() && pose_ != nullptr;
}
inline bool Light::has_pose() const {
  return _internal_has_pose();
}
inline const ::ignition::msgs::Pose& Light::_internal_pose() const {
  const ::ignition::msgs::Pose* p = pose_;
  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Pose&>(
      ::ignition::msgs::_Pose_default_instance_);
}
inline const ::ignition::msgs::Pose& Light::pose() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.pose)
  return _internal_pose();
}
inline void Light::unsafe_arena_set_allocated_pose(
    ::ignition::msgs::Pose* pose) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
  }
  pose_ = pose;
  if (pose) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.pose)
}
inline ::ignition::msgs::Pose* Light::release_pose() {
  
  ::ignition::msgs::Pose* temp = pose_;
  pose_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::ignition::msgs::Pose* Light::unsafe_arena_release_pose() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Light.pose)
  
  ::ignition::msgs::Pose* temp = pose_;
  pose_ = nullptr;
  return temp;
}
inline ::ignition::msgs::Pose* Light::_internal_mutable_pose() {
  
  if (pose_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArena());
    pose_ = p;
  }
  return pose_;
}
inline ::ignition::msgs::Pose* Light::mutable_pose() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.pose)
  return _internal_mutable_pose();
}
inline void Light::set_allocated_pose(::ignition::msgs::Pose* pose) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
  }
  if (pose) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose)->GetArena();
    if (message_arena != submessage_arena) {
      pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, pose, submessage_arena);
    }
    
  } else {
    
  }
  pose_ = pose;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.pose)
}

// .ignition.msgs.Color diffuse = 5;
inline bool Light::_internal_has_diffuse() const {
  return this != internal_default_instance() && diffuse_ != nullptr;
}
inline bool Light::has_diffuse() const {
  return _internal_has_diffuse();
}
inline const ::ignition::msgs::Color& Light::_internal_diffuse() const {
  const ::ignition::msgs::Color* p = diffuse_;
  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Color&>(
      ::ignition::msgs::_Color_default_instance_);
}
inline const ::ignition::msgs::Color& Light::diffuse() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.diffuse)
  return _internal_diffuse();
}
inline void Light::unsafe_arena_set_allocated_diffuse(
    ::ignition::msgs::Color* diffuse) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(diffuse_);
  }
  diffuse_ = diffuse;
  if (diffuse) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.diffuse)
}
inline ::ignition::msgs::Color* Light::release_diffuse() {
  
  ::ignition::msgs::Color* temp = diffuse_;
  diffuse_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::ignition::msgs::Color* Light::unsafe_arena_release_diffuse() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Light.diffuse)
  
  ::ignition::msgs::Color* temp = diffuse_;
  diffuse_ = nullptr;
  return temp;
}
inline ::ignition::msgs::Color* Light::_internal_mutable_diffuse() {
  
  if (diffuse_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArena());
    diffuse_ = p;
  }
  return diffuse_;
}
inline ::ignition::msgs::Color* Light::mutable_diffuse() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.diffuse)
  return _internal_mutable_diffuse();
}
inline void Light::set_allocated_diffuse(::ignition::msgs::Color* diffuse) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(diffuse_);
  }
  if (diffuse) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(diffuse)->GetArena();
    if (message_arena != submessage_arena) {
      diffuse = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, diffuse, submessage_arena);
    }
    
  } else {
    
  }
  diffuse_ = diffuse;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.diffuse)
}

// .ignition.msgs.Color specular = 6;
inline bool Light::_internal_has_specular() const {
  return this != internal_default_instance() && specular_ != nullptr;
}
inline bool Light::has_specular() const {
  return _internal_has_specular();
}
inline const ::ignition::msgs::Color& Light::_internal_specular() const {
  const ::ignition::msgs::Color* p = specular_;
  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Color&>(
      ::ignition::msgs::_Color_default_instance_);
}
inline const ::ignition::msgs::Color& Light::specular() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.specular)
  return _internal_specular();
}
inline void Light::unsafe_arena_set_allocated_specular(
    ::ignition::msgs::Color* specular) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(specular_);
  }
  specular_ = specular;
  if (specular) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.specular)
}
inline ::ignition::msgs::Color* Light::release_specular() {
  
  ::ignition::msgs::Color* temp = specular_;
  specular_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::ignition::msgs::Color* Light::unsafe_arena_release_specular() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Light.specular)
  
  ::ignition::msgs::Color* temp = specular_;
  specular_ = nullptr;
  return temp;
}
inline ::ignition::msgs::Color* Light::_internal_mutable_specular() {
  
  if (specular_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArena());
    specular_ = p;
  }
  return specular_;
}
inline ::ignition::msgs::Color* Light::mutable_specular() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.specular)
  return _internal_mutable_specular();
}
inline void Light::set_allocated_specular(::ignition::msgs::Color* specular) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(specular_);
  }
  if (specular) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(specular)->GetArena();
    if (message_arena != submessage_arena) {
      specular = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, specular, submessage_arena);
    }
    
  } else {
    
  }
  specular_ = specular;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.specular)
}

// float attenuation_constant = 7;
inline void Light::clear_attenuation_constant() {
  attenuation_constant_ = 0;
}
inline float Light::_internal_attenuation_constant() const {
  return attenuation_constant_;
}
inline float Light::attenuation_constant() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.attenuation_constant)
  return _internal_attenuation_constant();
}
inline void Light::_internal_set_attenuation_constant(float value) {
  
  attenuation_constant_ = value;
}
inline void Light::set_attenuation_constant(float value) {
  _internal_set_attenuation_constant(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Light.attenuation_constant)
}

// float attenuation_linear = 8;
inline void Light::clear_attenuation_linear() {
  attenuation_linear_ = 0;
}
inline float Light::_internal_attenuation_linear() const {
  return attenuation_linear_;
}
inline float Light::attenuation_linear() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.attenuation_linear)
  return _internal_attenuation_linear();
}
inline void Light::_internal_set_attenuation_linear(float value) {
  
  attenuation_linear_ = value;
}
inline void Light::set_attenuation_linear(float value) {
  _internal_set_attenuation_linear(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Light.attenuation_linear)
}

// float attenuation_quadratic = 9;
inline void Light::clear_attenuation_quadratic() {
  attenuation_quadratic_ = 0;
}
inline float Light::_internal_attenuation_quadratic() const {
  return attenuation_quadratic_;
}
inline float Light::attenuation_quadratic() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.attenuation_quadratic)
  return _internal_attenuation_quadratic();
}
inline void Light::_internal_set_attenuation_quadratic(float value) {
  
  attenuation_quadratic_ = value;
}
inline void Light::set_attenuation_quadratic(float value) {
  _internal_set_attenuation_quadratic(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Light.attenuation_quadratic)
}

// .ignition.msgs.Vector3d direction = 10;
inline bool Light::_internal_has_direction() const {
  return this != internal_default_instance() && direction_ != nullptr;
}
inline bool Light::has_direction() const {
  return _internal_has_direction();
}
inline const ::ignition::msgs::Vector3d& Light::_internal_direction() const {
  const ::ignition::msgs::Vector3d* p = direction_;
  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Vector3d&>(
      ::ignition::msgs::_Vector3d_default_instance_);
}
inline const ::ignition::msgs::Vector3d& Light::direction() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.direction)
  return _internal_direction();
}
inline void Light::unsafe_arena_set_allocated_direction(
    ::ignition::msgs::Vector3d* direction) {
  if (GetArena() == nullptr) {
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction_);
  }
  direction_ = direction;
  if (direction) {
    
  } else {
    
  }
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.direction)
}
inline ::ignition::msgs::Vector3d* Light::release_direction() {
  
  ::ignition::msgs::Vector3d* temp = direction_;
  direction_ = nullptr;
  if (GetArena() != nullptr) {
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  }
  return temp;
}
inline ::ignition::msgs::Vector3d* Light::unsafe_arena_release_direction() {
  // @@protoc_insertion_point(field_release:ignition.msgs.Light.direction)
  
  ::ignition::msgs::Vector3d* temp = direction_;
  direction_ = nullptr;
  return temp;
}
inline ::ignition::msgs::Vector3d* Light::_internal_mutable_direction() {
  
  if (direction_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
    direction_ = p;
  }
  return direction_;
}
inline ::ignition::msgs::Vector3d* Light::mutable_direction() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.direction)
  return _internal_mutable_direction();
}
inline void Light::set_allocated_direction(::ignition::msgs::Vector3d* direction) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction_);
  }
  if (direction) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
      reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction)->GetArena();
    if (message_arena != submessage_arena) {
      direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, direction, submessage_arena);
    }
    
  } else {
    
  }
  direction_ = direction;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.direction)
}

// float range = 11;
inline void Light::clear_range() {
  range_ = 0;
}
inline float Light::_internal_range() const {
  return range_;
}
inline float Light::range() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.range)
  return _internal_range();
}
inline void Light::_internal_set_range(float value) {
  
  range_ = value;
}
inline void Light::set_range(float value) {
  _internal_set_range(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Light.range)
}

// bool cast_shadows = 12;
inline void Light::clear_cast_shadows() {
  cast_shadows_ = false;
}
inline bool Light::_internal_cast_shadows() const {
  return cast_shadows_;
}
inline bool Light::cast_shadows() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.cast_shadows)
  return _internal_cast_shadows();
}
inline void Light::_internal_set_cast_shadows(bool value) {
  
  cast_shadows_ = value;
}
inline void Light::set_cast_shadows(bool value) {
  _internal_set_cast_shadows(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Light.cast_shadows)
}

// float spot_inner_angle = 13;
inline void Light::clear_spot_inner_angle() {
  spot_inner_angle_ = 0;
}
inline float Light::_internal_spot_inner_angle() const {
  return spot_inner_angle_;
}
inline float Light::spot_inner_angle() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.spot_inner_angle)
  return _internal_spot_inner_angle();
}
inline void Light::_internal_set_spot_inner_angle(float value) {
  
  spot_inner_angle_ = value;
}
inline void Light::set_spot_inner_angle(float value) {
  _internal_set_spot_inner_angle(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Light.spot_inner_angle)
}

// float spot_outer_angle = 14;
inline void Light::clear_spot_outer_angle() {
  spot_outer_angle_ = 0;
}
inline float Light::_internal_spot_outer_angle() const {
  return spot_outer_angle_;
}
inline float Light::spot_outer_angle() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.spot_outer_angle)
  return _internal_spot_outer_angle();
}
inline void Light::_internal_set_spot_outer_angle(float value) {
  
  spot_outer_angle_ = value;
}
inline void Light::set_spot_outer_angle(float value) {
  _internal_set_spot_outer_angle(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Light.spot_outer_angle)
}

// float spot_falloff = 15;
inline void Light::clear_spot_falloff() {
  spot_falloff_ = 0;
}
inline float Light::_internal_spot_falloff() const {
  return spot_falloff_;
}
inline float Light::spot_falloff() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.spot_falloff)
  return _internal_spot_falloff();
}
inline void Light::_internal_set_spot_falloff(float value) {
  
  spot_falloff_ = value;
}
inline void Light::set_spot_falloff(float value) {
  _internal_set_spot_falloff(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Light.spot_falloff)
}

// uint32 id = 16;
inline void Light::clear_id() {
  id_ = 0u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint32 Light::_internal_id() const {
  return id_;
}
inline ::PROTOBUF_NAMESPACE_ID::uint32 Light::id() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.id)
  return _internal_id();
}
inline void Light::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
  
  id_ = value;
}
inline void Light::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
  _internal_set_id(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Light.id)
}

// uint32 parent_id = 17;
inline void Light::clear_parent_id() {
  parent_id_ = 0u;
}
inline ::PROTOBUF_NAMESPACE_ID::uint32 Light::_internal_parent_id() const {
  return parent_id_;
}
inline ::PROTOBUF_NAMESPACE_ID::uint32 Light::parent_id() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.Light.parent_id)
  return _internal_parent_id();
}
inline void Light::_internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
  
  parent_id_ = value;
}
inline void Light::set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
  _internal_set_parent_id(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.Light.parent_id)
}

#ifdef __GNUC__
  #pragma GCC diagnostic pop
#endif  // __GNUC__

typedef std::unique_ptr<Light> LightUniquePtr;
typedef std::unique_ptr<const Light> ConstLightUniquePtr;
typedef std::shared_ptr<Light> LightSharedPtr;
typedef std::shared_ptr<const Light> ConstLightSharedPtr;
// @@protoc_insertion_point(namespace_scope)

}  // namespace msgs
}  // namespace ignition

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::ignition::msgs::Light_LightType> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Light_LightType>() {
  return ::ignition::msgs::Light_LightType_descriptor();
}

PROTOBUF_NAMESPACE_CLOSE

#ifdef _MSC_VER
#pragma warning(pop)
#endif
// @@protoc_insertion_point(global_scope)

#include <google/protobuf/port_undef.inc>
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flight_2eproto
