Package com.google.genai.types
Class VideoMetadata
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.VideoMetadata
Metadata describes the input video content.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
objectMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VideoMetadata.Builderbuilder()Instantiates a builder for VideoMetadata.Optional.static VideoMetadataDeserializes a JSON string to a VideoMetadata object.Optional.abstract VideoMetadata.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, toJson, toJsonNode, toJsonString
-
Constructor Details
-
VideoMetadata
public VideoMetadata()
-
-
Method Details
-
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.
-