Package com.google.genai.types
Class CompletionStats
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.CompletionStats
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for CompletionStats. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletionStats.Builderbuilder()Instantiates a builder for CompletionStats.Output only.static CompletionStatsDeserializes a JSON string to a CompletionStats object.Output only.Output only.Output only.abstract CompletionStats.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
setMaxReadLength, stringToJsonNode, toJson
-
Constructor Details
-
CompletionStats
public CompletionStats()
-
-
Method Details
-
failedCount
Output only. The number of entities for which any error was encountered. -
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). -
successfulCount
Output only. The number of entities that had been processed successfully. -
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. -
builder
Instantiates a builder for CompletionStats. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a CompletionStats object.
-