Package com.google.genai.types
Class BatchJobSource.Builder
java.lang.Object
com.google.genai.types.BatchJobSource.Builder
- Enclosing class:
- BatchJobSource
Builder for BatchJobSource.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BatchJobSource.BuilderbigqueryUri(String bigqueryUri) Setter for bigqueryUri.abstract BatchJobSourcebuild()Clears the value of bigqueryUri field.Clears the value of fileName field.Clears the value of format field.Clears the value of gcsUri field.Clears the value of inlinedRequests field.abstract BatchJobSource.BuilderSetter for fileName.abstract BatchJobSource.BuilderSetter for format.Setter for gcsUri.abstract BatchJobSource.BuilderSetter for gcsUri.inlinedRequests(InlinedRequest... inlinedRequests) Setter for inlinedRequests.inlinedRequests(InlinedRequest.Builder... inlinedRequestsBuilders) Setter for inlinedRequests builder.abstract BatchJobSource.BuilderinlinedRequests(List<InlinedRequest> inlinedRequests) Setter for inlinedRequests.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
format
Setter for format.format: Storage format of the input files. Must be one of: 'jsonl', 'bigquery'.
-
clearFormat
Clears the value of format field. -
gcsUri
Setter for gcsUri.gcsUri: The Google Cloud Storage URIs to input files.
-
gcsUri
Setter for gcsUri.gcsUri: The Google Cloud Storage URIs to input files.
-
clearGcsUri
Clears the value of gcsUri field. -
bigqueryUri
Setter for bigqueryUri.bigqueryUri: The BigQuery URI to input table.
-
clearBigqueryUri
Clears the value of bigqueryUri field. -
fileName
Setter for fileName.fileName: The Gemini Developer API's file resource name of the input data (e.g. "files/12345").
-
clearFileName
Clears the value of fileName field. -
inlinedRequests
Setter for inlinedRequests.inlinedRequests: The Gemini Developer API's inlined input data to run batch job.
-
inlinedRequests
@CanIgnoreReturnValue public BatchJobSource.Builder inlinedRequests(InlinedRequest... inlinedRequests) Setter for inlinedRequests.inlinedRequests: The Gemini Developer API's inlined input data to run batch job.
-
inlinedRequests
@CanIgnoreReturnValue public BatchJobSource.Builder inlinedRequests(InlinedRequest.Builder... inlinedRequestsBuilders) Setter for inlinedRequests builder.inlinedRequests: The Gemini Developer API's inlined input data to run batch job.
-
clearInlinedRequests
Clears the value of inlinedRequests field. -
build
-