Class BatchAnnotateFilesRequest.Builder

public static final class BatchAnnotateFilesRequest.Builder extends GeneratedMessageV3.Builder<BatchAnnotateFilesRequest.Builder> implements BatchAnnotateFilesRequestOrBuilder

A list of requests to annotate files using the BatchAnnotateFiles API.

Protobuf type google.cloud.vision.v1p4beta1.BatchAnnotateFilesRequest

Static Methods

getDescriptor()

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

Methods

addAllRequests(Iterable<? extends AnnotateFileRequest> values)

public BatchAnnotateFilesRequest.Builder addAllRequests(Iterable<? extends AnnotateFileRequest> values)

Required. The list of file annotation requests. Right now we support only one AnnotateFileRequest in BatchAnnotateFilesRequest.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.vision.v1p4beta1.AnnotateFileRequest>
Returns
TypeDescription