Class CompletionStats

  • All Implemented Interfaces:

    
    public abstract class CompletionStats
    extends JsonSerializable
                        

    Success and error statistics of processing multiple entities (for example, DataItems or structured data rows) in batch. This data type is not supported in Gemini API.

    • Constructor Detail

      • CompletionStats

        CompletionStats()
    • Method Detail

      • failedCount

         abstract Optional<Long> failedCount()

        Output only. The number of entities for which any error was encountered.

      • incompleteCount

         abstract Optional<Long> incompleteCount()

        Output only. In cases when enough errors are encountered a job, pipeline, or operation may be failed as a whole. Below is the number of entities for which the processing had not been finished (either in successful or failed state). Set to -1 if the number is unknown (for example, the operation failed before the total entity number could be collected).

      • successfulForecastPointCount

         abstract Optional<Long> successfulForecastPointCount()

        Output only. The number of the successful forecast points that are generated by the forecasting model. This is ONLY used by the forecasting batch prediction.