@io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "BatchAnnotateImages",
      requestType = com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest.class,
      responseType = com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<
          com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest,
          com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse>
      getBatchAnnotateImagesMethod() {
    io.grpc.MethodDescriptor<
            com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest,
            com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse>
        getBatchAnnotateImagesMethod;
    if ((getBatchAnnotateImagesMethod = ImageAnnotatorGrpc.getBatchAnnotateImagesMethod) == null) {
      synchronized (ImageAnnotatorGrpc.class) {
        if ((getBatchAnnotateImagesMethod = ImageAnnotatorGrpc.getBatchAnnotateImagesMethod)
            == null) {
          ImageAnnotatorGrpc.getBatchAnnotateImagesMethod =
              getBatchAnnotateImagesMethod =
                  io.grpc.MethodDescriptor
                      .<com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest,
                          com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse>
                          newBuilder()
                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
                      .setFullMethodName(
                          generateFullMethodName(SERVICE_NAME, "BatchAnnotateImages"))
                      .setSampledToLocalTracing(true)
                      .setRequestMarshaller(
                          io.grpc.protobuf.ProtoUtils.marshaller(
                              com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesRequest
                                  .getDefaultInstance()))
                      .setResponseMarshaller(
                          io.grpc.protobuf.ProtoUtils.marshaller(
                              com.google.cloud.vision.v1p4beta1.BatchAnnotateImagesResponse
                                  .getDefaultInstance()))
                      .setSchemaDescriptor(
                          new ImageAnnotatorMethodDescriptorSupplier("BatchAnnotateImages"))
                      .build();
        }
      }
    }
    return getBatchAnnotateImagesMethod;
  }
<pre>
Service that performs Google Cloud Vision API detection tasks over client
images, such as face, landmark, logo, label, and text detection. The
ImageAnnotator service returns detected entities from the images.
</pre>
java-vision/grpc-google-cloud-vision-v1p4beta1/src/main/java/com/google/cloud/vision/v1p4beta1/ImageAnnotatorGrpc.java