Interface VideoThumbnailOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VideoThumbnail
,VideoThumbnail.Builder
public interface VideoThumbnailOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getThumbnail
com.google.protobuf.ByteString getThumbnail()
A byte string of the video frame.
bytes thumbnail = 1;
- Returns:
- The thumbnail.
-
hasTimeOffset
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:
- Whether the timeOffset field is set.
-
getTimeOffset
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;
- Returns:
- The timeOffset.
-
getTimeOffsetOrBuilder
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;
-
-