diff --git a/README.md b/README.md
index baba8800ba9e..7dca71e0a47b 100644
--- a/README.md
+++ b/README.md
@@ -26,6 +26,7 @@ This library supports the following Google Cloud Platform services with clients
This library supports the following Google Cloud Platform services with clients at a [Beta](#versioning) quality level:
- [BigQuery Data Transfer](google-cloud-clients/google-cloud-bigquerydatatransfer) (Beta)
+- [Cloud AutoML](google-cloud-clients/google-cloud-automl) (Beta)
- [Cloud Data Loss Prevention](google-cloud-clients/google-cloud-dlp) (Beta)
- [Cloud Firestore](google-cloud-clients/google-cloud-firestore) (Beta)
- [Cloud IoT Core](google-cloud-clients/google-cloud-iot) (Beta)
@@ -74,7 +75,7 @@ libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "1.36.0"
```
[//]: # ({x-version-update-end})
-If you're using IntelliJ or Eclipse, you can add client libraries to your project using these IDE plugins:
+If you're using IntelliJ or Eclipse, you can add client libraries to your project using these IDE plugins:
* [Cloud Tools for IntelliJ](https://cloud.google.com/tools/intellij/docs/client-libraries?utm_source=github&utm_medium=google-cloud-java&utm_campaign=ToolsforIntelliJ)
* [Cloud Tools for Eclipse](https://cloud.google.com/eclipse/docs/libraries?utm_source=github&utm_medium=google-cloud-java&utm_campaign=ToolsforEclipse)
diff --git a/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml
new file mode 100644
index 000000000000..5788569f7cef
--- /dev/null
+++ b/google-api-grpc/grpc-google-cloud-automl-v1beta1/pom.xml
@@ -0,0 +1,31 @@
+
+ * AutoML Server API. + * The resource names are assigned by the server. + * The server never reuses names that it has created after the resources with + * those names are deleted. + * An ID of a resource is the last element of the item's resource name. For + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`, then + * the id for the item is `{dataset_id}`. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/cloud/automl/v1beta1/service.proto") +public final class AutoMlGrpc { + + private AutoMlGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.automl.v1beta1.AutoMl"; + + // Static method descriptors that strictly reflect the proto. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getCreateDatasetMethod()} instead. + public static final io.grpc.MethodDescriptor
+ * AutoML Server API. + * The resource names are assigned by the server. + * The server never reuses names that it has created after the resources with + * those names are deleted. + * An ID of a resource is the last element of the item's resource name. For + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`, then + * the id for the item is `{dataset_id}`. + *+ */ + public static abstract class AutoMlImplBase implements io.grpc.BindableService { + + /** + *
+ * Creates a dataset. + *+ */ + public void createDataset(com.google.cloud.automl.v1beta1.CreateDatasetRequest request, + io.grpc.stub.StreamObserver
+ * Gets a dataset. + *+ */ + public void getDataset(com.google.cloud.automl.v1beta1.GetDatasetRequest request, + io.grpc.stub.StreamObserver
+ * Lists datasets in a project. + *+ */ + public void listDatasets(com.google.cloud.automl.v1beta1.ListDatasetsRequest request, + io.grpc.stub.StreamObserver
+ * Deletes a dataset and all of its contents. + * Returns empty response in the + * [response][google.longrunning.Operation.response] field when it completes, + * and `delete_details` in the + * [metadata][google.longrunning.Operation.metadata] field. + *+ */ + public void deleteDataset(com.google.cloud.automl.v1beta1.DeleteDatasetRequest request, + io.grpc.stub.StreamObserver
+ * Imports data into a dataset. + * Returns an empty response in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public void importData(com.google.cloud.automl.v1beta1.ImportDataRequest request, + io.grpc.stub.StreamObserver
+ * Exports dataset's data to a Google Cloud Storage bucket. + * Returns an empty response in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public void exportData(com.google.cloud.automl.v1beta1.ExportDataRequest request, + io.grpc.stub.StreamObserver
+ * Creates a model. + * Returns a Model in the [response][google.longrunning.Operation.response] + * field when it completes. + * When you create a model, several model evaluations are created for it: + * a global evaluation, and one evaluation for each annotation spec. + *+ */ + public void createModel(com.google.cloud.automl.v1beta1.CreateModelRequest request, + io.grpc.stub.StreamObserver
+ * Gets a model. + *+ */ + public void getModel(com.google.cloud.automl.v1beta1.GetModelRequest request, + io.grpc.stub.StreamObserver
+ * Lists models. + *+ */ + public void listModels(com.google.cloud.automl.v1beta1.ListModelsRequest request, + io.grpc.stub.StreamObserver
+ * Deletes a model. + * If a model is already deployed, this only deletes the model in AutoML BE, + * and does not change the status of the deployed model in the production + * environment. + * Returns `google.protobuf.Empty` in the + * [response][google.longrunning.Operation.response] field when it completes, + * and `delete_details` in the + * [metadata][google.longrunning.Operation.metadata] field. + *+ */ + public void deleteModel(com.google.cloud.automl.v1beta1.DeleteModelRequest request, + io.grpc.stub.StreamObserver
+ * Deploys model. + * Returns a [DeployModelResponse][] in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public void deployModel(com.google.cloud.automl.v1beta1.DeployModelRequest request, + io.grpc.stub.StreamObserver
+ * Undeploys model. + * Returns an `UndeployModelResponse` in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public void undeployModel(com.google.cloud.automl.v1beta1.UndeployModelRequest request, + io.grpc.stub.StreamObserver
+ * Gets a model evaluation. + *+ */ + public void getModelEvaluation(com.google.cloud.automl.v1beta1.GetModelEvaluationRequest request, + io.grpc.stub.StreamObserver
+ * Lists model evaluations. + *+ */ + public void listModelEvaluations(com.google.cloud.automl.v1beta1.ListModelEvaluationsRequest request, + io.grpc.stub.StreamObserver
+ * AutoML Server API. + * The resource names are assigned by the server. + * The server never reuses names that it has created after the resources with + * those names are deleted. + * An ID of a resource is the last element of the item's resource name. For + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`, then + * the id for the item is `{dataset_id}`. + *+ */ + public static final class AutoMlStub extends io.grpc.stub.AbstractStub
+ * Creates a dataset. + *+ */ + public void createDataset(com.google.cloud.automl.v1beta1.CreateDatasetRequest request, + io.grpc.stub.StreamObserver
+ * Gets a dataset. + *+ */ + public void getDataset(com.google.cloud.automl.v1beta1.GetDatasetRequest request, + io.grpc.stub.StreamObserver
+ * Lists datasets in a project. + *+ */ + public void listDatasets(com.google.cloud.automl.v1beta1.ListDatasetsRequest request, + io.grpc.stub.StreamObserver
+ * Deletes a dataset and all of its contents. + * Returns empty response in the + * [response][google.longrunning.Operation.response] field when it completes, + * and `delete_details` in the + * [metadata][google.longrunning.Operation.metadata] field. + *+ */ + public void deleteDataset(com.google.cloud.automl.v1beta1.DeleteDatasetRequest request, + io.grpc.stub.StreamObserver
+ * Imports data into a dataset. + * Returns an empty response in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public void importData(com.google.cloud.automl.v1beta1.ImportDataRequest request, + io.grpc.stub.StreamObserver
+ * Exports dataset's data to a Google Cloud Storage bucket. + * Returns an empty response in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public void exportData(com.google.cloud.automl.v1beta1.ExportDataRequest request, + io.grpc.stub.StreamObserver
+ * Creates a model. + * Returns a Model in the [response][google.longrunning.Operation.response] + * field when it completes. + * When you create a model, several model evaluations are created for it: + * a global evaluation, and one evaluation for each annotation spec. + *+ */ + public void createModel(com.google.cloud.automl.v1beta1.CreateModelRequest request, + io.grpc.stub.StreamObserver
+ * Gets a model. + *+ */ + public void getModel(com.google.cloud.automl.v1beta1.GetModelRequest request, + io.grpc.stub.StreamObserver
+ * Lists models. + *+ */ + public void listModels(com.google.cloud.automl.v1beta1.ListModelsRequest request, + io.grpc.stub.StreamObserver
+ * Deletes a model. + * If a model is already deployed, this only deletes the model in AutoML BE, + * and does not change the status of the deployed model in the production + * environment. + * Returns `google.protobuf.Empty` in the + * [response][google.longrunning.Operation.response] field when it completes, + * and `delete_details` in the + * [metadata][google.longrunning.Operation.metadata] field. + *+ */ + public void deleteModel(com.google.cloud.automl.v1beta1.DeleteModelRequest request, + io.grpc.stub.StreamObserver
+ * Deploys model. + * Returns a [DeployModelResponse][] in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public void deployModel(com.google.cloud.automl.v1beta1.DeployModelRequest request, + io.grpc.stub.StreamObserver
+ * Undeploys model. + * Returns an `UndeployModelResponse` in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public void undeployModel(com.google.cloud.automl.v1beta1.UndeployModelRequest request, + io.grpc.stub.StreamObserver
+ * Gets a model evaluation. + *+ */ + public void getModelEvaluation(com.google.cloud.automl.v1beta1.GetModelEvaluationRequest request, + io.grpc.stub.StreamObserver
+ * Lists model evaluations. + *+ */ + public void listModelEvaluations(com.google.cloud.automl.v1beta1.ListModelEvaluationsRequest request, + io.grpc.stub.StreamObserver
+ * AutoML Server API. + * The resource names are assigned by the server. + * The server never reuses names that it has created after the resources with + * those names are deleted. + * An ID of a resource is the last element of the item's resource name. For + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`, then + * the id for the item is `{dataset_id}`. + *+ */ + public static final class AutoMlBlockingStub extends io.grpc.stub.AbstractStub
+ * Creates a dataset. + *+ */ + public com.google.cloud.automl.v1beta1.Dataset createDataset(com.google.cloud.automl.v1beta1.CreateDatasetRequest request) { + return blockingUnaryCall( + getChannel(), getCreateDatasetMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Gets a dataset. + *+ */ + public com.google.cloud.automl.v1beta1.Dataset getDataset(com.google.cloud.automl.v1beta1.GetDatasetRequest request) { + return blockingUnaryCall( + getChannel(), getGetDatasetMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Lists datasets in a project. + *+ */ + public com.google.cloud.automl.v1beta1.ListDatasetsResponse listDatasets(com.google.cloud.automl.v1beta1.ListDatasetsRequest request) { + return blockingUnaryCall( + getChannel(), getListDatasetsMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Deletes a dataset and all of its contents. + * Returns empty response in the + * [response][google.longrunning.Operation.response] field when it completes, + * and `delete_details` in the + * [metadata][google.longrunning.Operation.metadata] field. + *+ */ + public com.google.longrunning.Operation deleteDataset(com.google.cloud.automl.v1beta1.DeleteDatasetRequest request) { + return blockingUnaryCall( + getChannel(), getDeleteDatasetMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Imports data into a dataset. + * Returns an empty response in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public com.google.longrunning.Operation importData(com.google.cloud.automl.v1beta1.ImportDataRequest request) { + return blockingUnaryCall( + getChannel(), getImportDataMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Exports dataset's data to a Google Cloud Storage bucket. + * Returns an empty response in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public com.google.longrunning.Operation exportData(com.google.cloud.automl.v1beta1.ExportDataRequest request) { + return blockingUnaryCall( + getChannel(), getExportDataMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Creates a model. + * Returns a Model in the [response][google.longrunning.Operation.response] + * field when it completes. + * When you create a model, several model evaluations are created for it: + * a global evaluation, and one evaluation for each annotation spec. + *+ */ + public com.google.longrunning.Operation createModel(com.google.cloud.automl.v1beta1.CreateModelRequest request) { + return blockingUnaryCall( + getChannel(), getCreateModelMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Gets a model. + *+ */ + public com.google.cloud.automl.v1beta1.Model getModel(com.google.cloud.automl.v1beta1.GetModelRequest request) { + return blockingUnaryCall( + getChannel(), getGetModelMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Lists models. + *+ */ + public com.google.cloud.automl.v1beta1.ListModelsResponse listModels(com.google.cloud.automl.v1beta1.ListModelsRequest request) { + return blockingUnaryCall( + getChannel(), getListModelsMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Deletes a model. + * If a model is already deployed, this only deletes the model in AutoML BE, + * and does not change the status of the deployed model in the production + * environment. + * Returns `google.protobuf.Empty` in the + * [response][google.longrunning.Operation.response] field when it completes, + * and `delete_details` in the + * [metadata][google.longrunning.Operation.metadata] field. + *+ */ + public com.google.longrunning.Operation deleteModel(com.google.cloud.automl.v1beta1.DeleteModelRequest request) { + return blockingUnaryCall( + getChannel(), getDeleteModelMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Deploys model. + * Returns a [DeployModelResponse][] in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public com.google.longrunning.Operation deployModel(com.google.cloud.automl.v1beta1.DeployModelRequest request) { + return blockingUnaryCall( + getChannel(), getDeployModelMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Undeploys model. + * Returns an `UndeployModelResponse` in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public com.google.longrunning.Operation undeployModel(com.google.cloud.automl.v1beta1.UndeployModelRequest request) { + return blockingUnaryCall( + getChannel(), getUndeployModelMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Gets a model evaluation. + *+ */ + public com.google.cloud.automl.v1beta1.ModelEvaluation getModelEvaluation(com.google.cloud.automl.v1beta1.GetModelEvaluationRequest request) { + return blockingUnaryCall( + getChannel(), getGetModelEvaluationMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * Lists model evaluations. + *+ */ + public com.google.cloud.automl.v1beta1.ListModelEvaluationsResponse listModelEvaluations(com.google.cloud.automl.v1beta1.ListModelEvaluationsRequest request) { + return blockingUnaryCall( + getChannel(), getListModelEvaluationsMethodHelper(), getCallOptions(), request); + } + } + + /** + *
+ * AutoML Server API. + * The resource names are assigned by the server. + * The server never reuses names that it has created after the resources with + * those names are deleted. + * An ID of a resource is the last element of the item's resource name. For + * `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}`, then + * the id for the item is `{dataset_id}`. + *+ */ + public static final class AutoMlFutureStub extends io.grpc.stub.AbstractStub
+ * Creates a dataset. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Gets a dataset. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Lists datasets in a project. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Deletes a dataset and all of its contents. + * Returns empty response in the + * [response][google.longrunning.Operation.response] field when it completes, + * and `delete_details` in the + * [metadata][google.longrunning.Operation.metadata] field. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Imports data into a dataset. + * Returns an empty response in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Exports dataset's data to a Google Cloud Storage bucket. + * Returns an empty response in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Creates a model. + * Returns a Model in the [response][google.longrunning.Operation.response] + * field when it completes. + * When you create a model, several model evaluations are created for it: + * a global evaluation, and one evaluation for each annotation spec. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Gets a model. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Lists models. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Deletes a model. + * If a model is already deployed, this only deletes the model in AutoML BE, + * and does not change the status of the deployed model in the production + * environment. + * Returns `google.protobuf.Empty` in the + * [response][google.longrunning.Operation.response] field when it completes, + * and `delete_details` in the + * [metadata][google.longrunning.Operation.metadata] field. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Deploys model. + * Returns a [DeployModelResponse][] in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Undeploys model. + * Returns an `UndeployModelResponse` in the + * [response][google.longrunning.Operation.response] field when it completes. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Gets a model evaluation. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Lists model evaluations. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * AutoML Prediction API. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/cloud/automl/v1beta1/prediction_service.proto") +public final class PredictionServiceGrpc { + + private PredictionServiceGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.automl.v1beta1.PredictionService"; + + // Static method descriptors that strictly reflect the proto. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getPredictMethod()} instead. + public static final io.grpc.MethodDescriptor
+ * AutoML Prediction API. + *+ */ + public static abstract class PredictionServiceImplBase implements io.grpc.BindableService { + + /** + *
+ * Perform a prediction. + *+ */ + public void predict(com.google.cloud.automl.v1beta1.PredictRequest request, + io.grpc.stub.StreamObserver
+ * AutoML Prediction API. + *+ */ + public static final class PredictionServiceStub extends io.grpc.stub.AbstractStub
+ * Perform a prediction. + *+ */ + public void predict(com.google.cloud.automl.v1beta1.PredictRequest request, + io.grpc.stub.StreamObserver
+ * AutoML Prediction API. + *+ */ + public static final class PredictionServiceBlockingStub extends io.grpc.stub.AbstractStub
+ * Perform a prediction. + *+ */ + public com.google.cloud.automl.v1beta1.PredictResponse predict(com.google.cloud.automl.v1beta1.PredictRequest request) { + return blockingUnaryCall( + getChannel(), getPredictMethodHelper(), getCallOptions(), request); + } + } + + /** + *
+ * AutoML Prediction API. + *+ */ + public static final class PredictionServiceFutureStub extends io.grpc.stub.AbstractStub
+ * Perform a prediction. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * 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. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/cloud/vision/v1p3beta1/image_annotator.proto") +public final class ImageAnnotatorGrpc { + + private ImageAnnotatorGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.vision.v1p3beta1.ImageAnnotator"; + + // Static method descriptors that strictly reflect the proto. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getBatchAnnotateImagesMethod()} instead. + public static final io.grpc.MethodDescriptor
+ * 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. + *+ */ + public static abstract class ImageAnnotatorImplBase implements io.grpc.BindableService { + + /** + *
+ * Run image detection and annotation for a batch of images. + *+ */ + public void batchAnnotateImages(com.google.cloud.vision.v1p3beta1.BatchAnnotateImagesRequest request, + io.grpc.stub.StreamObserver
+ * 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). + *+ */ + public void asyncBatchAnnotateFiles(com.google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesRequest request, + io.grpc.stub.StreamObserver
+ * 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. + *+ */ + public static final class ImageAnnotatorStub extends io.grpc.stub.AbstractStub
+ * Run image detection and annotation for a batch of images. + *+ */ + public void batchAnnotateImages(com.google.cloud.vision.v1p3beta1.BatchAnnotateImagesRequest request, + io.grpc.stub.StreamObserver
+ * 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). + *+ */ + public void asyncBatchAnnotateFiles(com.google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesRequest request, + io.grpc.stub.StreamObserver
+ * 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. + *+ */ + public static final class ImageAnnotatorBlockingStub extends io.grpc.stub.AbstractStub
+ * Run image detection and annotation for a batch of images. + *+ */ + public com.google.cloud.vision.v1p3beta1.BatchAnnotateImagesResponse batchAnnotateImages(com.google.cloud.vision.v1p3beta1.BatchAnnotateImagesRequest request) { + return blockingUnaryCall( + getChannel(), getBatchAnnotateImagesMethodHelper(), getCallOptions(), request); + } + + /** + *
+ * 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). + *+ */ + public com.google.longrunning.Operation asyncBatchAnnotateFiles(com.google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesRequest request) { + return blockingUnaryCall( + getChannel(), getAsyncBatchAnnotateFilesMethodHelper(), getCallOptions(), request); + } + } + + /** + *
+ * 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. + *+ */ + public static final class ImageAnnotatorFutureStub extends io.grpc.stub.AbstractStub
+ * Run image detection and annotation for a batch of images. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * 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). + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Manages Products and ProductSets of reference images for use in product + * search. It uses the following resource model: + * - The API has a collection of [ProductSet][google.cloud.vision.v1p3beta1.ProductSet] resources, named + * `projects/*/locations/*/productSets/*`, which acts as a way to put different + * products into groups to limit identification. + * In parallel, + * - The API has a collection of [Product][google.cloud.vision.v1p3beta1.Product] resources, named + * `projects/*/locations/*/products/*` + * - Each [Product][google.cloud.vision.v1p3beta1.Product] has a collection of [ReferenceImage][google.cloud.vision.v1p3beta1.ReferenceImage] resources, named + * `projects/*/locations/*/products/*/referenceImages/*` + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler (version 1.10.0)", + comments = "Source: google/cloud/vision/v1p3beta1/product_search_service.proto") +public final class ProductSearchGrpc { + + private ProductSearchGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.vision.v1p3beta1.ProductSearch"; + + // Static method descriptors that strictly reflect the proto. + @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") + @java.lang.Deprecated // Use {@link #getCreateProductSetMethod()} instead. + public static final io.grpc.MethodDescriptor