Class BatchAnnotateFilesResponse.Builder (2.1.4)

public static final class BatchAnnotateFilesResponse.Builder extends GeneratedMessageV3.Builder<BatchAnnotateFilesResponse.Builder> implements BatchAnnotateFilesResponseOrBuilder

A list of file annotation responses.

Protobuf type google.cloud.vision.v1.BatchAnnotateFilesResponse

Static Methods

getDescriptor()

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

Methods

addAllResponses(Iterable<? extends AnnotateFileResponse> values)

public BatchAnnotateFilesResponse.Builder addAllResponses(Iterable<? extends AnnotateFileResponse> values)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1.AnnotateFileResponse>
Returns
TypeDescription
BatchAnnotateFilesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addResponses(AnnotateFileResponse value)

public BatchAnnotateFilesResponse.Builder addResponses(AnnotateFileResponse value)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameter
NameDescription
valueAnnotateFileResponse
Returns
TypeDescription
BatchAnnotateFilesResponse.Builder

addResponses(AnnotateFileResponse.Builder builderForValue)

public BatchAnnotateFilesResponse.Builder addResponses(AnnotateFileResponse.Builder builderForValue)

The list of file annotation responses, each response corresponding to each AnnotateFileRequest in BatchAnnotateFilesRequest.

repeated .google.cloud.vision.v1.AnnotateFileResponse responses = 1;

Parameter
NameDescription
builderForValueAnnotateFileResponse.Builder
Returns
TypeDescription
BatchAnnotateFilesResponse.Builder

addResponses(int index, AnnotateFileResponse value)