Class VideoPayload.Builder (0.136.0)

public static final class VideoPayload.Builder extends GeneratedMessageV3.Builder<VideoPayload.Builder> implements VideoPayloadOrBuilder

Container of information of a video.

Protobuf type google.cloud.datalabeling.v1beta1.VideoPayload

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllVideoThumbnails(Iterable<? extends VideoThumbnail> values)

public VideoPayload.Builder addAllVideoThumbnails(Iterable<? extends VideoThumbnail> values)

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.datalabeling.v1beta1.VideoThumbnail>
Returns
TypeDescription
VideoPayload.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoPayload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VideoPayload.Builder
Overrides

addVideoThumbnails(VideoThumbnail value)

public VideoPayload.Builder addVideoThumbnails(VideoThumbnail value)

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Parameter
NameDescription
valueVideoThumbnail
Returns
TypeDescription
VideoPayload.Builder

addVideoThumbnails(VideoThumbnail.Builder builderForValue)

public VideoPayload.Builder addVideoThumbnails(VideoThumbnail.Builder builderForValue)

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Parameter
NameDescription
builderForValueVideoThumbnail.Builder
Returns
TypeDescription
VideoPayload.Builder

addVideoThumbnails(int index, VideoThumbnail value)

public VideoPayload.Builder addVideoThumbnails(int index, VideoThumbnail value)

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Parameters
NameDescription
indexint
valueVideoThumbnail
Returns
TypeDescription
VideoPayload.Builder

addVideoThumbnails(int index, VideoThumbnail.Builder builderForValue)

public VideoPayload.Builder addVideoThumbnails(int index, VideoThumbnail.Builder builderForValue)

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Parameters
NameDescription
indexint
builderForValueVideoThumbnail.Builder
Returns
TypeDescription
VideoPayload.Builder

addVideoThumbnailsBuilder()

public VideoThumbnail.Builder addVideoThumbnailsBuilder()

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Returns
TypeDescription
VideoThumbnail.Builder

addVideoThumbnailsBuilder(int index)

public VideoThumbnail.Builder addVideoThumbnailsBuilder(int index)

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoThumbnail.Builder

build()

public VideoPayload build()
Returns
TypeDescription
VideoPayload

buildPartial()

public VideoPayload buildPartial()
Returns
TypeDescription
VideoPayload

clear()

public VideoPayload.Builder clear()
Returns
TypeDescription
VideoPayload.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VideoPayload.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VideoPayload.Builder
Overrides

clearFrameRate()

public VideoPayload.Builder clearFrameRate()

FPS of the video.

float frame_rate = 4;

Returns
TypeDescription
VideoPayload.Builder

This builder for chaining.

clearMimeType()

public VideoPayload.Builder clearMimeType()

Video format.

string mime_type = 1;

Returns
TypeDescription
VideoPayload.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoPayload.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VideoPayload.Builder
Overrides

clearSignedUri()

public VideoPayload.Builder clearSignedUri()

Signed uri of the video file in the service bucket.

string signed_uri = 5;

Returns
TypeDescription
VideoPayload.Builder

This builder for chaining.

clearVideoThumbnails()

public VideoPayload.Builder clearVideoThumbnails()

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Returns
TypeDescription
VideoPayload.Builder

clearVideoUri()

public VideoPayload.Builder clearVideoUri()

Video uri from the user bucket.

string video_uri = 2;

Returns
TypeDescription
VideoPayload.Builder

This builder for chaining.

clone()

public VideoPayload.Builder clone()
Returns
TypeDescription
VideoPayload.Builder
Overrides

getDefaultInstanceForType()

public VideoPayload getDefaultInstanceForType()
Returns
TypeDescription
VideoPayload

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFrameRate()

public float getFrameRate()

FPS of the video.

float frame_rate = 4;

Returns
TypeDescription
float

The frameRate.

getMimeType()

public String getMimeType()

Video format.

string mime_type = 1;

Returns
TypeDescription
String

The mimeType.

getMimeTypeBytes()

public ByteString getMimeTypeBytes()

Video format.

string mime_type = 1;

Returns
TypeDescription
ByteString

The bytes for mimeType.

getSignedUri()

public String getSignedUri()

Signed uri of the video file in the service bucket.

string signed_uri = 5;

Returns
TypeDescription
String

The signedUri.

getSignedUriBytes()

public ByteString getSignedUriBytes()

Signed uri of the video file in the service bucket.

string signed_uri = 5;

Returns
TypeDescription
ByteString

The bytes for signedUri.

getVideoThumbnails(int index)

public VideoThumbnail getVideoThumbnails(int index)

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoThumbnail

getVideoThumbnailsBuilder(int index)

public VideoThumbnail.Builder getVideoThumbnailsBuilder(int index)

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoThumbnail.Builder

getVideoThumbnailsBuilderList()

public List<VideoThumbnail.Builder> getVideoThumbnailsBuilderList()

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Returns
TypeDescription
List<Builder>

getVideoThumbnailsCount()

public int getVideoThumbnailsCount()

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Returns
TypeDescription
int

getVideoThumbnailsList()

public List<VideoThumbnail> getVideoThumbnailsList()

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Returns
TypeDescription
List<VideoThumbnail>

getVideoThumbnailsOrBuilder(int index)

public VideoThumbnailOrBuilder getVideoThumbnailsOrBuilder(int index)

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoThumbnailOrBuilder

getVideoThumbnailsOrBuilderList()

public List<? extends VideoThumbnailOrBuilder> getVideoThumbnailsOrBuilderList()

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Returns
TypeDescription
List<? extends com.google.cloud.datalabeling.v1beta1.VideoThumbnailOrBuilder>

getVideoUri()

public String getVideoUri()

Video uri from the user bucket.

string video_uri = 2;

Returns
TypeDescription
String

The videoUri.

getVideoUriBytes()

public ByteString getVideoUriBytes()

Video uri from the user bucket.

string video_uri = 2;

Returns
TypeDescription
ByteString

The bytes for videoUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VideoPayload other)

public VideoPayload.Builder mergeFrom(VideoPayload other)
Parameter
NameDescription
otherVideoPayload
Returns
TypeDescription
VideoPayload.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoPayload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoPayload.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VideoPayload.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VideoPayload.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoPayload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VideoPayload.Builder
Overrides

removeVideoThumbnails(int index)

public VideoPayload.Builder removeVideoThumbnails(int index)

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoPayload.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VideoPayload.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VideoPayload.Builder
Overrides

setFrameRate(float value)

public VideoPayload.Builder setFrameRate(float value)

FPS of the video.

float frame_rate = 4;

Parameter
NameDescription
valuefloat

The frameRate to set.

Returns
TypeDescription
VideoPayload.Builder

This builder for chaining.

setMimeType(String value)

public VideoPayload.Builder setMimeType(String value)

Video format.

string mime_type = 1;

Parameter
NameDescription
valueString

The mimeType to set.

Returns
TypeDescription
VideoPayload.Builder

This builder for chaining.

setMimeTypeBytes(ByteString value)

public VideoPayload.Builder setMimeTypeBytes(ByteString value)

Video format.

string mime_type = 1;

Parameter
NameDescription
valueByteString

The bytes for mimeType to set.

Returns
TypeDescription
VideoPayload.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VideoPayload.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VideoPayload.Builder
Overrides

setSignedUri(String value)

public VideoPayload.Builder setSignedUri(String value)

Signed uri of the video file in the service bucket.

string signed_uri = 5;

Parameter
NameDescription
valueString

The signedUri to set.

Returns
TypeDescription
VideoPayload.Builder

This builder for chaining.

setSignedUriBytes(ByteString value)

public VideoPayload.Builder setSignedUriBytes(ByteString value)

Signed uri of the video file in the service bucket.

string signed_uri = 5;

Parameter
NameDescription
valueByteString

The bytes for signedUri to set.

Returns
TypeDescription
VideoPayload.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoPayload.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VideoPayload.Builder
Overrides

setVideoThumbnails(int index, VideoThumbnail value)

public VideoPayload.Builder setVideoThumbnails(int index, VideoThumbnail value)

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Parameters
NameDescription
indexint
valueVideoThumbnail
Returns
TypeDescription
VideoPayload.Builder

setVideoThumbnails(int index, VideoThumbnail.Builder builderForValue)

public VideoPayload.Builder setVideoThumbnails(int index, VideoThumbnail.Builder builderForValue)

The list of video thumbnails.

repeated .google.cloud.datalabeling.v1beta1.VideoThumbnail video_thumbnails = 3;

Parameters
NameDescription
indexint
builderForValueVideoThumbnail.Builder
Returns
TypeDescription
VideoPayload.Builder

setVideoUri(String value)

public VideoPayload.Builder setVideoUri(String value)

Video uri from the user bucket.

string video_uri = 2;

Parameter
NameDescription
valueString

The videoUri to set.

Returns
TypeDescription
VideoPayload.Builder

This builder for chaining.

setVideoUriBytes(ByteString value)

public VideoPayload.Builder setVideoUriBytes(ByteString value)

Video uri from the user bucket.

string video_uri = 2;

Parameter
NameDescription
valueByteString

The bytes for videoUri to set.

Returns
TypeDescription
VideoPayload.Builder

This builder for chaining.