public static final class VideoMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<VideoMetadata.Builder> implements VideoMetadataOrBuilder
Metadata describes the input video content.Protobuf type
google.cloud.aiplatform.v1.VideoMetadata| Modifier and Type | Method and Description |
|---|---|
VideoMetadata |
build() |
VideoMetadata |
buildPartial() |
VideoMetadata.Builder |
clear() |
VideoMetadata.Builder |
clearEndOffset()
Optional.
|
VideoMetadata.Builder |
clearFps()
Optional.
|
VideoMetadata.Builder |
clearStartOffset()
Optional.
|
VideoMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Duration |
getEndOffset()
Optional.
|
com.google.protobuf.Duration.Builder |
getEndOffsetBuilder()
Optional.
|
com.google.protobuf.DurationOrBuilder |
getEndOffsetOrBuilder()
Optional.
|
double |
getFps()
Optional.
|
com.google.protobuf.Duration |
getStartOffset()
Optional.
|
com.google.protobuf.Duration.Builder |
getStartOffsetBuilder()
Optional.
|
com.google.protobuf.DurationOrBuilder |
getStartOffsetOrBuilder()
Optional.
|
boolean |
hasEndOffset()
Optional.
|
boolean |
hasStartOffset()
Optional.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VideoMetadata.Builder |
mergeEndOffset(com.google.protobuf.Duration value)
Optional.
|
VideoMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VideoMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
VideoMetadata.Builder |
mergeFrom(VideoMetadata other) |
VideoMetadata.Builder |
mergeStartOffset(com.google.protobuf.Duration value)
Optional.
|
VideoMetadata.Builder |
setEndOffset(com.google.protobuf.Duration.Builder builderForValue)
Optional.
|
VideoMetadata.Builder |
setEndOffset(com.google.protobuf.Duration value)
Optional.
|
VideoMetadata.Builder |
setFps(double value)
Optional.
|
VideoMetadata.Builder |
setStartOffset(com.google.protobuf.Duration.Builder builderForValue)
Optional.
|
VideoMetadata.Builder |
setStartOffset(com.google.protobuf.Duration value)
Optional.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<VideoMetadata.Builder>public VideoMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<VideoMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<VideoMetadata.Builder>public VideoMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VideoMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VideoMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VideoMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VideoMetadata.Builder>public VideoMetadata.Builder mergeFrom(VideoMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<VideoMetadata.Builder>public VideoMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VideoMetadata.Builder>IOExceptionpublic boolean hasStartOffset()
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
hasStartOffset in interface VideoMetadataOrBuilderpublic com.google.protobuf.Duration getStartOffset()
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
getStartOffset in interface VideoMetadataOrBuilderpublic VideoMetadata.Builder setStartOffset(com.google.protobuf.Duration value)
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
public VideoMetadata.Builder setStartOffset(com.google.protobuf.Duration.Builder builderForValue)
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
public VideoMetadata.Builder mergeStartOffset(com.google.protobuf.Duration value)
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
public VideoMetadata.Builder clearStartOffset()
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.Duration.Builder getStartOffsetBuilder()
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.DurationOrBuilder getStartOffsetOrBuilder()
Optional. The start offset of the video.
.google.protobuf.Duration start_offset = 1 [(.google.api.field_behavior) = OPTIONAL];
getStartOffsetOrBuilder in interface VideoMetadataOrBuilderpublic boolean hasEndOffset()
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
hasEndOffset in interface VideoMetadataOrBuilderpublic com.google.protobuf.Duration getEndOffset()
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
getEndOffset in interface VideoMetadataOrBuilderpublic VideoMetadata.Builder setEndOffset(com.google.protobuf.Duration value)
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
public VideoMetadata.Builder setEndOffset(com.google.protobuf.Duration.Builder builderForValue)
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
public VideoMetadata.Builder mergeEndOffset(com.google.protobuf.Duration value)
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
public VideoMetadata.Builder clearEndOffset()
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.Duration.Builder getEndOffsetBuilder()
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
public com.google.protobuf.DurationOrBuilder getEndOffsetOrBuilder()
Optional. The end offset of the video.
.google.protobuf.Duration end_offset = 2 [(.google.api.field_behavior) = OPTIONAL];
getEndOffsetOrBuilder in interface VideoMetadataOrBuilderpublic double getFps()
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];getFps in interface VideoMetadataOrBuilderpublic VideoMetadata.Builder setFps(double value)
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];value - The fps to set.public VideoMetadata.Builder clearFps()
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];Copyright © 2026 Google LLC. All rights reserved.