Class VideoContent
java.lang.Object
com.google.genai.gaos.models.interactions.VideoContent
- All Implemented Interfaces:
Content
VideoContent
A video content block.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionVideoContent(String data, VideoContentMimeType mimeType, Processing processing, MediaResolution resolution, String uri) -
Method Summary
Modifier and TypeMethodDescriptionstatic VideoContent.Builderbuilder()data()The video content.booleaninthashCode()mimeType()The mime type of the video.How the model processes this video for understanding.toString()type()uri()The URI of the video.The video content.withMimeType(VideoContentMimeType mimeType) The mime type of the video.withProcessing(Processing processing) How the model processes this video for understanding.withResolution(MediaResolution resolution) The URI of the video.
-
Constructor Details
-
VideoContent
public VideoContent(@Nullable String data, @Nullable VideoContentMimeType mimeType, @Nullable Processing processing, @Nullable MediaResolution resolution, @Nullable String uri) -
VideoContent
public VideoContent()
-
-
Method Details
-
data
The video content. -
mimeType
The mime type of the video. -
processing
How the model processes this video for understanding. -
resolution
-
type
-
uri
The URI of the video. -
builder
-
withData
The video content. -
withMimeType
The mime type of the video. -
withProcessing
How the model processes this video for understanding. -
withResolution
-
withUri
The URI of the video. -
equals
-
hashCode
public int hashCode() -
toString
-