public static final class VideoThumbnail.Builder extends GeneratedMessageV3.Builder<VideoThumbnail.Builder> implements VideoThumbnailOrBuilder
Container of information of a video thumbnail.
Protobuf type google.cloud.datalabeling.v1beta1.VideoThumbnail
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoThumbnail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VideoThumbnail build()
buildPartial()
public VideoThumbnail buildPartial()
clear()
public VideoThumbnail.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public VideoThumbnail.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoThumbnail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearThumbnail()
public VideoThumbnail.Builder clearThumbnail()
A byte string of the video frame.
bytes thumbnail = 1;
clearTimeOffset()
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;
clone()
public VideoThumbnail.Builder clone()
Overrides
getDefaultInstanceForType()
public VideoThumbnail getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getThumbnail()
public ByteString getThumbnail()
A byte string of the video frame.
bytes thumbnail = 1;
getTimeOffset()
public 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;
Returns |
---|
Type | Description |
Duration | The timeOffset.
|
getTimeOffsetBuilder()
public 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;
getTimeOffsetOrBuilder()
public 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;
hasTimeOffset()
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;
Returns |
---|
Type | Description |
boolean | Whether the timeOffset field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(VideoThumbnail other)
public VideoThumbnail.Builder mergeFrom(VideoThumbnail other)
public VideoThumbnail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VideoThumbnail.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeTimeOffset(Duration value)
public VideoThumbnail.Builder mergeTimeOffset(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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoThumbnail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public VideoThumbnail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoThumbnail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setThumbnail(ByteString value)
public VideoThumbnail.Builder setThumbnail(ByteString value)
A byte string of the video frame.
bytes thumbnail = 1;
Parameter |
---|
Name | Description |
value | ByteString
The thumbnail to set.
|
setTimeOffset(Duration value)
public VideoThumbnail.Builder setTimeOffset(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;
setTimeOffset(Duration.Builder builderForValue)
public VideoThumbnail.Builder setTimeOffset(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;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoThumbnail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides