Class VideoMetadata (3.33.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
TypeDescription
int

START_OFFSET_FIELD_NUMBER

public static final int START_OFFSET_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VideoMetadata getDefaultInstance()
Returns
TypeDescription
VideoMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VideoMetadata.Builder newBuilder()
Returns
TypeDescription
VideoMetadata.Builder

newBuilder(VideoMetadata prototype)

public static VideoMetadata.Builder newBuilder(VideoMetadata prototype)
Parameter
NameDescription
prototypeVideoMetadata
Returns
TypeDescription
VideoMetadata.Builder

parseDelimitedFrom(InputStream input)

public static VideoMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VideoMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VideoMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VideoMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VideoMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VideoMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VideoMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VideoMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VideoMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VideoMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VideoMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VideoMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VideoMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VideoMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VideoMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VideoMetadata> parser()
Returns
TypeDescription
Parser<VideoMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VideoMetadata getDefaultInstanceForType()
Returns
TypeDescription
VideoMetadata

getEndOffset()

public Duration getEndOffset()

Optional. The end offset of the video.

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

Returns
TypeDescription
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
TypeDescription
DurationOrBuilder

getParserForType()

public Parser<VideoMetadata> getParserForType()
Returns
TypeDescription
Parser<VideoMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

hasEndOffset()

public boolean hasEndOffset()

Optional. The end offset of the video.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the startOffset field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VideoMetadata.Builder newBuilderForType()
Returns
TypeDescription
VideoMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VideoMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VideoMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VideoMetadata.Builder toBuilder()
Returns
TypeDescription
VideoMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException