Package com.google.genai.types
Class BatchJob
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.BatchJob
Config for batches.create return value.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BatchJob.Builderbuilder()Instantiates a builder for BatchJob.The time when the BatchJob was created.abstract Optional<BatchJobDestination>dest()Configuration for the output data.The display name of the BatchJob.endTime()The time when the BatchJob was completed.error()Output only.static BatchJobDeserializes a JSON string to a BatchJob object.model()The name of the model that produces the predictions via the BatchJob.name()The resource name of the BatchJob.abstract Optional<BatchJobSource>src()Configuration for the input data.Output only.state()The state of the BatchJob.abstract BatchJob.BuilderCreates a builder with the same values as this instance.The time when the BatchJob was last updated.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
BatchJob
public BatchJob()
-
-
Method Details
-
name
The resource name of the BatchJob. Output only.". -
displayName
The display name of the BatchJob. -
state
The state of the BatchJob. -
error
Output only. Only populated when the job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED. -
createTime
The time when the BatchJob was created. -
startTime
Output only. Time when the Job for the first time entered the `JOB_STATE_RUNNING` state. -
endTime
The time when the BatchJob was completed. -
updateTime
The time when the BatchJob was last updated. -
model
The name of the model that produces the predictions via the BatchJob. -
src
Configuration for the input data. -
dest
Configuration for the output data. -
builder
Instantiates a builder for BatchJob. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a BatchJob object.
-