Class AnnotateVideoResponse.Builder (2.5.0)

public static final class AnnotateVideoResponse.Builder extends GeneratedMessageV3.Builder<AnnotateVideoResponse.Builder> implements AnnotateVideoResponseOrBuilder

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

Protobuf type google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse

Static Methods

getDescriptor()

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

Methods

addAllAnnotationResults(Iterable<? extends VideoAnnotationResults> values)

public AnnotateVideoResponse.Builder addAllAnnotationResults(Iterable<? extends VideoAnnotationResults> values)

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults>
Returns
TypeDescription
AnnotateVideoResponse.Builder

addAnnotationResults(VideoAnnotationResults value)

public AnnotateVideoResponse.Builder addAnnotationResults(VideoAnnotationResults value)

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Parameter
NameDescription
valueVideoAnnotationResults
Returns
TypeDescription
AnnotateVideoResponse.Builder

addAnnotationResults(VideoAnnotationResults.Builder builderForValue)

public AnnotateVideoResponse.Builder addAnnotationResults(VideoAnnotationResults.Builder builderForValue)

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Parameter
NameDescription
builderForValueVideoAnnotationResults.Builder
Returns
TypeDescription
AnnotateVideoResponse.Builder

addAnnotationResults(int index, VideoAnnotationResults value)

public AnnotateVideoResponse.Builder addAnnotationResults(int index, VideoAnnotationResults value)

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Parameters
NameDescription
indexint
valueVideoAnnotationResults
Returns
TypeDescription
AnnotateVideoResponse.Builder

addAnnotationResults(int index, VideoAnnotationResults.Builder builderForValue)

public AnnotateVideoResponse.Builder addAnnotationResults(int index, VideoAnnotationResults.Builder builderForValue)

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Parameters
NameDescription
indexint
builderForValueVideoAnnotationResults.Builder
Returns
TypeDescription
AnnotateVideoResponse.Builder

addAnnotationResultsBuilder()

public VideoAnnotationResults.Builder addAnnotationResultsBuilder()

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Returns
TypeDescription
VideoAnnotationResults.Builder

addAnnotationResultsBuilder(int index)

public VideoAnnotationResults.Builder addAnnotationResultsBuilder(int index)

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoAnnotationResults.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AnnotateVideoResponse build()
Returns
TypeDescription
AnnotateVideoResponse

buildPartial()

public AnnotateVideoResponse buildPartial()
Returns
TypeDescription
AnnotateVideoResponse

clear()

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

clearAnnotationResults()

public AnnotateVideoResponse.Builder clearAnnotationResults()

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Returns
TypeDescription
AnnotateVideoResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAnnotationResults(int index)

public VideoAnnotationResults getAnnotationResults(int index)

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoAnnotationResults

getAnnotationResultsBuilder(int index)

public VideoAnnotationResults.Builder getAnnotationResultsBuilder(int index)

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoAnnotationResults.Builder

getAnnotationResultsBuilderList()

public List<VideoAnnotationResults.Builder> getAnnotationResultsBuilderList()

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Returns
TypeDescription
List<Builder>

getAnnotationResultsCount()

public int getAnnotationResultsCount()

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Returns
TypeDescription
int

getAnnotationResultsList()

public List<VideoAnnotationResults> getAnnotationResultsList()

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Returns
TypeDescription
List<VideoAnnotationResults>

getAnnotationResultsOrBuilder(int index)

public VideoAnnotationResultsOrBuilder getAnnotationResultsOrBuilder(int index)

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
VideoAnnotationResultsOrBuilder

getAnnotationResultsOrBuilderList()

public List<? extends VideoAnnotationResultsOrBuilder> getAnnotationResultsOrBuilderList()

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Returns
TypeDescription
List<? extends com.google.cloud.videointelligence.v1p1beta1.VideoAnnotationResultsOrBuilder>

getDefaultInstanceForType()

public AnnotateVideoResponse getDefaultInstanceForType()
Returns
TypeDescription
AnnotateVideoResponse

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(AnnotateVideoResponse other)

public AnnotateVideoResponse.Builder mergeFrom(AnnotateVideoResponse other)
Parameter
NameDescription
otherAnnotateVideoResponse
Returns
TypeDescription
AnnotateVideoResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAnnotationResults(int index)

public AnnotateVideoResponse.Builder removeAnnotationResults(int index)

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnnotateVideoResponse.Builder

setAnnotationResults(int index, VideoAnnotationResults value)

public AnnotateVideoResponse.Builder setAnnotationResults(int index, VideoAnnotationResults value)

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Parameters
NameDescription
indexint
valueVideoAnnotationResults
Returns
TypeDescription
AnnotateVideoResponse.Builder

setAnnotationResults(int index, VideoAnnotationResults.Builder builderForValue)

public AnnotateVideoResponse.Builder setAnnotationResults(int index, VideoAnnotationResults.Builder builderForValue)

Annotation results for all videos specified in AnnotateVideoRequest.

repeated .google.cloud.videointelligence.v1p1beta1.VideoAnnotationResults annotation_results = 1;

Parameters
NameDescription
indexint
builderForValueVideoAnnotationResults.Builder
Returns
TypeDescription
AnnotateVideoResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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