Package com.google.genai.types
Class GetBatchJobParameters
-
- All Implemented Interfaces:
@InternalApi() public abstract class GetBatchJobParameters extends JsonSerializable
Config for batches.get parameters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classGetBatchJobParameters.BuilderBuilder for GetBatchJobParameters.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description GetBatchJobParameters()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>name()A fully-qualified BatchJob resource name or ID. abstract Optional<GetBatchJobConfig>config()Optional parameters for the request. static GetBatchJobParameters.Builderbuilder()Instantiates a builder for GetBatchJobParameters. abstract GetBatchJobParameters.BuildertoBuilder()Creates a builder with the same values as this instance. static GetBatchJobParametersfromJson(String jsonString)Deserializes a JSON string to a GetBatchJobParameters object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
name
abstract Optional<String> name()
A fully-qualified BatchJob resource name or ID. Example: "projects/.../locations/.../batchPredictionJobs/456" or "456" when project and location are initialized in the client.
-
config
abstract Optional<GetBatchJobConfig> config()
Optional parameters for the request.
-
builder
static GetBatchJobParameters.Builder builder()
Instantiates a builder for GetBatchJobParameters.
-
toBuilder
abstract GetBatchJobParameters.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static GetBatchJobParameters fromJson(String jsonString)
Deserializes a JSON string to a GetBatchJobParameters object.
-
-
-
-