public static final class VideoThumbnail.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VideoThumbnail.Builder> implements VideoThumbnailOrBuilder
Container of information of a video thumbnail.Protobuf type
google.cloud.datalabeling.v1beta1.VideoThumbnail| Modifier and Type | Method and Description |
|---|---|
VideoThumbnail.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VideoThumbnail |
build() |
VideoThumbnail |
buildPartial() |
VideoThumbnail.Builder |
clear() |
VideoThumbnail.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VideoThumbnail.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VideoThumbnail.Builder |
clearThumbnail()
A byte string of the video frame.
|
VideoThumbnail.Builder |
clearTimeOffset()
Time offset relative to the beginning of the video, corresponding to the
video frame where the thumbnail has been extracted from.
|
VideoThumbnail.Builder |
clone() |
VideoThumbnail |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getThumbnail()
A byte string of the video frame.
|
com.google.protobuf.Duration |
getTimeOffset()
Time offset relative to the beginning of the video, corresponding to the
video frame where the thumbnail has been extracted from.
|
com.google.protobuf.Duration.Builder |
getTimeOffsetBuilder()
Time offset relative to the beginning of the video, corresponding to the
video frame where the thumbnail has been extracted from.
|
com.google.protobuf.DurationOrBuilder |
getTimeOffsetOrBuilder()
Time offset relative to the beginning of the video, corresponding to the
video frame where the thumbnail has been extracted from.
|
boolean |
hasTimeOffset()
Time offset relative to the beginning of the video, corresponding to the
video frame where the thumbnail has been extracted from.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VideoThumbnail.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VideoThumbnail.Builder |
mergeFrom(com.google.protobuf.Message other) |
VideoThumbnail.Builder |
mergeFrom(VideoThumbnail other) |
VideoThumbnail.Builder |
mergeTimeOffset(com.google.protobuf.Duration value)
Time offset relative to the beginning of the video, corresponding to the
video frame where the thumbnail has been extracted from.
|
VideoThumbnail.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VideoThumbnail.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VideoThumbnail.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VideoThumbnail.Builder |
setThumbnail(com.google.protobuf.ByteString value)
A byte string of the video frame.
|
VideoThumbnail.Builder |
setTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
Time offset relative to the beginning of the video, corresponding to the
video frame where the thumbnail has been extracted from.
|
VideoThumbnail.Builder |
setTimeOffset(com.google.protobuf.Duration value)
Time offset relative to the beginning of the video, corresponding to the
video frame where the thumbnail has been extracted from.
|
VideoThumbnail.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<VideoThumbnail.Builder>public VideoThumbnail.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<VideoThumbnail.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.GeneratedMessageV3.Builder<VideoThumbnail.Builder>public VideoThumbnail getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic VideoThumbnail build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic VideoThumbnail buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic VideoThumbnail.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<VideoThumbnail.Builder>public VideoThumbnail.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoThumbnail.Builder>public VideoThumbnail.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoThumbnail.Builder>public VideoThumbnail.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<VideoThumbnail.Builder>public VideoThumbnail.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoThumbnail.Builder>public VideoThumbnail.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<VideoThumbnail.Builder>public VideoThumbnail.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<VideoThumbnail.Builder>public VideoThumbnail.Builder mergeFrom(VideoThumbnail other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<VideoThumbnail.Builder>public VideoThumbnail.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<VideoThumbnail.Builder>IOExceptionpublic com.google.protobuf.ByteString getThumbnail()
A byte string of the video frame.
bytes thumbnail = 1;getThumbnail in interface VideoThumbnailOrBuilderpublic VideoThumbnail.Builder setThumbnail(com.google.protobuf.ByteString value)
A byte string of the video frame.
bytes thumbnail = 1;public VideoThumbnail.Builder clearThumbnail()
A byte string of the video frame.
bytes thumbnail = 1;public boolean hasTimeOffset()
Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from.
.google.protobuf.Duration time_offset = 2;hasTimeOffset in interface VideoThumbnailOrBuilderpublic com.google.protobuf.Duration getTimeOffset()
Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from.
.google.protobuf.Duration time_offset = 2;getTimeOffset in interface VideoThumbnailOrBuilderpublic VideoThumbnail.Builder setTimeOffset(com.google.protobuf.Duration value)
Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from.
.google.protobuf.Duration time_offset = 2;public VideoThumbnail.Builder setTimeOffset(com.google.protobuf.Duration.Builder builderForValue)
Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from.
.google.protobuf.Duration time_offset = 2;public VideoThumbnail.Builder mergeTimeOffset(com.google.protobuf.Duration value)
Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from.
.google.protobuf.Duration time_offset = 2;public VideoThumbnail.Builder clearTimeOffset()
Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from.
.google.protobuf.Duration time_offset = 2;public com.google.protobuf.Duration.Builder getTimeOffsetBuilder()
Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from.
.google.protobuf.Duration time_offset = 2;public com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder()
Time offset relative to the beginning of the video, corresponding to the video frame where the thumbnail has been extracted from.
.google.protobuf.Duration time_offset = 2;getTimeOffsetOrBuilder in interface VideoThumbnailOrBuilderpublic final VideoThumbnail.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VideoThumbnail.Builder>public final VideoThumbnail.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<VideoThumbnail.Builder>Copyright © 2019 Google LLC. All rights reserved.