@org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // SCHEDULE_KEY
          return SCHEDULE_KEY;
        case 2: // ENABLED
          return ENABLED;
        case 4: // SCHEDULE
          return SCHEDULE;
        case 5: // USER
          return USER;
        case 6: // QUERY
          return QUERY;
        case 7: // NEXT_EXECUTION
          return NEXT_EXECUTION;
        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/ScheduledQuery.java