Class BatchAnnotateFilesResponse.Builder

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

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