Class CompletionStats.Builder

java.lang.Object
com.google.genai.types.CompletionStats.Builder
Enclosing class:
CompletionStats

public abstract static class CompletionStats.Builder extends Object
Builder for CompletionStats.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • failedCount

      public abstract CompletionStats.Builder failedCount(Long failedCount)
      Setter for failedCount.

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

    • clearFailedCount

      @CanIgnoreReturnValue public CompletionStats.Builder clearFailedCount()
      Clears the value of failedCount field.
    • incompleteCount

      public abstract CompletionStats.Builder incompleteCount(Long incompleteCount)
      Setter for incompleteCount.

      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).

    • clearIncompleteCount

      @CanIgnoreReturnValue public CompletionStats.Builder clearIncompleteCount()
      Clears the value of incompleteCount field.
    • successfulCount

      public abstract CompletionStats.Builder successfulCount(Long successfulCount)
      Setter for successfulCount.

      successfulCount: Output only. The number of entities that had been processed successfully.

    • clearSuccessfulCount

      @CanIgnoreReturnValue public CompletionStats.Builder clearSuccessfulCount()
      Clears the value of successfulCount field.
    • successfulForecastPointCount

      public abstract CompletionStats.Builder successfulForecastPointCount(Long successfulForecastPointCount)
      Setter for successfulForecastPointCount.

      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.

    • clearSuccessfulForecastPointCount

      @CanIgnoreReturnValue public CompletionStats.Builder clearSuccessfulForecastPointCount()
      Clears the value of successfulForecastPointCount field.
    • build

      public abstract CompletionStats build()