Class VideoPayload.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VideoPayload.Builder>
com.google.cloud.datalabeling.v1beta1.VideoPayload.Builder
- All Implemented Interfaces:
VideoPayloadOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VideoPayload
public static final class VideoPayload.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VideoPayload.Builder>
implements VideoPayloadOrBuilder
Container of information of a video.Protobuf type
google.cloud.datalabeling.v1beta1.VideoPayload-
Method Summary
Modifier and TypeMethodDescriptionaddAllVideoThumbnails(Iterable<? extends VideoThumbnail> values) The list of video thumbnails.addVideoThumbnails(int index, VideoThumbnail value) The list of video thumbnails.addVideoThumbnails(int index, VideoThumbnail.Builder builderForValue) The list of video thumbnails.addVideoThumbnails(VideoThumbnail value) The list of video thumbnails.addVideoThumbnails(VideoThumbnail.Builder builderForValue) The list of video thumbnails.The list of video thumbnails.addVideoThumbnailsBuilder(int index) The list of video thumbnails.build()clear()FPS of the video.Video format.Signed uri of the video file in the service bucket.The list of video thumbnails.Video uri from the user bucket.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorfloatFPS of the video.Video format.com.google.protobuf.ByteStringVideo format.Signed uri of the video file in the service bucket.com.google.protobuf.ByteStringSigned uri of the video file in the service bucket.getVideoThumbnails(int index) The list of video thumbnails.getVideoThumbnailsBuilder(int index) The list of video thumbnails.The list of video thumbnails.intThe list of video thumbnails.The list of video thumbnails.getVideoThumbnailsOrBuilder(int index) The list of video thumbnails.List<? extends VideoThumbnailOrBuilder>The list of video thumbnails.Video uri from the user bucket.com.google.protobuf.ByteStringVideo uri from the user bucket.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(VideoPayload other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeVideoThumbnails(int index) The list of video thumbnails.setFrameRate(float value) FPS of the video.setMimeType(String value) Video format.setMimeTypeBytes(com.google.protobuf.ByteString value) Video format.setSignedUri(String value) Signed uri of the video file in the service bucket.setSignedUriBytes(com.google.protobuf.ByteString value) Signed uri of the video file in the service bucket.setVideoThumbnails(int index, VideoThumbnail value) The list of video thumbnails.setVideoThumbnails(int index, VideoThumbnail.Builder builderForValue) The list of video thumbnails.setVideoUri(String value) Video uri from the user bucket.setVideoUriBytes(com.google.protobuf.ByteString value) Video uri from the user bucket.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VideoPayload.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VideoPayload.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<VideoPayload.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VideoPayload.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VideoPayload.Builder>
-
mergeFrom
public VideoPayload.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VideoPayload.Builder>- Throws:
IOException
-
getMimeType
Video format.
string mime_type = 1;- Specified by:
getMimeTypein interfaceVideoPayloadOrBuilder- Returns:
- The mimeType.
-
getMimeTypeBytes
public com.google.protobuf.ByteString getMimeTypeBytes()Video format.
string mime_type = 1;- Specified by:
getMimeTypeBytesin interfaceVideoPayloadOrBuilder- Returns:
- The bytes for mimeType.
-
setMimeType
Video format.
string mime_type = 1;- Parameters:
value- The mimeType to set.- Returns:
- This builder for chaining.
-
clearMimeType
Video format.
string mime_type = 1;- Returns:
- This builder for chaining.
-
setMimeTypeBytes
Video format.
string mime_type = 1;- Parameters:
value- The bytes for mimeType to set.- Returns:
- This builder for chaining.
-
getVideoUri
Video uri from the user bucket.
string video_uri = 2;- Specified by:
getVideoUriin interfaceVideoPayloadOrBuilder- Returns:
- The videoUri.
-
getVideoUriBytes
public com.google.protobuf.ByteString getVideoUriBytes()Video uri from the user bucket.
string video_uri = 2;- Specified by:
getVideoUriBytesin interfaceVideoPayloadOrBuilder- Returns:
- The bytes for videoUri.
-
setVideoUri
Video uri from the user bucket.
string video_uri = 2;- Parameters:
value- The videoUri to set.- Returns:
- This builder for chaining.
-
clearVideoUri
Video uri from the user bucket.
string video_uri = 2;- Returns:
- This builder for chaining.
-
setVideoUriBytes
Video uri from the user bucket.
string video_uri = 2;- Parameters:
value- The bytes for videoUri to set.- Returns:
- This builder for chaining.
-
getVideoThumbnailsList
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;- Specified by:
getVideoThumbnailsListin interfaceVideoPayloadOrBuilder
-
getVideoThumbnailsCount
public int getVideoThumbnailsCount()The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;- Specified by:
getVideoThumbnailsCountin interfaceVideoPayloadOrBuilder
-
getVideoThumbnails
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;- Specified by:
getVideoThumbnailsin interfaceVideoPayloadOrBuilder
-
setVideoThumbnails
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3; -
setVideoThumbnails
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3; -
addVideoThumbnails
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3; -
addVideoThumbnails
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3; -
addVideoThumbnails
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3; -
addVideoThumbnails
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3; -
addAllVideoThumbnails
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3; -
clearVideoThumbnails
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3; -
removeVideoThumbnails
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3; -
getVideoThumbnailsBuilder
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3; -
getVideoThumbnailsOrBuilder
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;- Specified by:
getVideoThumbnailsOrBuilderin interfaceVideoPayloadOrBuilder
-
getVideoThumbnailsOrBuilderList
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;- Specified by:
getVideoThumbnailsOrBuilderListin interfaceVideoPayloadOrBuilder
-
addVideoThumbnailsBuilder
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3; -
addVideoThumbnailsBuilder
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3; -
getVideoThumbnailsBuilderList
The list of video thumbnails.
repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3; -
getFrameRate
public float getFrameRate()FPS of the video.
float frame_rate = 4;- Specified by:
getFrameRatein interfaceVideoPayloadOrBuilder- Returns:
- The frameRate.
-
setFrameRate
FPS of the video.
float frame_rate = 4;- Parameters:
value- The frameRate to set.- Returns:
- This builder for chaining.
-
clearFrameRate
FPS of the video.
float frame_rate = 4;- Returns:
- This builder for chaining.
-
getSignedUri
Signed uri of the video file in the service bucket.
string signed_uri = 5;- Specified by:
getSignedUriin interfaceVideoPayloadOrBuilder- Returns:
- The signedUri.
-
getSignedUriBytes
public com.google.protobuf.ByteString getSignedUriBytes()Signed uri of the video file in the service bucket.
string signed_uri = 5;- Specified by:
getSignedUriBytesin interfaceVideoPayloadOrBuilder- Returns:
- The bytes for signedUri.
-
setSignedUri
Signed uri of the video file in the service bucket.
string signed_uri = 5;- Parameters:
value- The signedUri to set.- Returns:
- This builder for chaining.
-
clearSignedUri
Signed uri of the video file in the service bucket.
string signed_uri = 5;- Returns:
- This builder for chaining.
-
setSignedUriBytes
Signed uri of the video file in the service bucket.
string signed_uri = 5;- Parameters:
value- The bytes for signedUri to set.- Returns:
- This builder for chaining.
-