@org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // DBNAME
          return DBNAME;
        case 2: // TABLENAME
          return TABLENAME;
        case 3: // PARTITIONNAME
          return PARTITIONNAME;
        case 4: // TYPE
          return TYPE;
        case 5: // RUNAS
          return RUNAS;
        case 6: // PROPERTIES
          return PROPERTIES;
        case 7: // INITIATOR_ID
          return INITIATOR_ID;
        case 8: // INITIATOR_VERSION
          return INITIATOR_VERSION;
        case 9: // POOL_NAME
          return POOL_NAME;
        case 10: // NUMBER_OF_BUCKETS
          return NUMBER_OF_BUCKETS;
        case 11: // ORDER_BY_CLAUSE
          return ORDER_BY_CLAUSE;
        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/CompactionRequest.java