@org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // NAME
          return NAME;
        case 2: // STATUS
          return STATUS;
        case 4: // QUERY_PARALLELISM
          return QUERY_PARALLELISM;
        case 5: // IS_SET_QUERY_PARALLELISM
          return IS_SET_QUERY_PARALLELISM;
        case 6: // DEFAULT_POOL_PATH
          return DEFAULT_POOL_PATH;
        case 7: // IS_SET_DEFAULT_POOL_PATH
          return IS_SET_DEFAULT_POOL_PATH;
        case 8: // NS
          return NS;
        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/WMNullableResourcePlan.java