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, String name, 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.name()A user-defined name for this content block.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.A user-defined name for this content block.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 String name, @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. -
name
A user-defined name for this content block. Can be referenced by the model in the final response. -
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. -
withName
A user-defined name for this content block. Can be referenced by the model in the final response. -
withProcessing
How the model processes this video for understanding. -
withResolution
-
withUri
The URI of the video. -
equals
-
hashCode
public int hashCode() -
toString
-