Class AsyncBatchAnnotateFilesRequest.Builder (2.1.1)

public static final class AsyncBatchAnnotateFilesRequest.Builder extends GeneratedMessageV3.Builder<AsyncBatchAnnotateFilesRequest.Builder> implements AsyncBatchAnnotateFilesRequestOrBuilder

Multiple async file annotation requests are batched into a single service call.

Protobuf type google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends AsyncAnnotateFileRequest> values)

public AsyncBatchAnnotateFilesRequest.Builder addAllRequests(Iterable<? extends AsyncAnnotateFileRequest> values)

Required. Individual async file annotation requests for this batch.

repeated .google.cloud.vision.v1p2beta1.AsyncAnnotateFileRequest requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p2beta1.AsyncAnnotateFileRequest>
Returns
TypeDescription