Package com.google.genai.types
Class VideoMetadata
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.VideoMetadata
Describes how the video in the Part should be used by the model.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VideoMetadata.Builder
builder()
Instantiates a builder for VideoMetadata.Optional.fps()
The frame rate of the video sent to the model.static VideoMetadata
Deserializes a JSON string to a VideoMetadata object.Optional.abstract VideoMetadata.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
VideoMetadata
public VideoMetadata()
-
-
Method Details
-
fps
The frame rate of the video sent to the model. If not specified, the default value will be 1.0. The fps range is (0.0, 24.0]. -
endOffset
Optional. The end offset of the video. -
startOffset
Optional. The start offset of the video. -
builder
Instantiates a builder for VideoMetadata. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a VideoMetadata object.
-