public final class VideoMetadata extends GeneratedMessage implements VideoMetadataOrBuilder
Metadata describes the input video content.
Protobuf type google.cloud.aiplatform.v1.VideoMetadata
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int END_OFFSET_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int FPS_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];
Optional. The frame rate of the video sent to the model. If not specified,
the default value is 1.0. The valid range is (0.0, 24.0].
double fps = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
double |
The fps.
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public VideoMetadata.Builder newBuilderForType()
protected VideoMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public VideoMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides