Class VideoPayload.Builder (0.175.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.datalabeling.v1beta1.VideoThumbnail>
Returns
Type Description
VideoPayload.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoPayload.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value VideoThumbnail
Returns
Type Description
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
Name Description
builderForValue VideoThumbnail.Builder
Returns
Type Description
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
Name Description
index int
value VideoThumbnail
Returns
Type Description
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
Name Description
index int
builderForValue VideoThumbnail.Builder
Returns
Type Description
VideoPayload.Builder

addVideoThumbnailsBuilder()

public VideoThumbnail.Builder addVideoThumbnailsBuilder()

The list of video thumbnails.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
VideoThumbnail.Builder

build()

public VideoPayload build()
Returns
Type Description
VideoPayload

buildPartial()

public VideoPayload buildPartial()
Returns
Type Description
VideoPayload

clear()

public VideoPayload.Builder clear()
Returns
Type Description
VideoPayload.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VideoPayload.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VideoPayload.Builder
Overrides

clearFrameRate()

public VideoPayload.Builder clearFrameRate()

FPS of the video.

float frame_rate = 4;

Returns
Type Description
VideoPayload.Builder

This builder for chaining.

clearMimeType()

public VideoPayload.Builder clearMimeType()

Video format.

string mime_type = 1;

Returns
Type Description
VideoPayload.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoPayload.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VideoPayload.Builder
Overrides

clearSignedUri()

public VideoPayload.Builder clearSignedUri()

Signed uri of the video file in the service bucket.

string signed_uri = 5;

Returns
Type Description
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
Type Description
VideoPayload.Builder

clearVideoUri()

public VideoPayload.Builder clearVideoUri()

Video uri from the user bucket.

string video_uri = 2;

Returns
Type Description
VideoPayload.Builder

This builder for chaining.

clone()

public VideoPayload.Builder clone()
Returns
Type Description
VideoPayload.Builder
Overrides

getDefaultInstanceForType()

public VideoPayload getDefaultInstanceForType()
Returns
Type Description
VideoPayload

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFrameRate()

public float getFrameRate()

FPS of the video.

float frame_rate = 4;

Returns
Type Description
float

The frameRate.

getMimeType()

public String getMimeType()

Video format.

string mime_type = 1;

Returns
Type Description
String

The mimeType.

getMimeTypeBytes()

public ByteString getMimeTypeBytes()

Video format.

string mime_type = 1;

Returns
Type Description
ByteString

The bytes for mimeType.

getSignedUri()

public String getSignedUri()

Signed uri of the video file in the service bucket.

string signed_uri = 5;

Returns
Type Description
String

The signedUri.

getSignedUriBytes()

public ByteString getSignedUriBytes()

Signed uri of the video file in the service bucket.

string signed_uri = 5;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
VideoThumbnail.Builder

getVideoThumbnailsBuilderList()

public List<VideoThumbnail.Builder> getVideoThumbnailsBuilderList()

The list of video thumbnails.

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

Returns
Type Description
List<Builder>

getVideoThumbnailsCount()

public int getVideoThumbnailsCount()

The list of video thumbnails.

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

Returns
Type Description
int

getVideoThumbnailsList()

public List<VideoThumbnail> getVideoThumbnailsList()

The list of video thumbnails.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
VideoThumbnailOrBuilder

getVideoThumbnailsOrBuilderList()

public List<? extends VideoThumbnailOrBuilder> getVideoThumbnailsOrBuilderList()

The list of video thumbnails.

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

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

getVideoUri()

public String getVideoUri()

Video uri from the user bucket.

string video_uri = 2;

Returns
Type Description
String

The videoUri.

getVideoUriBytes()

public ByteString getVideoUriBytes()

Video uri from the user bucket.

string video_uri = 2;

Returns
Type Description
ByteString

The bytes for videoUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VideoPayload other)

public VideoPayload.Builder mergeFrom(VideoPayload other)
Parameter
Name Description
other VideoPayload
Returns
Type Description
VideoPayload.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoPayload.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoPayload.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VideoPayload.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VideoPayload.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoPayload.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
VideoPayload.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VideoPayload.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoPayload.Builder
Overrides

setFrameRate(float value)

public VideoPayload.Builder setFrameRate(float value)

FPS of the video.

float frame_rate = 4;

Parameter
Name Description
value float

The frameRate to set.

Returns
Type Description
VideoPayload.Builder

This builder for chaining.

setMimeType(String value)

public VideoPayload.Builder setMimeType(String value)

Video format.

string mime_type = 1;

Parameter
Name Description
value String

The mimeType to set.

Returns
Type Description
VideoPayload.Builder

This builder for chaining.

setMimeTypeBytes(ByteString value)

public VideoPayload.Builder setMimeTypeBytes(ByteString value)

Video format.

string mime_type = 1;

Parameter
Name Description
value ByteString

The bytes for mimeType to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value String

The signedUri to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for signedUri to set.

Returns
Type Description
VideoPayload.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoPayload.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
value VideoThumbnail
Returns
Type Description
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
Name Description
index int
builderForValue VideoThumbnail.Builder
Returns
Type Description
VideoPayload.Builder

setVideoUri(String value)

public VideoPayload.Builder setVideoUri(String value)

Video uri from the user bucket.

string video_uri = 2;

Parameter
Name Description
value String

The videoUri to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for videoUri to set.

Returns
Type Description
VideoPayload.Builder

This builder for chaining.