Class AnnotateVideoProgress.Builder (2.42.0)

public static final class AnnotateVideoProgress.Builder extends GeneratedMessageV3.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.v1.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.v1.VideoAnnotationProgress annotation_progress = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.videointelligence.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.VideoAnnotationProgress annotation_progress = 1;

Parameter
Name Description
index int
Returns
Type Description
VideoAnnotationProgress.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.v1.VideoAnnotationProgress annotation_progress = 1;

Returns
Type Description
AnnotateVideoProgress.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAnnotationProgress(int index)

public VideoAnnotationProgress getAnnotationProgress(int index)

Progress metadata for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1.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.v1.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.v1.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.v1.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.v1.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.v1.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.v1.VideoAnnotationProgress annotation_progress = 1;

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

getDefaultInstanceForType()

public AnnotateVideoProgress getDefaultInstanceForType()
Returns
Type Description
AnnotateVideoProgress

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnnotateVideoProgress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.v1.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.v1.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.v1.VideoAnnotationProgress annotation_progress = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AnnotateVideoProgress.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AnnotateVideoProgress.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AnnotateVideoProgress.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnnotateVideoProgress.Builder
Overrides