public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
    switch (field) {
    case REGION_ID:
      if (value == null) {
        unsetRegionId();
      } else {
        setRegionId((java.lang.Long)value);
      }
      break;

    case TABLE_NAME:
      if (value == null) {
        unsetTableName();
      } else {
        if (value instanceof byte[]) {
          setTableName((byte[])value);
        } else {
          setTableName((java.nio.ByteBuffer)value);
        }
      }
      break;

    case START_KEY:
      if (value == null) {
        unsetStartKey();
      } else {
        if (value instanceof byte[]) {
          setStartKey((byte[])value);
        } else {
          setStartKey((java.nio.ByteBuffer)value);
        }
      }
      break;

    case END_KEY:
      if (value == null) {
        unsetEndKey();
      } else {
        if (value instanceof byte[]) {
          setEndKey((byte[])value);
        } else {
          setEndKey((java.nio.ByteBuffer)value);
        }
      }
      break;

    case OFFLINE:
      if (value == null) {
        unsetOffline();
      } else {
        setOffline((java.lang.Boolean)value);
      }
      break;

    case SPLIT:
      if (value == null) {
        unsetSplit();
      } else {
        setSplit((java.lang.Boolean)value);
      }
      break;

    case REPLICA_ID:
      if (value == null) {
        unsetReplicaId();
      } else {
        setReplicaId((java.lang.Integer)value);
      }
      break;

    }
  }
Returns true if field replicaId is set (has been assigned a value) and false otherwise
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/THRegionInfo.java