Class BatchAnnotateImagesResponse.Builder

public static final class BatchAnnotateImagesResponse.Builder extends GeneratedMessageV3.Builder<BatchAnnotateImagesResponse.Builder> implements BatchAnnotateImagesResponseOrBuilder

Response to a batch image annotation request.

Protobuf type google.cloud.vision.v1.BatchAnnotateImagesResponse

Static Methods

getDescriptor()

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

Methods

addAllResponses(Iterable<? extends AnnotateImageResponse> values)

public BatchAnnotateImagesResponse.Builder addAllResponses(Iterable<? extends AnnotateImageResponse> values)

Individual responses to image annotation requests within the batch.

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

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