public final UnaryCallable<BatchAnnotateFilesRequest, BatchAnnotateFilesResponse>
      batchAnnotateFilesCallable() {
    return stub.batchAnnotateFilesCallable();
  }
Service that performs image detection and annotation for a batch of files. Now only
"application/pdf", "image/tiff" and "image/gif" are supported.

<p>This service will extract at most 5 (customers can specify which 5 in
AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each file provided and
perform detection and annotation for each image extracted.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ImageAnnotatorClient imageAnnotatorClient = ImageAnnotatorClient.create()) {
  BatchAnnotateFilesRequest request =
      BatchAnnotateFilesRequest.newBuilder()
          .addAllRequests(new ArrayList<AnnotateFileRequest>())
          .setParent("parent-995424086")
          .putAllLabels(new HashMap<String, String>())
          .build();
  ApiFuture<BatchAnnotateFilesResponse> future =
      imageAnnotatorClient.batchAnnotateFilesCallable().futureCall(request);
  // Do something.
  BatchAnnotateFilesResponse response = future.get();
}
}</pre>
java-vision/google-cloud-vision/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorClient.java