public static TableState convert(TableName tableName, HBaseProtos.TableState tableState) {
    TableState.State state = State.convert(tableState.getState());
    return new TableState(tableName, state);
  }
Covert from PB version of TableState
@param tableName  table this state of
@param tableState convert from
hbase-client/src/main/java/org/apache/hadoop/hbase/client/TableState.java