@Override
  protected SwitchRpcThrottleState getState(int stateId) {
    return SwitchRpcThrottleState.forNumber(stateId);
  }
The procedure to switch rpc throttle
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/SwitchRpcThrottleProcedure.java