Class VideoMetadata (3.46.0)

public final class VideoMetadata extends GeneratedMessageV3 implements VideoMetadataOrBuilder

Metadata describes the input video content.

Protobuf type google.cloud.aiplatform.v1.VideoMetadata

Static Fields

END_OFFSET_FIELD_NUMBER

public static final int END_OFFSET_FIELD_NUMBER
Field Value
Type Description
int

START_OFFSET_FIELD_NUMBER

public static final int START_OFFSET_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VideoMetadata getDefaultInstance()
Returns
Type Description
VideoMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VideoMetadata.Builder newBuilder()
Returns
Type Description
VideoMetadata.Builder

newBuilder(VideoMetadata prototype)

public static VideoMetadata.Builder newBuilder(VideoMetadata prototype)
Parameter
Name Description
prototype VideoMetadata
Returns
Type Description
VideoMetadata.Builder

parseDelimitedFrom(InputStream input)

public static VideoMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VideoMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VideoMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VideoMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VideoMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VideoMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VideoMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VideoMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VideoMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VideoMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VideoMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VideoMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VideoMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VideoMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VideoMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VideoMetadata> parser()
Returns
Type Description
Parser<VideoMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public VideoMetadata getDefaultInstanceForType()
Returns
Type Description
VideoMetadata

getEndOffset()

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.

getEndOffsetOrBuilder()

public DurationOrBuilder getEndOffsetOrBuilder()

Optional. The end offset of the video.

.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getParserForType()

public Parser<VideoMetadata> getParserForType()
Returns
Type Description
Parser<VideoMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStartOffset()

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.

getStartOffsetOrBuilder()

public DurationOrBuilder getStartOffsetOrBuilder()

Optional. The start offset of the video.

.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

hasEndOffset()

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.

hasStartOffset()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VideoMetadata.Builder newBuilderForType()
Returns
Type Description
VideoMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VideoMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VideoMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VideoMetadata.Builder toBuilder()
Returns
Type Description
VideoMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException