public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
    return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
        .addMethod(
            getCreateProductSetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.CreateProductSetRequest,
                    com.google.cloud.vision.v1p3beta1.ProductSet>(
                    service, METHODID_CREATE_PRODUCT_SET)))
        .addMethod(
            getListProductSetsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.ListProductSetsRequest,
                    com.google.cloud.vision.v1p3beta1.ListProductSetsResponse>(
                    service, METHODID_LIST_PRODUCT_SETS)))
        .addMethod(
            getGetProductSetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.GetProductSetRequest,
                    com.google.cloud.vision.v1p3beta1.ProductSet>(
                    service, METHODID_GET_PRODUCT_SET)))
        .addMethod(
            getUpdateProductSetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.UpdateProductSetRequest,
                    com.google.cloud.vision.v1p3beta1.ProductSet>(
                    service, METHODID_UPDATE_PRODUCT_SET)))
        .addMethod(
            getDeleteProductSetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.DeleteProductSetRequest,
                    com.google.protobuf.Empty>(service, METHODID_DELETE_PRODUCT_SET)))
        .addMethod(
            getCreateProductMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.CreateProductRequest,
                    com.google.cloud.vision.v1p3beta1.Product>(service, METHODID_CREATE_PRODUCT)))
        .addMethod(
            getListProductsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.ListProductsRequest,
                    com.google.cloud.vision.v1p3beta1.ListProductsResponse>(
                    service, METHODID_LIST_PRODUCTS)))
        .addMethod(
            getGetProductMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.GetProductRequest,
                    com.google.cloud.vision.v1p3beta1.Product>(service, METHODID_GET_PRODUCT)))
        .addMethod(
            getUpdateProductMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.UpdateProductRequest,
                    com.google.cloud.vision.v1p3beta1.Product>(service, METHODID_UPDATE_PRODUCT)))
        .addMethod(
            getDeleteProductMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.DeleteProductRequest,
                    com.google.protobuf.Empty>(service, METHODID_DELETE_PRODUCT)))
        .addMethod(
            getCreateReferenceImageMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.CreateReferenceImageRequest,
                    com.google.cloud.vision.v1p3beta1.ReferenceImage>(
                    service, METHODID_CREATE_REFERENCE_IMAGE)))
        .addMethod(
            getDeleteReferenceImageMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.DeleteReferenceImageRequest,
                    com.google.protobuf.Empty>(service, METHODID_DELETE_REFERENCE_IMAGE)))
        .addMethod(
            getListReferenceImagesMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.ListReferenceImagesRequest,
                    com.google.cloud.vision.v1p3beta1.ListReferenceImagesResponse>(
                    service, METHODID_LIST_REFERENCE_IMAGES)))
        .addMethod(
            getGetReferenceImageMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.GetReferenceImageRequest,
                    com.google.cloud.vision.v1p3beta1.ReferenceImage>(
                    service, METHODID_GET_REFERENCE_IMAGE)))
        .addMethod(
            getAddProductToProductSetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.AddProductToProductSetRequest,
                    com.google.protobuf.Empty>(service, METHODID_ADD_PRODUCT_TO_PRODUCT_SET)))
        .addMethod(
            getRemoveProductFromProductSetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.RemoveProductFromProductSetRequest,
                    com.google.protobuf.Empty>(service, METHODID_REMOVE_PRODUCT_FROM_PRODUCT_SET)))
        .addMethod(
            getListProductsInProductSetMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.ListProductsInProductSetRequest,
                    com.google.cloud.vision.v1p3beta1.ListProductsInProductSetResponse>(
                    service, METHODID_LIST_PRODUCTS_IN_PRODUCT_SET)))
        .addMethod(
            getImportProductSetsMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.vision.v1p3beta1.ImportProductSetsRequest,
                    com.google.longrunning.Operation>(service, METHODID_IMPORT_PRODUCT_SETS)))
        .build();
  }
<pre>
Asynchronous API that imports a list of reference images to specified
product sets based on a list of image information.
The [google.longrunning.Operation][google.longrunning.Operation] API can be
used to keep track of the progress and results of the request.
`Operation.metadata` contains `BatchOperationMetadata`. (progress)
`Operation.response` contains `ImportProductSetsResponse`. (results)
The input source of this method is a csv file on Google Cloud Storage.
For the format of the csv file please see
[ImportProductSetsGcsSource.csv_file_uri][google.cloud.vision.v1p3beta1.ImportProductSetsGcsSource.csv_file_uri].
</pre>
java-vision/grpc-google-cloud-vision-v1p3beta1/src/main/java/com/google/cloud/vision/v1p3beta1/ProductSearchGrpc.java