Send feedback
Class VideoMetadata (1.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class VideoMetadata extends GeneratedMessageV3 implements VideoMetadataOrBuilder
Metadata describes the input video content.
Protobuf type google.cloud.vertexai.v1.VideoMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int END_OFFSET_FIELD_NUMBER
Field Value
Type
Description
int
public static final int START_OFFSET_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static VideoMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static VideoMetadata . Builder newBuilder ()
public static VideoMetadata . Builder newBuilder ( VideoMetadata prototype )
public static VideoMetadata parseDelimitedFrom ( InputStream input )
public static VideoMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static VideoMetadata parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static VideoMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static VideoMetadata parseFrom ( ByteString data )
public static VideoMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static VideoMetadata parseFrom ( CodedInputStream input )
public static VideoMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static VideoMetadata parseFrom ( InputStream input )
public static VideoMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static VideoMetadata parseFrom ( ByteBuffer data )
public static VideoMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<VideoMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public VideoMetadata getDefaultInstanceForType ()
public Duration getEndOffset ()
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
Duration
The endOffset.
public DurationOrBuilder getEndOffsetOrBuilder ()
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
public Parser<VideoMetadata> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public Duration getStartOffset ()
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
Duration
The startOffset.
public DurationOrBuilder getStartOffsetOrBuilder ()
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
public boolean hasEndOffset ()
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the endOffset field is set.
public boolean hasStartOffset ()
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the startOffset field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public VideoMetadata . Builder newBuilderForType ()
protected VideoMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public VideoMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]