public static io.grpc.ServiceDescriptor getServiceDescriptor() {
    io.grpc.ServiceDescriptor result = serviceDescriptor;
    if (result == null) {
      synchronized (ImageAnnotatorGrpc.class) {
        result = serviceDescriptor;
        if (result == null) {
          serviceDescriptor =
              result =
                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
                      .setSchemaDescriptor(new ImageAnnotatorFileDescriptorSupplier())
                      .addMethod(getBatchAnnotateImagesMethod())
                      .addMethod(getBatchAnnotateFilesMethod())
                      .addMethod(getAsyncBatchAnnotateImagesMethod())
                      .addMethod(getAsyncBatchAnnotateFilesMethod())
                      .build();
        }
      }
    }
    return result;
  }
<pre>
Run asynchronous image detection and annotation for a list of generic
files, such as PDF files, which may contain multiple pages and multiple
images per page. Progress and results can be retrieved through the
`google.longrunning.Operations` interface.
`Operation.metadata` contains `OperationMetadata` (metadata).
`Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).
</pre>
java-vision/grpc-google-cloud-vision-v1/src/main/java/com/google/cloud/vision/v1/ImageAnnotatorGrpc.java