@org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // VALUES
          return VALUES;
        case 2: // DB_NAME
          return DB_NAME;
        case 3: // TABLE_NAME
          return TABLE_NAME;
        case 4: // CREATE_TIME
          return CREATE_TIME;
        case 5: // LAST_ACCESS_TIME
          return LAST_ACCESS_TIME;
        case 6: // SD
          return SD;
        case 7: // PARAMETERS
          return PARAMETERS;
        case 8: // PRIVILEGES
          return PRIVILEGES;
        case 9: // CAT_NAME
          return CAT_NAME;
        case 10: // WRITE_ID
          return WRITE_ID;
        case 11: // IS_STATS_COMPLIANT
          return IS_STATS_COMPLIANT;
        case 12: // COL_STATS
          return COL_STATS;
        case 13: // FILE_METADATA
          return FILE_METADATA;
        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/Partition.java