Class AnnotateVideoProgress.Builder (2.82.0)

public static final class AnnotateVideoProgress.Builder extends GeneratedMessage.Builder<AnnotateVideoProgress.Builder> implements AnnotateVideoProgressOrBuilder

Video annotation progress. Included in the metadata field of the Operation returned by the GetOperation call of the google::longrunning::Operations service.

Protobuf type google.cloud.videointelligence.v1beta2.AnnotateVideoProgress

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllAnnotationProgress(Iterable<? extends VideoAnnotationProgress> values)

public AnnotateVideoProgress.Builder addAllAnnotationProgress(Iterable<? extends VideoAnnotationProgress> values)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress>
Returns
Type Description
AnnotateVideoProgress.Builder

addAnnotationProgress(VideoAnnotationProgress value)

public AnnotateVideoProgress.Builder addAnnotationProgress(VideoAnnotationProgress value)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Parameter
Name Description
value VideoAnnotationProgress
Returns
Type Description
AnnotateVideoProgress.Builder

addAnnotationProgress(VideoAnnotationProgress.Builder builderForValue)

public AnnotateVideoProgress.Builder addAnnotationProgress(VideoAnnotationProgress.Builder builderForValue)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Parameter
Name Description
builderForValue VideoAnnotationProgress.Builder
Returns
Type Description
AnnotateVideoProgress.Builder

addAnnotationProgress(int index, VideoAnnotationProgress value)

public AnnotateVideoProgress.Builder addAnnotationProgress(int index, VideoAnnotationProgress value)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Parameters
Name Description
index int
value VideoAnnotationProgress
Returns
Type Description
AnnotateVideoProgress.Builder

addAnnotationProgress(int index, VideoAnnotationProgress.Builder builderForValue)

public AnnotateVideoProgress.Builder addAnnotationProgress(int index, VideoAnnotationProgress.Builder builderForValue)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Parameters
Name Description
index int
builderForValue VideoAnnotationProgress.Builder
Returns
Type Description
AnnotateVideoProgress.Builder

addAnnotationProgressBuilder()

public VideoAnnotationProgress.Builder addAnnotationProgressBuilder()

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Returns
Type Description
VideoAnnotationProgress.Builder

addAnnotationProgressBuilder(int index)

public VideoAnnotationProgress.Builder addAnnotationProgressBuilder(int index)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Parameter
Name Description
index int
Returns
Type Description
VideoAnnotationProgress.Builder

build()

public AnnotateVideoProgress build()
Returns
Type Description
AnnotateVideoProgress

buildPartial()

public AnnotateVideoProgress buildPartial()
Returns
Type Description
AnnotateVideoProgress

clear()

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

clearAnnotationProgress()

public AnnotateVideoProgress.Builder clearAnnotationProgress()

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Returns
Type Description
AnnotateVideoProgress.Builder

getAnnotationProgress(int index)

public VideoAnnotationProgress getAnnotationProgress(int index)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Parameter
Name Description
index int
Returns
Type Description
VideoAnnotationProgress

getAnnotationProgressBuilder(int index)

public VideoAnnotationProgress.Builder getAnnotationProgressBuilder(int index)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Parameter
Name Description
index int
Returns
Type Description
VideoAnnotationProgress.Builder

getAnnotationProgressBuilderList()

public List<VideoAnnotationProgress.Builder> getAnnotationProgressBuilderList()

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Returns
Type Description
List<Builder>

getAnnotationProgressCount()

public int getAnnotationProgressCount()

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Returns
Type Description
int

getAnnotationProgressList()

public List<VideoAnnotationProgress> getAnnotationProgressList()

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Returns
Type Description
List<VideoAnnotationProgress>

getAnnotationProgressOrBuilder(int index)

public VideoAnnotationProgressOrBuilder getAnnotationProgressOrBuilder(int index)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Parameter
Name Description
index int
Returns
Type Description
VideoAnnotationProgressOrBuilder

getAnnotationProgressOrBuilderList()

public List<? extends VideoAnnotationProgressOrBuilder> getAnnotationProgressOrBuilderList()

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder>

getDefaultInstanceForType()

public AnnotateVideoProgress getDefaultInstanceForType()
Returns
Type Description
AnnotateVideoProgress

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnnotateVideoProgress other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeAnnotationProgress(int index)

public AnnotateVideoProgress.Builder removeAnnotationProgress(int index)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Parameter
Name Description
index int
Returns
Type Description
AnnotateVideoProgress.Builder

setAnnotationProgress(int index, VideoAnnotationProgress value)

public AnnotateVideoProgress.Builder setAnnotationProgress(int index, VideoAnnotationProgress value)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Parameters
Name Description
index int
value VideoAnnotationProgress
Returns
Type Description
AnnotateVideoProgress.Builder

setAnnotationProgress(int index, VideoAnnotationProgress.Builder builderForValue)

public AnnotateVideoProgress.Builder setAnnotationProgress(int index, VideoAnnotationProgress.Builder builderForValue)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1beta2.VideoAnnotationProgress annotation_progress = 1;

Parameters
Name Description
index int
builderForValue VideoAnnotationProgress.Builder
Returns
Type Description
AnnotateVideoProgress.Builder