@org.apache.amoro.shade.thrift.org.apache.thrift.annotation.Nullable
    public static _Fields findByThriftId(int fieldId) {
      switch(fieldId) {
        case 1: // TASK_ID
          return TASK_ID;
        case 2: // THREAD_ID
          return THREAD_ID;
        case 3: // TASK_OUTPUT
          return TASK_OUTPUT;
        case 4: // ERROR_MESSAGE
          return ERROR_MESSAGE;
        case 5: // SUMMARY
          return SUMMARY;
        default:
          return null;
      }
    }
Find the _Fields constant that matches fieldId, or null if its not found.
amoro-common/src/main/gen-java/org/apache/amoro/api/OptimizingTaskResult.java