Class AnnotateVideoProgress.Builder (2.2.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.v1beta2.AnnotateVideoProgress

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgress>
Returns
TypeDescription
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
NameDescription
valueVideoAnnotationProgress
Returns
TypeDescription
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
NameDescription
builderForValueVideoAnnotationProgress.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueVideoAnnotationProgress
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVideoAnnotationProgress.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VideoAnnotationProgress.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnnotateVideoProgress build()
Returns
TypeDescription
AnnotateVideoProgress

buildPartial()

public AnnotateVideoProgress buildPartial()
Returns
TypeDescription
AnnotateVideoProgress

clear()

public AnnotateVideoProgress.Builder clear()
Returns
TypeDescription
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
TypeDescription
AnnotateVideoProgress.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getAnnotationProgressCount()

public int getAnnotationProgressCount()

Progress metadata for all videos specified in AnnotateVideoRequest.

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

Returns
TypeDescription
int

getAnnotationProgressList()

public List<VideoAnnotationProgress> getAnnotationProgressList()

Progress metadata for all videos specified in AnnotateVideoRequest.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.videointelligence.v1beta2.VideoAnnotationProgressOrBuilder>

getDefaultInstanceForType()

public AnnotateVideoProgress getDefaultInstanceForType()
Returns
TypeDescription
AnnotateVideoProgress

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnnotateVideoProgress other)

public AnnotateVideoProgress.Builder mergeFrom(AnnotateVideoProgress other)
Parameter
NameDescription
otherAnnotateVideoProgress
Returns
TypeDescription
AnnotateVideoProgress.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnnotateVideoProgress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueVideoAnnotationProgress
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVideoAnnotationProgress.Builder
Returns
TypeDescription
AnnotateVideoProgress.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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