Class BatchAnnotateImagesRequest.Builder (2.1.1)

public static final class BatchAnnotateImagesRequest.Builder extends GeneratedMessageV3.Builder<BatchAnnotateImagesRequest.Builder> implements BatchAnnotateImagesRequestOrBuilder

Multiple image annotation requests are batched into a single service call.

Protobuf type google.cloud.vision.v1p3beta1.BatchAnnotateImagesRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends AnnotateImageRequest> values)

public BatchAnnotateImagesRequest.Builder addAllRequests(Iterable<? extends AnnotateImageRequest> values)

Individual image annotation requests for this batch.

repeated .google.cloud.vision.v1p3beta1.AnnotateImageRequest requests = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p3beta1.AnnotateImageRequest>
Returns
TypeDescription
Batch