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

#ifndef PROTOBUF_RSGroup_2eproto__INCLUDED
#define PROTOBUF_RSGroup_2eproto__INCLUDED

#include <string>

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

#if GOOGLE_PROTOBUF_VERSION < 2005000
#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 2005000 < 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>
#include "HBase.pb.h"
// @@protoc_insertion_point(includes)

namespace hbase {
namespace pb {

// Internal implementation detail -- do not call these.
void  protobuf_AddDesc_RSGroup_2eproto();
void protobuf_AssignDesc_RSGroup_2eproto();
void protobuf_ShutdownFile_RSGroup_2eproto();

class RSGroupInfo;

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

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

  RSGroupInfo(const RSGroupInfo& from);

  inline RSGroupInfo& operator=(const RSGroupInfo& 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 RSGroupInfo& default_instance();

  void Swap(RSGroupInfo* other);

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

  RSGroupInfo* New() const;
  void CopyFrom(const ::google::protobuf::Message& from);
  void MergeFrom(const ::google::protobuf::Message& from);
  void CopyFrom(const RSGroupInfo& from);
  void MergeFrom(const RSGroupInfo& 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 name = 1;
  inline bool has_name() const;
  inline void clear_name();
  static const int kNameFieldNumber = 1;
  inline const ::std::string& name() const;
  inline void set_name(const ::std::string& value);
  inline void set_name(const char* value);
  inline void set_name(const char* value, size_t size);
  inline ::std::string* mutable_name();
  inline ::std::string* release_name();
  inline void set_allocated_name(::std::string* name);

  // repeated .hbase.pb.ServerName servers = 4;
  inline int servers_size() const;
  inline void clear_servers();
  static const int kServersFieldNumber = 4;
  inline const ::hbase::pb::ServerName& servers(int index) const;
  inline ::hbase::pb::ServerName* mutable_servers(int index);
  inline ::hbase::pb::ServerName* add_servers();
  inline const ::google::protobuf::RepeatedPtrField< ::hbase::pb::ServerName >&
      servers() const;
  inline ::google::protobuf::RepeatedPtrField< ::hbase::pb::ServerName >*
      mutable_servers();

  // repeated .hbase.pb.TableName tables = 3;
  inline int tables_size() const;
  inline void clear_tables();
  static const int kTablesFieldNumber = 3;
  inline const ::hbase::pb::TableName& tables(int index) const;
  inline ::hbase::pb::TableName* mutable_tables(int index);
  inline ::hbase::pb::TableName* add_tables();
  inline const ::google::protobuf::RepeatedPtrField< ::hbase::pb::TableName >&
      tables() const;
  inline ::google::protobuf::RepeatedPtrField< ::hbase::pb::TableName >*
      mutable_tables();

  // @@protoc_insertion_point(class_scope:hbase.pb.RSGroupInfo)
 private:
  inline void set_has_name();
  inline void clear_has_name();

  ::google::protobuf::UnknownFieldSet _unknown_fields_;

  ::std::string* name_;
  ::google::protobuf::RepeatedPtrField< ::hbase::pb::ServerName > servers_;
  ::google::protobuf::RepeatedPtrField< ::hbase::pb::TableName > tables_;

  mutable int _cached_size_;
  ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];

  friend void  protobuf_AddDesc_RSGroup_2eproto();
  friend void protobuf_AssignDesc_RSGroup_2eproto();
  friend void protobuf_ShutdownFile_RSGroup_2eproto();

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


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

// RSGroupInfo

// required string name = 1;
inline bool RSGroupInfo::has_name() const {
  return (_has_bits_[0] & 0x00000001u) != 0;
}
inline void RSGroupInfo::set_has_name() {
  _has_bits_[0] |= 0x00000001u;
}
inline void RSGroupInfo::clear_has_name() {
  _has_bits_[0] &= ~0x00000001u;
}
inline void RSGroupInfo::clear_name() {
  if (name_ != &::google::protobuf::internal::kEmptyString) {
    name_->clear();
  }
  clear_has_name();
}
inline const ::std::string& RSGroupInfo::name() const {
  return *name_;
}
inline void RSGroupInfo::set_name(const ::std::string& value) {
  set_has_name();
  if (name_ == &::google::protobuf::internal::kEmptyString) {
    name_ = new ::std::string;
  }
  name_->assign(value);
}
inline void RSGroupInfo::set_name(const char* value) {
  set_has_name();
  if (name_ == &::google::protobuf::internal::kEmptyString) {
    name_ = new ::std::string;
  }
  name_->assign(value);
}
inline void RSGroupInfo::set_name(const char* value, size_t size) {
  set_has_name();
  if (name_ == &::google::protobuf::internal::kEmptyString) {
    name_ = new ::std::string;
  }
  name_->assign(reinterpret_cast<const char*>(value), size);
}
inline ::std::string* RSGroupInfo::mutable_name() {
  set_has_name();
  if (name_ == &::google::protobuf::internal::kEmptyString) {
    name_ = new ::std::string;
  }
  return name_;
}
inline ::std::string* RSGroupInfo::release_name() {
  clear_has_name();
  if (name_ == &::google::protobuf::internal::kEmptyString) {
    return NULL;
  } else {
    ::std::string* temp = name_;
    name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
    return temp;
  }
}
inline void RSGroupInfo::set_allocated_name(::std::string* name) {
  if (name_ != &::google::protobuf::internal::kEmptyString) {
    delete name_;
  }
  if (name) {
    set_has_name();
    name_ = name;
  } else {
    clear_has_name();
    name_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString);
  }
}

// repeated .hbase.pb.ServerName servers = 4;
inline int RSGroupInfo::servers_size() const {
  return servers_.size();
}
inline void RSGroupInfo::clear_servers() {
  servers_.Clear();
}
inline const ::hbase::pb::ServerName& RSGroupInfo::servers(int index) const {
  return servers_.Get(index);
}
inline ::hbase::pb::ServerName* RSGroupInfo::mutable_servers(int index) {
  return servers_.Mutable(index);
}
inline ::hbase::pb::ServerName* RSGroupInfo::add_servers() {
  return servers_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::hbase::pb::ServerName >&
RSGroupInfo::servers() const {
  return servers_;
}
inline ::google::protobuf::RepeatedPtrField< ::hbase::pb::ServerName >*
RSGroupInfo::mutable_servers() {
  return &servers_;
}

// repeated .hbase.pb.TableName tables = 3;
inline int RSGroupInfo::tables_size() const {
  return tables_.size();
}
inline void RSGroupInfo::clear_tables() {
  tables_.Clear();
}
inline const ::hbase::pb::TableName& RSGroupInfo::tables(int index) const {
  return tables_.Get(index);
}
inline ::hbase::pb::TableName* RSGroupInfo::mutable_tables(int index) {
  return tables_.Mutable(index);
}
inline ::hbase::pb::TableName* RSGroupInfo::add_tables() {
  return tables_.Add();
}
inline const ::google::protobuf::RepeatedPtrField< ::hbase::pb::TableName >&
RSGroupInfo::tables() const {
  return tables_;
}
inline ::google::protobuf::RepeatedPtrField< ::hbase::pb::TableName >*
RSGroupInfo::mutable_tables() {
  return &tables_;
}


// @@protoc_insertion_point(namespace_scope)

}  // namespace pb
}  // namespace hbase

#ifndef SWIG
namespace google {
namespace protobuf {


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

// @@protoc_insertion_point(global_scope)

#endif  // PROTOBUF_RSGroup_2eproto__INCLUDED
