Package com.google.genai.types
Class VideoGenerationReferenceImage.Builder
java.lang.Object
com.google.genai.types.VideoGenerationReferenceImage.Builder
- Enclosing class:
- VideoGenerationReferenceImage
Builder for VideoGenerationReferenceImage.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract VideoGenerationReferenceImage
build()
Setter for image.image
(Image.Builder imageBuilder) Setter for image builder.referenceType
(VideoGenerationReferenceType referenceType) Setter for referenceType.referenceType
(VideoGenerationReferenceType.Known knownType) Setter for referenceType given a known enum.referenceType
(String referenceType) Setter for referenceType given a string.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
image
Setter for image.image: The reference image.
-
image
Setter for image builder.image: The reference image.
-
referenceType
public abstract VideoGenerationReferenceImage.Builder referenceType(VideoGenerationReferenceType referenceType) Setter for referenceType.referenceType: The type of the reference image, which defines how the reference image will be used to generate the video.
-
referenceType
@CanIgnoreReturnValue public VideoGenerationReferenceImage.Builder referenceType(VideoGenerationReferenceType.Known knownType) Setter for referenceType given a known enum.referenceType: The type of the reference image, which defines how the reference image will be used to generate the video.
-
referenceType
@CanIgnoreReturnValue public VideoGenerationReferenceImage.Builder referenceType(String referenceType) Setter for referenceType given a string.referenceType: The type of the reference image, which defines how the reference image will be used to generate the video.
-
build
-