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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoThumbnail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VideoThumbnail build()
Returns
buildPartial()
public VideoThumbnail buildPartial()
Returns
clear()
public VideoThumbnail.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public VideoThumbnail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoThumbnail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearThumbnail()
public VideoThumbnail.Builder clearThumbnail()
A byte string of the video frame.
bytes thumbnail = 1;
Returns
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;
Returns
clone()
public VideoThumbnail.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public VideoThumbnail getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getThumbnail()
public ByteString getThumbnail()
A byte string of the video frame.
bytes thumbnail = 1;
Returns
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
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;
Returns
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;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(VideoThumbnail other)
public VideoThumbnail.Builder mergeFrom(VideoThumbnail other)
Parameter
Returns
public VideoThumbnail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VideoThumbnail.Builder mergeFrom(Message other)
Parameter
Returns
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoThumbnail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public VideoThumbnail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoThumbnail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.
|
Returns
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;
Parameter
Returns
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
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoThumbnail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides