@org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // CAT_NAME
          return CAT_NAME;
        case 2: // DB_NAME
          return DB_NAME;
        case 3: // TBL_NAME
          return TBL_NAME;
        case 4: // PART_VALS
          return PART_VALS;
        case 5: // MAX_PARTS
          return MAX_PARTS;
        case 6: // USER_NAME
          return USER_NAME;
        case 7: // GROUP_NAMES
          return GROUP_NAMES;
        case 8: // VALID_WRITE_ID_LIST
          return VALID_WRITE_ID_LIST;
        case 9: // ID
          return ID;
        case 10: // SKIP_COLUMN_SCHEMA_FOR_PARTITION
          return SKIP_COLUMN_SCHEMA_FOR_PARTITION;
        case 11: // INCLUDE_PARAM_KEY_PATTERN
          return INCLUDE_PARAM_KEY_PATTERN;
        case 12: // EXCLUDE_PARAM_KEY_PATTERN
          return EXCLUDE_PARAM_KEY_PATTERN;
        case 13: // PART_NAMES
          return PART_NAMES;
        default:
          return null;
      }
    }
Find the _Fields constant that matches fieldId, or null if its not found.
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPartitionsPsWithAuthRequest.java