// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: hxGrasp.proto

#ifndef PROTOBUF_hxGrasp_2eproto__INCLUDED
#define PROTOBUF_hxGrasp_2eproto__INCLUDED

#include <string>

#include <google/protobuf/stubs/common.h>

#if GOOGLE_PROTOBUF_VERSION < 2006000
#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 2006000 < GOOGLE_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/generated_message_util.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/unknown_field_set.h>
#pragma GCC system_header
#include <memory>
// @@protoc_insertion_point(includes)

namespace haptix {
namespace comm {
namespace msgs {

// Internal implementation detail -- do not call these.
void  protobuf_AddDesc_hxGrasp_2eproto();
void protobuf_AssignDesc_hxGrasp_2eproto();
void protobuf_ShutdownFile_hxGrasp_2eproto();

class hxGrasp;
class hxGrasp_hxGraspValue;

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

class hxGrasp_hxGraspValue : public ::google::protobuf::Message {
 public:
  hxGrasp_hxGraspValue();
  virtual ~hxGrasp_hxGraspValue();

  hxGrasp_hxGraspValue(const hxGrasp_hxGraspValue& from);

  inline hxGrasp_hxGraspValue& operator=(const hxGrasp_hxGraspValue& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _unknown_fields_;
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return &_unknown_fields_;
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const hxGrasp_hxGraspValue& default_instance();

  void Swap(hxGrasp_hxGraspValue* other);

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

  hxGrasp_hxGraspValue* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const hxGrasp_hxGraspValue& from);
  void MergeFrom(const hxGrasp_hxGraspValue& from);
  void Clear();
  bool IsInitialized() const;

  int ByteSize() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  public:
  ::google::protobuf::Metadata GetMetadata() const;

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

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

  // required string grasp_name = 1;
  inline bool has_grasp_name() const;
  inline void clear_grasp_name();
  static const int kGraspNameFieldNumber = 1;
  inline const ::std::string& grasp_name() const;
  inline void set_grasp_name(const ::std::string& value);
  inline void set_grasp_name(const char* value);
  inline void set_grasp_name(const char* value, size_t size);
  inline ::std::string* mutable_grasp_name();
  inline ::std::string* release_grasp_name();
  inline void set_allocated_grasp_name(::std::string* grasp_name);

  // required float grasp_value = 2;
  inline bool has_grasp_value() const;
  inline void clear_grasp_value();
  static const int kGraspValueFieldNumber = 2;
  inline float grasp_value() const;
  inline void set_grasp_value(float value);

  // @@protoc_insertion_point(class_scope:haptix.comm.msgs.hxGrasp.hxGraspValue)
 private:
  inline void set_has_grasp_name();
  inline void clear_has_grasp_name();
  inline void set_has_grasp_value();
  inline void clear_has_grasp_value();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  ::google::protobuf::uint32 _has_bits_[1];
  mutable int _cached_size_;
  ::std::string* grasp_name_;
  float grasp_value_;
  friend void  protobuf_AddDesc_hxGrasp_2eproto();
  friend void protobuf_AssignDesc_hxGrasp_2eproto();
  friend void protobuf_ShutdownFile_hxGrasp_2eproto();

  void InitAsDefaultInstance();
  static hxGrasp_hxGraspValue* default_instance_;
};
// -------------------------------------------------------------------

class hxGrasp : public ::google::protobuf::Message {
 public:
  hxGrasp();
  virtual ~hxGrasp();

  hxGrasp(const hxGrasp& from);

  inline hxGrasp& operator=(const hxGrasp& from) {
    CopyFrom(from);
    return *this;
  }

  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
    return _unknown_fields_;
  }

  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
    return &_unknown_fields_;
  }

  static const ::google::protobuf::Descriptor* descriptor();
  static const hxGrasp& default_instance();

  void Swap(hxGrasp* other);

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

  hxGrasp* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const hxGrasp& from);
  void MergeFrom(const hxGrasp& from);
  void Clear();
  bool IsInitialized() const;

  int ByteSize() const;
  bool MergePartialFromCodedStream(
      ::google::protobuf::io::CodedInputStream* input);
  void SerializeWithCachedSizes(
      ::google::protobuf::io::CodedOutputStream* output) const;
  ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  int GetCachedSize() const { return _cached_size_; }
  private:
  void SharedCtor();
  void SharedDtor();
  void SetCachedSize(int size) const;
  public:
  ::google::protobuf::Metadata GetMetadata() const;

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

  typedef hxGrasp_hxGraspValue hxGraspValue;

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

  // repeated .haptix.comm.msgs.hxGrasp.hxGraspValue grasps = 1;
  inline int grasps_size() const;
  inline void clear_grasps();
  static const int kGraspsFieldNumber = 1;
  inline const ::haptix::comm::msgs::hxGrasp_hxGraspValue& grasps(int index) const;
  inline ::haptix::comm::msgs::hxGrasp_hxGraspValue* mutable_grasps(int index);
  inline ::haptix::comm::msgs::hxGrasp_hxGraspValue* add_grasps();
  inline const ::google::protobuf::RepeatedPtrField< ::haptix::comm::msgs::hxGrasp_hxGraspValue >&
      grasps() const;
  inline ::google::protobuf::RepeatedPtrField< ::haptix::comm::msgs::hxGrasp_hxGraspValue >*
      mutable_grasps();

  // @@protoc_insertion_point(class_scope:haptix.comm.msgs.hxGrasp)
 private:

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  ::google::protobuf::uint32 _has_bits_[1];
  mutable int _cached_size_;
  ::google::protobuf::RepeatedPtrField< ::haptix::comm::msgs::hxGrasp_hxGraspValue > grasps_;
  friend void  protobuf_AddDesc_hxGrasp_2eproto();
  friend void protobuf_AssignDesc_hxGrasp_2eproto();
  friend void protobuf_ShutdownFile_hxGrasp_2eproto();

  void InitAsDefaultInstance();
  static hxGrasp* default_instance_;
};
// ===================================================================


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

// hxGrasp_hxGraspValue

// required string grasp_name = 1;
inline bool hxGrasp_hxGraspValue::has_grasp_name() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void hxGrasp_hxGraspValue::set_has_grasp_name() {
  _has_bits_[0] |= 0x00000001u;
}
inline void hxGrasp_hxGraspValue::clear_has_grasp_name() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void hxGrasp_hxGraspValue::clear_grasp_name() {
  if (grasp_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    grasp_name_->clear();
  }
  clear_has_grasp_name();
}
inline const ::std::string& hxGrasp_hxGraspValue::grasp_name() const {
  // @@protoc_insertion_point(field_get:haptix.comm.msgs.hxGrasp.hxGraspValue.grasp_name)
  return *grasp_name_;
}
inline void hxGrasp_hxGraspValue::set_grasp_name(const ::std::string& value) {
  set_has_grasp_name();
  if (grasp_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    grasp_name_ = new ::std::string;
  }
  grasp_name_->assign(value);
  // @@protoc_insertion_point(field_set:haptix.comm.msgs.hxGrasp.hxGraspValue.grasp_name)
}
inline void hxGrasp_hxGraspValue::set_grasp_name(const char* value) {
  set_has_grasp_name();
  if (grasp_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    grasp_name_ = new ::std::string;
  }
  grasp_name_->assign(value);
  // @@protoc_insertion_point(field_set_char:haptix.comm.msgs.hxGrasp.hxGraspValue.grasp_name)
}
inline void hxGrasp_hxGraspValue::set_grasp_name(const char* value, size_t size) {
  set_has_grasp_name();
  if (grasp_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    grasp_name_ = new ::std::string;
  }
  grasp_name_->assign(reinterpret_cast<const char*>(value), size);
  // @@protoc_insertion_point(field_set_pointer:haptix.comm.msgs.hxGrasp.hxGraspValue.grasp_name)
}
inline ::std::string* hxGrasp_hxGraspValue::mutable_grasp_name() {
  set_has_grasp_name();
  if (grasp_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    grasp_name_ = new ::std::string;
  }
  // @@protoc_insertion_point(field_mutable:haptix.comm.msgs.hxGrasp.hxGraspValue.grasp_name)
  return grasp_name_;
}
inline ::std::string* hxGrasp_hxGraspValue::release_grasp_name() {
  clear_has_grasp_name();
  if (grasp_name_ == &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    return NULL;
  } else {
    ::std::string* temp = grasp_name_;
    grasp_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
    return temp;
  }
}
inline void hxGrasp_hxGraspValue::set_allocated_grasp_name(::std::string* grasp_name) {
  if (grasp_name_ != &::google::protobuf::internal::GetEmptyStringAlreadyInited()) {
    delete grasp_name_;
  }
  if (grasp_name) {
    set_has_grasp_name();
    grasp_name_ = grasp_name;
  } else {
    clear_has_grasp_name();
    grasp_name_ = const_cast< ::std::string*>(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
  }
  // @@protoc_insertion_point(field_set_allocated:haptix.comm.msgs.hxGrasp.hxGraspValue.grasp_name)
}

// required float grasp_value = 2;
inline bool hxGrasp_hxGraspValue::has_grasp_value() const {
  return (_has_bits_[0] & 0x00000002u) != 0;
}
inline void hxGrasp_hxGraspValue::set_has_grasp_value() {
  _has_bits_[0] |= 0x00000002u;
}
inline void hxGrasp_hxGraspValue::clear_has_grasp_value() {
  _has_bits_[0] &= ~0x00000002u;
}
inline void hxGrasp_hxGraspValue::clear_grasp_value() {
  grasp_value_ = 0;
  clear_has_grasp_value();
}
inline float hxGrasp_hxGraspValue::grasp_value() const {
  // @@protoc_insertion_point(field_get:haptix.comm.msgs.hxGrasp.hxGraspValue.grasp_value)
  return grasp_value_;
}
inline void hxGrasp_hxGraspValue::set_grasp_value(float value) {
  set_has_grasp_value();
  grasp_value_ = value;
  // @@protoc_insertion_point(field_set:haptix.comm.msgs.hxGrasp.hxGraspValue.grasp_value)
}

// -------------------------------------------------------------------

// hxGrasp

// repeated .haptix.comm.msgs.hxGrasp.hxGraspValue grasps = 1;
inline int hxGrasp::grasps_size() const {
  return grasps_.size();
}
inline void hxGrasp::clear_grasps() {
  grasps_.Clear();
}
inline const ::haptix::comm::msgs::hxGrasp_hxGraspValue& hxGrasp::grasps(int index) const {
  // @@protoc_insertion_point(field_get:haptix.comm.msgs.hxGrasp.grasps)
  return grasps_.Get(index);
}
inline ::haptix::comm::msgs::hxGrasp_hxGraspValue* hxGrasp::mutable_grasps(int index) {
  // @@protoc_insertion_point(field_mutable:haptix.comm.msgs.hxGrasp.grasps)
  return grasps_.Mutable(index);
}
inline ::haptix::comm::msgs::hxGrasp_hxGraspValue* hxGrasp::add_grasps() {
  // @@protoc_insertion_point(field_add:haptix.comm.msgs.hxGrasp.grasps)
  return grasps_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::haptix::comm::msgs::hxGrasp_hxGraspValue >&
hxGrasp::grasps() const {
  // @@protoc_insertion_point(field_list:haptix.comm.msgs.hxGrasp.grasps)
  return grasps_;
}
inline ::google::protobuf::RepeatedPtrField< ::haptix::comm::msgs::hxGrasp_hxGraspValue >*
hxGrasp::mutable_grasps() {
  // @@protoc_insertion_point(field_mutable_list:haptix.comm.msgs.hxGrasp.grasps)
  return &grasps_;
}


typedef std::shared_ptr<haptix::comm::msgs::hxGrasp> hxGraspPtr;
// @@protoc_insertion_point(namespace_scope)

}  // namespace msgs
}  // namespace comm
}  // namespace haptix

#ifndef SWIG
namespace google {
namespace protobuf {


}  // namespace google
}  // namespace protobuf
#endif  // SWIG

typedef const std::shared_ptr<haptix::comm::msgs::hxGrasp const> ConsthxGraspPtr;
// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_hxGrasp_2eproto__INCLUDED
