Package com.google.genai.types
Class VideoResponseFormat.Builder
java.lang.Object
com.google.genai.types.VideoResponseFormat.Builder
- Enclosing class:
- VideoResponseFormat
Builder for VideoResponseFormat.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract VideoResponseFormat.BuilderaspectRatio(AspectRatio aspectRatio) Setter for aspectRatio.aspectRatio(AspectRatio.Known knownType) Setter for aspectRatio given a known enum.aspectRatio(String aspectRatio) Setter for aspectRatio given a string.abstract VideoResponseFormatbuild()Clears the value of aspectRatio field.Clears the value of delivery field.Clears the value of duration field.Clears the value of gcsUri field.Clears the value of resolution field.abstract VideoResponseFormat.BuilderSetter for delivery.delivery(Delivery.Known knownType) Setter for delivery given a known enum.Setter for delivery given a string.abstract VideoResponseFormat.BuilderSetter for duration.abstract VideoResponseFormat.BuilderSetter for gcsUri.abstract VideoResponseFormat.Builderresolution(String resolution) Setter for resolution.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aspectRatio
Setter for aspectRatio.aspectRatio: The aspect ratio for the video output.
-
clearAspectRatio
Clears the value of aspectRatio field. -
aspectRatio
Setter for aspectRatio given a known enum.aspectRatio: The aspect ratio for the video output.
-
aspectRatio
Setter for aspectRatio given a string.aspectRatio: The aspect ratio for the video output.
-
delivery
Setter for delivery.delivery: Optional. Delivery mode for the generated content.
-
clearDelivery
Clears the value of delivery field. -
delivery
Setter for delivery given a known enum.delivery: Optional. Delivery mode for the generated content.
-
delivery
Setter for delivery given a string.delivery: Optional. Delivery mode for the generated content.
-
duration
Setter for duration.duration: Optional. The duration for the video output.
-
clearDuration
Clears the value of duration field. -
gcsUri
Setter for gcsUri.gcsUri: Optional. The Google Cloud Storage URI to store the video output. Required for Vertex if delivery is URI.
-
clearGcsUri
Clears the value of gcsUri field. -
resolution
Setter for resolution.resolution: Optional. The video output resolution. Supported values: "360p", "720p", "1080p", "4k".
-
clearResolution
Clears the value of resolution field. -
build
-