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

#ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fuser_5fcmd_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fuser_5fcmd_2eproto

#include <limits>
#include <string>

#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3011000
#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 3011004 < 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/inlined_string_field.h>
#include <google/protobuf/metadata.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/light.pb.h"
#include "ignition/msgs/model.pb.h"
#include "ignition/msgs/world_control.pb.h"
#include "ignition/msgs/wrench.pb.h"
#include "ignition/msgs/header.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_2fuser_5fcmd_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_2fuser_5fcmd_2eproto {
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField 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_2fuser_5fcmd_2eproto;
namespace ignition {
namespace msgs {
class UserCmd;
class UserCmdDefaultTypeInternal;
IGNITION_MSGS_VISIBLE extern UserCmdDefaultTypeInternal _UserCmd_default_instance_;
}  // namespace msgs
}  // namespace ignition
PROTOBUF_NAMESPACE_OPEN
template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::UserCmd* Arena::CreateMaybeMessage<::ignition::msgs::UserCmd>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace ignition {
namespace msgs {

enum UserCmd_Type : int {
  UserCmd_Type_MOVING = 0,
  UserCmd_Type_WORLD_CONTROL = 1,
  UserCmd_Type_WRENCH = 2,
  UserCmd_Type_SCALING = 3,
  UserCmd_Type_UserCmd_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
  UserCmd_Type_UserCmd_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
};
IGNITION_MSGS_VISIBLE bool UserCmd_Type_IsValid(int value);
constexpr UserCmd_Type UserCmd_Type_Type_MIN = UserCmd_Type_MOVING;
constexpr UserCmd_Type UserCmd_Type_Type_MAX = UserCmd_Type_SCALING;
constexpr int UserCmd_Type_Type_ARRAYSIZE = UserCmd_Type_Type_MAX + 1;

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

class IGNITION_MSGS_VISIBLE UserCmd :
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.UserCmd) */ {
 public:
  UserCmd();
  virtual ~UserCmd();

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

  inline UserCmd& operator=(const UserCmd& from) {
    CopyFrom(from);
    return *this;
  }
  inline UserCmd& operator=(UserCmd&& from) noexcept {
    if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
      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 UserCmd& default_instance();

  static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY
  static inline const UserCmd* internal_default_instance() {
    return reinterpret_cast<const UserCmd*>(
               &_UserCmd_default_instance_);
  }
  static constexpr int kIndexInFileMessages =
    0;

  friend void swap(UserCmd& a, UserCmd& b) {
    a.Swap(&b);
  }
  inline void Swap(UserCmd* other) {
    if (other == this) return;
    InternalSwap(other);
  }

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

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

  UserCmd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
    return CreateMaybeMessage<UserCmd>(arena);
  }
  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  void CopyFrom(const UserCmd& from);
  void MergeFrom(const UserCmd& 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(UserCmd* other);
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
    return "ignition.msgs.UserCmd";
  }
  private:
  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
    return nullptr;
  }
  inline void* MaybeArenaPtr() const {
    return nullptr;
  }
  public:

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

  public:

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

  typedef UserCmd_Type Type;
  static constexpr Type MOVING =
    UserCmd_Type_MOVING;
  static constexpr Type WORLD_CONTROL =
    UserCmd_Type_WORLD_CONTROL;
  static constexpr Type WRENCH =
    UserCmd_Type_WRENCH;
  static constexpr Type SCALING =
    UserCmd_Type_SCALING;
  static inline bool Type_IsValid(int value) {
    return UserCmd_Type_IsValid(value);
  }
  static constexpr Type Type_MIN =
    UserCmd_Type_Type_MIN;
  static constexpr Type Type_MAX =
    UserCmd_Type_Type_MAX;
  static constexpr int Type_ARRAYSIZE =
    UserCmd_Type_Type_ARRAYSIZE;
  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
  Type_descriptor() {
    return UserCmd_Type_descriptor();
  }
  template<typename T>
  static inline const std::string& Type_Name(T enum_t_value) {
    static_assert(::std::is_same<T, Type>::value ||
      ::std::is_integral<T>::value,
      "Incorrect type passed to function Type_Name.");
    return UserCmd_Type_Name(enum_t_value);
  }
  static inline bool Type_Parse(const std::string& name,
      Type* value) {
    return UserCmd_Type_Parse(name, value);
  }

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

  enum : int {
    kModelFieldNumber = 5,
    kLightFieldNumber = 6,
    kDescriptionFieldNumber = 3,
    kEntityNameFieldNumber = 7,
    kHeaderFieldNumber = 1,
    kWorldControlFieldNumber = 8,
    kWrenchFieldNumber = 9,
    kIdFieldNumber = 2,
    kTypeFieldNumber = 4,
  };
  // repeated .ignition.msgs.Model model = 5;
  int model_size() const;
  private:
  int _internal_model_size() const;
  public:
  void clear_model();
  ::ignition::msgs::Model* mutable_model(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model >*
      mutable_model();
  private:
  const ::ignition::msgs::Model& _internal_model(int index) const;
  ::ignition::msgs::Model* _internal_add_model();
  public:
  const ::ignition::msgs::Model& model(int index) const;
  ::ignition::msgs::Model* add_model();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model >&
      model() const;

  // repeated .ignition.msgs.Light light = 6;
  int light_size() const;
  private:
  int _internal_light_size() const;
  public:
  void clear_light();
  ::ignition::msgs::Light* mutable_light(int index);
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light >*
      mutable_light();
  private:
  const ::ignition::msgs::Light& _internal_light(int index) const;
  ::ignition::msgs::Light* _internal_add_light();
  public:
  const ::ignition::msgs::Light& light(int index) const;
  ::ignition::msgs::Light* add_light();
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light >&
      light() const;

  // string description = 3;
  void clear_description();
  const std::string& description() const;
  void set_description(const std::string& value);
  void set_description(std::string&& value);
  void set_description(const char* value);
  void set_description(const char* value, size_t size);
  std::string* mutable_description();
  std::string* release_description();
  void set_allocated_description(std::string* description);
  private:
  const std::string& _internal_description() const;
  void _internal_set_description(const std::string& value);
  std::string* _internal_mutable_description();
  public:

  // string entity_name = 7;
  void clear_entity_name();
  const std::string& entity_name() const;
  void set_entity_name(const std::string& value);
  void set_entity_name(std::string&& value);
  void set_entity_name(const char* value);
  void set_entity_name(const char* value, size_t size);
  std::string* mutable_entity_name();
  std::string* release_entity_name();
  void set_allocated_entity_name(std::string* entity_name);
  private:
  const std::string& _internal_entity_name() const;
  void _internal_set_entity_name(const std::string& value);
  std::string* _internal_mutable_entity_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:

  // .ignition.msgs.WorldControl world_control = 8;
  bool has_world_control() const;
  private:
  bool _internal_has_world_control() const;
  public:
  void clear_world_control();
  const ::ignition::msgs::WorldControl& world_control() const;
  ::ignition::msgs::WorldControl* release_world_control();
  ::ignition::msgs::WorldControl* mutable_world_control();
  void set_allocated_world_control(::ignition::msgs::WorldControl* world_control);
  private:
  const ::ignition::msgs::WorldControl& _internal_world_control() const;
  ::ignition::msgs::WorldControl* _internal_mutable_world_control();
  public:

  // .ignition.msgs.Wrench wrench = 9;
  bool has_wrench() const;
  private:
  bool _internal_has_wrench() const;
  public:
  void clear_wrench();
  const ::ignition::msgs::Wrench& wrench() const;
  ::ignition::msgs::Wrench* release_wrench();
  ::ignition::msgs::Wrench* mutable_wrench();
  void set_allocated_wrench(::ignition::msgs::Wrench* wrench);
  private:
  const ::ignition::msgs::Wrench& _internal_wrench() const;
  ::ignition::msgs::Wrench* _internal_mutable_wrench();
  public:

  // uint32 id = 2;
  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:

  // .ignition.msgs.UserCmd.Type type = 4;
  void clear_type();
  ::ignition::msgs::UserCmd_Type type() const;
  void set_type(::ignition::msgs::UserCmd_Type value);
  private:
  ::ignition::msgs::UserCmd_Type _internal_type() const;
  void _internal_set_type(::ignition::msgs::UserCmd_Type value);
  public:

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

  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model > model_;
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light > light_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_;
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr entity_name_;
  ::ignition::msgs::Header* header_;
  ::ignition::msgs::WorldControl* world_control_;
  ::ignition::msgs::Wrench* wrench_;
  ::PROTOBUF_NAMESPACE_ID::uint32 id_;
  int type_;
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  friend struct ::TableStruct_ignition_2fmsgs_2fuser_5fcmd_2eproto;
};
// ===================================================================


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

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

// .ignition.msgs.Header header = 1;
inline bool UserCmd::_internal_has_header() const {
  return this != internal_default_instance() && header_ != nullptr;
}
inline bool UserCmd::has_header() const {
  return _internal_has_header();
}
inline const ::ignition::msgs::Header& UserCmd::_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& UserCmd::header() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.UserCmd.header)
  return _internal_header();
}
inline ::ignition::msgs::Header* UserCmd::release_header() {
  // @@protoc_insertion_point(field_release:ignition.msgs.UserCmd.header)
  
  ::ignition::msgs::Header* temp = header_;
  header_ = nullptr;
  return temp;
}
inline ::ignition::msgs::Header* UserCmd::_internal_mutable_header() {
  
  if (header_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
    header_ = p;
  }
  return header_;
}
inline ::ignition::msgs::Header* UserCmd::mutable_header() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.UserCmd.header)
  return _internal_mutable_header();
}
inline void UserCmd::set_allocated_header(::ignition::msgs::Header* header) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
  }
  if (header) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    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.UserCmd.header)
}

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

// string description = 3;
inline void UserCmd::clear_description() {
  description_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& UserCmd::description() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.UserCmd.description)
  return _internal_description();
}
inline void UserCmd::set_description(const std::string& value) {
  _internal_set_description(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.UserCmd.description)
}
inline std::string* UserCmd::mutable_description() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.UserCmd.description)
  return _internal_mutable_description();
}
inline const std::string& UserCmd::_internal_description() const {
  return description_.GetNoArena();
}
inline void UserCmd::_internal_set_description(const std::string& value) {
  
  description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void UserCmd::set_description(std::string&& value) {
  
  description_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.UserCmd.description)
}
inline void UserCmd::set_description(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.UserCmd.description)
}
inline void UserCmd::set_description(const char* value, size_t size) {
  
  description_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.UserCmd.description)
}
inline std::string* UserCmd::_internal_mutable_description() {
  
  return description_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* UserCmd::release_description() {
  // @@protoc_insertion_point(field_release:ignition.msgs.UserCmd.description)
  
  return description_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void UserCmd::set_allocated_description(std::string* description) {
  if (description != nullptr) {
    
  } else {
    
  }
  description_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), description);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.UserCmd.description)
}

// .ignition.msgs.UserCmd.Type type = 4;
inline void UserCmd::clear_type() {
  type_ = 0;
}
inline ::ignition::msgs::UserCmd_Type UserCmd::_internal_type() const {
  return static_cast< ::ignition::msgs::UserCmd_Type >(type_);
}
inline ::ignition::msgs::UserCmd_Type UserCmd::type() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.UserCmd.type)
  return _internal_type();
}
inline void UserCmd::_internal_set_type(::ignition::msgs::UserCmd_Type value) {
  
  type_ = value;
}
inline void UserCmd::set_type(::ignition::msgs::UserCmd_Type value) {
  _internal_set_type(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.UserCmd.type)
}

// repeated .ignition.msgs.Model model = 5;
inline int UserCmd::_internal_model_size() const {
  return model_.size();
}
inline int UserCmd::model_size() const {
  return _internal_model_size();
}
inline ::ignition::msgs::Model* UserCmd::mutable_model(int index) {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.UserCmd.model)
  return model_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model >*
UserCmd::mutable_model() {
  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.UserCmd.model)
  return &model_;
}
inline const ::ignition::msgs::Model& UserCmd::_internal_model(int index) const {
  return model_.Get(index);
}
inline const ::ignition::msgs::Model& UserCmd::model(int index) const {
  // @@protoc_insertion_point(field_get:ignition.msgs.UserCmd.model)
  return _internal_model(index);
}
inline ::ignition::msgs::Model* UserCmd::_internal_add_model() {
  return model_.Add();
}
inline ::ignition::msgs::Model* UserCmd::add_model() {
  // @@protoc_insertion_point(field_add:ignition.msgs.UserCmd.model)
  return _internal_add_model();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Model >&
UserCmd::model() const {
  // @@protoc_insertion_point(field_list:ignition.msgs.UserCmd.model)
  return model_;
}

// repeated .ignition.msgs.Light light = 6;
inline int UserCmd::_internal_light_size() const {
  return light_.size();
}
inline int UserCmd::light_size() const {
  return _internal_light_size();
}
inline ::ignition::msgs::Light* UserCmd::mutable_light(int index) {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.UserCmd.light)
  return light_.Mutable(index);
}
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light >*
UserCmd::mutable_light() {
  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.UserCmd.light)
  return &light_;
}
inline const ::ignition::msgs::Light& UserCmd::_internal_light(int index) const {
  return light_.Get(index);
}
inline const ::ignition::msgs::Light& UserCmd::light(int index) const {
  // @@protoc_insertion_point(field_get:ignition.msgs.UserCmd.light)
  return _internal_light(index);
}
inline ::ignition::msgs::Light* UserCmd::_internal_add_light() {
  return light_.Add();
}
inline ::ignition::msgs::Light* UserCmd::add_light() {
  // @@protoc_insertion_point(field_add:ignition.msgs.UserCmd.light)
  return _internal_add_light();
}
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::ignition::msgs::Light >&
UserCmd::light() const {
  // @@protoc_insertion_point(field_list:ignition.msgs.UserCmd.light)
  return light_;
}

// string entity_name = 7;
inline void UserCmd::clear_entity_name() {
  entity_name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline const std::string& UserCmd::entity_name() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.UserCmd.entity_name)
  return _internal_entity_name();
}
inline void UserCmd::set_entity_name(const std::string& value) {
  _internal_set_entity_name(value);
  // @@protoc_insertion_point(field_set:ignition.msgs.UserCmd.entity_name)
}
inline std::string* UserCmd::mutable_entity_name() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.UserCmd.entity_name)
  return _internal_mutable_entity_name();
}
inline const std::string& UserCmd::_internal_entity_name() const {
  return entity_name_.GetNoArena();
}
inline void UserCmd::_internal_set_entity_name(const std::string& value) {
  
  entity_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
}
inline void UserCmd::set_entity_name(std::string&& value) {
  
  entity_name_.SetNoArena(
    &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.UserCmd.entity_name)
}
inline void UserCmd::set_entity_name(const char* value) {
  GOOGLE_DCHECK(value != nullptr);
  
  entity_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
  // @@protoc_insertion_point(field_set_char:ignition.msgs.UserCmd.entity_name)
}
inline void UserCmd::set_entity_name(const char* value, size_t size) {
  
  entity_name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
      ::std::string(reinterpret_cast<const char*>(value), size));
  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.UserCmd.entity_name)
}
inline std::string* UserCmd::_internal_mutable_entity_name() {
  
  return entity_name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline std::string* UserCmd::release_entity_name() {
  // @@protoc_insertion_point(field_release:ignition.msgs.UserCmd.entity_name)
  
  return entity_name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
inline void UserCmd::set_allocated_entity_name(std::string* entity_name) {
  if (entity_name != nullptr) {
    
  } else {
    
  }
  entity_name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), entity_name);
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.UserCmd.entity_name)
}

// .ignition.msgs.WorldControl world_control = 8;
inline bool UserCmd::_internal_has_world_control() const {
  return this != internal_default_instance() && world_control_ != nullptr;
}
inline bool UserCmd::has_world_control() const {
  return _internal_has_world_control();
}
inline const ::ignition::msgs::WorldControl& UserCmd::_internal_world_control() const {
  const ::ignition::msgs::WorldControl* p = world_control_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::WorldControl*>(
      &::ignition::msgs::_WorldControl_default_instance_);
}
inline const ::ignition::msgs::WorldControl& UserCmd::world_control() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.UserCmd.world_control)
  return _internal_world_control();
}
inline ::ignition::msgs::WorldControl* UserCmd::release_world_control() {
  // @@protoc_insertion_point(field_release:ignition.msgs.UserCmd.world_control)
  
  ::ignition::msgs::WorldControl* temp = world_control_;
  world_control_ = nullptr;
  return temp;
}
inline ::ignition::msgs::WorldControl* UserCmd::_internal_mutable_world_control() {
  
  if (world_control_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::WorldControl>(GetArenaNoVirtual());
    world_control_ = p;
  }
  return world_control_;
}
inline ::ignition::msgs::WorldControl* UserCmd::mutable_world_control() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.UserCmd.world_control)
  return _internal_mutable_world_control();
}
inline void UserCmd::set_allocated_world_control(::ignition::msgs::WorldControl* world_control) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(world_control_);
  }
  if (world_control) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      world_control = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, world_control, submessage_arena);
    }
    
  } else {
    
  }
  world_control_ = world_control;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.UserCmd.world_control)
}

// .ignition.msgs.Wrench wrench = 9;
inline bool UserCmd::_internal_has_wrench() const {
  return this != internal_default_instance() && wrench_ != nullptr;
}
inline bool UserCmd::has_wrench() const {
  return _internal_has_wrench();
}
inline const ::ignition::msgs::Wrench& UserCmd::_internal_wrench() const {
  const ::ignition::msgs::Wrench* p = wrench_;
  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Wrench*>(
      &::ignition::msgs::_Wrench_default_instance_);
}
inline const ::ignition::msgs::Wrench& UserCmd::wrench() const {
  // @@protoc_insertion_point(field_get:ignition.msgs.UserCmd.wrench)
  return _internal_wrench();
}
inline ::ignition::msgs::Wrench* UserCmd::release_wrench() {
  // @@protoc_insertion_point(field_release:ignition.msgs.UserCmd.wrench)
  
  ::ignition::msgs::Wrench* temp = wrench_;
  wrench_ = nullptr;
  return temp;
}
inline ::ignition::msgs::Wrench* UserCmd::_internal_mutable_wrench() {
  
  if (wrench_ == nullptr) {
    auto* p = CreateMaybeMessage<::ignition::msgs::Wrench>(GetArenaNoVirtual());
    wrench_ = p;
  }
  return wrench_;
}
inline ::ignition::msgs::Wrench* UserCmd::mutable_wrench() {
  // @@protoc_insertion_point(field_mutable:ignition.msgs.UserCmd.wrench)
  return _internal_mutable_wrench();
}
inline void UserCmd::set_allocated_wrench(::ignition::msgs::Wrench* wrench) {
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
  if (message_arena == nullptr) {
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(wrench_);
  }
  if (wrench) {
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
    if (message_arena != submessage_arena) {
      wrench = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
          message_arena, wrench, submessage_arena);
    }
    
  } else {
    
  }
  wrench_ = wrench;
  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.UserCmd.wrench)
}

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

typedef std::unique_ptr<UserCmd> UserCmdUniquePtr;
typedef std::unique_ptr<const UserCmd> ConstUserCmdUniquePtr;
typedef std::shared_ptr<UserCmd> UserCmdSharedPtr;
typedef std::shared_ptr<const UserCmd> ConstUserCmdSharedPtr;
// @@protoc_insertion_point(namespace_scope)

}  // namespace msgs
}  // namespace ignition

PROTOBUF_NAMESPACE_OPEN

template <> struct is_proto_enum< ::ignition::msgs::UserCmd_Type> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::UserCmd_Type>() {
  return ::ignition::msgs::UserCmd_Type_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_2fuser_5fcmd_2eproto
