@Override
  protected org.apache.thrift.protocol.TField getFieldDesc(_Fields setField) {
    switch (setField) {
      case PRIMITIVE_ENTRY:
        return PRIMITIVE_ENTRY_FIELD_DESC;
      case ARRAY_ENTRY:
        return ARRAY_ENTRY_FIELD_DESC;
      case MAP_ENTRY:
        return MAP_ENTRY_FIELD_DESC;
      case STRUCT_ENTRY:
        return STRUCT_ENTRY_FIELD_DESC;
      case UNION_ENTRY:
        return UNION_ENTRY_FIELD_DESC;
      case USER_DEFINED_TYPE_ENTRY:
        return USER_DEFINED_TYPE_ENTRY_FIELD_DESC;
      default:
        throw new java.lang.IllegalArgumentException("Unknown field id " + setField);
    }
  }
Find the _Fields constant that matches name, or null if its not found.
service-rpc/src/gen/thrift/gen-javabean/org/apache/hive/service/rpc/thrift/TTypeEntry.java