Class BatchJobDestination.Builder
-
- All Implemented Interfaces:
public abstract class BatchJobDestination.BuilderBuilder for BatchJobDestination.
-
-
Constructor Summary
Constructors Constructor Description BatchJobDestination.Builder()
-
Method Summary
-
-
Method Detail
-
format
abstract BatchJobDestination.Builder format(String format)
Setter for format.
format: Storage format of the output files. Must be one of: 'jsonl', 'bigquery', 'vertex-dataset'.
-
clearFormat
@CanIgnoreReturnValue() BatchJobDestination.Builder clearFormat()
Clears the value of format field.
-
gcsUri
abstract BatchJobDestination.Builder gcsUri(String gcsUri)
Setter for gcsUri.
gcsUri: The Google Cloud Storage URI to the output file.
-
clearGcsUri
@CanIgnoreReturnValue() BatchJobDestination.Builder clearGcsUri()
Clears the value of gcsUri field.
-
bigqueryUri
abstract BatchJobDestination.Builder bigqueryUri(String bigqueryUri)
Setter for bigqueryUri.
bigqueryUri: The BigQuery URI to the output table.
-
clearBigqueryUri
@CanIgnoreReturnValue() BatchJobDestination.Builder clearBigqueryUri()
Clears the value of bigqueryUri field.
-
fileName
abstract BatchJobDestination.Builder fileName(String fileName)
Setter for fileName.
fileName: The Gemini Developer API's file resource name of the output data (e.g. "files/12345"). The file will be a JSONL file with a single response per line. The responses will be GenerateContentResponse messages formatted as JSON. The responses will be written in the same order as the input requests.
-
clearFileName
@CanIgnoreReturnValue() BatchJobDestination.Builder clearFileName()
Clears the value of fileName field.
-
inlinedResponses
abstract BatchJobDestination.Builder inlinedResponses(List<InlinedResponse> inlinedResponses)
Setter for inlinedResponses.
inlinedResponses: The responses to the requests in the batch. Returned when the batch was built using inlined requests. The responses will be in the same order as the input requests.
-
inlinedResponses
@CanIgnoreReturnValue() BatchJobDestination.Builder inlinedResponses(Array<InlinedResponse> inlinedResponses)
Setter for inlinedResponses.
inlinedResponses: The responses to the requests in the batch. Returned when the batch was built using inlined requests. The responses will be in the same order as the input requests.
-
inlinedResponses
@CanIgnoreReturnValue() BatchJobDestination.Builder inlinedResponses(Array<InlinedResponse.Builder> inlinedResponsesBuilders)
Setter for inlinedResponses builder.
inlinedResponses: The responses to the requests in the batch. Returned when the batch was built using inlined requests. The responses will be in the same order as the input requests.
-
clearInlinedResponses
@CanIgnoreReturnValue() BatchJobDestination.Builder clearInlinedResponses()
Clears the value of inlinedResponses field.
-
inlinedEmbedContentResponses
abstract BatchJobDestination.Builder inlinedEmbedContentResponses(List<InlinedEmbedContentResponse> inlinedEmbedContentResponses)
Setter for inlinedEmbedContentResponses.
inlinedEmbedContentResponses: The responses to the requests in the batch. Returned when the batch was built using inlined requests. The responses will be in the same order as the input requests.
-
inlinedEmbedContentResponses
@CanIgnoreReturnValue() BatchJobDestination.Builder inlinedEmbedContentResponses(Array<InlinedEmbedContentResponse> inlinedEmbedContentResponses)
Setter for inlinedEmbedContentResponses.
inlinedEmbedContentResponses: The responses to the requests in the batch. Returned when the batch was built using inlined requests. The responses will be in the same order as the input requests.
-
inlinedEmbedContentResponses
@CanIgnoreReturnValue() BatchJobDestination.Builder inlinedEmbedContentResponses(Array<InlinedEmbedContentResponse.Builder> inlinedEmbedContentResponsesBuilders)
Setter for inlinedEmbedContentResponses builder.
inlinedEmbedContentResponses: The responses to the requests in the batch. Returned when the batch was built using inlined requests. The responses will be in the same order as the input requests.
-
clearInlinedEmbedContentResponses
@CanIgnoreReturnValue() BatchJobDestination.Builder clearInlinedEmbedContentResponses()
Clears the value of inlinedEmbedContentResponses field.
-
vertexDataset
abstract BatchJobDestination.Builder vertexDataset(VertexMultimodalDatasetDestination vertexDataset)
Setter for vertexDataset.
vertexDataset: This field is experimental and may change in future versions. The Vertex AI dataset destination.
-
vertexDataset
@CanIgnoreReturnValue() BatchJobDestination.Builder vertexDataset(VertexMultimodalDatasetDestination.Builder vertexDatasetBuilder)
Setter for vertexDataset builder.
vertexDataset: This field is experimental and may change in future versions. The Vertex AI dataset destination.
-
clearVertexDataset
@CanIgnoreReturnValue() BatchJobDestination.Builder clearVertexDataset()
Clears the value of vertexDataset field.
-
build
abstract BatchJobDestination build()
-
-
-
-