public TDelete getDeleteSingle() {
    if (getSetField() == _Fields.DELETE_SINGLE) {
      return (TDelete)getFieldValue();
    } else {
      throw new java.lang.RuntimeException("Cannot get field 'deleteSingle' because union is currently set to " + getFieldDesc(getSetField()).name);
    }
  }
Find the _Fields constant that matches name, or null if its not found.
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/generated/TMutation.java