Package com.google.genai.types
Class CompletionStats.Builder
java.lang.Object
com.google.genai.types.CompletionStats.Builder
- Enclosing class:
- CompletionStats
Builder for CompletionStats.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract CompletionStatsbuild()Clears the value of failedCount field.Clears the value of incompleteCount field.Clears the value of successfulCount field.Clears the value of successfulForecastPointCount field.abstract CompletionStats.BuilderfailedCount(Long failedCount) Setter for failedCount.abstract CompletionStats.BuilderincompleteCount(Long incompleteCount) Setter for incompleteCount.abstract CompletionStats.BuildersuccessfulCount(Long successfulCount) Setter for successfulCount.abstract CompletionStats.BuildersuccessfulForecastPointCount(Long successfulForecastPointCount) Setter for successfulForecastPointCount.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
failedCount
Setter for failedCount.failedCount: Output only. The number of entities for which any error was encountered.
-
clearFailedCount
Clears the value of failedCount field. -
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
Clears the value of incompleteCount field. -
successfulCount
Setter for successfulCount.successfulCount: Output only. The number of entities that had been processed successfully.
-
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
Clears the value of successfulForecastPointCount field. -
build
-