Package com.google.genai.types
Class Video
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.Video
A generated video.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Video.Builder
builder()
Instantiates a builder for Video.static Video
Deserializes a JSON string to a Video object.mimeType()
Video encoding, for example ``video/mp4``.abstract Video.Builder
Creates a builder with the same values as this instance.uri()
Path to another storage.abstract Optional<byte[]>
Video bytes.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
Video
public Video()
-
-
Method Details
-
uri
Path to another storage. -
videoBytes
Video bytes. -
mimeType
Video encoding, for example ``video/mp4``. -
builder
Instantiates a builder for Video. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a Video object.
-