public ClusterStatusProtos.RegionState convert() {
    ClusterStatusProtos.RegionState.Builder regionState =
      ClusterStatusProtos.RegionState.newBuilder();
    regionState.setRegionInfo(ProtobufUtil.toRegionInfo(hri));
    regionState.setState(state.convert());
    regionState.setStamp(getStamp());
    return regionState.build();
  }
Convert a RegionState to an HBaseProtos.RegionState
@return the converted HBaseProtos.RegionState
hbase-client/src/main/java/org/apache/hadoop/hbase/master/RegionState.java