diff --git a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/AutoMlClient.java b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/AutoMlClient.java index acbf3fa8d..090cd2729 100644 --- a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/AutoMlClient.java +++ b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/AutoMlClient.java @@ -197,8 +197,8 @@ public final OperationsClient getOperationsClient() { * } * * - * @param parent The resource name of the project to create the dataset for. - * @param dataset The dataset to create. + * @param parent Required. The resource name of the project to create the dataset for. + * @param dataset Required. The dataset to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -227,8 +227,8 @@ public final OperationFuture createDatasetAsync( * } * * - * @param parent The resource name of the project to create the dataset for. - * @param dataset The dataset to create. + * @param parent Required. The resource name of the project to create the dataset for. + * @param dataset Required. The dataset to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -332,7 +332,7 @@ public final UnaryCallable createDatasetCallabl * } * * - * @param dataset The dataset which replaces the resource on the server. + * @param dataset Required. The dataset which replaces the resource on the server. * @param updateMask Required. The update mask applies to the resource. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -404,7 +404,7 @@ public final UnaryCallable updateDatasetCallable( * } * * - * @param name The resource name of the dataset to retrieve. + * @param name Required. The resource name of the dataset to retrieve. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Dataset getDataset(DatasetName name) { @@ -426,7 +426,7 @@ public final Dataset getDataset(DatasetName name) { * } * * - * @param name The resource name of the dataset to retrieve. + * @param name Required. The resource name of the dataset to retrieve. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Dataset getDataset(String name) { @@ -494,7 +494,7 @@ public final UnaryCallable getDatasetCallable() { * } * * - * @param parent The resource name of the project from which to list datasets. + * @param parent Required. The resource name of the project from which to list datasets. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListDatasetsPagedResponse listDatasets(LocationName parent) { @@ -520,7 +520,7 @@ public final ListDatasetsPagedResponse listDatasets(LocationName parent) { * } * * - * @param parent The resource name of the project from which to list datasets. + * @param parent Required. The resource name of the project from which to list datasets. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListDatasetsPagedResponse listDatasets(String parent) { @@ -624,7 +624,7 @@ public final UnaryCallable listDatase * } * * - * @param name The resource name of the dataset to delete. + * @param name Required. The resource name of the dataset to delete. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -650,7 +650,7 @@ public final OperationFuture deleteDatasetAsync(Datase * } * * - * @param name The resource name of the dataset to delete. + * @param name Required. The resource name of the dataset to delete. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -740,7 +740,11 @@ public final UnaryCallable deleteDatasetCallabl // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Imports data into a dataset. + * Imports data into a dataset. For Tables this method can only be called on an empty Dataset. + * + *

For Tables: * A [schema_inference_version][google.cloud.automl.v1.InputConfig.params] + * parameter must be explicitly set. Returns an empty response in the + * [response][google.longrunning.Operation.response] field when it completes. * *

Sample code: * @@ -772,7 +776,11 @@ public final OperationFuture importDataAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Imports data into a dataset. + * Imports data into a dataset. For Tables this method can only be called on an empty Dataset. + * + *

For Tables: * A [schema_inference_version][google.cloud.automl.v1.InputConfig.params] + * parameter must be explicitly set. Returns an empty response in the + * [response][google.longrunning.Operation.response] field when it completes. * *

Sample code: * @@ -801,7 +809,11 @@ public final OperationFuture importDataAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Imports data into a dataset. + * Imports data into a dataset. For Tables this method can only be called on an empty Dataset. + * + *

For Tables: * A [schema_inference_version][google.cloud.automl.v1.InputConfig.params] + * parameter must be explicitly set. Returns an empty response in the + * [response][google.longrunning.Operation.response] field when it completes. * *

Sample code: * @@ -829,7 +841,11 @@ public final OperationFuture importDataAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Imports data into a dataset. + * Imports data into a dataset. For Tables this method can only be called on an empty Dataset. + * + *

For Tables: * A [schema_inference_version][google.cloud.automl.v1.InputConfig.params] + * parameter must be explicitly set. Returns an empty response in the + * [response][google.longrunning.Operation.response] field when it completes. * *

Sample code: * @@ -855,7 +871,11 @@ public final OperationFuture importDataAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Imports data into a dataset. + * Imports data into a dataset. For Tables this method can only be called on an empty Dataset. + * + *

For Tables: * A [schema_inference_version][google.cloud.automl.v1.InputConfig.params] + * parameter must be explicitly set. Returns an empty response in the + * [response][google.longrunning.Operation.response] field when it completes. * *

Sample code: * @@ -1030,7 +1050,7 @@ public final UnaryCallable exportDataCallable() { * } * * - * @param name The resource name of the annotation spec to retrieve. + * @param name Required. The resource name of the annotation spec to retrieve. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AnnotationSpec getAnnotationSpec(AnnotationSpecName name) { @@ -1054,7 +1074,7 @@ public final AnnotationSpec getAnnotationSpec(AnnotationSpecName name) { * } * * - * @param name The resource name of the annotation spec to retrieve. + * @param name Required. The resource name of the annotation spec to retrieve. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final AnnotationSpec getAnnotationSpec(String name) { @@ -1123,8 +1143,8 @@ public final UnaryCallable getAnnotati * } * * - * @param parent Resource name of the parent project where the model is being created. - * @param model The model to create. + * @param parent Required. Resource name of the parent project where the model is being created. + * @param model Required. The model to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1155,8 +1175,8 @@ public final OperationFuture createModelAsync( * } * * - * @param parent Resource name of the parent project where the model is being created. - * @param model The model to create. + * @param parent Required. Resource name of the parent project where the model is being created. + * @param model Required. The model to create. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1265,7 +1285,7 @@ public final UnaryCallable createModelCallable() * } * * - * @param name Resource name of the model. + * @param name Required. Resource name of the model. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Model getModel(ModelName name) { @@ -1287,7 +1307,7 @@ public final Model getModel(ModelName name) { * } * * - * @param name Resource name of the model. + * @param name Required. Resource name of the model. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Model getModel(String name) { @@ -1354,7 +1374,7 @@ public final UnaryCallable getModelCallable() { * } * * - * @param model The model which replaces the resource on the server. + * @param model Required. The model which replaces the resource on the server. * @param updateMask Required. The update mask applies to the resource. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1428,7 +1448,7 @@ public final UnaryCallable updateModelCallable() { * } * * - * @param parent Resource name of the project, from which to list the models. + * @param parent Required. Resource name of the project, from which to list the models. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListModelsPagedResponse listModels(LocationName parent) { @@ -1452,7 +1472,7 @@ public final ListModelsPagedResponse listModels(LocationName parent) { * } * * - * @param parent Resource name of the project, from which to list the models. + * @param parent Required. Resource name of the project, from which to list the models. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListModelsPagedResponse listModels(String parent) { @@ -1555,7 +1575,7 @@ public final UnaryCallable listModelsCall * } * * - * @param name Resource name of the model being deleted. + * @param name Required. Resource name of the model being deleted. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1581,7 +1601,7 @@ public final OperationFuture deleteModelAsync(ModelNam * } * * - * @param name Resource name of the model being deleted. + * @param name Required. Resource name of the model being deleted. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1674,11 +1694,11 @@ public final UnaryCallable deleteModelCallable() * Deploys a model. If a model is already deployed, deploying it with the same parameters has no * effect. Deploying with different parametrs (as e.g. changing * - *

[node_number][google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata.node_number]) + *

[node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number]) * will reset the deployment state without pausing the model's availability. * - *

Only applicable for Text Classification, Image Object Detection; all other domains manage - * deployment automatically. + *

Only applicable for Text Classification, Image Object Detection , Tables, and Image + * Segmentation; all other domains manage deployment automatically. * *

Returns an empty response in the [response][google.longrunning.Operation.response] field * when it completes. @@ -1692,7 +1712,7 @@ public final UnaryCallable deleteModelCallable() * } * * - * @param name Resource name of the model to deploy. + * @param name Required. Resource name of the model to deploy. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1708,11 +1728,11 @@ public final OperationFuture deployModelAsync(ModelNam * Deploys a model. If a model is already deployed, deploying it with the same parameters has no * effect. Deploying with different parametrs (as e.g. changing * - *

[node_number][google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata.node_number]) + *

[node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number]) * will reset the deployment state without pausing the model's availability. * - *

Only applicable for Text Classification, Image Object Detection; all other domains manage - * deployment automatically. + *

Only applicable for Text Classification, Image Object Detection , Tables, and Image + * Segmentation; all other domains manage deployment automatically. * *

Returns an empty response in the [response][google.longrunning.Operation.response] field * when it completes. @@ -1726,7 +1746,7 @@ public final OperationFuture deployModelAsync(ModelNam * } * * - * @param name Resource name of the model to deploy. + * @param name Required. Resource name of the model to deploy. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1741,11 +1761,11 @@ public final OperationFuture deployModelAsync(String n * Deploys a model. If a model is already deployed, deploying it with the same parameters has no * effect. Deploying with different parametrs (as e.g. changing * - *

[node_number][google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata.node_number]) + *

[node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number]) * will reset the deployment state without pausing the model's availability. * - *

Only applicable for Text Classification, Image Object Detection; all other domains manage - * deployment automatically. + *

Only applicable for Text Classification, Image Object Detection , Tables, and Image + * Segmentation; all other domains manage deployment automatically. * *

Returns an empty response in the [response][google.longrunning.Operation.response] field * when it completes. @@ -1777,11 +1797,11 @@ public final OperationFuture deployModelAsync( * Deploys a model. If a model is already deployed, deploying it with the same parameters has no * effect. Deploying with different parametrs (as e.g. changing * - *

[node_number][google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata.node_number]) + *

[node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number]) * will reset the deployment state without pausing the model's availability. * - *

Only applicable for Text Classification, Image Object Detection; all other domains manage - * deployment automatically. + *

Only applicable for Text Classification, Image Object Detection , Tables, and Image + * Segmentation; all other domains manage deployment automatically. * *

Returns an empty response in the [response][google.longrunning.Operation.response] field * when it completes. @@ -1811,11 +1831,11 @@ public final OperationFuture deployModelAsync( * Deploys a model. If a model is already deployed, deploying it with the same parameters has no * effect. Deploying with different parametrs (as e.g. changing * - *

[node_number][google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata.node_number]) + *

[node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number]) * will reset the deployment state without pausing the model's availability. * - *

Only applicable for Text Classification, Image Object Detection; all other domains manage - * deployment automatically. + *

Only applicable for Text Classification, Image Object Detection , Tables, and Image + * Segmentation; all other domains manage deployment automatically. * *

Returns an empty response in the [response][google.longrunning.Operation.response] field * when it completes. @@ -1842,8 +1862,8 @@ public final UnaryCallable deployModelCallable() /** * Undeploys a model. If the model is not deployed this method has no effect. * - *

Only applicable for Text Classification, Image Object Detection; all other domains manage - * deployment automatically. + *

Only applicable for Text Classification, Image Object Detection and Tables; all other + * domains manage deployment automatically. * *

Returns an empty response in the [response][google.longrunning.Operation.response] field * when it completes. @@ -1857,7 +1877,7 @@ public final UnaryCallable deployModelCallable() * } * * - * @param name Resource name of the model to undeploy. + * @param name Required. Resource name of the model to undeploy. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1872,8 +1892,8 @@ public final OperationFuture undeployModelAsync(ModelN /** * Undeploys a model. If the model is not deployed this method has no effect. * - *

Only applicable for Text Classification, Image Object Detection; all other domains manage - * deployment automatically. + *

Only applicable for Text Classification, Image Object Detection and Tables; all other + * domains manage deployment automatically. * *

Returns an empty response in the [response][google.longrunning.Operation.response] field * when it completes. @@ -1887,7 +1907,7 @@ public final OperationFuture undeployModelAsync(ModelN * } * * - * @param name Resource name of the model to undeploy. + * @param name Required. Resource name of the model to undeploy. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -1901,8 +1921,8 @@ public final OperationFuture undeployModelAsync(String /** * Undeploys a model. If the model is not deployed this method has no effect. * - *

Only applicable for Text Classification, Image Object Detection; all other domains manage - * deployment automatically. + *

Only applicable for Text Classification, Image Object Detection and Tables; all other + * domains manage deployment automatically. * *

Returns an empty response in the [response][google.longrunning.Operation.response] field * when it completes. @@ -1933,8 +1953,8 @@ public final OperationFuture undeployModelAsync( /** * Undeploys a model. If the model is not deployed this method has no effect. * - *

Only applicable for Text Classification, Image Object Detection; all other domains manage - * deployment automatically. + *

Only applicable for Text Classification, Image Object Detection and Tables; all other + * domains manage deployment automatically. * *

Returns an empty response in the [response][google.longrunning.Operation.response] field * when it completes. @@ -1963,8 +1983,8 @@ public final OperationFuture undeployModelAsync( /** * Undeploys a model. If the model is not deployed this method has no effect. * - *

Only applicable for Text Classification, Image Object Detection; all other domains manage - * deployment automatically. + *

Only applicable for Text Classification, Image Object Detection and Tables; all other + * domains manage deployment automatically. * *

Returns an empty response in the [response][google.longrunning.Operation.response] field * when it completes. @@ -2093,7 +2113,7 @@ public final UnaryCallable exportModelCallable() * } * * - * @param name Resource name for the model evaluation. + * @param name Required. Resource name for the model evaluation. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ModelEvaluation getModelEvaluation(ModelEvaluationName name) { @@ -2117,7 +2137,7 @@ public final ModelEvaluation getModelEvaluation(ModelEvaluationName name) { * } * * - * @param name Resource name for the model evaluation. + * @param name Required. Resource name for the model evaluation. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ModelEvaluation getModelEvaluation(String name) { @@ -2188,9 +2208,10 @@ public final ModelEvaluation getModelEvaluation(GetModelEvaluationRequest reques * } * * - * @param parent Resource name of the model to list the model evaluations for. If modelId is set - * as "-", this will list model evaluations from across all models of the parent location. - * @param filter An expression for filtering the results of the request. + * @param parent Required. Resource name of the model to list the model evaluations for. If + * modelId is set as "-", this will list model evaluations from across all models of the + * parent location. + * @param filter Required. An expression for filtering the results of the request. *

* `annotation_spec_id` - for =, != or existence. See example below for the last. *

Some examples of using the filter are: *

* `annotation_spec_id!=4` --> The model evaluation was done for annotation spec @@ -2224,9 +2245,10 @@ public final ListModelEvaluationsPagedResponse listModelEvaluations( * } * * - * @param parent Resource name of the model to list the model evaluations for. If modelId is set - * as "-", this will list model evaluations from across all models of the parent location. - * @param filter An expression for filtering the results of the request. + * @param parent Required. Resource name of the model to list the model evaluations for. If + * modelId is set as "-", this will list model evaluations from across all models of the + * parent location. + * @param filter Required. An expression for filtering the results of the request. *

* `annotation_spec_id` - for =, != or existence. See example below for the last. *

Some examples of using the filter are: *

* `annotation_spec_id!=4` --> The model evaluation was done for annotation spec diff --git a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/PredictionServiceClient.java b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/PredictionServiceClient.java index c5eda2578..9526bc0c3 100644 --- a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/PredictionServiceClient.java +++ b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1/PredictionServiceClient.java @@ -170,14 +170,24 @@ public final OperationsClient getOperationsClient() { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Perform an online prediction. The prediction result will be directly returned in the response. - * Available for following ML problems, and their expected request payloads: * Image - * Classification - Image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. * Image - * Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. * Text - * Classification - TextSnippet, content up to 60,000 characters, UTF-8 encoded. * Text - * Extraction - TextSnippet, content up to 30,000 characters, UTF-8 NFC encoded. * Translation - * - TextSnippet, content up to 25,000 characters, UTF-8 encoded. * Text Sentiment - - * TextSnippet, content up 500 characters, UTF-8 encoded. + * Perform an online prediction. The prediction result is directly returned in the response. + * Available for following ML scenarios, and their expected request payloads: + * + *

<table> <tr> <td>AutoML Vision Classification</td> <td>An + * image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.</td> </tr> <tr> + * <td>AutoML Vision Object Detection</td> <td>An image in .JPEG, .GIF or .PNG + * format, image_bytes up to 30MB.</td> </tr> <tr> <td>AutoML Natural + * Language Classification</td> <td>A TextSnippet up to 60,000 characters, UTF-8 + * encoded or a document in .PDF, .TIF or .TIFF format with size upto 2MB.</td> </tr> + * <tr> <td>AutoML Natural Language Entity Extraction</td> <td>A + * TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document in .PDF, .TIF or .TIFF + * format with size upto 20MB.</td> </tr> <tr> <td>AutoML Natural Language + * Sentiment Analysis</td> <td>A TextSnippet up to 60,000 characters, UTF-8 encoded or + * a document in .PDF, .TIF or .TIFF format with size upto 2MB.</td> </tr> <tr> + * <td>AutoML Translation</td> <td>A TextSnippet up to 25,000 characters, UTF-8 + * encoded.</td> </tr> <tr> <td>AutoML Tables</td> <td>A row + * with column values matching the columns of the model, up to 5MB. Not available for FORECASTING + * `prediction_type`. </td> </tr> </table> * *

Sample code: * @@ -190,20 +200,26 @@ public final OperationsClient getOperationsClient() { * } * * - * @param name Name of the model requested to serve the prediction. + * @param name Required. Name of the model requested to serve the prediction. * @param payload Required. Payload to perform a prediction on. The payload must match the problem * type that the model was trained to solve. * @param params Additional domain-specific parameters, any string must be up to 25000 characters * long. - *

* For Image Classification: - *

`score_threshold` - (float) A value from 0.0 to 1.0. When the model makes predictions + *

<h4>AutoML Vision Classification</h4> + *

`score_threshold` : (float) A value from 0.0 to 1.0. When the model makes predictions * for an image, it will only produce results that have at least this confidence score. The * default is 0.5. - *

* For Image Object Detection: `score_threshold` - (float) When Model detects objects - * on the image, it will only produce bounding boxes which have at least this confidence - * score. Value in 0 to 1 range, default is 0.5. `max_bounding_box_count` - (int64) No more - * than this number of bounding boxes will be returned in the response. Default is 100, the - * requested value may be limited by server. + *

<h4>AutoML Vision Object Detection</h4> + *

`score_threshold` : (float) When Model detects objects on the image, it will only + * produce bounding boxes which have at least this confidence score. Value in 0 to 1 range, + * default is 0.5. + *

`max_bounding_box_count` : (int64) The maximum number of bounding boxes returned. The + * default is 100. The number of returned bounding boxes might be limited by the server. + *

<h4>AutoML Tables</h4> + *

`feature_importance` : (boolean) Whether + *

[feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance] is + * populated in the returned list of + * [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation] objects. The default is false. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final PredictResponse predict( @@ -219,14 +235,24 @@ public final PredictResponse predict( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Perform an online prediction. The prediction result will be directly returned in the response. - * Available for following ML problems, and their expected request payloads: * Image - * Classification - Image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. * Image - * Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. * Text - * Classification - TextSnippet, content up to 60,000 characters, UTF-8 encoded. * Text - * Extraction - TextSnippet, content up to 30,000 characters, UTF-8 NFC encoded. * Translation - * - TextSnippet, content up to 25,000 characters, UTF-8 encoded. * Text Sentiment - - * TextSnippet, content up 500 characters, UTF-8 encoded. + * Perform an online prediction. The prediction result is directly returned in the response. + * Available for following ML scenarios, and their expected request payloads: + * + *

<table> <tr> <td>AutoML Vision Classification</td> <td>An + * image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.</td> </tr> <tr> + * <td>AutoML Vision Object Detection</td> <td>An image in .JPEG, .GIF or .PNG + * format, image_bytes up to 30MB.</td> </tr> <tr> <td>AutoML Natural + * Language Classification</td> <td>A TextSnippet up to 60,000 characters, UTF-8 + * encoded or a document in .PDF, .TIF or .TIFF format with size upto 2MB.</td> </tr> + * <tr> <td>AutoML Natural Language Entity Extraction</td> <td>A + * TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document in .PDF, .TIF or .TIFF + * format with size upto 20MB.</td> </tr> <tr> <td>AutoML Natural Language + * Sentiment Analysis</td> <td>A TextSnippet up to 60,000 characters, UTF-8 encoded or + * a document in .PDF, .TIF or .TIFF format with size upto 2MB.</td> </tr> <tr> + * <td>AutoML Translation</td> <td>A TextSnippet up to 25,000 characters, UTF-8 + * encoded.</td> </tr> <tr> <td>AutoML Tables</td> <td>A row + * with column values matching the columns of the model, up to 5MB. Not available for FORECASTING + * `prediction_type`. </td> </tr> </table> * *

Sample code: * @@ -239,20 +265,26 @@ public final PredictResponse predict( * } * * - * @param name Name of the model requested to serve the prediction. + * @param name Required. Name of the model requested to serve the prediction. * @param payload Required. Payload to perform a prediction on. The payload must match the problem * type that the model was trained to solve. * @param params Additional domain-specific parameters, any string must be up to 25000 characters * long. - *

* For Image Classification: - *

`score_threshold` - (float) A value from 0.0 to 1.0. When the model makes predictions + *

<h4>AutoML Vision Classification</h4> + *

`score_threshold` : (float) A value from 0.0 to 1.0. When the model makes predictions * for an image, it will only produce results that have at least this confidence score. The * default is 0.5. - *

* For Image Object Detection: `score_threshold` - (float) When Model detects objects - * on the image, it will only produce bounding boxes which have at least this confidence - * score. Value in 0 to 1 range, default is 0.5. `max_bounding_box_count` - (int64) No more - * than this number of bounding boxes will be returned in the response. Default is 100, the - * requested value may be limited by server. + *

<h4>AutoML Vision Object Detection</h4> + *

`score_threshold` : (float) When Model detects objects on the image, it will only + * produce bounding boxes which have at least this confidence score. Value in 0 to 1 range, + * default is 0.5. + *

`max_bounding_box_count` : (int64) The maximum number of bounding boxes returned. The + * default is 100. The number of returned bounding boxes might be limited by the server. + *

<h4>AutoML Tables</h4> + *

`feature_importance` : (boolean) Whether + *

[feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance] is + * populated in the returned list of + * [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation] objects. The default is false. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final PredictResponse predict( @@ -264,14 +296,24 @@ public final PredictResponse predict( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Perform an online prediction. The prediction result will be directly returned in the response. - * Available for following ML problems, and their expected request payloads: * Image - * Classification - Image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. * Image - * Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. * Text - * Classification - TextSnippet, content up to 60,000 characters, UTF-8 encoded. * Text - * Extraction - TextSnippet, content up to 30,000 characters, UTF-8 NFC encoded. * Translation - * - TextSnippet, content up to 25,000 characters, UTF-8 encoded. * Text Sentiment - - * TextSnippet, content up 500 characters, UTF-8 encoded. + * Perform an online prediction. The prediction result is directly returned in the response. + * Available for following ML scenarios, and their expected request payloads: + * + *

<table> <tr> <td>AutoML Vision Classification</td> <td>An + * image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.</td> </tr> <tr> + * <td>AutoML Vision Object Detection</td> <td>An image in .JPEG, .GIF or .PNG + * format, image_bytes up to 30MB.</td> </tr> <tr> <td>AutoML Natural + * Language Classification</td> <td>A TextSnippet up to 60,000 characters, UTF-8 + * encoded or a document in .PDF, .TIF or .TIFF format with size upto 2MB.</td> </tr> + * <tr> <td>AutoML Natural Language Entity Extraction</td> <td>A + * TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document in .PDF, .TIF or .TIFF + * format with size upto 20MB.</td> </tr> <tr> <td>AutoML Natural Language + * Sentiment Analysis</td> <td>A TextSnippet up to 60,000 characters, UTF-8 encoded or + * a document in .PDF, .TIF or .TIFF format with size upto 2MB.</td> </tr> <tr> + * <td>AutoML Translation</td> <td>A TextSnippet up to 25,000 characters, UTF-8 + * encoded.</td> </tr> <tr> <td>AutoML Tables</td> <td>A row + * with column values matching the columns of the model, up to 5MB. Not available for FORECASTING + * `prediction_type`. </td> </tr> </table> * *

Sample code: * @@ -296,14 +338,24 @@ public final PredictResponse predict(PredictRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Perform an online prediction. The prediction result will be directly returned in the response. - * Available for following ML problems, and their expected request payloads: * Image - * Classification - Image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. * Image - * Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB. * Text - * Classification - TextSnippet, content up to 60,000 characters, UTF-8 encoded. * Text - * Extraction - TextSnippet, content up to 30,000 characters, UTF-8 NFC encoded. * Translation - * - TextSnippet, content up to 25,000 characters, UTF-8 encoded. * Text Sentiment - - * TextSnippet, content up 500 characters, UTF-8 encoded. + * Perform an online prediction. The prediction result is directly returned in the response. + * Available for following ML scenarios, and their expected request payloads: + * + *

<table> <tr> <td>AutoML Vision Classification</td> <td>An + * image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.</td> </tr> <tr> + * <td>AutoML Vision Object Detection</td> <td>An image in .JPEG, .GIF or .PNG + * format, image_bytes up to 30MB.</td> </tr> <tr> <td>AutoML Natural + * Language Classification</td> <td>A TextSnippet up to 60,000 characters, UTF-8 + * encoded or a document in .PDF, .TIF or .TIFF format with size upto 2MB.</td> </tr> + * <tr> <td>AutoML Natural Language Entity Extraction</td> <td>A + * TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document in .PDF, .TIF or .TIFF + * format with size upto 20MB.</td> </tr> <tr> <td>AutoML Natural Language + * Sentiment Analysis</td> <td>A TextSnippet up to 60,000 characters, UTF-8 encoded or + * a document in .PDF, .TIF or .TIFF format with size upto 2MB.</td> </tr> <tr> + * <td>AutoML Translation</td> <td>A TextSnippet up to 25,000 characters, UTF-8 + * encoded.</td> </tr> <tr> <td>AutoML Tables</td> <td>A row + * with column values matching the columns of the model, up to 5MB. Not available for FORECASTING + * `prediction_type`. </td> </tr> </table> * *

Sample code: * @@ -333,8 +385,12 @@ public final UnaryCallable predictCallable() { * User can poll the operation result via * [GetOperation][google.longrunning.Operations.GetOperation] method. Once the operation is done, * [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in the - * [response][google.longrunning.Operation.response] field. Available for following ML problems: - * * Image Classification * Image Object Detection * Text Extraction + * [response][google.longrunning.Operation.response] field. Available for following ML scenarios: + * + *

* AutoML Vision Classification * AutoML Vision Object Detection * AutoML Video + * Intelligence Classification * AutoML Video Intelligence Object Tracking * AutoML + * Natural Language Classification * AutoML Natural Language Entity Extraction * AutoML + * Natural Language Sentiment Analysis * AutoML Tables * *

Sample code: * @@ -348,26 +404,57 @@ public final UnaryCallable predictCallable() { * } * * - * @param name Name of the model requested to serve the batch prediction. + * @param name Required. Name of the model requested to serve the batch prediction. * @param inputConfig Required. The input configuration for batch prediction. * @param outputConfig Required. The Configuration specifying where output predictions should be * written. * @param params Additional domain-specific parameters for the predictions, any string must be up * to 25000 characters long. - *

* For Text Classification: - *

`score_threshold` - (float) A value from 0.0 to 1.0. When the model makes predictions + *

<h4>AutoML Natural Language Classification</h4> + *

`score_threshold` : (float) A value from 0.0 to 1.0. When the model makes predictions * for a text snippet, it will only produce results that have at least this confidence score. * The default is 0.5. - *

* For Image Classification: - *

`score_threshold` - (float) A value from 0.0 to 1.0. When the model makes predictions + *

<h4>AutoML Vision Classification</h4> + *

`score_threshold` : (float) A value from 0.0 to 1.0. When the model makes predictions * for an image, it will only produce results that have at least this confidence score. The * default is 0.5. - *

* For Image Object Detection: - *

`score_threshold` - (float) When Model detects objects on the image, it will only + *

<h4>AutoML Vision Object Detection</h4> + *

`score_threshold` : (float) When Model detects objects on the image, it will only * produce bounding boxes which have at least this confidence score. Value in 0 to 1 range, - * default is 0.5. `max_bounding_box_count` - (int64) No more than this number of bounding - * boxes will be produced per image. Default is 100, the requested value may be limited by + * default is 0.5. + *

`max_bounding_box_count` : (int64) The maximum number of bounding boxes returned per + * image. The default is 100, the number of bounding boxes returned might be limited by the + * server. <h4>AutoML Video Intelligence Classification</h4> + *

`score_threshold` : (float) A value from 0.0 to 1.0. When the model makes predictions + * for a video, it will only produce results that have at least this confidence score. The + * default is 0.5. + *

`segment_classification` : (boolean) Set to true to request segment-level + * classification. AutoML Video Intelligence returns labels and their confidence scores for + * the entire segment of the video that user specified in the request configuration. The + * default is true. + *

`shot_classification` : (boolean) Set to true to request shot-level classification. + * AutoML Video Intelligence determines the boundaries for each camera shot in the entire + * segment of the video that user specified in the request configuration. AutoML Video + * Intelligence then returns labels and their confidence scores for each detected shot, along + * with the start and end time of the shot. The default is false. + *

WARNING: Model evaluation is not done for this classification type, the quality of it + * depends on training data, but there are no metrics provided to describe that quality. + *

`1s_interval_classification` : (boolean) Set to true to request classification for a + * video at one-second intervals. AutoML Video Intelligence returns labels and their + * confidence scores for each second of the entire segment of the video that user specified in + * the request configuration. The default is false. + *

WARNING: Model evaluation is not done for this classification type, the quality of it + * depends on training data, but there are no metrics provided to describe that quality. + *

<h4>AutoML Video Intelligence Object Tracking</h4> + *

`score_threshold` : (float) When Model detects objects on video frames, it will only + * produce bounding boxes which have at least this confidence score. Value in 0 to 1 range, + * default is 0.5. + *

`max_bounding_box_count` : (int64) The maximum number of bounding boxes returned per + * image. The default is 100, the number of bounding boxes returned might be limited by the * server. + *

`min_bounding_box_size` : (float) Only bounding boxes with shortest edge at least that + * long as a relative value of video frame size are returned. Value in 0 to 1 range. Default + * is 0. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -395,8 +482,12 @@ public final OperationFuture batchPredict * User can poll the operation result via * [GetOperation][google.longrunning.Operations.GetOperation] method. Once the operation is done, * [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in the - * [response][google.longrunning.Operation.response] field. Available for following ML problems: - * * Image Classification * Image Object Detection * Text Extraction + * [response][google.longrunning.Operation.response] field. Available for following ML scenarios: + * + *

* AutoML Vision Classification * AutoML Vision Object Detection * AutoML Video + * Intelligence Classification * AutoML Video Intelligence Object Tracking * AutoML + * Natural Language Classification * AutoML Natural Language Entity Extraction * AutoML + * Natural Language Sentiment Analysis * AutoML Tables * *

Sample code: * @@ -410,26 +501,57 @@ public final OperationFuture batchPredict * } * * - * @param name Name of the model requested to serve the batch prediction. + * @param name Required. Name of the model requested to serve the batch prediction. * @param inputConfig Required. The input configuration for batch prediction. * @param outputConfig Required. The Configuration specifying where output predictions should be * written. * @param params Additional domain-specific parameters for the predictions, any string must be up * to 25000 characters long. - *

* For Text Classification: - *

`score_threshold` - (float) A value from 0.0 to 1.0. When the model makes predictions + *

<h4>AutoML Natural Language Classification</h4> + *

`score_threshold` : (float) A value from 0.0 to 1.0. When the model makes predictions * for a text snippet, it will only produce results that have at least this confidence score. * The default is 0.5. - *

* For Image Classification: - *

`score_threshold` - (float) A value from 0.0 to 1.0. When the model makes predictions + *

<h4>AutoML Vision Classification</h4> + *

`score_threshold` : (float) A value from 0.0 to 1.0. When the model makes predictions * for an image, it will only produce results that have at least this confidence score. The * default is 0.5. - *

* For Image Object Detection: - *

`score_threshold` - (float) When Model detects objects on the image, it will only + *

<h4>AutoML Vision Object Detection</h4> + *

`score_threshold` : (float) When Model detects objects on the image, it will only + * produce bounding boxes which have at least this confidence score. Value in 0 to 1 range, + * default is 0.5. + *

`max_bounding_box_count` : (int64) The maximum number of bounding boxes returned per + * image. The default is 100, the number of bounding boxes returned might be limited by the + * server. <h4>AutoML Video Intelligence Classification</h4> + *

`score_threshold` : (float) A value from 0.0 to 1.0. When the model makes predictions + * for a video, it will only produce results that have at least this confidence score. The + * default is 0.5. + *

`segment_classification` : (boolean) Set to true to request segment-level + * classification. AutoML Video Intelligence returns labels and their confidence scores for + * the entire segment of the video that user specified in the request configuration. The + * default is true. + *

`shot_classification` : (boolean) Set to true to request shot-level classification. + * AutoML Video Intelligence determines the boundaries for each camera shot in the entire + * segment of the video that user specified in the request configuration. AutoML Video + * Intelligence then returns labels and their confidence scores for each detected shot, along + * with the start and end time of the shot. The default is false. + *

WARNING: Model evaluation is not done for this classification type, the quality of it + * depends on training data, but there are no metrics provided to describe that quality. + *

`1s_interval_classification` : (boolean) Set to true to request classification for a + * video at one-second intervals. AutoML Video Intelligence returns labels and their + * confidence scores for each second of the entire segment of the video that user specified in + * the request configuration. The default is false. + *

WARNING: Model evaluation is not done for this classification type, the quality of it + * depends on training data, but there are no metrics provided to describe that quality. + *

<h4>AutoML Video Intelligence Object Tracking</h4> + *

`score_threshold` : (float) When Model detects objects on video frames, it will only * produce bounding boxes which have at least this confidence score. Value in 0 to 1 range, - * default is 0.5. `max_bounding_box_count` - (int64) No more than this number of bounding - * boxes will be produced per image. Default is 100, the requested value may be limited by + * default is 0.5. + *

`max_bounding_box_count` : (int64) The maximum number of bounding boxes returned per + * image. The default is 100, the number of bounding boxes returned might be limited by the * server. + *

`min_bounding_box_size` : (float) Only bounding boxes with shortest edge at least that + * long as a relative value of video frame size are returned. Value in 0 to 1 range. Default + * is 0. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -457,8 +579,12 @@ public final OperationFuture batchPredict * User can poll the operation result via * [GetOperation][google.longrunning.Operations.GetOperation] method. Once the operation is done, * [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in the - * [response][google.longrunning.Operation.response] field. Available for following ML problems: - * * Image Classification * Image Object Detection * Text Extraction + * [response][google.longrunning.Operation.response] field. Available for following ML scenarios: + * + *

* AutoML Vision Classification * AutoML Vision Object Detection * AutoML Video + * Intelligence Classification * AutoML Video Intelligence Object Tracking * AutoML + * Natural Language Classification * AutoML Natural Language Entity Extraction * AutoML + * Natural Language Sentiment Analysis * AutoML Tables * *

Sample code: * @@ -494,8 +620,12 @@ public final OperationFuture batchPredict * User can poll the operation result via * [GetOperation][google.longrunning.Operations.GetOperation] method. Once the operation is done, * [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in the - * [response][google.longrunning.Operation.response] field. Available for following ML problems: - * * Image Classification * Image Object Detection * Text Extraction + * [response][google.longrunning.Operation.response] field. Available for following ML scenarios: + * + *

* AutoML Vision Classification * AutoML Vision Object Detection * AutoML Video + * Intelligence Classification * AutoML Video Intelligence Object Tracking * AutoML + * Natural Language Classification * AutoML Natural Language Entity Extraction * AutoML + * Natural Language Sentiment Analysis * AutoML Tables * *

Sample code: * @@ -529,8 +659,12 @@ public final OperationFuture batchPredict * User can poll the operation result via * [GetOperation][google.longrunning.Operations.GetOperation] method. Once the operation is done, * [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in the - * [response][google.longrunning.Operation.response] field. Available for following ML problems: - * * Image Classification * Image Object Detection * Text Extraction + * [response][google.longrunning.Operation.response] field. Available for following ML scenarios: + * + *

* AutoML Vision Classification * AutoML Vision Object Detection * AutoML Video + * Intelligence Classification * AutoML Video Intelligence Object Tracking * AutoML + * Natural Language Classification * AutoML Natural Language Entity Extraction * AutoML + * Natural Language Sentiment Analysis * AutoML Tables * *

Sample code: * diff --git a/grpc-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AutoMlGrpc.java b/grpc-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AutoMlGrpc.java index 6e991cf2f..9ad299916 100644 --- a/grpc-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AutoMlGrpc.java +++ b/grpc-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AutoMlGrpc.java @@ -1091,6 +1091,13 @@ public void deleteDataset( * *

      * Imports data into a dataset.
+     * For Tables this method can only be called on an empty Dataset.
+     * For Tables:
+     * *   A
+     * [schema_inference_version][google.cloud.automl.v1.InputConfig.params]
+     *     parameter must be explicitly set.
+     * Returns an empty response in the
+     * [response][google.longrunning.Operation.response] field when it completes.
      * 
*/ public void importData( @@ -1208,10 +1215,10 @@ public void updateModel( * Deploys a model. If a model is already deployed, deploying it with the * same parameters has no effect. Deploying with different parametrs * (as e.g. changing - * [node_number][google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata.node_number]) + * [node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number]) * will reset the deployment state without pausing the model's availability. - * Only applicable for Text Classification, Image Object Detection; all other - * domains manage deployment automatically. + * Only applicable for Text Classification, Image Object Detection , Tables, and Image Segmentation; all other domains manage + * deployment automatically. * Returns an empty response in the * [response][google.longrunning.Operation.response] field when it completes. * @@ -1227,7 +1234,7 @@ public void deployModel( * *
      * Undeploys a model. If the model is not deployed this method has no effect.
-     * Only applicable for Text Classification, Image Object Detection;
+     * Only applicable for Text Classification, Image Object Detection and Tables;
      * all other domains manage deployment automatically.
      * Returns an empty response in the
      * [response][google.longrunning.Operation.response] field when it completes.
@@ -1523,6 +1530,13 @@ public void deleteDataset(
      *
      * 
      * Imports data into a dataset.
+     * For Tables this method can only be called on an empty Dataset.
+     * For Tables:
+     * *   A
+     * [schema_inference_version][google.cloud.automl.v1.InputConfig.params]
+     *     parameter must be explicitly set.
+     * Returns an empty response in the
+     * [response][google.longrunning.Operation.response] field when it completes.
      * 
*/ public void importData( @@ -1664,10 +1678,10 @@ public void updateModel( * Deploys a model. If a model is already deployed, deploying it with the * same parameters has no effect. Deploying with different parametrs * (as e.g. changing - * [node_number][google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata.node_number]) + * [node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number]) * will reset the deployment state without pausing the model's availability. - * Only applicable for Text Classification, Image Object Detection; all other - * domains manage deployment automatically. + * Only applicable for Text Classification, Image Object Detection , Tables, and Image Segmentation; all other domains manage + * deployment automatically. * Returns an empty response in the * [response][google.longrunning.Operation.response] field when it completes. *
@@ -1686,7 +1700,7 @@ public void deployModel( * *
      * Undeploys a model. If the model is not deployed this method has no effect.
-     * Only applicable for Text Classification, Image Object Detection;
+     * Only applicable for Text Classification, Image Object Detection and Tables;
      * all other domains manage deployment automatically.
      * Returns an empty response in the
      * [response][google.longrunning.Operation.response] field when it completes.
@@ -1861,6 +1875,13 @@ public com.google.longrunning.Operation deleteDataset(
      *
      * 
      * Imports data into a dataset.
+     * For Tables this method can only be called on an empty Dataset.
+     * For Tables:
+     * *   A
+     * [schema_inference_version][google.cloud.automl.v1.InputConfig.params]
+     *     parameter must be explicitly set.
+     * Returns an empty response in the
+     * [response][google.longrunning.Operation.response] field when it completes.
      * 
*/ public com.google.longrunning.Operation importData( @@ -1976,10 +1997,10 @@ public com.google.cloud.automl.v1.Model updateModel( * Deploys a model. If a model is already deployed, deploying it with the * same parameters has no effect. Deploying with different parametrs * (as e.g. changing - * [node_number][google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata.node_number]) + * [node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number]) * will reset the deployment state without pausing the model's availability. - * Only applicable for Text Classification, Image Object Detection; all other - * domains manage deployment automatically. + * Only applicable for Text Classification, Image Object Detection , Tables, and Image Segmentation; all other domains manage + * deployment automatically. * Returns an empty response in the * [response][google.longrunning.Operation.response] field when it completes. *
@@ -1995,7 +2016,7 @@ public com.google.longrunning.Operation deployModel( * *
      * Undeploys a model. If the model is not deployed this method has no effect.
-     * Only applicable for Text Classification, Image Object Detection;
+     * Only applicable for Text Classification, Image Object Detection and Tables;
      * all other domains manage deployment automatically.
      * Returns an empty response in the
      * [response][google.longrunning.Operation.response] field when it completes.
@@ -2157,6 +2178,13 @@ protected AutoMlFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca
      *
      * 
      * Imports data into a dataset.
+     * For Tables this method can only be called on an empty Dataset.
+     * For Tables:
+     * *   A
+     * [schema_inference_version][google.cloud.automl.v1.InputConfig.params]
+     *     parameter must be explicitly set.
+     * Returns an empty response in the
+     * [response][google.longrunning.Operation.response] field when it completes.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -2275,10 +2303,10 @@ protected AutoMlFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca * Deploys a model. If a model is already deployed, deploying it with the * same parameters has no effect. Deploying with different parametrs * (as e.g. changing - * [node_number][google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata.node_number]) + * [node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number]) * will reset the deployment state without pausing the model's availability. - * Only applicable for Text Classification, Image Object Detection; all other - * domains manage deployment automatically. + * Only applicable for Text Classification, Image Object Detection , Tables, and Image Segmentation; all other domains manage + * deployment automatically. * Returns an empty response in the * [response][google.longrunning.Operation.response] field when it completes. *
@@ -2294,7 +2322,7 @@ protected AutoMlFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca * *
      * Undeploys a model. If the model is not deployed this method has no effect.
-     * Only applicable for Text Classification, Image Object Detection;
+     * Only applicable for Text Classification, Image Object Detection and Tables;
      * all other domains manage deployment automatically.
      * Returns an empty response in the
      * [response][google.longrunning.Operation.response] field when it completes.
diff --git a/grpc-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictionServiceGrpc.java b/grpc-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictionServiceGrpc.java
index 9e2665443..71ed079f4 100644
--- a/grpc-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictionServiceGrpc.java
+++ b/grpc-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictionServiceGrpc.java
@@ -176,21 +176,45 @@ public abstract static class PredictionServiceImplBase implements io.grpc.Bindab
      *
      *
      * 
-     * Perform an online prediction. The prediction result will be directly
+     * Perform an online prediction. The prediction result is directly
      * returned in the response.
-     * Available for following ML problems, and their expected request payloads:
-     * * Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes
-     *                          up to 30MB.
-     * * Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes
-     *                            up to 30MB.
-     * * Text Classification - TextSnippet, content up to 60,000 characters,
-     *                         UTF-8 encoded.
-     * * Text Extraction - TextSnippet, content up to 30,000 characters,
-     *                     UTF-8 NFC encoded.
-     * * Translation - TextSnippet, content up to 25,000 characters, UTF-8
-     *                 encoded.
-     * * Text Sentiment - TextSnippet, content up 500 characters, UTF-8
-     *                     encoded.
+     * Available for following ML scenarios, and their expected request payloads:
+     * <table>
+     * <tr>
+     * <td>AutoML Vision Classification</td>
+     * <td>An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Vision Object Detection</td>
+     * <td>An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Natural Language Classification</td>
+     * <td>A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
+     * .PDF, .TIF or .TIFF format with size upto 2MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Natural Language Entity Extraction</td>
+     * <td>A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document
+     *  in .PDF, .TIF or .TIFF format with size upto 20MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Natural Language Sentiment Analysis</td>
+     * <td>A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
+     * .PDF, .TIF or .TIFF format with size upto 2MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Translation</td>
+     * <td>A TextSnippet up to 25,000 characters, UTF-8 encoded.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Tables</td>
+     * <td>A row with column values matching
+     *   the columns of the model, up to 5MB. Not available for FORECASTING
+     *   `prediction_type`.
+     * </td>
+     * </tr>
+     * </table>
      * 
*/ public void predict( @@ -203,18 +227,20 @@ public void predict( * * *
-     * Perform a batch prediction. Unlike the online
-     * [Predict][google.cloud.automl.v1.PredictionService.Predict], batch
+     * Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1.PredictionService.Predict], batch
      * prediction result won't be immediately available in the response. Instead,
      * a long running operation object is returned. User can poll the operation
      * result via [GetOperation][google.longrunning.Operations.GetOperation]
-     * method. Once the operation is done,
-     * [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned
-     * in the [response][google.longrunning.Operation.response] field. Available
-     * for following ML problems:
-     * * Image Classification
-     * * Image Object Detection
-     * * Text Extraction
+     * method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in
+     * the [response][google.longrunning.Operation.response] field.
+     * Available for following ML scenarios:
+     * * AutoML Vision Classification
+     * * AutoML Vision Object Detection
+     * * AutoML Video Intelligence Classification
+     * * AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification
+     * * AutoML Natural Language Entity Extraction
+     * * AutoML Natural Language Sentiment Analysis
+     * * AutoML Tables
      * 
*/ public void batchPredict( @@ -271,21 +297,45 @@ protected PredictionServiceStub build( * * *
-     * Perform an online prediction. The prediction result will be directly
+     * Perform an online prediction. The prediction result is directly
      * returned in the response.
-     * Available for following ML problems, and their expected request payloads:
-     * * Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes
-     *                          up to 30MB.
-     * * Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes
-     *                            up to 30MB.
-     * * Text Classification - TextSnippet, content up to 60,000 characters,
-     *                         UTF-8 encoded.
-     * * Text Extraction - TextSnippet, content up to 30,000 characters,
-     *                     UTF-8 NFC encoded.
-     * * Translation - TextSnippet, content up to 25,000 characters, UTF-8
-     *                 encoded.
-     * * Text Sentiment - TextSnippet, content up 500 characters, UTF-8
-     *                     encoded.
+     * Available for following ML scenarios, and their expected request payloads:
+     * <table>
+     * <tr>
+     * <td>AutoML Vision Classification</td>
+     * <td>An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Vision Object Detection</td>
+     * <td>An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Natural Language Classification</td>
+     * <td>A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
+     * .PDF, .TIF or .TIFF format with size upto 2MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Natural Language Entity Extraction</td>
+     * <td>A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document
+     *  in .PDF, .TIF or .TIFF format with size upto 20MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Natural Language Sentiment Analysis</td>
+     * <td>A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
+     * .PDF, .TIF or .TIFF format with size upto 2MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Translation</td>
+     * <td>A TextSnippet up to 25,000 characters, UTF-8 encoded.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Tables</td>
+     * <td>A row with column values matching
+     *   the columns of the model, up to 5MB. Not available for FORECASTING
+     *   `prediction_type`.
+     * </td>
+     * </tr>
+     * </table>
      * 
*/ public void predict( @@ -301,18 +351,20 @@ public void predict( * * *
-     * Perform a batch prediction. Unlike the online
-     * [Predict][google.cloud.automl.v1.PredictionService.Predict], batch
+     * Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1.PredictionService.Predict], batch
      * prediction result won't be immediately available in the response. Instead,
      * a long running operation object is returned. User can poll the operation
      * result via [GetOperation][google.longrunning.Operations.GetOperation]
-     * method. Once the operation is done,
-     * [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned
-     * in the [response][google.longrunning.Operation.response] field. Available
-     * for following ML problems:
-     * * Image Classification
-     * * Image Object Detection
-     * * Text Extraction
+     * method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in
+     * the [response][google.longrunning.Operation.response] field.
+     * Available for following ML scenarios:
+     * * AutoML Vision Classification
+     * * AutoML Vision Object Detection
+     * * AutoML Video Intelligence Classification
+     * * AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification
+     * * AutoML Natural Language Entity Extraction
+     * * AutoML Natural Language Sentiment Analysis
+     * * AutoML Tables
      * 
*/ public void batchPredict( @@ -355,21 +407,45 @@ protected PredictionServiceBlockingStub build( * * *
-     * Perform an online prediction. The prediction result will be directly
+     * Perform an online prediction. The prediction result is directly
      * returned in the response.
-     * Available for following ML problems, and their expected request payloads:
-     * * Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes
-     *                          up to 30MB.
-     * * Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes
-     *                            up to 30MB.
-     * * Text Classification - TextSnippet, content up to 60,000 characters,
-     *                         UTF-8 encoded.
-     * * Text Extraction - TextSnippet, content up to 30,000 characters,
-     *                     UTF-8 NFC encoded.
-     * * Translation - TextSnippet, content up to 25,000 characters, UTF-8
-     *                 encoded.
-     * * Text Sentiment - TextSnippet, content up 500 characters, UTF-8
-     *                     encoded.
+     * Available for following ML scenarios, and their expected request payloads:
+     * <table>
+     * <tr>
+     * <td>AutoML Vision Classification</td>
+     * <td>An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Vision Object Detection</td>
+     * <td>An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Natural Language Classification</td>
+     * <td>A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
+     * .PDF, .TIF or .TIFF format with size upto 2MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Natural Language Entity Extraction</td>
+     * <td>A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document
+     *  in .PDF, .TIF or .TIFF format with size upto 20MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Natural Language Sentiment Analysis</td>
+     * <td>A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
+     * .PDF, .TIF or .TIFF format with size upto 2MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Translation</td>
+     * <td>A TextSnippet up to 25,000 characters, UTF-8 encoded.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Tables</td>
+     * <td>A row with column values matching
+     *   the columns of the model, up to 5MB. Not available for FORECASTING
+     *   `prediction_type`.
+     * </td>
+     * </tr>
+     * </table>
      * 
*/ public com.google.cloud.automl.v1.PredictResponse predict( @@ -381,18 +457,20 @@ public com.google.cloud.automl.v1.PredictResponse predict( * * *
-     * Perform a batch prediction. Unlike the online
-     * [Predict][google.cloud.automl.v1.PredictionService.Predict], batch
+     * Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1.PredictionService.Predict], batch
      * prediction result won't be immediately available in the response. Instead,
      * a long running operation object is returned. User can poll the operation
      * result via [GetOperation][google.longrunning.Operations.GetOperation]
-     * method. Once the operation is done,
-     * [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned
-     * in the [response][google.longrunning.Operation.response] field. Available
-     * for following ML problems:
-     * * Image Classification
-     * * Image Object Detection
-     * * Text Extraction
+     * method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in
+     * the [response][google.longrunning.Operation.response] field.
+     * Available for following ML scenarios:
+     * * AutoML Vision Classification
+     * * AutoML Vision Object Detection
+     * * AutoML Video Intelligence Classification
+     * * AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification
+     * * AutoML Natural Language Entity Extraction
+     * * AutoML Natural Language Sentiment Analysis
+     * * AutoML Tables
      * 
*/ public com.google.longrunning.Operation batchPredict( @@ -431,21 +509,45 @@ protected PredictionServiceFutureStub build( * * *
-     * Perform an online prediction. The prediction result will be directly
+     * Perform an online prediction. The prediction result is directly
      * returned in the response.
-     * Available for following ML problems, and their expected request payloads:
-     * * Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes
-     *                          up to 30MB.
-     * * Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes
-     *                            up to 30MB.
-     * * Text Classification - TextSnippet, content up to 60,000 characters,
-     *                         UTF-8 encoded.
-     * * Text Extraction - TextSnippet, content up to 30,000 characters,
-     *                     UTF-8 NFC encoded.
-     * * Translation - TextSnippet, content up to 25,000 characters, UTF-8
-     *                 encoded.
-     * * Text Sentiment - TextSnippet, content up 500 characters, UTF-8
-     *                     encoded.
+     * Available for following ML scenarios, and their expected request payloads:
+     * <table>
+     * <tr>
+     * <td>AutoML Vision Classification</td>
+     * <td>An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Vision Object Detection</td>
+     * <td>An image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Natural Language Classification</td>
+     * <td>A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
+     * .PDF, .TIF or .TIFF format with size upto 2MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Natural Language Entity Extraction</td>
+     * <td>A TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document
+     *  in .PDF, .TIF or .TIFF format with size upto 20MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Natural Language Sentiment Analysis</td>
+     * <td>A TextSnippet up to 60,000 characters, UTF-8 encoded or a document in
+     * .PDF, .TIF or .TIFF format with size upto 2MB.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Translation</td>
+     * <td>A TextSnippet up to 25,000 characters, UTF-8 encoded.</td>
+     * </tr>
+     * <tr>
+     * <td>AutoML Tables</td>
+     * <td>A row with column values matching
+     *   the columns of the model, up to 5MB. Not available for FORECASTING
+     *   `prediction_type`.
+     * </td>
+     * </tr>
+     * </table>
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -459,18 +561,20 @@ protected PredictionServiceFutureStub build( * * *
-     * Perform a batch prediction. Unlike the online
-     * [Predict][google.cloud.automl.v1.PredictionService.Predict], batch
+     * Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1.PredictionService.Predict], batch
      * prediction result won't be immediately available in the response. Instead,
      * a long running operation object is returned. User can poll the operation
      * result via [GetOperation][google.longrunning.Operations.GetOperation]
-     * method. Once the operation is done,
-     * [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned
-     * in the [response][google.longrunning.Operation.response] field. Available
-     * for following ML problems:
-     * * Image Classification
-     * * Image Object Detection
-     * * Text Extraction
+     * method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in
+     * the [response][google.longrunning.Operation.response] field.
+     * Available for following ML scenarios:
+     * * AutoML Vision Classification
+     * * AutoML Vision Object Detection
+     * * AutoML Video Intelligence Classification
+     * * AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification
+     * * AutoML Natural Language Entity Extraction
+     * * AutoML Natural Language Sentiment Analysis
+     * * AutoML Tables
      * 
*/ public com.google.common.util.concurrent.ListenableFuture diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationSpec.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationSpec.java index bf45a628d..614b5bb84 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationSpec.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationSpec.java @@ -181,10 +181,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required.
-   * The name of the annotation spec to show in the interface. The name can be
+   * Required. The name of the annotation spec to show in the interface. The name can be
    * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
-   * (_), and ASCII digits 0-9.
    * 
* * string display_name = 2; @@ -206,10 +204,8 @@ public java.lang.String getDisplayName() { * * *
-   * Required.
-   * The name of the annotation spec to show in the interface. The name can be
+   * Required. The name of the annotation spec to show in the interface. The name can be
    * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
-   * (_), and ASCII digits 0-9.
    * 
* * string display_name = 2; @@ -714,10 +710,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required.
-     * The name of the annotation spec to show in the interface. The name can be
+     * Required. The name of the annotation spec to show in the interface. The name can be
      * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
-     * (_), and ASCII digits 0-9.
      * 
* * string display_name = 2; @@ -739,10 +733,8 @@ public java.lang.String getDisplayName() { * * *
-     * Required.
-     * The name of the annotation spec to show in the interface. The name can be
+     * Required. The name of the annotation spec to show in the interface. The name can be
      * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
-     * (_), and ASCII digits 0-9.
      * 
* * string display_name = 2; @@ -764,10 +756,8 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-     * Required.
-     * The name of the annotation spec to show in the interface. The name can be
+     * Required. The name of the annotation spec to show in the interface. The name can be
      * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
-     * (_), and ASCII digits 0-9.
      * 
* * string display_name = 2; @@ -788,10 +778,8 @@ public Builder setDisplayName(java.lang.String value) { * * *
-     * Required.
-     * The name of the annotation spec to show in the interface. The name can be
+     * Required. The name of the annotation spec to show in the interface. The name can be
      * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
-     * (_), and ASCII digits 0-9.
      * 
* * string display_name = 2; @@ -808,10 +796,8 @@ public Builder clearDisplayName() { * * *
-     * Required.
-     * The name of the annotation spec to show in the interface. The name can be
+     * Required. The name of the annotation spec to show in the interface. The name can be
      * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
-     * (_), and ASCII digits 0-9.
      * 
* * string display_name = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationSpecOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationSpecOrBuilder.java index 8517019c3..c22128d6a 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationSpecOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationSpecOrBuilder.java @@ -56,10 +56,8 @@ public interface AnnotationSpecOrBuilder * * *
-   * Required.
-   * The name of the annotation spec to show in the interface. The name can be
+   * Required. The name of the annotation spec to show in the interface. The name can be
    * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
-   * (_), and ASCII digits 0-9.
    * 
* * string display_name = 2; @@ -71,10 +69,8 @@ public interface AnnotationSpecOrBuilder * * *
-   * Required.
-   * The name of the annotation spec to show in the interface. The name can be
+   * Required. The name of the annotation spec to show in the interface. The name can be
    * up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`.
-   * (_), and ASCII digits 0-9.
    * 
* * string display_name = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationSpecOuterClass.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationSpecOuterClass.java index 0389dcd7e..e59e6af39 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationSpecOuterClass.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationSpecOuterClass.java @@ -41,19 +41,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n,google/cloud/automl/v1/annotation_spec" - + ".proto\022\026google.cloud.automl.v1\032\034google/a" - + "pi/annotations.proto\"K\n\016AnnotationSpec\022\014" - + "\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\025\n\rex" - + "ample_count\030\t \001(\005B\252\001\n\032com.google.cloud.a" - + "utoml.v1P\001Z\n\014input" + + "_config\030\003 \001(\0132#.google.cloud.automl.v1.I" + + "nputConfigB\003\340A\002\"\212\001\n\021ExportDataRequest\0223\n" + + "\004name\030\001 \001(\tB%\340A\002\372A\037\n\035automl.googleapis.c" + + "om/Dataset\022@\n\routput_config\030\003 \001(\0132$.goog" + + "le.cloud.automl.v1.OutputConfigB\003\340A\002\"V\n\030" + + "GetAnnotationSpecRequest\022:\n\004name\030\001 \001(\tB," + + "\340A\002\372A&\n$automl.googleapis.com/Annotation" + + "Spec\"\202\001\n\022CreateModelRequest\0229\n\006parent\030\001 " + + "\001(\tB)\340A\002\372A#\n!locations.googleapis.com/Lo" + + "cation\0221\n\005model\030\004 \001(\0132\035.google.cloud.aut" + + "oml.v1.ModelB\003\340A\002\"D\n\017GetModelRequest\0221\n\004" + + "name\030\001 \001(\tB#\340A\002\372A\035\n\033automl.googleapis.co" + + "m/Model\"\205\001\n\021ListModelsRequest\0229\n\006parent\030" + + "\001 \001(\tB)\340A\002\372A#\n!locations.googleapis.com/" + + "Location\022\016\n\006filter\030\003 \001(\t\022\021\n\tpage_size\030\004 " + + "\001(\005\022\022\n\npage_token\030\006 \001(\t\"[\n\022ListModelsRes" + + "ponse\022,\n\005model\030\001 \003(\0132\035.google.cloud.auto" + + "ml.v1.Model\022\027\n\017next_page_token\030\002 \001(\t\"G\n\022" + + "DeleteModelRequest\0221\n\004name\030\001 \001(\tB#\340A\002\372A\035" + + "\n\033automl.googleapis.com/Model\"}\n\022UpdateM" + + "odelRequest\0221\n\005model\030\001 \001(\0132\035.google.clou" + + "d.automl.v1.ModelB\003\340A\002\0224\n\013update_mask\030\002 " + + "\001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\343\002\n" + + "\022DeployModelRequest\022\177\n0image_object_dete" + + "ction_model_deployment_metadata\030\002 \001(\0132C." + + "google.cloud.automl.v1.ImageObjectDetect" + + "ionModelDeploymentMetadataH\000\022|\n.image_cl" + + "assification_model_deployment_metadata\030\004" + + " \001(\0132B.google.cloud.automl.v1.ImageClass" + + "ificationModelDeploymentMetadataH\000\0221\n\004na" + + "me\030\001 \001(\tB#\340A\002\372A\035\n\033automl.googleapis.com/" + + "ModelB\033\n\031model_deployment_metadata\"I\n\024Un" + + "deployModelRequest\0221\n\004name\030\001 \001(\tB#\340A\002\372A\035" + + "\n\033automl.googleapis.com/Model\"\224\001\n\022Export" + + "ModelRequest\0221\n\004name\030\001 \001(\tB#\340A\002\372A\035\n\033auto" + + "ml.googleapis.com/Model\022K\n\routput_config" + "\030\003 \001(\0132/.google.cloud.automl.v1.ModelExp" - + "ortOutputConfig\")\n\031GetModelEvaluationReq" - + "uest\022\014\n\004name\030\001 \001(\t\"d\n\033ListModelEvaluatio" - + "nsRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\003 \001(" - + "\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_token\030\006 \001(\t" - + "\"z\n\034ListModelEvaluationsResponse\022A\n\020mode" - + "l_evaluation\030\001 \003(\0132\'.google.cloud.automl" - + ".v1.ModelEvaluation\022\027\n\017next_page_token\030\002" - + " \001(\t2\215\027\n\006AutoMl\022\233\001\n\rCreateDataset\022,.goog" - + "le.cloud.automl.v1.CreateDatasetRequest\032" - + "\035.google.longrunning.Operation\"=\202\323\344\223\0027\"," - + "/v1/{parent=projects/*/locations/*}/data" - + "sets:\007dataset\022\216\001\n\nGetDataset\022).google.cl" - + "oud.automl.v1.GetDatasetRequest\032\037.google" - + ".cloud.automl.v1.Dataset\"4\202\323\344\223\002.\022,/v1/{n" - + "ame=projects/*/locations/*/datasets/*}\022\237" - + "\001\n\014ListDatasets\022+.google.cloud.automl.v1" - + ".ListDatasetsRequest\032,.google.cloud.auto" - + "ml.v1.ListDatasetsResponse\"4\202\323\344\223\002.\022,/v1/" - + "{parent=projects/*/locations/*}/datasets" - + "\022\245\001\n\rUpdateDataset\022,.google.cloud.automl" - + ".v1.UpdateDatasetRequest\032\037.google.cloud." - + "automl.v1.Dataset\"E\202\323\344\223\002?24/v1/{dataset." - + "name=projects/*/locations/*/datasets/*}:" - + "\007dataset\022\222\001\n\rDeleteDataset\022,.google.clou" - + "d.automl.v1.DeleteDatasetRequest\032\035.googl" - + "e.longrunning.Operation\"4\202\323\344\223\002.*,/v1/{na" - + "me=projects/*/locations/*/datasets/*}\022\232\001" - + "\n\nImportData\022).google.cloud.automl.v1.Im" - + "portDataRequest\032\035.google.longrunning.Ope" - + "ration\"B\202\323\344\223\002<\"7/v1/{name=projects/*/loc" - + "ations/*/datasets/*}:importData:\001*\022\232\001\n\nE" - + "xportData\022).google.cloud.automl.v1.Expor" - + "tDataRequest\032\035.google.longrunning.Operat" - + "ion\"B\202\323\344\223\002<\"7/v1/{name=projects/*/locati" - + "ons/*/datasets/*}:exportData:\001*\022\265\001\n\021GetA" - + "nnotationSpec\0220.google.cloud.automl.v1.G" - + "etAnnotationSpecRequest\032&.google.cloud.a" - + "utoml.v1.AnnotationSpec\"F\202\323\344\223\002@\022>/v1/{na" - + "me=projects/*/locations/*/datasets/*/ann" - + "otationSpecs/*}\022\223\001\n\013CreateModel\022*.google" - + ".cloud.automl.v1.CreateModelRequest\032\035.go" - + "ogle.longrunning.Operation\"9\202\323\344\223\0023\"*/v1/" - + "{parent=projects/*/locations/*}/models:\005" - + "model\022\206\001\n\010GetModel\022\'.google.cloud.automl" - + ".v1.GetModelRequest\032\035.google.cloud.autom" - + "l.v1.Model\"2\202\323\344\223\002,\022*/v1/{name=projects/*" - + "/locations/*/models/*}\022\227\001\n\nListModels\022)." - + "google.cloud.automl.v1.ListModelsRequest" - + "\032*.google.cloud.automl.v1.ListModelsResp" - + "onse\"2\202\323\344\223\002,\022*/v1/{parent=projects/*/loc" - + "ations/*}/models\022\214\001\n\013DeleteModel\022*.googl" - + "e.cloud.automl.v1.DeleteModelRequest\032\035.g" - + "oogle.longrunning.Operation\"2\202\323\344\223\002,**/v1" - + "/{name=projects/*/locations/*/models/*}\022" - + "\231\001\n\013UpdateModel\022*.google.cloud.automl.v1" - + ".UpdateModelRequest\032\035.google.cloud.autom" - + "l.v1.Model\"?\202\323\344\223\002920/v1/{model.name=proj" - + "ects/*/locations/*/models/*}:\005model\022\226\001\n\013" - + "DeployModel\022*.google.cloud.automl.v1.Dep" - + "loyModelRequest\032\035.google.longrunning.Ope" - + "ration\"<\202\323\344\223\0026\"1/v1/{name=projects/*/loc" - + "ations/*/models/*}:deploy:\001*\022\234\001\n\rUndeplo" - + "yModel\022,.google.cloud.automl.v1.Undeploy" - + "ModelRequest\032\035.google.longrunning.Operat" - + "ion\">\202\323\344\223\0028\"3/v1/{name=projects/*/locati" - + "ons/*/models/*}:undeploy:\001*\022\226\001\n\013ExportMo" - + "del\022*.google.cloud.automl.v1.ExportModel" - + "Request\032\035.google.longrunning.Operation\"<" - + "\202\323\344\223\0026\"1/v1/{name=projects/*/locations/*" - + "/models/*}:export:\001*\022\267\001\n\022GetModelEvaluat" - + "ion\0221.google.cloud.automl.v1.GetModelEva" - + "luationRequest\032\'.google.cloud.automl.v1." - + "ModelEvaluation\"E\202\323\344\223\002?\022=/v1/{name=proje" - + "cts/*/locations/*/models/*/modelEvaluati" - + "ons/*}\022\310\001\n\024ListModelEvaluations\0223.google" - + ".cloud.automl.v1.ListModelEvaluationsReq" - + "uest\0324.google.cloud.automl.v1.ListModelE" - + "valuationsResponse\"E\202\323\344\223\002?\022=/v1/{parent=" - + "projects/*/locations/*/models/*}/modelEv" - + "aluations\032I\312A\025automl.googleapis.com\322A.ht" - + "tps://www.googleapis.com/auth/cloud-plat" - + "formB\267\001\n\032com.google.cloud.automl.v1B\013Aut" - + "oMlProtoP\001Z/" + + "v1/{name=projects/*/locations/*/datasets" + + "/*/annotationSpecs/*}\332A\004name\022\277\001\n\013CreateM" + + "odel\022*.google.cloud.automl.v1.CreateMode" + + "lRequest\032\035.google.longrunning.Operation\"" + + "e\202\323\344\223\0023\"*/v1/{parent=projects/*/location" + + "s/*}/models:\005model\332A\014parent,model\312A\032\n\005Mo" + + "del\022\021OperationMetadata\022\215\001\n\010GetModel\022\'.go" + + "ogle.cloud.automl.v1.GetModelRequest\032\035.g" + + "oogle.cloud.automl.v1.Model\"9\202\323\344\223\002,\022*/v1" + + "/{name=projects/*/locations/*/models/*}\332" + + "A\004name\022\240\001\n\nListModels\022).google.cloud.aut" + + "oml.v1.ListModelsRequest\032*.google.cloud." + + "automl.v1.ListModelsResponse\";\202\323\344\223\002,\022*/v" + + "1/{parent=projects/*/locations/*}/models" + + "\332A\006parent\022\300\001\n\013DeleteModel\022*.google.cloud" + + ".automl.v1.DeleteModelRequest\032\035.google.l" + + "ongrunning.Operation\"f\202\323\344\223\002,**/v1/{name=" + + "projects/*/locations/*/models/*}\332A\004name\312" + + "A*\n\025google.protobuf.Empty\022\021OperationMeta" + + "data\022\255\001\n\013UpdateModel\022*.google.cloud.auto" + + "ml.v1.UpdateModelRequest\032\035.google.cloud." + + "automl.v1.Model\"S\202\323\344\223\002920/v1/{model.name" + + "=projects/*/locations/*/models/*}:\005model" + + "\332A\021model,update_mask\022\312\001\n\013DeployModel\022*.g" + + "oogle.cloud.automl.v1.DeployModelRequest" + + "\032\035.google.longrunning.Operation\"p\202\323\344\223\0026\"" + + "1/v1/{name=projects/*/locations/*/models" + + "/*}:deploy:\001*\332A\004name\312A*\n\025google.protobuf" + + ".Empty\022\021OperationMetadata\022\320\001\n\rUndeployMo" + + "del\022,.google.cloud.automl.v1.UndeployMod" + + "elRequest\032\035.google.longrunning.Operation" + + "\"r\202\323\344\223\0028\"3/v1/{name=projects/*/locations" + + "/*/models/*}:undeploy:\001*\332A\004name\312A*\n\025goog" + + "le.protobuf.Empty\022\021OperationMetadata\022\330\001\n" + + "\013ExportModel\022*.google.cloud.automl.v1.Ex" + + "portModelRequest\032\035.google.longrunning.Op" + + "eration\"~\202\323\344\223\0026\"1/v1/{name=projects/*/lo" + + "cations/*/models/*}:export:\001*\332A\022name,out" + + "put_config\312A*\n\025google.protobuf.Empty\022\021Op" + + "erationMetadata\022\276\001\n\022GetModelEvaluation\0221" + + ".google.cloud.automl.v1.GetModelEvaluati" + + "onRequest\032\'.google.cloud.automl.v1.Model" + + "Evaluation\"L\202\323\344\223\002?\022=/v1/{name=projects/*" + + "/locations/*/models/*/modelEvaluations/*" + + "}\332A\004name\022\330\001\n\024ListModelEvaluations\0223.goog" + + "le.cloud.automl.v1.ListModelEvaluationsR" + + "equest\0324.google.cloud.automl.v1.ListMode" + + "lEvaluationsResponse\"U\202\323\344\223\002?\022=/v1/{paren" + + "t=projects/*/locations/*/models/*}/model" + + "Evaluations\332A\rparent,filter\032I\312A\025automl.g" + + "oogleapis.com\322A.https://www.googleapis.c" + + "om/auth/cloud-platformB\267\001\n\032com.google.cl" + + "oud.automl.v1B\013AutoMlProtoP\001Z * * Protobuf type {@code google.cloud.automl.v1.BatchPredictOutputConfig} @@ -248,8 +407,8 @@ public DestinationCase getDestinationCase() { * * *
-   * Required. The Google Cloud Storage location of the directory where the
-   * output is to be written to.
+   * Required. The Google Cloud Storage location of the directory where the output is to
+   * be written to.
    * 
* * @@ -265,8 +424,8 @@ public boolean hasGcsDestination() { * * *
-   * Required. The Google Cloud Storage location of the directory where the
-   * output is to be written to.
+   * Required. The Google Cloud Storage location of the directory where the output is to
+   * be written to.
    * 
* * @@ -285,8 +444,8 @@ public com.google.cloud.automl.v1.GcsDestination getGcsDestination() { * * *
-   * Required. The Google Cloud Storage location of the directory where the
-   * output is to be written to.
+   * Required. The Google Cloud Storage location of the directory where the output is to
+   * be written to.
    * 
* * @@ -487,23 +646,108 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * "prediction-<model-display-name>-<timestamp-of-prediction-call>", * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents * of it depends on the ML problem the predictions are made for. + * * For Image Classification: + * In the created directory files `image_classification_1.jsonl`, + * `image_classification_2.jsonl`,...,`image_classification_N.jsonl` + * will be created, where N may be 1, and depends on the + * total number of the successfully predicted images and annotations. + * A single image will be listed only once with all its annotations, + * and its annotations will never be split across files. + * Each .JSONL file will contain, per line, a JSON representation of a + * proto that wraps image's "ID" : "<id_value>" followed by a list of + * zero or more AnnotationPayload protos (called annotations), which + * have classification detail populated. + * If prediction for any image failed (partially or completely), then an + * additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` + * files will be created (N depends on total number of failed + * predictions). These files will have a JSON representation of a proto + * that wraps the same "ID" : "<id_value>" but here followed by + * exactly one + * [`google.rpc.Status`](https: + * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) + * containing only `code` and `message`fields. + * * For Image Object Detection: + * In the created directory files `image_object_detection_1.jsonl`, + * `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl` + * will be created, where N may be 1, and depends on the + * total number of the successfully predicted images and annotations. + * Each .JSONL file will contain, per line, a JSON representation of a + * proto that wraps image's "ID" : "<id_value>" followed by a list of + * zero or more AnnotationPayload protos (called annotations), which + * have image_object_detection detail populated. A single image will + * be listed only once with all its annotations, and its annotations + * will never be split across files. + * If prediction for any image failed (partially or completely), then + * additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` + * files will be created (N depends on total number of failed + * predictions). These files will have a JSON representation of a proto + * that wraps the same "ID" : "<id_value>" but here followed by + * exactly one + * [`google.rpc.Status`](https: + * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) + * containing only `code` and `message`fields. + * * For Video Classification: + * In the created directory a video_classification.csv file, and a .JSON + * file per each video classification requested in the input (i.e. each + * line in given CSV(s)), will be created. + * The format of video_classification.csv is: + * GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS + * where: + * GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 + * the prediction input lines (i.e. video_classification.csv has + * precisely the same number of lines as the prediction input had.) + * JSON_FILE_NAME = Name of .JSON file in the output directory, which + * contains prediction responses for the video time segment. + * STATUS = "OK" if prediction completed successfully, or an error code + * with message otherwise. If STATUS is not "OK" then the .JSON file + * for that line may not exist or be empty. + * Each .JSON file, assuming STATUS is "OK", will contain a list of + * AnnotationPayload protos in JSON format, which are the predictions + * for the video time segment the file is assigned to in the + * video_classification.csv. All AnnotationPayload protos will have + * video_classification field set, and will be sorted by + * video_classification.type field (note that the returned types are + * governed by `classifaction_types` parameter in + * [PredictService.BatchPredictRequest.params][]). + * * For Video Object Tracking: + * In the created directory a video_object_tracking.csv file will be + * created, and multiple files video_object_trackinng_1.json, + * video_object_trackinng_2.json,..., video_object_trackinng_N.json, + * where N is the number of requests in the input (i.e. the number of + * lines in given CSV(s)). + * The format of video_object_tracking.csv is: + * GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS + * where: + * GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 + * the prediction input lines (i.e. video_object_tracking.csv has + * precisely the same number of lines as the prediction input had.) + * JSON_FILE_NAME = Name of .JSON file in the output directory, which + * contains prediction responses for the video time segment. + * STATUS = "OK" if prediction completed successfully, or an error + * code with message otherwise. If STATUS is not "OK" then the .JSON + * file for that line may not exist or be empty. + * Each .JSON file, assuming STATUS is "OK", will contain a list of + * AnnotationPayload protos in JSON format, which are the predictions + * for each frame of the video time segment the file is assigned to in + * video_object_tracking.csv. All AnnotationPayload protos will have + * video_object_tracking field set. * * For Text Classification: * In the created directory files `text_classification_1.jsonl`, * `text_classification_2.jsonl`,...,`text_classification_N.jsonl` * will be created, where N may be 1, and depends on the * total number of inputs and annotations found. * Each .JSONL file will contain, per line, a JSON representation of a - * proto that wraps input text (or pdf) file in + * proto that wraps input text file (or document) in * the text snippet (or document) proto and a list of * zero or more AnnotationPayload protos (called annotations), which - * have classification detail populated. A single text (or pdf) file - * will be listed only once with all its annotations, and its + * have classification detail populated. A single text file (or + * document) will be listed only once with all its annotations, and its * annotations will never be split across files. - * If prediction for any text (or pdf) file failed (partially or + * If prediction for any input file (or document) failed (partially or * completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., * `errors_N.jsonl` files will be created (N depends on total number of * failed predictions). These files will have a JSON representation of a - * proto that wraps input text (or pdf) file followed by exactly one + * proto that wraps input file followed by exactly one * [`google.rpc.Status`](https: * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) * containing only `code` and `message`. @@ -513,17 +757,17 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * will be created, where N may be 1, and depends on the * total number of inputs and annotations found. * Each .JSONL file will contain, per line, a JSON representation of a - * proto that wraps input text (or pdf) file in + * proto that wraps input text file (or document) in * the text snippet (or document) proto and a list of * zero or more AnnotationPayload protos (called annotations), which - * have text_sentiment detail populated. A single text (or pdf) file - * will be listed only once with all its annotations, and its + * have text_sentiment detail populated. A single text file (or + * document) will be listed only once with all its annotations, and its * annotations will never be split across files. - * If prediction for any text (or pdf) file failed (partially or + * If prediction for any input file (or document) failed (partially or * completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., * `errors_N.jsonl` files will be created (N depends on total number of * failed predictions). These files will have a JSON representation of a - * proto that wraps input text (or pdf) file followed by exactly one + * proto that wraps input file followed by exactly one * [`google.rpc.Status`](https: * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) * containing only `code` and `message`. @@ -557,9 +801,83 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * failed predictions). These files will have a JSON representation of a * proto that wraps either the "id" : "<id_value>" (in case of inline) * or the document proto (in case of document) but here followed by - * exactly one [`google.rpc.Status`](https: + * exactly one + * [`google.rpc.Status`](https: * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) * containing only `code` and `message`. + * * For Tables: + * Output depends on whether + * [gcs_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.gcs_destination] + * or + * [bigquery_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.bigquery_destination] + * is set (either is allowed). + * Google Cloud Storage case: + * In the created directory files `tables_1.csv`, `tables_2.csv`,..., + * `tables_N.csv` will be created, where N may be 1, and depends on + * the total number of the successfully predicted rows. + * For all CLASSIFICATION + * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]: + * Each .csv file will contain a header, listing all columns' + * [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name] + * given on input followed by M target column names in the format of + * "<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] + * [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>_<target + * value>_score" where M is the number of distinct target values, + * i.e. number of distinct values in the target column of the table + * used to train the model. Subsequent lines will contain the + * respective values of successfully predicted rows, with the last, + * i.e. the target, columns having the corresponding prediction + * [scores][google.cloud.automl.v1p1beta.TablesAnnotation.score]. + * For REGRESSION and FORECASTING + * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]: + * Each .csv file will contain a header, listing all columns' + * [display_name-s][google.cloud.automl.v1p1beta.display_name] + * given on input followed by the predicted target column with name + * in the format of + * "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] + * [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>" + * Subsequent lines will contain the respective values of + * successfully predicted rows, with the last, i.e. the target, + * column having the predicted target value. + * If prediction for any rows failed, then an additional + * `errors_1.csv`, `errors_2.csv`,..., `errors_N.csv` will be + * created (N depends on total number of failed rows). These files + * will have analogous format as `tables_*.csv`, but always with a + * single target column having + * [`google.rpc.Status`](https: + * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) + * represented as a JSON string, and containing only `code` and + * `message`. + * BigQuery case: + * [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination] + * pointing to a BigQuery project must be set. In the given project a + * new dataset will be created with name + * `prediction_<model-display-name>_<timestamp-of-prediction-call>` + * where <model-display-name> will be made + * BigQuery-dataset-name compatible (e.g. most special characters will + * become underscores), and timestamp will be in + * YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset + * two tables will be created, `predictions`, and `errors`. + * The `predictions` table's column names will be the input columns' + * [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name] + * followed by the target column with name in the format of + * "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] + * [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>" + * The input feature columns will contain the respective values of + * successfully predicted rows, with the target column having an + * ARRAY of + * [AnnotationPayloads][google.cloud.automl.v1p1beta.AnnotationPayload], + * represented as STRUCT-s, containing + * [TablesAnnotation][google.cloud.automl.v1p1beta.TablesAnnotation]. + * The `errors` table contains rows for which the prediction has + * failed, it has analogous input columns while the target column name + * is in the format of + * "errors_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] + * [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>", + * and as a value has + * [`google.rpc.Status`](https: + * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) + * represented as a STRUCT, and containing only `code` and `message`. *
* * Protobuf type {@code google.cloud.automl.v1.BatchPredictOutputConfig} @@ -751,8 +1069,8 @@ public Builder clearDestination() { * * *
-     * Required. The Google Cloud Storage location of the directory where the
-     * output is to be written to.
+     * Required. The Google Cloud Storage location of the directory where the output is to
+     * be written to.
      * 
* * @@ -768,8 +1086,8 @@ public boolean hasGcsDestination() { * * *
-     * Required. The Google Cloud Storage location of the directory where the
-     * output is to be written to.
+     * Required. The Google Cloud Storage location of the directory where the output is to
+     * be written to.
      * 
* * @@ -795,8 +1113,8 @@ public com.google.cloud.automl.v1.GcsDestination getGcsDestination() { * * *
-     * Required. The Google Cloud Storage location of the directory where the
-     * output is to be written to.
+     * Required. The Google Cloud Storage location of the directory where the output is to
+     * be written to.
      * 
* * @@ -820,8 +1138,8 @@ public Builder setGcsDestination(com.google.cloud.automl.v1.GcsDestination value * * *
-     * Required. The Google Cloud Storage location of the directory where the
-     * output is to be written to.
+     * Required. The Google Cloud Storage location of the directory where the output is to
+     * be written to.
      * 
* * @@ -843,8 +1161,8 @@ public Builder setGcsDestination( * * *
-     * Required. The Google Cloud Storage location of the directory where the
-     * output is to be written to.
+     * Required. The Google Cloud Storage location of the directory where the output is to
+     * be written to.
      * 
* * @@ -877,8 +1195,8 @@ public Builder mergeGcsDestination(com.google.cloud.automl.v1.GcsDestination val * * *
-     * Required. The Google Cloud Storage location of the directory where the
-     * output is to be written to.
+     * Required. The Google Cloud Storage location of the directory where the output is to
+     * be written to.
      * 
* * @@ -905,8 +1223,8 @@ public Builder clearGcsDestination() { * * *
-     * Required. The Google Cloud Storage location of the directory where the
-     * output is to be written to.
+     * Required. The Google Cloud Storage location of the directory where the output is to
+     * be written to.
      * 
* * @@ -920,8 +1238,8 @@ public com.google.cloud.automl.v1.GcsDestination.Builder getGcsDestinationBuilde * * *
-     * Required. The Google Cloud Storage location of the directory where the
-     * output is to be written to.
+     * Required. The Google Cloud Storage location of the directory where the output is to
+     * be written to.
      * 
* * @@ -942,8 +1260,8 @@ public com.google.cloud.automl.v1.GcsDestinationOrBuilder getGcsDestinationOrBui * * *
-     * Required. The Google Cloud Storage location of the directory where the
-     * output is to be written to.
+     * Required. The Google Cloud Storage location of the directory where the output is to
+     * be written to.
      * 
* * diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictOutputConfigOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictOutputConfigOrBuilder.java index a9d57ec2b..f93c0054b 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictOutputConfigOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictOutputConfigOrBuilder.java @@ -27,8 +27,8 @@ public interface BatchPredictOutputConfigOrBuilder * * *
-   * Required. The Google Cloud Storage location of the directory where the
-   * output is to be written to.
+   * Required. The Google Cloud Storage location of the directory where the output is to
+   * be written to.
    * 
* * @@ -42,8 +42,8 @@ public interface BatchPredictOutputConfigOrBuilder * * *
-   * Required. The Google Cloud Storage location of the directory where the
-   * output is to be written to.
+   * Required. The Google Cloud Storage location of the directory where the output is to
+   * be written to.
    * 
* * @@ -57,8 +57,8 @@ public interface BatchPredictOutputConfigOrBuilder * * *
-   * Required. The Google Cloud Storage location of the directory where the
-   * output is to be written to.
+   * Required. The Google Cloud Storage location of the directory where the output is to
+   * be written to.
    * 
* * diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictRequest.java index e5e8fb74a..a7b306582 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict].
+ * Request message for [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict].
  * 
* * Protobuf type {@code google.cloud.automl.v1.BatchPredictRequest} @@ -177,10 +176,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *
-   * Name of the model requested to serve the batch prediction.
+   * Required. Name of the model requested to serve the batch prediction.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -199,10 +200,12 @@ public java.lang.String getName() { * * *
-   * Name of the model requested to serve the batch prediction.
+   * Required. Name of the model requested to serve the batch prediction.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -227,7 +230,9 @@ public com.google.protobuf.ByteString getNameBytes() { * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the inputConfig field is set. */ @@ -241,7 +246,9 @@ public boolean hasInputConfig() { * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The inputConfig. */ @@ -257,7 +264,9 @@ public com.google.cloud.automl.v1.BatchPredictInputConfig getInputConfig() { * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.BatchPredictInputConfigOrBuilder getInputConfigOrBuilder() { return getInputConfig(); @@ -273,7 +282,9 @@ public com.google.cloud.automl.v1.BatchPredictInputConfigOrBuilder getInputConfi * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the outputConfig field is set. */ @@ -288,7 +299,9 @@ public boolean hasOutputConfig() { * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -305,7 +318,9 @@ public com.google.cloud.automl.v1.BatchPredictOutputConfig getOutputConfig() { * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.BatchPredictOutputConfigOrBuilder getOutputConfigOrBuilder() { return getOutputConfig(); @@ -342,21 +357,69 @@ public int getParamsCount() { *
    * Additional domain-specific parameters for the predictions, any string must
    * be up to 25000 characters long.
-   * *  For Text Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for a text snippet, it will only produce results
-   *         that have at least this confidence score. The default is 0.5.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for an image, it will only produce results that
-   *         have at least this confidence score. The default is 0.5.
-   * *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be produced per image. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Natural Language Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a text snippet, it will only produce results
+   *   that have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * <h4>AutoML Video Intelligence Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a video, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * `segment_classification`
+   * : (boolean) Set to true to request
+   *   segment-level classification. AutoML Video Intelligence returns
+   *   labels and their confidence scores for the entire segment of the
+   *   video that user specified in the request configuration.
+   *   The default is true.
+   * `shot_classification`
+   * : (boolean) Set to true to request shot-level
+   *   classification. AutoML Video Intelligence determines the boundaries
+   *   for each camera shot in the entire segment of the video that user
+   *   specified in the request configuration. AutoML Video Intelligence
+   *   then returns labels and their confidence scores for each detected
+   *   shot, along with the start and end time of the shot.
+   *   The default is false.
+   *   WARNING: Model evaluation is not done for this classification type,
+   *   the quality of it depends on training data, but there are no metrics
+   *   provided to describe that quality.
+   * `1s_interval_classification`
+   * : (boolean) Set to true to request
+   *   classification for a video at one-second intervals. AutoML Video
+   *   Intelligence returns labels and their confidence scores for each
+   *   second of the entire segment of the video that user specified in the
+   *   request configuration. The default is false.
+   *   WARNING: Model evaluation is not done for this classification
+   *   type, the quality of it depends on training data, but there are no
+   *   metrics provided to describe that quality.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on video frames,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * `min_bounding_box_size`
+   * : (float) Only bounding boxes with shortest edge
+   *   at least that long as a relative value of video frame size are
+   *   returned. Value in 0 to 1 range. Default is 0.
    * 
* * map<string, string> params = 5; @@ -378,21 +441,69 @@ public java.util.Map getParams() { *
    * Additional domain-specific parameters for the predictions, any string must
    * be up to 25000 characters long.
-   * *  For Text Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for a text snippet, it will only produce results
-   *         that have at least this confidence score. The default is 0.5.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for an image, it will only produce results that
-   *         have at least this confidence score. The default is 0.5.
-   * *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be produced per image. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Natural Language Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a text snippet, it will only produce results
+   *   that have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * <h4>AutoML Video Intelligence Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a video, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * `segment_classification`
+   * : (boolean) Set to true to request
+   *   segment-level classification. AutoML Video Intelligence returns
+   *   labels and their confidence scores for the entire segment of the
+   *   video that user specified in the request configuration.
+   *   The default is true.
+   * `shot_classification`
+   * : (boolean) Set to true to request shot-level
+   *   classification. AutoML Video Intelligence determines the boundaries
+   *   for each camera shot in the entire segment of the video that user
+   *   specified in the request configuration. AutoML Video Intelligence
+   *   then returns labels and their confidence scores for each detected
+   *   shot, along with the start and end time of the shot.
+   *   The default is false.
+   *   WARNING: Model evaluation is not done for this classification type,
+   *   the quality of it depends on training data, but there are no metrics
+   *   provided to describe that quality.
+   * `1s_interval_classification`
+   * : (boolean) Set to true to request
+   *   classification for a video at one-second intervals. AutoML Video
+   *   Intelligence returns labels and their confidence scores for each
+   *   second of the entire segment of the video that user specified in the
+   *   request configuration. The default is false.
+   *   WARNING: Model evaluation is not done for this classification
+   *   type, the quality of it depends on training data, but there are no
+   *   metrics provided to describe that quality.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on video frames,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * `min_bounding_box_size`
+   * : (float) Only bounding boxes with shortest edge
+   *   at least that long as a relative value of video frame size are
+   *   returned. Value in 0 to 1 range. Default is 0.
    * 
* * map<string, string> params = 5; @@ -406,21 +517,69 @@ public java.util.Map getParamsMap() { *
    * Additional domain-specific parameters for the predictions, any string must
    * be up to 25000 characters long.
-   * *  For Text Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for a text snippet, it will only produce results
-   *         that have at least this confidence score. The default is 0.5.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for an image, it will only produce results that
-   *         have at least this confidence score. The default is 0.5.
-   * *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be produced per image. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Natural Language Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a text snippet, it will only produce results
+   *   that have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * <h4>AutoML Video Intelligence Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a video, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * `segment_classification`
+   * : (boolean) Set to true to request
+   *   segment-level classification. AutoML Video Intelligence returns
+   *   labels and their confidence scores for the entire segment of the
+   *   video that user specified in the request configuration.
+   *   The default is true.
+   * `shot_classification`
+   * : (boolean) Set to true to request shot-level
+   *   classification. AutoML Video Intelligence determines the boundaries
+   *   for each camera shot in the entire segment of the video that user
+   *   specified in the request configuration. AutoML Video Intelligence
+   *   then returns labels and their confidence scores for each detected
+   *   shot, along with the start and end time of the shot.
+   *   The default is false.
+   *   WARNING: Model evaluation is not done for this classification type,
+   *   the quality of it depends on training data, but there are no metrics
+   *   provided to describe that quality.
+   * `1s_interval_classification`
+   * : (boolean) Set to true to request
+   *   classification for a video at one-second intervals. AutoML Video
+   *   Intelligence returns labels and their confidence scores for each
+   *   second of the entire segment of the video that user specified in the
+   *   request configuration. The default is false.
+   *   WARNING: Model evaluation is not done for this classification
+   *   type, the quality of it depends on training data, but there are no
+   *   metrics provided to describe that quality.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on video frames,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * `min_bounding_box_size`
+   * : (float) Only bounding boxes with shortest edge
+   *   at least that long as a relative value of video frame size are
+   *   returned. Value in 0 to 1 range. Default is 0.
    * 
* * map<string, string> params = 5; @@ -438,21 +597,69 @@ public java.lang.String getParamsOrDefault(java.lang.String key, java.lang.Strin *
    * Additional domain-specific parameters for the predictions, any string must
    * be up to 25000 characters long.
-   * *  For Text Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for a text snippet, it will only produce results
-   *         that have at least this confidence score. The default is 0.5.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for an image, it will only produce results that
-   *         have at least this confidence score. The default is 0.5.
-   * *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be produced per image. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Natural Language Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a text snippet, it will only produce results
+   *   that have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * <h4>AutoML Video Intelligence Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a video, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * `segment_classification`
+   * : (boolean) Set to true to request
+   *   segment-level classification. AutoML Video Intelligence returns
+   *   labels and their confidence scores for the entire segment of the
+   *   video that user specified in the request configuration.
+   *   The default is true.
+   * `shot_classification`
+   * : (boolean) Set to true to request shot-level
+   *   classification. AutoML Video Intelligence determines the boundaries
+   *   for each camera shot in the entire segment of the video that user
+   *   specified in the request configuration. AutoML Video Intelligence
+   *   then returns labels and their confidence scores for each detected
+   *   shot, along with the start and end time of the shot.
+   *   The default is false.
+   *   WARNING: Model evaluation is not done for this classification type,
+   *   the quality of it depends on training data, but there are no metrics
+   *   provided to describe that quality.
+   * `1s_interval_classification`
+   * : (boolean) Set to true to request
+   *   classification for a video at one-second intervals. AutoML Video
+   *   Intelligence returns labels and their confidence scores for each
+   *   second of the entire segment of the video that user specified in the
+   *   request configuration. The default is false.
+   *   WARNING: Model evaluation is not done for this classification
+   *   type, the quality of it depends on training data, but there are no
+   *   metrics provided to describe that quality.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on video frames,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * `min_bounding_box_size`
+   * : (float) Only bounding boxes with shortest edge
+   *   at least that long as a relative value of video frame size are
+   *   returned. Value in 0 to 1 range. Default is 0.
    * 
* * map<string, string> params = 5; @@ -676,8 +883,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict].
+   * Request message for [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict].
    * 
* * Protobuf type {@code google.cloud.automl.v1.BatchPredictRequest} @@ -890,10 +1096,12 @@ public Builder mergeFrom( * * *
-     * Name of the model requested to serve the batch prediction.
+     * Required. Name of the model requested to serve the batch prediction.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -912,10 +1120,12 @@ public java.lang.String getName() { * * *
-     * Name of the model requested to serve the batch prediction.
+     * Required. Name of the model requested to serve the batch prediction.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -934,10 +1144,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Name of the model requested to serve the batch prediction.
+     * Required. Name of the model requested to serve the batch prediction.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -955,10 +1167,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Name of the model requested to serve the batch prediction.
+     * Required. Name of the model requested to serve the batch prediction.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -972,10 +1186,12 @@ public Builder clearName() { * * *
-     * Name of the model requested to serve the batch prediction.
+     * Required. Name of the model requested to serve the batch prediction.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -1004,7 +1220,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the inputConfig field is set. */ @@ -1018,7 +1236,9 @@ public boolean hasInputConfig() { * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The inputConfig. */ @@ -1038,7 +1258,9 @@ public com.google.cloud.automl.v1.BatchPredictInputConfig getInputConfig() { * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInputConfig(com.google.cloud.automl.v1.BatchPredictInputConfig value) { if (inputConfigBuilder_ == null) { @@ -1060,7 +1282,9 @@ public Builder setInputConfig(com.google.cloud.automl.v1.BatchPredictInputConfig * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInputConfig( com.google.cloud.automl.v1.BatchPredictInputConfig.Builder builderForValue) { @@ -1080,7 +1304,9 @@ public Builder setInputConfig( * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInputConfig(com.google.cloud.automl.v1.BatchPredictInputConfig value) { if (inputConfigBuilder_ == null) { @@ -1106,7 +1332,9 @@ public Builder mergeInputConfig(com.google.cloud.automl.v1.BatchPredictInputConf * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInputConfig() { if (inputConfigBuilder_ == null) { @@ -1126,7 +1354,9 @@ public Builder clearInputConfig() { * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.BatchPredictInputConfig.Builder getInputConfigBuilder() { @@ -1140,7 +1370,9 @@ public com.google.cloud.automl.v1.BatchPredictInputConfig.Builder getInputConfig * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.BatchPredictInputConfigOrBuilder getInputConfigOrBuilder() { if (inputConfigBuilder_ != null) { @@ -1158,7 +1390,9 @@ public com.google.cloud.automl.v1.BatchPredictInputConfigOrBuilder getInputConfi * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1.BatchPredictInputConfig, @@ -1191,7 +1425,9 @@ public com.google.cloud.automl.v1.BatchPredictInputConfigOrBuilder getInputConfi * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the outputConfig field is set. */ @@ -1206,7 +1442,9 @@ public boolean hasOutputConfig() { * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -1227,7 +1465,9 @@ public com.google.cloud.automl.v1.BatchPredictOutputConfig getOutputConfig() { * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig(com.google.cloud.automl.v1.BatchPredictOutputConfig value) { if (outputConfigBuilder_ == null) { @@ -1250,7 +1490,9 @@ public Builder setOutputConfig(com.google.cloud.automl.v1.BatchPredictOutputConf * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig( com.google.cloud.automl.v1.BatchPredictOutputConfig.Builder builderForValue) { @@ -1271,7 +1513,9 @@ public Builder setOutputConfig( * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOutputConfig(com.google.cloud.automl.v1.BatchPredictOutputConfig value) { if (outputConfigBuilder_ == null) { @@ -1298,7 +1542,9 @@ public Builder mergeOutputConfig(com.google.cloud.automl.v1.BatchPredictOutputCo * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -1319,7 +1565,9 @@ public Builder clearOutputConfig() { * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.BatchPredictOutputConfig.Builder getOutputConfigBuilder() { @@ -1334,7 +1582,9 @@ public com.google.cloud.automl.v1.BatchPredictOutputConfig.Builder getOutputConf * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.BatchPredictOutputConfigOrBuilder getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { @@ -1353,7 +1603,9 @@ public com.google.cloud.automl.v1.BatchPredictOutputConfigOrBuilder getOutputCon * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1.BatchPredictOutputConfig, @@ -1403,21 +1655,69 @@ public int getParamsCount() { *
      * Additional domain-specific parameters for the predictions, any string must
      * be up to 25000 characters long.
-     * *  For Text Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *         makes predictions for a text snippet, it will only produce results
-     *         that have at least this confidence score. The default is 0.5.
-     * *  For Image Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *         makes predictions for an image, it will only produce results that
-     *         have at least this confidence score. The default is 0.5.
-     * *  For Image Object Detection:
-     *    `score_threshold` - (float) When Model detects objects on the image,
-     *        it will only produce bounding boxes which have at least this
-     *        confidence score. Value in 0 to 1 range, default is 0.5.
-     *    `max_bounding_box_count` - (int64) No more than this number of bounding
-     *        boxes will be produced per image. Default is 100, the
-     *        requested value may be limited by server.
+     * <h4>AutoML Natural Language Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for a text snippet, it will only produce results
+     *   that have at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for an image, it will only produce results that
+     *   have at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on the image,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned per image. The default is 100, the
+     *   number of bounding boxes returned might be limited by the server.
+     * <h4>AutoML Video Intelligence Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for a video, it will only produce results that
+     *   have at least this confidence score. The default is 0.5.
+     * `segment_classification`
+     * : (boolean) Set to true to request
+     *   segment-level classification. AutoML Video Intelligence returns
+     *   labels and their confidence scores for the entire segment of the
+     *   video that user specified in the request configuration.
+     *   The default is true.
+     * `shot_classification`
+     * : (boolean) Set to true to request shot-level
+     *   classification. AutoML Video Intelligence determines the boundaries
+     *   for each camera shot in the entire segment of the video that user
+     *   specified in the request configuration. AutoML Video Intelligence
+     *   then returns labels and their confidence scores for each detected
+     *   shot, along with the start and end time of the shot.
+     *   The default is false.
+     *   WARNING: Model evaluation is not done for this classification type,
+     *   the quality of it depends on training data, but there are no metrics
+     *   provided to describe that quality.
+     * `1s_interval_classification`
+     * : (boolean) Set to true to request
+     *   classification for a video at one-second intervals. AutoML Video
+     *   Intelligence returns labels and their confidence scores for each
+     *   second of the entire segment of the video that user specified in the
+     *   request configuration. The default is false.
+     *   WARNING: Model evaluation is not done for this classification
+     *   type, the quality of it depends on training data, but there are no
+     *   metrics provided to describe that quality.
+     * <h4>AutoML Video Intelligence Object Tracking</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on video frames,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned per image. The default is 100, the
+     *   number of bounding boxes returned might be limited by the server.
+     * `min_bounding_box_size`
+     * : (float) Only bounding boxes with shortest edge
+     *   at least that long as a relative value of video frame size are
+     *   returned. Value in 0 to 1 range. Default is 0.
      * 
* * map<string, string> params = 5; @@ -1439,21 +1739,69 @@ public java.util.Map getParams() { *
      * Additional domain-specific parameters for the predictions, any string must
      * be up to 25000 characters long.
-     * *  For Text Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *         makes predictions for a text snippet, it will only produce results
-     *         that have at least this confidence score. The default is 0.5.
-     * *  For Image Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *         makes predictions for an image, it will only produce results that
-     *         have at least this confidence score. The default is 0.5.
-     * *  For Image Object Detection:
-     *    `score_threshold` - (float) When Model detects objects on the image,
-     *        it will only produce bounding boxes which have at least this
-     *        confidence score. Value in 0 to 1 range, default is 0.5.
-     *    `max_bounding_box_count` - (int64) No more than this number of bounding
-     *        boxes will be produced per image. Default is 100, the
-     *        requested value may be limited by server.
+     * <h4>AutoML Natural Language Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for a text snippet, it will only produce results
+     *   that have at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for an image, it will only produce results that
+     *   have at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on the image,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned per image. The default is 100, the
+     *   number of bounding boxes returned might be limited by the server.
+     * <h4>AutoML Video Intelligence Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for a video, it will only produce results that
+     *   have at least this confidence score. The default is 0.5.
+     * `segment_classification`
+     * : (boolean) Set to true to request
+     *   segment-level classification. AutoML Video Intelligence returns
+     *   labels and their confidence scores for the entire segment of the
+     *   video that user specified in the request configuration.
+     *   The default is true.
+     * `shot_classification`
+     * : (boolean) Set to true to request shot-level
+     *   classification. AutoML Video Intelligence determines the boundaries
+     *   for each camera shot in the entire segment of the video that user
+     *   specified in the request configuration. AutoML Video Intelligence
+     *   then returns labels and their confidence scores for each detected
+     *   shot, along with the start and end time of the shot.
+     *   The default is false.
+     *   WARNING: Model evaluation is not done for this classification type,
+     *   the quality of it depends on training data, but there are no metrics
+     *   provided to describe that quality.
+     * `1s_interval_classification`
+     * : (boolean) Set to true to request
+     *   classification for a video at one-second intervals. AutoML Video
+     *   Intelligence returns labels and their confidence scores for each
+     *   second of the entire segment of the video that user specified in the
+     *   request configuration. The default is false.
+     *   WARNING: Model evaluation is not done for this classification
+     *   type, the quality of it depends on training data, but there are no
+     *   metrics provided to describe that quality.
+     * <h4>AutoML Video Intelligence Object Tracking</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on video frames,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned per image. The default is 100, the
+     *   number of bounding boxes returned might be limited by the server.
+     * `min_bounding_box_size`
+     * : (float) Only bounding boxes with shortest edge
+     *   at least that long as a relative value of video frame size are
+     *   returned. Value in 0 to 1 range. Default is 0.
      * 
* * map<string, string> params = 5; @@ -1467,21 +1815,69 @@ public java.util.Map getParamsMap() { *
      * Additional domain-specific parameters for the predictions, any string must
      * be up to 25000 characters long.
-     * *  For Text Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *         makes predictions for a text snippet, it will only produce results
-     *         that have at least this confidence score. The default is 0.5.
-     * *  For Image Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *         makes predictions for an image, it will only produce results that
-     *         have at least this confidence score. The default is 0.5.
-     * *  For Image Object Detection:
-     *    `score_threshold` - (float) When Model detects objects on the image,
-     *        it will only produce bounding boxes which have at least this
-     *        confidence score. Value in 0 to 1 range, default is 0.5.
-     *    `max_bounding_box_count` - (int64) No more than this number of bounding
-     *        boxes will be produced per image. Default is 100, the
-     *        requested value may be limited by server.
+     * <h4>AutoML Natural Language Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for a text snippet, it will only produce results
+     *   that have at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for an image, it will only produce results that
+     *   have at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on the image,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned per image. The default is 100, the
+     *   number of bounding boxes returned might be limited by the server.
+     * <h4>AutoML Video Intelligence Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for a video, it will only produce results that
+     *   have at least this confidence score. The default is 0.5.
+     * `segment_classification`
+     * : (boolean) Set to true to request
+     *   segment-level classification. AutoML Video Intelligence returns
+     *   labels and their confidence scores for the entire segment of the
+     *   video that user specified in the request configuration.
+     *   The default is true.
+     * `shot_classification`
+     * : (boolean) Set to true to request shot-level
+     *   classification. AutoML Video Intelligence determines the boundaries
+     *   for each camera shot in the entire segment of the video that user
+     *   specified in the request configuration. AutoML Video Intelligence
+     *   then returns labels and their confidence scores for each detected
+     *   shot, along with the start and end time of the shot.
+     *   The default is false.
+     *   WARNING: Model evaluation is not done for this classification type,
+     *   the quality of it depends on training data, but there are no metrics
+     *   provided to describe that quality.
+     * `1s_interval_classification`
+     * : (boolean) Set to true to request
+     *   classification for a video at one-second intervals. AutoML Video
+     *   Intelligence returns labels and their confidence scores for each
+     *   second of the entire segment of the video that user specified in the
+     *   request configuration. The default is false.
+     *   WARNING: Model evaluation is not done for this classification
+     *   type, the quality of it depends on training data, but there are no
+     *   metrics provided to describe that quality.
+     * <h4>AutoML Video Intelligence Object Tracking</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on video frames,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned per image. The default is 100, the
+     *   number of bounding boxes returned might be limited by the server.
+     * `min_bounding_box_size`
+     * : (float) Only bounding boxes with shortest edge
+     *   at least that long as a relative value of video frame size are
+     *   returned. Value in 0 to 1 range. Default is 0.
      * 
* * map<string, string> params = 5; @@ -1500,21 +1896,69 @@ public java.lang.String getParamsOrDefault( *
      * Additional domain-specific parameters for the predictions, any string must
      * be up to 25000 characters long.
-     * *  For Text Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *         makes predictions for a text snippet, it will only produce results
-     *         that have at least this confidence score. The default is 0.5.
-     * *  For Image Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *         makes predictions for an image, it will only produce results that
-     *         have at least this confidence score. The default is 0.5.
-     * *  For Image Object Detection:
-     *    `score_threshold` - (float) When Model detects objects on the image,
-     *        it will only produce bounding boxes which have at least this
-     *        confidence score. Value in 0 to 1 range, default is 0.5.
-     *    `max_bounding_box_count` - (int64) No more than this number of bounding
-     *        boxes will be produced per image. Default is 100, the
-     *        requested value may be limited by server.
+     * <h4>AutoML Natural Language Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for a text snippet, it will only produce results
+     *   that have at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for an image, it will only produce results that
+     *   have at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on the image,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned per image. The default is 100, the
+     *   number of bounding boxes returned might be limited by the server.
+     * <h4>AutoML Video Intelligence Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for a video, it will only produce results that
+     *   have at least this confidence score. The default is 0.5.
+     * `segment_classification`
+     * : (boolean) Set to true to request
+     *   segment-level classification. AutoML Video Intelligence returns
+     *   labels and their confidence scores for the entire segment of the
+     *   video that user specified in the request configuration.
+     *   The default is true.
+     * `shot_classification`
+     * : (boolean) Set to true to request shot-level
+     *   classification. AutoML Video Intelligence determines the boundaries
+     *   for each camera shot in the entire segment of the video that user
+     *   specified in the request configuration. AutoML Video Intelligence
+     *   then returns labels and their confidence scores for each detected
+     *   shot, along with the start and end time of the shot.
+     *   The default is false.
+     *   WARNING: Model evaluation is not done for this classification type,
+     *   the quality of it depends on training data, but there are no metrics
+     *   provided to describe that quality.
+     * `1s_interval_classification`
+     * : (boolean) Set to true to request
+     *   classification for a video at one-second intervals. AutoML Video
+     *   Intelligence returns labels and their confidence scores for each
+     *   second of the entire segment of the video that user specified in the
+     *   request configuration. The default is false.
+     *   WARNING: Model evaluation is not done for this classification
+     *   type, the quality of it depends on training data, but there are no
+     *   metrics provided to describe that quality.
+     * <h4>AutoML Video Intelligence Object Tracking</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on video frames,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned per image. The default is 100, the
+     *   number of bounding boxes returned might be limited by the server.
+     * `min_bounding_box_size`
+     * : (float) Only bounding boxes with shortest edge
+     *   at least that long as a relative value of video frame size are
+     *   returned. Value in 0 to 1 range. Default is 0.
      * 
* * map<string, string> params = 5; @@ -1540,21 +1984,69 @@ public Builder clearParams() { *
      * Additional domain-specific parameters for the predictions, any string must
      * be up to 25000 characters long.
-     * *  For Text Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *         makes predictions for a text snippet, it will only produce results
-     *         that have at least this confidence score. The default is 0.5.
-     * *  For Image Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *         makes predictions for an image, it will only produce results that
-     *         have at least this confidence score. The default is 0.5.
-     * *  For Image Object Detection:
-     *    `score_threshold` - (float) When Model detects objects on the image,
-     *        it will only produce bounding boxes which have at least this
-     *        confidence score. Value in 0 to 1 range, default is 0.5.
-     *    `max_bounding_box_count` - (int64) No more than this number of bounding
-     *        boxes will be produced per image. Default is 100, the
-     *        requested value may be limited by server.
+     * <h4>AutoML Natural Language Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for a text snippet, it will only produce results
+     *   that have at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for an image, it will only produce results that
+     *   have at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on the image,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned per image. The default is 100, the
+     *   number of bounding boxes returned might be limited by the server.
+     * <h4>AutoML Video Intelligence Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for a video, it will only produce results that
+     *   have at least this confidence score. The default is 0.5.
+     * `segment_classification`
+     * : (boolean) Set to true to request
+     *   segment-level classification. AutoML Video Intelligence returns
+     *   labels and their confidence scores for the entire segment of the
+     *   video that user specified in the request configuration.
+     *   The default is true.
+     * `shot_classification`
+     * : (boolean) Set to true to request shot-level
+     *   classification. AutoML Video Intelligence determines the boundaries
+     *   for each camera shot in the entire segment of the video that user
+     *   specified in the request configuration. AutoML Video Intelligence
+     *   then returns labels and their confidence scores for each detected
+     *   shot, along with the start and end time of the shot.
+     *   The default is false.
+     *   WARNING: Model evaluation is not done for this classification type,
+     *   the quality of it depends on training data, but there are no metrics
+     *   provided to describe that quality.
+     * `1s_interval_classification`
+     * : (boolean) Set to true to request
+     *   classification for a video at one-second intervals. AutoML Video
+     *   Intelligence returns labels and their confidence scores for each
+     *   second of the entire segment of the video that user specified in the
+     *   request configuration. The default is false.
+     *   WARNING: Model evaluation is not done for this classification
+     *   type, the quality of it depends on training data, but there are no
+     *   metrics provided to describe that quality.
+     * <h4>AutoML Video Intelligence Object Tracking</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on video frames,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned per image. The default is 100, the
+     *   number of bounding boxes returned might be limited by the server.
+     * `min_bounding_box_size`
+     * : (float) Only bounding boxes with shortest edge
+     *   at least that long as a relative value of video frame size are
+     *   returned. Value in 0 to 1 range. Default is 0.
      * 
* * map<string, string> params = 5; @@ -1577,21 +2069,69 @@ public java.util.Map getMutableParams() { *
      * Additional domain-specific parameters for the predictions, any string must
      * be up to 25000 characters long.
-     * *  For Text Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *         makes predictions for a text snippet, it will only produce results
-     *         that have at least this confidence score. The default is 0.5.
-     * *  For Image Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *         makes predictions for an image, it will only produce results that
-     *         have at least this confidence score. The default is 0.5.
-     * *  For Image Object Detection:
-     *    `score_threshold` - (float) When Model detects objects on the image,
-     *        it will only produce bounding boxes which have at least this
-     *        confidence score. Value in 0 to 1 range, default is 0.5.
-     *    `max_bounding_box_count` - (int64) No more than this number of bounding
-     *        boxes will be produced per image. Default is 100, the
-     *        requested value may be limited by server.
+     * <h4>AutoML Natural Language Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for a text snippet, it will only produce results
+     *   that have at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for an image, it will only produce results that
+     *   have at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on the image,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned per image. The default is 100, the
+     *   number of bounding boxes returned might be limited by the server.
+     * <h4>AutoML Video Intelligence Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for a video, it will only produce results that
+     *   have at least this confidence score. The default is 0.5.
+     * `segment_classification`
+     * : (boolean) Set to true to request
+     *   segment-level classification. AutoML Video Intelligence returns
+     *   labels and their confidence scores for the entire segment of the
+     *   video that user specified in the request configuration.
+     *   The default is true.
+     * `shot_classification`
+     * : (boolean) Set to true to request shot-level
+     *   classification. AutoML Video Intelligence determines the boundaries
+     *   for each camera shot in the entire segment of the video that user
+     *   specified in the request configuration. AutoML Video Intelligence
+     *   then returns labels and their confidence scores for each detected
+     *   shot, along with the start and end time of the shot.
+     *   The default is false.
+     *   WARNING: Model evaluation is not done for this classification type,
+     *   the quality of it depends on training data, but there are no metrics
+     *   provided to describe that quality.
+     * `1s_interval_classification`
+     * : (boolean) Set to true to request
+     *   classification for a video at one-second intervals. AutoML Video
+     *   Intelligence returns labels and their confidence scores for each
+     *   second of the entire segment of the video that user specified in the
+     *   request configuration. The default is false.
+     *   WARNING: Model evaluation is not done for this classification
+     *   type, the quality of it depends on training data, but there are no
+     *   metrics provided to describe that quality.
+     * <h4>AutoML Video Intelligence Object Tracking</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on video frames,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned per image. The default is 100, the
+     *   number of bounding boxes returned might be limited by the server.
+     * `min_bounding_box_size`
+     * : (float) Only bounding boxes with shortest edge
+     *   at least that long as a relative value of video frame size are
+     *   returned. Value in 0 to 1 range. Default is 0.
      * 
* * map<string, string> params = 5; @@ -1612,21 +2152,69 @@ public Builder putParams(java.lang.String key, java.lang.String value) { *
      * Additional domain-specific parameters for the predictions, any string must
      * be up to 25000 characters long.
-     * *  For Text Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *         makes predictions for a text snippet, it will only produce results
-     *         that have at least this confidence score. The default is 0.5.
-     * *  For Image Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *         makes predictions for an image, it will only produce results that
-     *         have at least this confidence score. The default is 0.5.
-     * *  For Image Object Detection:
-     *    `score_threshold` - (float) When Model detects objects on the image,
-     *        it will only produce bounding boxes which have at least this
-     *        confidence score. Value in 0 to 1 range, default is 0.5.
-     *    `max_bounding_box_count` - (int64) No more than this number of bounding
-     *        boxes will be produced per image. Default is 100, the
-     *        requested value may be limited by server.
+     * <h4>AutoML Natural Language Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for a text snippet, it will only produce results
+     *   that have at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for an image, it will only produce results that
+     *   have at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on the image,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned per image. The default is 100, the
+     *   number of bounding boxes returned might be limited by the server.
+     * <h4>AutoML Video Intelligence Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for a video, it will only produce results that
+     *   have at least this confidence score. The default is 0.5.
+     * `segment_classification`
+     * : (boolean) Set to true to request
+     *   segment-level classification. AutoML Video Intelligence returns
+     *   labels and their confidence scores for the entire segment of the
+     *   video that user specified in the request configuration.
+     *   The default is true.
+     * `shot_classification`
+     * : (boolean) Set to true to request shot-level
+     *   classification. AutoML Video Intelligence determines the boundaries
+     *   for each camera shot in the entire segment of the video that user
+     *   specified in the request configuration. AutoML Video Intelligence
+     *   then returns labels and their confidence scores for each detected
+     *   shot, along with the start and end time of the shot.
+     *   The default is false.
+     *   WARNING: Model evaluation is not done for this classification type,
+     *   the quality of it depends on training data, but there are no metrics
+     *   provided to describe that quality.
+     * `1s_interval_classification`
+     * : (boolean) Set to true to request
+     *   classification for a video at one-second intervals. AutoML Video
+     *   Intelligence returns labels and their confidence scores for each
+     *   second of the entire segment of the video that user specified in the
+     *   request configuration. The default is false.
+     *   WARNING: Model evaluation is not done for this classification
+     *   type, the quality of it depends on training data, but there are no
+     *   metrics provided to describe that quality.
+     * <h4>AutoML Video Intelligence Object Tracking</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on video frames,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned per image. The default is 100, the
+     *   number of bounding boxes returned might be limited by the server.
+     * `min_bounding_box_size`
+     * : (float) Only bounding boxes with shortest edge
+     *   at least that long as a relative value of video frame size are
+     *   returned. Value in 0 to 1 range. Default is 0.
      * 
* * map<string, string> params = 5; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictRequestOrBuilder.java index 982d9040c..ad5630e61 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface BatchPredictRequestOrBuilder * * *
-   * Name of the model requested to serve the batch prediction.
+   * Required. Name of the model requested to serve the batch prediction.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -39,10 +41,12 @@ public interface BatchPredictRequestOrBuilder * * *
-   * Name of the model requested to serve the batch prediction.
+   * Required. Name of the model requested to serve the batch prediction.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -55,7 +59,9 @@ public interface BatchPredictRequestOrBuilder * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the inputConfig field is set. */ @@ -67,7 +73,9 @@ public interface BatchPredictRequestOrBuilder * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The inputConfig. */ @@ -79,7 +87,9 @@ public interface BatchPredictRequestOrBuilder * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1.BatchPredictInputConfigOrBuilder getInputConfigOrBuilder(); @@ -91,7 +101,9 @@ public interface BatchPredictRequestOrBuilder * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the outputConfig field is set. */ @@ -104,7 +116,9 @@ public interface BatchPredictRequestOrBuilder * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -117,7 +131,9 @@ public interface BatchPredictRequestOrBuilder * be written. * * - * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1.BatchPredictOutputConfigOrBuilder getOutputConfigOrBuilder(); @@ -127,21 +143,69 @@ public interface BatchPredictRequestOrBuilder *
    * Additional domain-specific parameters for the predictions, any string must
    * be up to 25000 characters long.
-   * *  For Text Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for a text snippet, it will only produce results
-   *         that have at least this confidence score. The default is 0.5.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for an image, it will only produce results that
-   *         have at least this confidence score. The default is 0.5.
-   * *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be produced per image. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Natural Language Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a text snippet, it will only produce results
+   *   that have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * <h4>AutoML Video Intelligence Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a video, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * `segment_classification`
+   * : (boolean) Set to true to request
+   *   segment-level classification. AutoML Video Intelligence returns
+   *   labels and their confidence scores for the entire segment of the
+   *   video that user specified in the request configuration.
+   *   The default is true.
+   * `shot_classification`
+   * : (boolean) Set to true to request shot-level
+   *   classification. AutoML Video Intelligence determines the boundaries
+   *   for each camera shot in the entire segment of the video that user
+   *   specified in the request configuration. AutoML Video Intelligence
+   *   then returns labels and their confidence scores for each detected
+   *   shot, along with the start and end time of the shot.
+   *   The default is false.
+   *   WARNING: Model evaluation is not done for this classification type,
+   *   the quality of it depends on training data, but there are no metrics
+   *   provided to describe that quality.
+   * `1s_interval_classification`
+   * : (boolean) Set to true to request
+   *   classification for a video at one-second intervals. AutoML Video
+   *   Intelligence returns labels and their confidence scores for each
+   *   second of the entire segment of the video that user specified in the
+   *   request configuration. The default is false.
+   *   WARNING: Model evaluation is not done for this classification
+   *   type, the quality of it depends on training data, but there are no
+   *   metrics provided to describe that quality.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on video frames,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * `min_bounding_box_size`
+   * : (float) Only bounding boxes with shortest edge
+   *   at least that long as a relative value of video frame size are
+   *   returned. Value in 0 to 1 range. Default is 0.
    * 
* * map<string, string> params = 5; @@ -153,21 +217,69 @@ public interface BatchPredictRequestOrBuilder *
    * Additional domain-specific parameters for the predictions, any string must
    * be up to 25000 characters long.
-   * *  For Text Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for a text snippet, it will only produce results
-   *         that have at least this confidence score. The default is 0.5.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for an image, it will only produce results that
-   *         have at least this confidence score. The default is 0.5.
-   * *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be produced per image. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Natural Language Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a text snippet, it will only produce results
+   *   that have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * <h4>AutoML Video Intelligence Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a video, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * `segment_classification`
+   * : (boolean) Set to true to request
+   *   segment-level classification. AutoML Video Intelligence returns
+   *   labels and their confidence scores for the entire segment of the
+   *   video that user specified in the request configuration.
+   *   The default is true.
+   * `shot_classification`
+   * : (boolean) Set to true to request shot-level
+   *   classification. AutoML Video Intelligence determines the boundaries
+   *   for each camera shot in the entire segment of the video that user
+   *   specified in the request configuration. AutoML Video Intelligence
+   *   then returns labels and their confidence scores for each detected
+   *   shot, along with the start and end time of the shot.
+   *   The default is false.
+   *   WARNING: Model evaluation is not done for this classification type,
+   *   the quality of it depends on training data, but there are no metrics
+   *   provided to describe that quality.
+   * `1s_interval_classification`
+   * : (boolean) Set to true to request
+   *   classification for a video at one-second intervals. AutoML Video
+   *   Intelligence returns labels and their confidence scores for each
+   *   second of the entire segment of the video that user specified in the
+   *   request configuration. The default is false.
+   *   WARNING: Model evaluation is not done for this classification
+   *   type, the quality of it depends on training data, but there are no
+   *   metrics provided to describe that quality.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on video frames,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * `min_bounding_box_size`
+   * : (float) Only bounding boxes with shortest edge
+   *   at least that long as a relative value of video frame size are
+   *   returned. Value in 0 to 1 range. Default is 0.
    * 
* * map<string, string> params = 5; @@ -182,21 +294,69 @@ public interface BatchPredictRequestOrBuilder *
    * Additional domain-specific parameters for the predictions, any string must
    * be up to 25000 characters long.
-   * *  For Text Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for a text snippet, it will only produce results
-   *         that have at least this confidence score. The default is 0.5.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for an image, it will only produce results that
-   *         have at least this confidence score. The default is 0.5.
-   * *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be produced per image. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Natural Language Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a text snippet, it will only produce results
+   *   that have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * <h4>AutoML Video Intelligence Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a video, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * `segment_classification`
+   * : (boolean) Set to true to request
+   *   segment-level classification. AutoML Video Intelligence returns
+   *   labels and their confidence scores for the entire segment of the
+   *   video that user specified in the request configuration.
+   *   The default is true.
+   * `shot_classification`
+   * : (boolean) Set to true to request shot-level
+   *   classification. AutoML Video Intelligence determines the boundaries
+   *   for each camera shot in the entire segment of the video that user
+   *   specified in the request configuration. AutoML Video Intelligence
+   *   then returns labels and their confidence scores for each detected
+   *   shot, along with the start and end time of the shot.
+   *   The default is false.
+   *   WARNING: Model evaluation is not done for this classification type,
+   *   the quality of it depends on training data, but there are no metrics
+   *   provided to describe that quality.
+   * `1s_interval_classification`
+   * : (boolean) Set to true to request
+   *   classification for a video at one-second intervals. AutoML Video
+   *   Intelligence returns labels and their confidence scores for each
+   *   second of the entire segment of the video that user specified in the
+   *   request configuration. The default is false.
+   *   WARNING: Model evaluation is not done for this classification
+   *   type, the quality of it depends on training data, but there are no
+   *   metrics provided to describe that quality.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on video frames,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * `min_bounding_box_size`
+   * : (float) Only bounding boxes with shortest edge
+   *   at least that long as a relative value of video frame size are
+   *   returned. Value in 0 to 1 range. Default is 0.
    * 
* * map<string, string> params = 5; @@ -208,21 +368,69 @@ public interface BatchPredictRequestOrBuilder *
    * Additional domain-specific parameters for the predictions, any string must
    * be up to 25000 characters long.
-   * *  For Text Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for a text snippet, it will only produce results
-   *         that have at least this confidence score. The default is 0.5.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for an image, it will only produce results that
-   *         have at least this confidence score. The default is 0.5.
-   * *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be produced per image. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Natural Language Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a text snippet, it will only produce results
+   *   that have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * <h4>AutoML Video Intelligence Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a video, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * `segment_classification`
+   * : (boolean) Set to true to request
+   *   segment-level classification. AutoML Video Intelligence returns
+   *   labels and their confidence scores for the entire segment of the
+   *   video that user specified in the request configuration.
+   *   The default is true.
+   * `shot_classification`
+   * : (boolean) Set to true to request shot-level
+   *   classification. AutoML Video Intelligence determines the boundaries
+   *   for each camera shot in the entire segment of the video that user
+   *   specified in the request configuration. AutoML Video Intelligence
+   *   then returns labels and their confidence scores for each detected
+   *   shot, along with the start and end time of the shot.
+   *   The default is false.
+   *   WARNING: Model evaluation is not done for this classification type,
+   *   the quality of it depends on training data, but there are no metrics
+   *   provided to describe that quality.
+   * `1s_interval_classification`
+   * : (boolean) Set to true to request
+   *   classification for a video at one-second intervals. AutoML Video
+   *   Intelligence returns labels and their confidence scores for each
+   *   second of the entire segment of the video that user specified in the
+   *   request configuration. The default is false.
+   *   WARNING: Model evaluation is not done for this classification
+   *   type, the quality of it depends on training data, but there are no
+   *   metrics provided to describe that quality.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on video frames,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * `min_bounding_box_size`
+   * : (float) Only bounding boxes with shortest edge
+   *   at least that long as a relative value of video frame size are
+   *   returned. Value in 0 to 1 range. Default is 0.
    * 
* * map<string, string> params = 5; @@ -234,21 +442,69 @@ public interface BatchPredictRequestOrBuilder *
    * Additional domain-specific parameters for the predictions, any string must
    * be up to 25000 characters long.
-   * *  For Text Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for a text snippet, it will only produce results
-   *         that have at least this confidence score. The default is 0.5.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *         makes predictions for an image, it will only produce results that
-   *         have at least this confidence score. The default is 0.5.
-   * *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be produced per image. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Natural Language Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a text snippet, it will only produce results
+   *   that have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * <h4>AutoML Video Intelligence Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for a video, it will only produce results that
+   *   have at least this confidence score. The default is 0.5.
+   * `segment_classification`
+   * : (boolean) Set to true to request
+   *   segment-level classification. AutoML Video Intelligence returns
+   *   labels and their confidence scores for the entire segment of the
+   *   video that user specified in the request configuration.
+   *   The default is true.
+   * `shot_classification`
+   * : (boolean) Set to true to request shot-level
+   *   classification. AutoML Video Intelligence determines the boundaries
+   *   for each camera shot in the entire segment of the video that user
+   *   specified in the request configuration. AutoML Video Intelligence
+   *   then returns labels and their confidence scores for each detected
+   *   shot, along with the start and end time of the shot.
+   *   The default is false.
+   *   WARNING: Model evaluation is not done for this classification type,
+   *   the quality of it depends on training data, but there are no metrics
+   *   provided to describe that quality.
+   * `1s_interval_classification`
+   * : (boolean) Set to true to request
+   *   classification for a video at one-second intervals. AutoML Video
+   *   Intelligence returns labels and their confidence scores for each
+   *   second of the entire segment of the video that user specified in the
+   *   request configuration. The default is false.
+   *   WARNING: Model evaluation is not done for this classification
+   *   type, the quality of it depends on training data, but there are no
+   *   metrics provided to describe that quality.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on video frames,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned per image. The default is 100, the
+   *   number of bounding boxes returned might be limited by the server.
+   * `min_bounding_box_size`
+   * : (float) Only bounding boxes with shortest edge
+   *   at least that long as a relative value of video frame size are
+   *   returned. Value in 0 to 1 range. Default is 0.
    * 
* * map<string, string> params = 5; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictResult.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictResult.java index 053d994bf..1ab851639 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictResult.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictResult.java @@ -24,8 +24,7 @@ *
  * Result of the Batch Predict. This message is returned in
  * [response][google.longrunning.Operation.response] of the operation returned
- * by the
- * [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict].
+ * by the [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict].
  * 
* * Protobuf type {@code google.cloud.automl.v1.BatchPredictResult} @@ -162,9 +161,12 @@ public int getMetadataCount() { * *
    * Additional domain-specific prediction response metadata.
-   * *  For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per image.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per frame.
    * 
* * map<string, string> metadata = 1; @@ -185,9 +187,12 @@ public java.util.Map getMetadata() { * *
    * Additional domain-specific prediction response metadata.
-   * *  For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per image.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per frame.
    * 
* * map<string, string> metadata = 1; @@ -200,9 +205,12 @@ public java.util.Map getMetadataMap() { * *
    * Additional domain-specific prediction response metadata.
-   * *  For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per image.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per frame.
    * 
* * map<string, string> metadata = 1; @@ -220,9 +228,12 @@ public java.lang.String getMetadataOrDefault( * *
    * Additional domain-specific prediction response metadata.
-   * *  For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per image.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per frame.
    * 
* * map<string, string> metadata = 1; @@ -411,8 +422,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * Result of the Batch Predict. This message is returned in
    * [response][google.longrunning.Operation.response] of the operation returned
-   * by the
-   * [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict].
+   * by the [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict].
    * 
* * Protobuf type {@code google.cloud.automl.v1.BatchPredictResult} @@ -616,9 +626,12 @@ public int getMetadataCount() { * *
      * Additional domain-specific prediction response metadata.
-     * *  For Image Object Detection:
-     *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-     *      image could have been returned.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes returned per image.
+     * <h4>AutoML Video Intelligence Object Tracking</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes returned per frame.
      * 
* * map<string, string> metadata = 1; @@ -639,9 +652,12 @@ public java.util.Map getMetadata() { * *
      * Additional domain-specific prediction response metadata.
-     * *  For Image Object Detection:
-     *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-     *      image could have been returned.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes returned per image.
+     * <h4>AutoML Video Intelligence Object Tracking</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes returned per frame.
      * 
* * map<string, string> metadata = 1; @@ -654,9 +670,12 @@ public java.util.Map getMetadataMap() { * *
      * Additional domain-specific prediction response metadata.
-     * *  For Image Object Detection:
-     *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-     *      image could have been returned.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes returned per image.
+     * <h4>AutoML Video Intelligence Object Tracking</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes returned per frame.
      * 
* * map<string, string> metadata = 1; @@ -674,9 +693,12 @@ public java.lang.String getMetadataOrDefault( * *
      * Additional domain-specific prediction response metadata.
-     * *  For Image Object Detection:
-     *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-     *      image could have been returned.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes returned per image.
+     * <h4>AutoML Video Intelligence Object Tracking</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes returned per frame.
      * 
* * map<string, string> metadata = 1; @@ -701,9 +723,12 @@ public Builder clearMetadata() { * *
      * Additional domain-specific prediction response metadata.
-     * *  For Image Object Detection:
-     *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-     *      image could have been returned.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes returned per image.
+     * <h4>AutoML Video Intelligence Object Tracking</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes returned per frame.
      * 
* * map<string, string> metadata = 1; @@ -725,9 +750,12 @@ public java.util.Map getMutableMetadata() { * *
      * Additional domain-specific prediction response metadata.
-     * *  For Image Object Detection:
-     *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-     *      image could have been returned.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes returned per image.
+     * <h4>AutoML Video Intelligence Object Tracking</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes returned per frame.
      * 
* * map<string, string> metadata = 1; @@ -747,9 +775,12 @@ public Builder putMetadata(java.lang.String key, java.lang.String value) { * *
      * Additional domain-specific prediction response metadata.
-     * *  For Image Object Detection:
-     *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-     *      image could have been returned.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes returned per image.
+     * <h4>AutoML Video Intelligence Object Tracking</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes returned per frame.
      * 
* * map<string, string> metadata = 1; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictResultOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictResultOrBuilder.java index f25962e28..b688f0960 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictResultOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictResultOrBuilder.java @@ -28,9 +28,12 @@ public interface BatchPredictResultOrBuilder * *
    * Additional domain-specific prediction response metadata.
-   * *  For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per image.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per frame.
    * 
* * map<string, string> metadata = 1; @@ -41,9 +44,12 @@ public interface BatchPredictResultOrBuilder * *
    * Additional domain-specific prediction response metadata.
-   * *  For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per image.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per frame.
    * 
* * map<string, string> metadata = 1; @@ -57,9 +63,12 @@ public interface BatchPredictResultOrBuilder * *
    * Additional domain-specific prediction response metadata.
-   * *  For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per image.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per frame.
    * 
* * map<string, string> metadata = 1; @@ -70,9 +79,12 @@ public interface BatchPredictResultOrBuilder * *
    * Additional domain-specific prediction response metadata.
-   * *  For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per image.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per frame.
    * 
* * map<string, string> metadata = 1; @@ -83,9 +95,12 @@ public interface BatchPredictResultOrBuilder * *
    * Additional domain-specific prediction response metadata.
-   * *  For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per image.
+   * <h4>AutoML Video Intelligence Object Tracking</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes returned per frame.
    * 
* * map<string, string> metadata = 1; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ClassificationEvaluationMetrics.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ClassificationEvaluationMetrics.java index 2a46660c6..9a02a81fd 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ClassificationEvaluationMetrics.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ClassificationEvaluationMetrics.java @@ -23,6 +23,8 @@ * *
  * Model evaluation metrics for classification problems.
+ * Note: For Video Classification this metrics only describe quality of the
+ * Video Classification predictions of "segment_classification" type.
  * 
* * Protobuf type {@code google.cloud.automl.v1.ClassificationEvaluationMetrics} @@ -309,10 +311,7 @@ public interface ConfidenceMetricsEntryOrBuilder * * *
-     * Output only. The harmonic mean of
-     * [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1]
-     * and
-     * [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
+     * Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
      * 
* * float f1_score_at1 = 7; @@ -703,10 +702,7 @@ public float getFalsePositiveRateAt1() { * * *
-     * Output only. The harmonic mean of
-     * [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1]
-     * and
-     * [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
+     * Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
      * 
* * float f1_score_at1 = 7; @@ -1836,10 +1832,7 @@ public Builder clearFalsePositiveRateAt1() { * * *
-       * Output only. The harmonic mean of
-       * [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1]
-       * and
-       * [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
+       * Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
        * 
* * float f1_score_at1 = 7; @@ -1853,10 +1846,7 @@ public float getF1ScoreAt1() { * * *
-       * Output only. The harmonic mean of
-       * [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1]
-       * and
-       * [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
+       * Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
        * 
* * float f1_score_at1 = 7; @@ -1874,10 +1864,7 @@ public Builder setF1ScoreAt1(float value) { * * *
-       * Output only. The harmonic mean of
-       * [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1]
-       * and
-       * [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
+       * Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
        * 
* * float f1_score_at1 = 7; @@ -2174,6 +2161,9 @@ public interface ConfusionMatrixOrBuilder * *
      * Output only. IDs of the annotation specs used in the confusion matrix.
+     * For Tables CLASSIFICATION
+     * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+     * only list of [annotation_spec_display_name-s][] is populated.
      * 
* * repeated string annotation_spec_id = 1; @@ -2186,6 +2176,9 @@ public interface ConfusionMatrixOrBuilder * *
      * Output only. IDs of the annotation specs used in the confusion matrix.
+     * For Tables CLASSIFICATION
+     * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+     * only list of [annotation_spec_display_name-s][] is populated.
      * 
* * repeated string annotation_spec_id = 1; @@ -2198,6 +2191,9 @@ public interface ConfusionMatrixOrBuilder * *
      * Output only. IDs of the annotation specs used in the confusion matrix.
+     * For Tables CLASSIFICATION
+     * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+     * only list of [annotation_spec_display_name-s][] is populated.
      * 
* * repeated string annotation_spec_id = 1; @@ -2211,6 +2207,9 @@ public interface ConfusionMatrixOrBuilder * *
      * Output only. IDs of the annotation specs used in the confusion matrix.
+     * For Tables CLASSIFICATION
+     * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+     * only list of [annotation_spec_display_name-s][] is populated.
      * 
* * repeated string annotation_spec_id = 1; @@ -2225,7 +2224,11 @@ public interface ConfusionMatrixOrBuilder * *
      * Output only. Display name of the annotation specs used in the confusion
-     * matrix, as they were at the moment of the evaluation.
+     * matrix, as they were at the moment of the evaluation. For Tables
+     * CLASSIFICATION
+     * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+     * distinct values of the target column at the moment of the model
+     * evaluation are populated here.
      * 
* * repeated string display_name = 3; @@ -2238,7 +2241,11 @@ public interface ConfusionMatrixOrBuilder * *
      * Output only. Display name of the annotation specs used in the confusion
-     * matrix, as they were at the moment of the evaluation.
+     * matrix, as they were at the moment of the evaluation. For Tables
+     * CLASSIFICATION
+     * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+     * distinct values of the target column at the moment of the model
+     * evaluation are populated here.
      * 
* * repeated string display_name = 3; @@ -2251,7 +2258,11 @@ public interface ConfusionMatrixOrBuilder * *
      * Output only. Display name of the annotation specs used in the confusion
-     * matrix, as they were at the moment of the evaluation.
+     * matrix, as they were at the moment of the evaluation. For Tables
+     * CLASSIFICATION
+     * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+     * distinct values of the target column at the moment of the model
+     * evaluation are populated here.
      * 
* * repeated string display_name = 3; @@ -2265,7 +2276,11 @@ public interface ConfusionMatrixOrBuilder * *
      * Output only. Display name of the annotation specs used in the confusion
-     * matrix, as they were at the moment of the evaluation.
+     * matrix, as they were at the moment of the evaluation. For Tables
+     * CLASSIFICATION
+     * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+     * distinct values of the target column at the moment of the model
+     * evaluation are populated here.
      * 
* * repeated string display_name = 3; @@ -2510,9 +2525,7 @@ public interface RowOrBuilder * Output only. Value of the specific cell in the confusion matrix. * The number of values each row has (i.e. the length of the row) is equal * to the length of the `annotation_spec_id` field or, if that one is not - * populated, length of the - * [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -2527,9 +2540,7 @@ public interface RowOrBuilder * Output only. Value of the specific cell in the confusion matrix. * The number of values each row has (i.e. the length of the row) is equal * to the length of the `annotation_spec_id` field or, if that one is not - * populated, length of the - * [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -2544,9 +2555,7 @@ public interface RowOrBuilder * Output only. Value of the specific cell in the confusion matrix. * The number of values each row has (i.e. the length of the row) is equal * to the length of the `annotation_spec_id` field or, if that one is not - * populated, length of the - * [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -2682,9 +2691,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Output only. Value of the specific cell in the confusion matrix. * The number of values each row has (i.e. the length of the row) is equal * to the length of the `annotation_spec_id` field or, if that one is not - * populated, length of the - * [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -2701,9 +2708,7 @@ public java.util.List getExampleCountList() { * Output only. Value of the specific cell in the confusion matrix. * The number of values each row has (i.e. the length of the row) is equal * to the length of the `annotation_spec_id` field or, if that one is not - * populated, length of the - * [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -2720,9 +2725,7 @@ public int getExampleCountCount() { * Output only. Value of the specific cell in the confusion matrix. * The number of values each row has (i.e. the length of the row) is equal * to the length of the `annotation_spec_id` field or, if that one is not - * populated, length of the - * [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -3134,9 +3137,7 @@ private void ensureExampleCountIsMutable() { * Output only. Value of the specific cell in the confusion matrix. * The number of values each row has (i.e. the length of the row) is equal * to the length of the `annotation_spec_id` field or, if that one is not - * populated, length of the - * [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -3155,9 +3156,7 @@ public java.util.List getExampleCountList() { * Output only. Value of the specific cell in the confusion matrix. * The number of values each row has (i.e. the length of the row) is equal * to the length of the `annotation_spec_id` field or, if that one is not - * populated, length of the - * [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -3174,9 +3173,7 @@ public int getExampleCountCount() { * Output only. Value of the specific cell in the confusion matrix. * The number of values each row has (i.e. the length of the row) is equal * to the length of the `annotation_spec_id` field or, if that one is not - * populated, length of the - * [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -3194,9 +3191,7 @@ public int getExampleCount(int index) { * Output only. Value of the specific cell in the confusion matrix. * The number of values each row has (i.e. the length of the row) is equal * to the length of the `annotation_spec_id` field or, if that one is not - * populated, length of the - * [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -3218,9 +3213,7 @@ public Builder setExampleCount(int index, int value) { * Output only. Value of the specific cell in the confusion matrix. * The number of values each row has (i.e. the length of the row) is equal * to the length of the `annotation_spec_id` field or, if that one is not - * populated, length of the - * [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -3241,9 +3234,7 @@ public Builder addExampleCount(int value) { * Output only. Value of the specific cell in the confusion matrix. * The number of values each row has (i.e. the length of the row) is equal * to the length of the `annotation_spec_id` field or, if that one is not - * populated, length of the - * [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -3264,9 +3255,7 @@ public Builder addAllExampleCount(java.lang.Iterable * * repeated int32 example_count = 1; @@ -3344,6 +3333,9 @@ public com.google.protobuf.Parser getParserForType() { * *
      * Output only. IDs of the annotation specs used in the confusion matrix.
+     * For Tables CLASSIFICATION
+     * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+     * only list of [annotation_spec_display_name-s][] is populated.
      * 
* * repeated string annotation_spec_id = 1; @@ -3358,6 +3350,9 @@ public com.google.protobuf.ProtocolStringList getAnnotationSpecIdList() { * *
      * Output only. IDs of the annotation specs used in the confusion matrix.
+     * For Tables CLASSIFICATION
+     * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+     * only list of [annotation_spec_display_name-s][] is populated.
      * 
* * repeated string annotation_spec_id = 1; @@ -3372,6 +3367,9 @@ public int getAnnotationSpecIdCount() { * *
      * Output only. IDs of the annotation specs used in the confusion matrix.
+     * For Tables CLASSIFICATION
+     * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+     * only list of [annotation_spec_display_name-s][] is populated.
      * 
* * repeated string annotation_spec_id = 1; @@ -3387,6 +3385,9 @@ public java.lang.String getAnnotationSpecId(int index) { * *
      * Output only. IDs of the annotation specs used in the confusion matrix.
+     * For Tables CLASSIFICATION
+     * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+     * only list of [annotation_spec_display_name-s][] is populated.
      * 
* * repeated string annotation_spec_id = 1; @@ -3405,7 +3406,11 @@ public com.google.protobuf.ByteString getAnnotationSpecIdBytes(int index) { * *
      * Output only. Display name of the annotation specs used in the confusion
-     * matrix, as they were at the moment of the evaluation.
+     * matrix, as they were at the moment of the evaluation. For Tables
+     * CLASSIFICATION
+     * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+     * distinct values of the target column at the moment of the model
+     * evaluation are populated here.
      * 
* * repeated string display_name = 3; @@ -3420,7 +3425,11 @@ public com.google.protobuf.ProtocolStringList getDisplayNameList() { * *
      * Output only. Display name of the annotation specs used in the confusion
-     * matrix, as they were at the moment of the evaluation.
+     * matrix, as they were at the moment of the evaluation. For Tables
+     * CLASSIFICATION
+     * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+     * distinct values of the target column at the moment of the model
+     * evaluation are populated here.
      * 
* * repeated string display_name = 3; @@ -3435,7 +3444,11 @@ public int getDisplayNameCount() { * *
      * Output only. Display name of the annotation specs used in the confusion
-     * matrix, as they were at the moment of the evaluation.
+     * matrix, as they were at the moment of the evaluation. For Tables
+     * CLASSIFICATION
+     * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+     * distinct values of the target column at the moment of the model
+     * evaluation are populated here.
      * 
* * repeated string display_name = 3; @@ -3451,7 +3464,11 @@ public java.lang.String getDisplayName(int index) { * *
      * Output only. Display name of the annotation specs used in the confusion
-     * matrix, as they were at the moment of the evaluation.
+     * matrix, as they were at the moment of the evaluation. For Tables
+     * CLASSIFICATION
+     * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+     * distinct values of the target column at the moment of the model
+     * evaluation are populated here.
      * 
* * repeated string display_name = 3; @@ -4030,6 +4047,9 @@ private void ensureAnnotationSpecIdIsMutable() { * *
        * Output only. IDs of the annotation specs used in the confusion matrix.
+       * For Tables CLASSIFICATION
+       * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+       * only list of [annotation_spec_display_name-s][] is populated.
        * 
* * repeated string annotation_spec_id = 1; @@ -4044,6 +4064,9 @@ public com.google.protobuf.ProtocolStringList getAnnotationSpecIdList() { * *
        * Output only. IDs of the annotation specs used in the confusion matrix.
+       * For Tables CLASSIFICATION
+       * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+       * only list of [annotation_spec_display_name-s][] is populated.
        * 
* * repeated string annotation_spec_id = 1; @@ -4058,6 +4081,9 @@ public int getAnnotationSpecIdCount() { * *
        * Output only. IDs of the annotation specs used in the confusion matrix.
+       * For Tables CLASSIFICATION
+       * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+       * only list of [annotation_spec_display_name-s][] is populated.
        * 
* * repeated string annotation_spec_id = 1; @@ -4073,6 +4099,9 @@ public java.lang.String getAnnotationSpecId(int index) { * *
        * Output only. IDs of the annotation specs used in the confusion matrix.
+       * For Tables CLASSIFICATION
+       * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+       * only list of [annotation_spec_display_name-s][] is populated.
        * 
* * repeated string annotation_spec_id = 1; @@ -4088,6 +4117,9 @@ public com.google.protobuf.ByteString getAnnotationSpecIdBytes(int index) { * *
        * Output only. IDs of the annotation specs used in the confusion matrix.
+       * For Tables CLASSIFICATION
+       * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+       * only list of [annotation_spec_display_name-s][] is populated.
        * 
* * repeated string annotation_spec_id = 1; @@ -4110,6 +4142,9 @@ public Builder setAnnotationSpecId(int index, java.lang.String value) { * *
        * Output only. IDs of the annotation specs used in the confusion matrix.
+       * For Tables CLASSIFICATION
+       * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+       * only list of [annotation_spec_display_name-s][] is populated.
        * 
* * repeated string annotation_spec_id = 1; @@ -4131,6 +4166,9 @@ public Builder addAnnotationSpecId(java.lang.String value) { * *
        * Output only. IDs of the annotation specs used in the confusion matrix.
+       * For Tables CLASSIFICATION
+       * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+       * only list of [annotation_spec_display_name-s][] is populated.
        * 
* * repeated string annotation_spec_id = 1; @@ -4149,6 +4187,9 @@ public Builder addAllAnnotationSpecId(java.lang.Iterable value * *
        * Output only. IDs of the annotation specs used in the confusion matrix.
+       * For Tables CLASSIFICATION
+       * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+       * only list of [annotation_spec_display_name-s][] is populated.
        * 
* * repeated string annotation_spec_id = 1; @@ -4166,6 +4207,9 @@ public Builder clearAnnotationSpecId() { * *
        * Output only. IDs of the annotation specs used in the confusion matrix.
+       * For Tables CLASSIFICATION
+       * [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]
+       * only list of [annotation_spec_display_name-s][] is populated.
        * 
* * repeated string annotation_spec_id = 1; @@ -4198,7 +4242,11 @@ private void ensureDisplayNameIsMutable() { * *
        * Output only. Display name of the annotation specs used in the confusion
-       * matrix, as they were at the moment of the evaluation.
+       * matrix, as they were at the moment of the evaluation. For Tables
+       * CLASSIFICATION
+       * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+       * distinct values of the target column at the moment of the model
+       * evaluation are populated here.
        * 
* * repeated string display_name = 3; @@ -4213,7 +4261,11 @@ public com.google.protobuf.ProtocolStringList getDisplayNameList() { * *
        * Output only. Display name of the annotation specs used in the confusion
-       * matrix, as they were at the moment of the evaluation.
+       * matrix, as they were at the moment of the evaluation. For Tables
+       * CLASSIFICATION
+       * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+       * distinct values of the target column at the moment of the model
+       * evaluation are populated here.
        * 
* * repeated string display_name = 3; @@ -4228,7 +4280,11 @@ public int getDisplayNameCount() { * *
        * Output only. Display name of the annotation specs used in the confusion
-       * matrix, as they were at the moment of the evaluation.
+       * matrix, as they were at the moment of the evaluation. For Tables
+       * CLASSIFICATION
+       * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+       * distinct values of the target column at the moment of the model
+       * evaluation are populated here.
        * 
* * repeated string display_name = 3; @@ -4244,7 +4300,11 @@ public java.lang.String getDisplayName(int index) { * *
        * Output only. Display name of the annotation specs used in the confusion
-       * matrix, as they were at the moment of the evaluation.
+       * matrix, as they were at the moment of the evaluation. For Tables
+       * CLASSIFICATION
+       * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+       * distinct values of the target column at the moment of the model
+       * evaluation are populated here.
        * 
* * repeated string display_name = 3; @@ -4260,7 +4320,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes(int index) { * *
        * Output only. Display name of the annotation specs used in the confusion
-       * matrix, as they were at the moment of the evaluation.
+       * matrix, as they were at the moment of the evaluation. For Tables
+       * CLASSIFICATION
+       * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+       * distinct values of the target column at the moment of the model
+       * evaluation are populated here.
        * 
* * repeated string display_name = 3; @@ -4283,7 +4347,11 @@ public Builder setDisplayName(int index, java.lang.String value) { * *
        * Output only. Display name of the annotation specs used in the confusion
-       * matrix, as they were at the moment of the evaluation.
+       * matrix, as they were at the moment of the evaluation. For Tables
+       * CLASSIFICATION
+       * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+       * distinct values of the target column at the moment of the model
+       * evaluation are populated here.
        * 
* * repeated string display_name = 3; @@ -4305,7 +4373,11 @@ public Builder addDisplayName(java.lang.String value) { * *
        * Output only. Display name of the annotation specs used in the confusion
-       * matrix, as they were at the moment of the evaluation.
+       * matrix, as they were at the moment of the evaluation. For Tables
+       * CLASSIFICATION
+       * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+       * distinct values of the target column at the moment of the model
+       * evaluation are populated here.
        * 
* * repeated string display_name = 3; @@ -4324,7 +4396,11 @@ public Builder addAllDisplayName(java.lang.Iterable values) { * *
        * Output only. Display name of the annotation specs used in the confusion
-       * matrix, as they were at the moment of the evaluation.
+       * matrix, as they were at the moment of the evaluation. For Tables
+       * CLASSIFICATION
+       * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+       * distinct values of the target column at the moment of the model
+       * evaluation are populated here.
        * 
* * repeated string display_name = 3; @@ -4342,7 +4418,11 @@ public Builder clearDisplayName() { * *
        * Output only. Display name of the annotation specs used in the confusion
-       * matrix, as they were at the moment of the evaluation.
+       * matrix, as they were at the moment of the evaluation. For Tables
+       * CLASSIFICATION
+       * [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type],
+       * distinct values of the target column at the moment of the model
+       * evaluation are populated here.
        * 
* * repeated string display_name = 3; @@ -5437,6 +5517,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * *
    * Model evaluation metrics for classification problems.
+   * Note: For Video Classification this metrics only describe quality of the
+   * Video Classification predictions of "segment_classification" type.
    * 
* * Protobuf type {@code google.cloud.automl.v1.ClassificationEvaluationMetrics} diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateDatasetRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateDatasetRequest.java index 0ce14923a..89349e163 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateDatasetRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateDatasetRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.CreateDataset][google.cloud.automl.v1.AutoMl.CreateDataset].
+ * Request message for [AutoMl.CreateDataset][google.cloud.automl.v1.AutoMl.CreateDataset].
  * 
* * Protobuf type {@code google.cloud.automl.v1.CreateDatasetRequest} @@ -133,10 +132,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the project to create the dataset for.
+   * Required. The resource name of the project to create the dataset for.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -155,10 +156,12 @@ public java.lang.String getParent() { * * *
-   * The resource name of the project to create the dataset for.
+   * Required. The resource name of the project to create the dataset for.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -180,10 +183,11 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The dataset to create.
+   * Required. The dataset to create.
    * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the dataset field is set. */ @@ -194,10 +198,11 @@ public boolean hasDataset() { * * *
-   * The dataset to create.
+   * Required. The dataset to create.
    * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The dataset. */ @@ -208,10 +213,11 @@ public com.google.cloud.automl.v1.Dataset getDataset() { * * *
-   * The dataset to create.
+   * Required. The dataset to create.
    * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.DatasetOrBuilder getDatasetOrBuilder() { return getDataset(); @@ -394,8 +400,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.CreateDataset][google.cloud.automl.v1.AutoMl.CreateDataset].
+   * Request message for [AutoMl.CreateDataset][google.cloud.automl.v1.AutoMl.CreateDataset].
    * 
* * Protobuf type {@code google.cloud.automl.v1.CreateDatasetRequest} @@ -568,10 +573,12 @@ public Builder mergeFrom( * * *
-     * The resource name of the project to create the dataset for.
+     * Required. The resource name of the project to create the dataset for.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -590,10 +597,12 @@ public java.lang.String getParent() { * * *
-     * The resource name of the project to create the dataset for.
+     * Required. The resource name of the project to create the dataset for.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -612,10 +621,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The resource name of the project to create the dataset for.
+     * Required. The resource name of the project to create the dataset for.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -633,10 +644,12 @@ public Builder setParent(java.lang.String value) { * * *
-     * The resource name of the project to create the dataset for.
+     * Required. The resource name of the project to create the dataset for.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -650,10 +663,12 @@ public Builder clearParent() { * * *
-     * The resource name of the project to create the dataset for.
+     * Required. The resource name of the project to create the dataset for.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -679,10 +694,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the dataset field is set. */ @@ -693,10 +709,11 @@ public boolean hasDataset() { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The dataset. */ @@ -713,10 +730,11 @@ public com.google.cloud.automl.v1.Dataset getDataset() { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataset(com.google.cloud.automl.v1.Dataset value) { if (datasetBuilder_ == null) { @@ -735,10 +753,11 @@ public Builder setDataset(com.google.cloud.automl.v1.Dataset value) { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataset(com.google.cloud.automl.v1.Dataset.Builder builderForValue) { if (datasetBuilder_ == null) { @@ -754,10 +773,11 @@ public Builder setDataset(com.google.cloud.automl.v1.Dataset.Builder builderForV * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDataset(com.google.cloud.automl.v1.Dataset value) { if (datasetBuilder_ == null) { @@ -780,10 +800,11 @@ public Builder mergeDataset(com.google.cloud.automl.v1.Dataset value) { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataset() { if (datasetBuilder_ == null) { @@ -800,10 +821,11 @@ public Builder clearDataset() { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.Dataset.Builder getDatasetBuilder() { @@ -814,10 +836,11 @@ public com.google.cloud.automl.v1.Dataset.Builder getDatasetBuilder() { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.DatasetOrBuilder getDatasetOrBuilder() { if (datasetBuilder_ != null) { @@ -832,10 +855,11 @@ public com.google.cloud.automl.v1.DatasetOrBuilder getDatasetOrBuilder() { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1.Dataset, diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateDatasetRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateDatasetRequestOrBuilder.java index ba7fa9a27..848a48922 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateDatasetRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateDatasetRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface CreateDatasetRequestOrBuilder * * *
-   * The resource name of the project to create the dataset for.
+   * Required. The resource name of the project to create the dataset for.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -39,10 +41,12 @@ public interface CreateDatasetRequestOrBuilder * * *
-   * The resource name of the project to create the dataset for.
+   * Required. The resource name of the project to create the dataset for.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -52,10 +56,11 @@ public interface CreateDatasetRequestOrBuilder * * *
-   * The dataset to create.
+   * Required. The dataset to create.
    * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the dataset field is set. */ @@ -64,10 +69,11 @@ public interface CreateDatasetRequestOrBuilder * * *
-   * The dataset to create.
+   * Required. The dataset to create.
    * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The dataset. */ @@ -76,10 +82,11 @@ public interface CreateDatasetRequestOrBuilder * * *
-   * The dataset to create.
+   * Required. The dataset to create.
    * 
* - * .google.cloud.automl.v1.Dataset dataset = 2; + * .google.cloud.automl.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1.DatasetOrBuilder getDatasetOrBuilder(); } diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateModelRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateModelRequest.java index 7e5632686..027ced6a8 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateModelRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateModelRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.CreateModel][google.cloud.automl.v1.AutoMl.CreateModel].
+ * Request message for [AutoMl.CreateModel][google.cloud.automl.v1.AutoMl.CreateModel].
  * 
* * Protobuf type {@code google.cloud.automl.v1.CreateModelRequest} @@ -133,10 +132,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the parent project where the model is being created.
+   * Required. Resource name of the parent project where the model is being created.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -155,10 +156,12 @@ public java.lang.String getParent() { * * *
-   * Resource name of the parent project where the model is being created.
+   * Required. Resource name of the parent project where the model is being created.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -180,10 +183,10 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The model to create.
+   * Required. The model to create.
    * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the model field is set. */ @@ -194,10 +197,10 @@ public boolean hasModel() { * * *
-   * The model to create.
+   * Required. The model to create.
    * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return The model. */ @@ -208,10 +211,10 @@ public com.google.cloud.automl.v1.Model getModel() { * * *
-   * The model to create.
+   * Required. The model to create.
    * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.automl.v1.ModelOrBuilder getModelOrBuilder() { return getModel(); @@ -394,8 +397,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.CreateModel][google.cloud.automl.v1.AutoMl.CreateModel].
+   * Request message for [AutoMl.CreateModel][google.cloud.automl.v1.AutoMl.CreateModel].
    * 
* * Protobuf type {@code google.cloud.automl.v1.CreateModelRequest} @@ -567,10 +569,12 @@ public Builder mergeFrom( * * *
-     * Resource name of the parent project where the model is being created.
+     * Required. Resource name of the parent project where the model is being created.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -589,10 +593,12 @@ public java.lang.String getParent() { * * *
-     * Resource name of the parent project where the model is being created.
+     * Required. Resource name of the parent project where the model is being created.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -611,10 +617,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Resource name of the parent project where the model is being created.
+     * Required. Resource name of the parent project where the model is being created.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -632,10 +640,12 @@ public Builder setParent(java.lang.String value) { * * *
-     * Resource name of the parent project where the model is being created.
+     * Required. Resource name of the parent project where the model is being created.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -649,10 +659,12 @@ public Builder clearParent() { * * *
-     * Resource name of the parent project where the model is being created.
+     * Required. Resource name of the parent project where the model is being created.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -678,10 +690,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the model field is set. */ @@ -692,10 +705,11 @@ public boolean hasModel() { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The model. */ @@ -710,10 +724,11 @@ public com.google.cloud.automl.v1.Model getModel() { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setModel(com.google.cloud.automl.v1.Model value) { if (modelBuilder_ == null) { @@ -732,10 +747,11 @@ public Builder setModel(com.google.cloud.automl.v1.Model value) { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setModel(com.google.cloud.automl.v1.Model.Builder builderForValue) { if (modelBuilder_ == null) { @@ -751,10 +767,11 @@ public Builder setModel(com.google.cloud.automl.v1.Model.Builder builderForValue * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeModel(com.google.cloud.automl.v1.Model value) { if (modelBuilder_ == null) { @@ -775,10 +792,11 @@ public Builder mergeModel(com.google.cloud.automl.v1.Model value) { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearModel() { if (modelBuilder_ == null) { @@ -795,10 +813,11 @@ public Builder clearModel() { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.Model.Builder getModelBuilder() { @@ -809,10 +828,11 @@ public com.google.cloud.automl.v1.Model.Builder getModelBuilder() { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.ModelOrBuilder getModelOrBuilder() { if (modelBuilder_ != null) { @@ -825,10 +845,11 @@ public com.google.cloud.automl.v1.ModelOrBuilder getModelOrBuilder() { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1.Model, diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateModelRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateModelRequestOrBuilder.java index 01422019b..686452a64 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateModelRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/CreateModelRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface CreateModelRequestOrBuilder * * *
-   * Resource name of the parent project where the model is being created.
+   * Required. Resource name of the parent project where the model is being created.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -39,10 +41,12 @@ public interface CreateModelRequestOrBuilder * * *
-   * Resource name of the parent project where the model is being created.
+   * Required. Resource name of the parent project where the model is being created.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -52,10 +56,10 @@ public interface CreateModelRequestOrBuilder * * *
-   * The model to create.
+   * Required. The model to create.
    * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the model field is set. */ @@ -64,10 +68,10 @@ public interface CreateModelRequestOrBuilder * * *
-   * The model to create.
+   * Required. The model to create.
    * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; * * @return The model. */ @@ -76,10 +80,10 @@ public interface CreateModelRequestOrBuilder * * *
-   * The model to create.
+   * Required. The model to create.
    * 
* - * .google.cloud.automl.v1.Model model = 4; + * .google.cloud.automl.v1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.automl.v1.ModelOrBuilder getModelOrBuilder(); } diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DataItems.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DataItems.java index 1497ca31d..bc889ee2d 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DataItems.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DataItems.java @@ -61,13 +61,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\'google/cloud/automl/v1/data_items.prot" - + "o\022\026google.cloud.automl.v1\032\034google/api/an" - + "notations.proto\032%google/cloud/automl/v1/" - + "geometry.proto\032\037google/cloud/automl/v1/i" - + "o.proto\032)google/cloud/automl/v1/text_seg" - + "ment.proto\032\031google/protobuf/any.proto\032\036g" - + "oogle/protobuf/duration.proto\032\034google/pr" - + "otobuf/struct.proto\"=\n\005Image\022\025\n\013image_by" + + "o\022\026google.cloud.automl.v1\032%google/cloud/" + + "automl/v1/geometry.proto\032\037google/cloud/a" + + "utoml/v1/io.proto\032)google/cloud/automl/v" + + "1/text_segment.proto\032\031google/protobuf/an" + + "y.proto\032\036google/protobuf/duration.proto\032" + + "\034google/protobuf/struct.proto\032\034google/ap" + + "i/annotations.proto\"=\n\005Image\022\025\n\013image_by" + "tes\030\001 \001(\014H\000\022\025\n\rthumbnail_uri\030\004 \001(\tB\006\n\004da" + "ta\"F\n\013TextSnippet\022\017\n\007content\030\001 \001(\t\022\021\n\tmi" + "me_type\030\002 \001(\t\022\023\n\013content_uri\030\004 \001(\t\"\352\001\n\022D" @@ -110,13 +110,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.cloud.automl.v1.Geometry.getDescriptor(), com.google.cloud.automl.v1.Io.getDescriptor(), com.google.cloud.automl.v1.TextSegmentProto.getDescriptor(), com.google.protobuf.AnyProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_automl_v1_Image_descriptor = getDescriptor().getMessageTypes().get(0); @@ -166,13 +166,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Image", "TextSnippet", "Document", "Payload", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.cloud.automl.v1.Geometry.getDescriptor(); com.google.cloud.automl.v1.Io.getDescriptor(); com.google.cloud.automl.v1.TextSegmentProto.getDescriptor(); com.google.protobuf.AnyProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DatasetOuterClass.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DatasetOuterClass.java index 5727fea6f..52c80c6d5 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DatasetOuterClass.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DatasetOuterClass.java @@ -50,7 +50,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "proto\032!google/cloud/automl/v1/text.proto" + "\032(google/cloud/automl/v1/translation.pro" + "to\032\037google/protobuf/timestamp.proto\032\034goo" - + "gle/api/annotations.proto\"\200\007\n\007Dataset\022Z\n" + + "gle/api/annotations.proto\"\340\007\n\007Dataset\022Z\n" + "\034translation_dataset_metadata\030\027 \001(\01322.go" + "ogle.cloud.automl.v1.TranslationDatasetM" + "etadataH\000\022k\n%image_classification_datase" @@ -72,12 +72,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "gle.protobuf.Timestamp\022\014\n\004etag\030\021 \001(\t\022;\n\006" + "labels\030\' \003(\0132+.google.cloud.automl.v1.Da" + "taset.LabelsEntry\032-\n\013LabelsEntry\022\013\n\003key\030" - + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\022\n\020dataset_meta" - + "dataB\252\001\n\032com.google.cloud.automl.v1P\001Z - * Request message for - * [AutoMl.DeleteDataset][google.cloud.automl.v1.AutoMl.DeleteDataset]. + * Request message for [AutoMl.DeleteDataset][google.cloud.automl.v1.AutoMl.DeleteDataset]. * * * Protobuf type {@code google.cloud.automl.v1.DeleteDatasetRequest} @@ -118,10 +117,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the dataset to delete.
+   * Required. The resource name of the dataset to delete.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,10 +141,12 @@ public java.lang.String getName() { * * *
-   * The resource name of the dataset to delete.
+   * Required. The resource name of the dataset to delete.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -322,8 +325,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.DeleteDataset][google.cloud.automl.v1.AutoMl.DeleteDataset].
+   * Request message for [AutoMl.DeleteDataset][google.cloud.automl.v1.AutoMl.DeleteDataset].
    * 
* * Protobuf type {@code google.cloud.automl.v1.DeleteDatasetRequest} @@ -482,10 +484,12 @@ public Builder mergeFrom( * * *
-     * The resource name of the dataset to delete.
+     * Required. The resource name of the dataset to delete.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -504,10 +508,12 @@ public java.lang.String getName() { * * *
-     * The resource name of the dataset to delete.
+     * Required. The resource name of the dataset to delete.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -526,10 +532,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the dataset to delete.
+     * Required. The resource name of the dataset to delete.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -547,10 +555,12 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the dataset to delete.
+     * Required. The resource name of the dataset to delete.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -564,10 +574,12 @@ public Builder clearName() { * * *
-     * The resource name of the dataset to delete.
+     * Required. The resource name of the dataset to delete.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeleteDatasetRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeleteDatasetRequestOrBuilder.java index 3ee2ebc68..894e40f15 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeleteDatasetRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeleteDatasetRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface DeleteDatasetRequestOrBuilder * * *
-   * The resource name of the dataset to delete.
+   * Required. The resource name of the dataset to delete.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -39,10 +41,12 @@ public interface DeleteDatasetRequestOrBuilder * * *
-   * The resource name of the dataset to delete.
+   * Required. The resource name of the dataset to delete.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeleteModelRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeleteModelRequest.java index 19871c08d..837e1a53a 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeleteModelRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeleteModelRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.DeleteModel][google.cloud.automl.v1.AutoMl.DeleteModel].
+ * Request message for [AutoMl.DeleteModel][google.cloud.automl.v1.AutoMl.DeleteModel].
  * 
* * Protobuf type {@code google.cloud.automl.v1.DeleteModelRequest} @@ -118,10 +117,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the model being deleted.
+   * Required. Resource name of the model being deleted.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,10 +141,12 @@ public java.lang.String getName() { * * *
-   * Resource name of the model being deleted.
+   * Required. Resource name of the model being deleted.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -322,8 +325,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.DeleteModel][google.cloud.automl.v1.AutoMl.DeleteModel].
+   * Request message for [AutoMl.DeleteModel][google.cloud.automl.v1.AutoMl.DeleteModel].
    * 
* * Protobuf type {@code google.cloud.automl.v1.DeleteModelRequest} @@ -481,10 +483,12 @@ public Builder mergeFrom( * * *
-     * Resource name of the model being deleted.
+     * Required. Resource name of the model being deleted.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -503,10 +507,12 @@ public java.lang.String getName() { * * *
-     * Resource name of the model being deleted.
+     * Required. Resource name of the model being deleted.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -525,10 +531,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the model being deleted.
+     * Required. Resource name of the model being deleted.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -546,10 +554,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the model being deleted.
+     * Required. Resource name of the model being deleted.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -563,10 +573,12 @@ public Builder clearName() { * * *
-     * Resource name of the model being deleted.
+     * Required. Resource name of the model being deleted.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeleteModelRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeleteModelRequestOrBuilder.java index 872a39cc0..549fa5d69 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeleteModelRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeleteModelRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface DeleteModelRequestOrBuilder * * *
-   * Resource name of the model being deleted.
+   * Required. Resource name of the model being deleted.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -39,10 +41,12 @@ public interface DeleteModelRequestOrBuilder * * *
-   * Resource name of the model being deleted.
+   * Required. Resource name of the model being deleted.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeployModelRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeployModelRequest.java index 0fe27b0f6..fc2090284 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeployModelRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeployModelRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.DeployModel][google.cloud.automl.v1.AutoMl.DeployModel].
+ * Request message for [AutoMl.DeployModel][google.cloud.automl.v1.AutoMl.DeployModel].
  * 
* * Protobuf type {@code google.cloud.automl.v1.DeployModelRequest} @@ -333,10 +332,12 @@ public boolean hasImageClassificationModelDeploymentMetadata() { * * *
-   * Resource name of the model to deploy.
+   * Required. Resource name of the model to deploy.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -355,10 +356,12 @@ public java.lang.String getName() { * * *
-   * Resource name of the model to deploy.
+   * Required. Resource name of the model to deploy.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -589,8 +592,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.DeployModel][google.cloud.automl.v1.AutoMl.DeployModel].
+   * Request message for [AutoMl.DeployModel][google.cloud.automl.v1.AutoMl.DeployModel].
    * 
* * Protobuf type {@code google.cloud.automl.v1.DeployModelRequest} @@ -1283,10 +1285,12 @@ public Builder clearImageClassificationModelDeploymentMetadata() { * * *
-     * Resource name of the model to deploy.
+     * Required. Resource name of the model to deploy.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -1305,10 +1309,12 @@ public java.lang.String getName() { * * *
-     * Resource name of the model to deploy.
+     * Required. Resource name of the model to deploy.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -1327,10 +1333,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the model to deploy.
+     * Required. Resource name of the model to deploy.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -1348,10 +1356,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the model to deploy.
+     * Required. Resource name of the model to deploy.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -1365,10 +1375,12 @@ public Builder clearName() { * * *
-     * Resource name of the model to deploy.
+     * Required. Resource name of the model to deploy.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeployModelRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeployModelRequestOrBuilder.java index dbf73776c..b33f9f6ea 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeployModelRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/DeployModelRequestOrBuilder.java @@ -113,10 +113,12 @@ public interface DeployModelRequestOrBuilder * * *
-   * Resource name of the model to deploy.
+   * Required. Resource name of the model to deploy.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -125,10 +127,12 @@ public interface DeployModelRequestOrBuilder * * *
-   * Resource name of the model to deploy.
+   * Required. Resource name of the model to deploy.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Detection.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Detection.java index f28df5c0a..ff38d5f32 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Detection.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Detection.java @@ -53,9 +53,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n&google/cloud/automl/v1/detection.proto" - + "\022\026google.cloud.automl.v1\032\034google/api/ann" - + "otations.proto\032%google/cloud/automl/v1/g" - + "eometry.proto\032\036google/protobuf/duration." + + "\022\026google.cloud.automl.v1\032%google/cloud/a" + + "utoml/v1/geometry.proto\032\036google/protobuf" + + "/duration.proto\032\034google/api/annotations." + "proto\"k\n\036ImageObjectDetectionAnnotation\022" + ":\n\014bounding_box\030\001 \001(\0132$.google.cloud.aut" + "oml.v1.BoundingPoly\022\r\n\005score\030\002 \001(\002\"\251\002\n\027B" @@ -82,9 +82,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.cloud.automl.v1.Geometry.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_automl_v1_ImageObjectDetectionAnnotation_descriptor = getDescriptor().getMessageTypes().get(0); @@ -122,9 +122,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BoundingBoxMetricsEntries", "BoundingBoxMeanAveragePrecision", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.cloud.automl.v1.Geometry.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Document.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Document.java index a49a66f16..884ede829 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Document.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Document.java @@ -182,7 +182,7 @@ public interface LayoutOrBuilder * *
      * Text Segment that represents a segment in
-     * [document_text][google.cloud.automl.v1.Document.document_text].
+     * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
      * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -195,7 +195,7 @@ public interface LayoutOrBuilder * *
      * Text Segment that represents a segment in
-     * [document_text][google.cloud.automl.v1.Document.document_text].
+     * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
      * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -208,7 +208,7 @@ public interface LayoutOrBuilder * *
      * Text Segment that represents a segment in
-     * [document_text][google.cloud.automl.v1.Document.document_text].
+     * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
      * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -219,9 +219,8 @@ public interface LayoutOrBuilder * * *
-     * Page number of the
-     * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-     * the original document, starts from 1.
+     * Page number of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the original document, starts
+     * from 1.
      * 
* * int32 page_number = 2; @@ -234,13 +233,12 @@ public interface LayoutOrBuilder * * *
-     * The position of the
-     * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-     * the page. Contains exactly 4
-     * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+     * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+     * Contains exactly 4
+     * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
      * and they are connected by edges in the order provided, which will
      * represent a rectangle parallel to the frame. The
-     * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+     * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
      * relative to the page.
      * Coordinates are based on top-left as point (0,0).
      * 
@@ -254,13 +252,12 @@ public interface LayoutOrBuilder * * *
-     * The position of the
-     * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-     * the page. Contains exactly 4
-     * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+     * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+     * Contains exactly 4
+     * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
      * and they are connected by edges in the order provided, which will
      * represent a rectangle parallel to the frame. The
-     * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+     * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
      * relative to the page.
      * Coordinates are based on top-left as point (0,0).
      * 
@@ -274,13 +271,12 @@ public interface LayoutOrBuilder * * *
-     * The position of the
-     * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-     * the page. Contains exactly 4
-     * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+     * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+     * Contains exactly 4
+     * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
      * and they are connected by edges in the order provided, which will
      * represent a rectangle parallel to the frame. The
-     * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+     * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
      * relative to the page.
      * Coordinates are based on top-left as point (0,0).
      * 
@@ -293,9 +289,7 @@ public interface LayoutOrBuilder * * *
-     * The type of the
-     * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-     * document.
+     * The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document.
      * 
* * .google.cloud.automl.v1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -307,9 +301,7 @@ public interface LayoutOrBuilder * * *
-     * The type of the
-     * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-     * document.
+     * The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document.
      * 
* * .google.cloud.automl.v1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -322,9 +314,7 @@ public interface LayoutOrBuilder * * *
-   * Describes the layout information of a
-   * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the
-   * document.
+   * Describes the layout information of a [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the document.
    * 
* * Protobuf type {@code google.cloud.automl.v1.Document.Layout} @@ -787,7 +777,7 @@ private TextSegmentType(int value) { * *
      * Text Segment that represents a segment in
-     * [document_text][google.cloud.automl.v1.Document.document_text].
+     * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
      * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -802,7 +792,7 @@ public boolean hasTextSegment() { * *
      * Text Segment that represents a segment in
-     * [document_text][google.cloud.automl.v1.Document.document_text].
+     * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
      * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -819,7 +809,7 @@ public com.google.cloud.automl.v1.TextSegment getTextSegment() { * *
      * Text Segment that represents a segment in
-     * [document_text][google.cloud.automl.v1.Document.document_text].
+     * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
      * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -834,9 +824,8 @@ public com.google.cloud.automl.v1.TextSegmentOrBuilder getTextSegmentOrBuilder() * * *
-     * Page number of the
-     * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-     * the original document, starts from 1.
+     * Page number of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the original document, starts
+     * from 1.
      * 
* * int32 page_number = 2; @@ -853,13 +842,12 @@ public int getPageNumber() { * * *
-     * The position of the
-     * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-     * the page. Contains exactly 4
-     * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+     * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+     * Contains exactly 4
+     * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
      * and they are connected by edges in the order provided, which will
      * represent a rectangle parallel to the frame. The
-     * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+     * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
      * relative to the page.
      * Coordinates are based on top-left as point (0,0).
      * 
@@ -875,13 +863,12 @@ public boolean hasBoundingPoly() { * * *
-     * The position of the
-     * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-     * the page. Contains exactly 4
-     * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+     * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+     * Contains exactly 4
+     * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
      * and they are connected by edges in the order provided, which will
      * represent a rectangle parallel to the frame. The
-     * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+     * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
      * relative to the page.
      * Coordinates are based on top-left as point (0,0).
      * 
@@ -899,13 +886,12 @@ public com.google.cloud.automl.v1.BoundingPoly getBoundingPoly() { * * *
-     * The position of the
-     * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-     * the page. Contains exactly 4
-     * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+     * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+     * Contains exactly 4
+     * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
      * and they are connected by edges in the order provided, which will
      * represent a rectangle parallel to the frame. The
-     * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+     * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
      * relative to the page.
      * Coordinates are based on top-left as point (0,0).
      * 
@@ -922,9 +908,7 @@ public com.google.cloud.automl.v1.BoundingPolyOrBuilder getBoundingPolyOrBuilder * * *
-     * The type of the
-     * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-     * document.
+     * The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document.
      * 
* * .google.cloud.automl.v1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -938,9 +922,7 @@ public int getTextSegmentTypeValue() { * * *
-     * The type of the
-     * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-     * document.
+     * The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document.
      * 
* * .google.cloud.automl.v1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -1163,9 +1145,7 @@ protected Builder newBuilderForType( * * *
-     * Describes the layout information of a
-     * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the
-     * document.
+     * Describes the layout information of a [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the document.
      * 
* * Protobuf type {@code google.cloud.automl.v1.Document.Layout} @@ -1365,7 +1345,7 @@ public Builder mergeFrom( * *
        * Text Segment that represents a segment in
-       * [document_text][google.cloud.automl.v1.Document.document_text].
+       * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
        * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -1380,7 +1360,7 @@ public boolean hasTextSegment() { * *
        * Text Segment that represents a segment in
-       * [document_text][google.cloud.automl.v1.Document.document_text].
+       * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
        * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -1401,7 +1381,7 @@ public com.google.cloud.automl.v1.TextSegment getTextSegment() { * *
        * Text Segment that represents a segment in
-       * [document_text][google.cloud.automl.v1.Document.document_text].
+       * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
        * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -1424,7 +1404,7 @@ public Builder setTextSegment(com.google.cloud.automl.v1.TextSegment value) { * *
        * Text Segment that represents a segment in
-       * [document_text][google.cloud.automl.v1.Document.document_text].
+       * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
        * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -1445,7 +1425,7 @@ public Builder setTextSegment( * *
        * Text Segment that represents a segment in
-       * [document_text][google.cloud.automl.v1.Document.document_text].
+       * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
        * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -1472,7 +1452,7 @@ public Builder mergeTextSegment(com.google.cloud.automl.v1.TextSegment value) { * *
        * Text Segment that represents a segment in
-       * [document_text][google.cloud.automl.v1.Document.document_text].
+       * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
        * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -1493,7 +1473,7 @@ public Builder clearTextSegment() { * *
        * Text Segment that represents a segment in
-       * [document_text][google.cloud.automl.v1.Document.document_text].
+       * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
        * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -1508,7 +1488,7 @@ public com.google.cloud.automl.v1.TextSegment.Builder getTextSegmentBuilder() { * *
        * Text Segment that represents a segment in
-       * [document_text][google.cloud.automl.v1.Document.document_text].
+       * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
        * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -1527,7 +1507,7 @@ public com.google.cloud.automl.v1.TextSegmentOrBuilder getTextSegmentOrBuilder() * *
        * Text Segment that represents a segment in
-       * [document_text][google.cloud.automl.v1.Document.document_text].
+       * [document_text][google.cloud.automl.v1p1beta.Document.document_text].
        * 
* * .google.cloud.automl.v1.TextSegment text_segment = 1; @@ -1554,9 +1534,8 @@ public com.google.cloud.automl.v1.TextSegmentOrBuilder getTextSegmentOrBuilder() * * *
-       * Page number of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * the original document, starts from 1.
+       * Page number of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the original document, starts
+       * from 1.
        * 
* * int32 page_number = 2; @@ -1570,9 +1549,8 @@ public int getPageNumber() { * * *
-       * Page number of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * the original document, starts from 1.
+       * Page number of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the original document, starts
+       * from 1.
        * 
* * int32 page_number = 2; @@ -1590,9 +1568,8 @@ public Builder setPageNumber(int value) { * * *
-       * Page number of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * the original document, starts from 1.
+       * Page number of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the original document, starts
+       * from 1.
        * 
* * int32 page_number = 2; @@ -1616,13 +1593,12 @@ public Builder clearPageNumber() { * * *
-       * The position of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * the page. Contains exactly 4
-       * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+       * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
+       * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
-       * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+       * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
        * relative to the page.
        * Coordinates are based on top-left as point (0,0).
        * 
@@ -1638,13 +1614,12 @@ public boolean hasBoundingPoly() { * * *
-       * The position of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * the page. Contains exactly 4
-       * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+       * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
+       * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
-       * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+       * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
        * relative to the page.
        * Coordinates are based on top-left as point (0,0).
        * 
@@ -1666,13 +1641,12 @@ public com.google.cloud.automl.v1.BoundingPoly getBoundingPoly() { * * *
-       * The position of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * the page. Contains exactly 4
-       * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+       * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
+       * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
-       * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+       * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
        * relative to the page.
        * Coordinates are based on top-left as point (0,0).
        * 
@@ -1696,13 +1670,12 @@ public Builder setBoundingPoly(com.google.cloud.automl.v1.BoundingPoly value) { * * *
-       * The position of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * the page. Contains exactly 4
-       * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+       * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
+       * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
-       * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+       * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
        * relative to the page.
        * Coordinates are based on top-left as point (0,0).
        * 
@@ -1724,13 +1697,12 @@ public Builder setBoundingPoly( * * *
-       * The position of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * the page. Contains exactly 4
-       * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+       * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
+       * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
-       * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+       * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
        * relative to the page.
        * Coordinates are based on top-left as point (0,0).
        * 
@@ -1758,13 +1730,12 @@ public Builder mergeBoundingPoly(com.google.cloud.automl.v1.BoundingPoly value) * * *
-       * The position of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * the page. Contains exactly 4
-       * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+       * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
+       * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
-       * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+       * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
        * relative to the page.
        * Coordinates are based on top-left as point (0,0).
        * 
@@ -1786,13 +1757,12 @@ public Builder clearBoundingPoly() { * * *
-       * The position of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * the page. Contains exactly 4
-       * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+       * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
+       * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
-       * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+       * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
        * relative to the page.
        * Coordinates are based on top-left as point (0,0).
        * 
@@ -1808,13 +1778,12 @@ public com.google.cloud.automl.v1.BoundingPoly.Builder getBoundingPolyBuilder() * * *
-       * The position of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * the page. Contains exactly 4
-       * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+       * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
+       * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
-       * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+       * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
        * relative to the page.
        * Coordinates are based on top-left as point (0,0).
        * 
@@ -1834,13 +1803,12 @@ public com.google.cloud.automl.v1.BoundingPolyOrBuilder getBoundingPolyOrBuilder * * *
-       * The position of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * the page. Contains exactly 4
-       * [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices]
+       * The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
+       * [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
-       * [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are
+       * [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
        * relative to the page.
        * Coordinates are based on top-left as point (0,0).
        * 
@@ -1869,9 +1837,7 @@ public com.google.cloud.automl.v1.BoundingPolyOrBuilder getBoundingPolyOrBuilder * * *
-       * The type of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * document.
+       * The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document.
        * 
* * .google.cloud.automl.v1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -1885,9 +1851,7 @@ public int getTextSegmentTypeValue() { * * *
-       * The type of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * document.
+       * The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document.
        * 
* * .google.cloud.automl.v1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -1904,9 +1868,7 @@ public Builder setTextSegmentTypeValue(int value) { * * *
-       * The type of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * document.
+       * The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document.
        * 
* * .google.cloud.automl.v1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -1925,9 +1887,7 @@ public com.google.cloud.automl.v1.Document.Layout.TextSegmentType getTextSegment * * *
-       * The type of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * document.
+       * The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document.
        * 
* * .google.cloud.automl.v1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -1949,9 +1909,7 @@ public Builder setTextSegmentType( * * *
-       * The type of the
-       * [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in
-       * document.
+       * The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document.
        * 
* * .google.cloud.automl.v1.Document.Layout.TextSegmentType text_segment_type = 4; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportDataRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportDataRequest.java index a20631626..f3fce5c97 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportDataRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportDataRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.ExportData][google.cloud.automl.v1.AutoMl.ExportData].
+ * Request message for [AutoMl.ExportData][google.cloud.automl.v1.AutoMl.ExportData].
  * 
* * Protobuf type {@code google.cloud.automl.v1.ExportDataRequest} @@ -137,7 +136,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Required. The resource name of the dataset. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -159,7 +160,9 @@ public java.lang.String getName() { * Required. The resource name of the dataset. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -184,7 +187,9 @@ public com.google.protobuf.ByteString getNameBytes() { * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the outputConfig field is set. */ @@ -198,7 +203,9 @@ public boolean hasOutputConfig() { * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -214,7 +221,9 @@ public com.google.cloud.automl.v1.OutputConfig getOutputConfig() { * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() { return getOutputConfig(); @@ -397,8 +406,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.ExportData][google.cloud.automl.v1.AutoMl.ExportData].
+   * Request message for [AutoMl.ExportData][google.cloud.automl.v1.AutoMl.ExportData].
    * 
* * Protobuf type {@code google.cloud.automl.v1.ExportDataRequest} @@ -573,7 +581,9 @@ public Builder mergeFrom( * Required. The resource name of the dataset. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -595,7 +605,9 @@ public java.lang.String getName() { * Required. The resource name of the dataset. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -617,7 +629,9 @@ public com.google.protobuf.ByteString getNameBytes() { * Required. The resource name of the dataset. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -638,7 +652,9 @@ public Builder setName(java.lang.String value) { * Required. The resource name of the dataset. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -655,7 +671,9 @@ public Builder clearName() { * Required. The resource name of the dataset. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -684,7 +702,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the outputConfig field is set. */ @@ -698,7 +718,9 @@ public boolean hasOutputConfig() { * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -718,7 +740,9 @@ public com.google.cloud.automl.v1.OutputConfig getOutputConfig() { * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig(com.google.cloud.automl.v1.OutputConfig value) { if (outputConfigBuilder_ == null) { @@ -740,7 +764,9 @@ public Builder setOutputConfig(com.google.cloud.automl.v1.OutputConfig value) { * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig( com.google.cloud.automl.v1.OutputConfig.Builder builderForValue) { @@ -760,7 +786,9 @@ public Builder setOutputConfig( * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOutputConfig(com.google.cloud.automl.v1.OutputConfig value) { if (outputConfigBuilder_ == null) { @@ -786,7 +814,9 @@ public Builder mergeOutputConfig(com.google.cloud.automl.v1.OutputConfig value) * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -806,7 +836,9 @@ public Builder clearOutputConfig() { * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.OutputConfig.Builder getOutputConfigBuilder() { @@ -820,7 +852,9 @@ public com.google.cloud.automl.v1.OutputConfig.Builder getOutputConfigBuilder() * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.OutputConfigOrBuilder getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { @@ -838,7 +872,9 @@ public com.google.cloud.automl.v1.OutputConfigOrBuilder getOutputConfigOrBuilder * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1.OutputConfig, diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportDataRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportDataRequestOrBuilder.java index 05a5a2718..e97591c3e 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportDataRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportDataRequestOrBuilder.java @@ -30,7 +30,9 @@ public interface ExportDataRequestOrBuilder * Required. The resource name of the dataset. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -42,7 +44,9 @@ public interface ExportDataRequestOrBuilder * Required. The resource name of the dataset. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -55,7 +59,9 @@ public interface ExportDataRequestOrBuilder * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the outputConfig field is set. */ @@ -67,7 +73,9 @@ public interface ExportDataRequestOrBuilder * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -79,7 +87,9 @@ public interface ExportDataRequestOrBuilder * Required. The desired output location. * * - * .google.cloud.automl.v1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1.OutputConfigOrBuilder getOutputConfigOrBuilder(); } diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportModelRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportModelRequest.java index 9160ce7a3..03fe5b261 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportModelRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportModelRequest.java @@ -22,9 +22,9 @@ * * *
- * Request message for
- * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]. Models need
- * to be enabled for exporting, otherwise an error code will be returned.
+ * Request message for [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel].
+ * Models need to be enabled for exporting, otherwise an error code will be
+ * returned.
  * 
* * Protobuf type {@code google.cloud.automl.v1.ExportModelRequest} @@ -139,7 +139,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Required. The resource name of the model to export. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -161,7 +163,9 @@ public java.lang.String getName() { * Required. The resource name of the model to export. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -186,7 +190,9 @@ public com.google.protobuf.ByteString getNameBytes() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the outputConfig field is set. */ @@ -200,7 +206,9 @@ public boolean hasOutputConfig() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -216,7 +224,9 @@ public com.google.cloud.automl.v1.ModelExportOutputConfig getOutputConfig() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.ModelExportOutputConfigOrBuilder getOutputConfigOrBuilder() { return getOutputConfig(); @@ -399,9 +409,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]. Models need
-   * to be enabled for exporting, otherwise an error code will be returned.
+   * Request message for [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel].
+   * Models need to be enabled for exporting, otherwise an error code will be
+   * returned.
    * 
* * Protobuf type {@code google.cloud.automl.v1.ExportModelRequest} @@ -576,7 +586,9 @@ public Builder mergeFrom( * Required. The resource name of the model to export. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -598,7 +610,9 @@ public java.lang.String getName() { * Required. The resource name of the model to export. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -620,7 +634,9 @@ public com.google.protobuf.ByteString getNameBytes() { * Required. The resource name of the model to export. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -641,7 +657,9 @@ public Builder setName(java.lang.String value) { * Required. The resource name of the model to export. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -658,7 +676,9 @@ public Builder clearName() { * Required. The resource name of the model to export. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -687,7 +707,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the outputConfig field is set. */ @@ -701,7 +723,9 @@ public boolean hasOutputConfig() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -721,7 +745,9 @@ public com.google.cloud.automl.v1.ModelExportOutputConfig getOutputConfig() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig(com.google.cloud.automl.v1.ModelExportOutputConfig value) { if (outputConfigBuilder_ == null) { @@ -743,7 +769,9 @@ public Builder setOutputConfig(com.google.cloud.automl.v1.ModelExportOutputConfi * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig( com.google.cloud.automl.v1.ModelExportOutputConfig.Builder builderForValue) { @@ -763,7 +791,9 @@ public Builder setOutputConfig( * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOutputConfig(com.google.cloud.automl.v1.ModelExportOutputConfig value) { if (outputConfigBuilder_ == null) { @@ -789,7 +819,9 @@ public Builder mergeOutputConfig(com.google.cloud.automl.v1.ModelExportOutputCon * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -809,7 +841,9 @@ public Builder clearOutputConfig() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.ModelExportOutputConfig.Builder getOutputConfigBuilder() { @@ -823,7 +857,9 @@ public com.google.cloud.automl.v1.ModelExportOutputConfig.Builder getOutputConfi * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.ModelExportOutputConfigOrBuilder getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { @@ -841,7 +877,9 @@ public com.google.cloud.automl.v1.ModelExportOutputConfigOrBuilder getOutputConf * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1.ModelExportOutputConfig, diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportModelRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportModelRequestOrBuilder.java index c395e5c09..86ca1495b 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportModelRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportModelRequestOrBuilder.java @@ -30,7 +30,9 @@ public interface ExportModelRequestOrBuilder * Required. The resource name of the model to export. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -42,7 +44,9 @@ public interface ExportModelRequestOrBuilder * Required. The resource name of the model to export. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -55,7 +59,9 @@ public interface ExportModelRequestOrBuilder * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the outputConfig field is set. */ @@ -67,7 +73,9 @@ public interface ExportModelRequestOrBuilder * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -79,7 +87,9 @@ public interface ExportModelRequestOrBuilder * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1.ModelExportOutputConfigOrBuilder getOutputConfigOrBuilder(); } diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetAnnotationSpecRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetAnnotationSpecRequest.java index 7c29f88d8..1d4211c56 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetAnnotationSpecRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetAnnotationSpecRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.GetAnnotationSpec][google.cloud.automl.v1.AutoMl.GetAnnotationSpec].
+ * Request message for [AutoMl.GetAnnotationSpec][google.cloud.automl.v1.AutoMl.GetAnnotationSpec].
  * 
* * Protobuf type {@code google.cloud.automl.v1.GetAnnotationSpecRequest} @@ -118,10 +117,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the annotation spec to retrieve.
+   * Required. The resource name of the annotation spec to retrieve.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,10 +141,12 @@ public java.lang.String getName() { * * *
-   * The resource name of the annotation spec to retrieve.
+   * Required. The resource name of the annotation spec to retrieve.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -322,8 +325,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.GetAnnotationSpec][google.cloud.automl.v1.AutoMl.GetAnnotationSpec].
+   * Request message for [AutoMl.GetAnnotationSpec][google.cloud.automl.v1.AutoMl.GetAnnotationSpec].
    * 
* * Protobuf type {@code google.cloud.automl.v1.GetAnnotationSpecRequest} @@ -483,10 +485,12 @@ public Builder mergeFrom( * * *
-     * The resource name of the annotation spec to retrieve.
+     * Required. The resource name of the annotation spec to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -505,10 +509,12 @@ public java.lang.String getName() { * * *
-     * The resource name of the annotation spec to retrieve.
+     * Required. The resource name of the annotation spec to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -527,10 +533,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the annotation spec to retrieve.
+     * Required. The resource name of the annotation spec to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -548,10 +556,12 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the annotation spec to retrieve.
+     * Required. The resource name of the annotation spec to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -565,10 +575,12 @@ public Builder clearName() { * * *
-     * The resource name of the annotation spec to retrieve.
+     * Required. The resource name of the annotation spec to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetAnnotationSpecRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetAnnotationSpecRequestOrBuilder.java index 6b110c5f4..1605eaa5f 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetAnnotationSpecRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetAnnotationSpecRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface GetAnnotationSpecRequestOrBuilder * * *
-   * The resource name of the annotation spec to retrieve.
+   * Required. The resource name of the annotation spec to retrieve.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -39,10 +41,12 @@ public interface GetAnnotationSpecRequestOrBuilder * * *
-   * The resource name of the annotation spec to retrieve.
+   * Required. The resource name of the annotation spec to retrieve.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetDatasetRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetDatasetRequest.java index 64f1a34a7..3c29108fe 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetDatasetRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetDatasetRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.GetDataset][google.cloud.automl.v1.AutoMl.GetDataset].
+ * Request message for [AutoMl.GetDataset][google.cloud.automl.v1.AutoMl.GetDataset].
  * 
* * Protobuf type {@code google.cloud.automl.v1.GetDatasetRequest} @@ -118,10 +117,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the dataset to retrieve.
+   * Required. The resource name of the dataset to retrieve.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,10 +141,12 @@ public java.lang.String getName() { * * *
-   * The resource name of the dataset to retrieve.
+   * Required. The resource name of the dataset to retrieve.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -322,8 +325,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.GetDataset][google.cloud.automl.v1.AutoMl.GetDataset].
+   * Request message for [AutoMl.GetDataset][google.cloud.automl.v1.AutoMl.GetDataset].
    * 
* * Protobuf type {@code google.cloud.automl.v1.GetDatasetRequest} @@ -481,10 +483,12 @@ public Builder mergeFrom( * * *
-     * The resource name of the dataset to retrieve.
+     * Required. The resource name of the dataset to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -503,10 +507,12 @@ public java.lang.String getName() { * * *
-     * The resource name of the dataset to retrieve.
+     * Required. The resource name of the dataset to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -525,10 +531,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the dataset to retrieve.
+     * Required. The resource name of the dataset to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -546,10 +554,12 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the dataset to retrieve.
+     * Required. The resource name of the dataset to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -563,10 +573,12 @@ public Builder clearName() { * * *
-     * The resource name of the dataset to retrieve.
+     * Required. The resource name of the dataset to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetDatasetRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetDatasetRequestOrBuilder.java index aa3f19581..3184cfc9a 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetDatasetRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetDatasetRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface GetDatasetRequestOrBuilder * * *
-   * The resource name of the dataset to retrieve.
+   * Required. The resource name of the dataset to retrieve.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -39,10 +41,12 @@ public interface GetDatasetRequestOrBuilder * * *
-   * The resource name of the dataset to retrieve.
+   * Required. The resource name of the dataset to retrieve.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelEvaluationRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelEvaluationRequest.java index dd15434f1..9882f7cdd 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelEvaluationRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelEvaluationRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.GetModelEvaluation][google.cloud.automl.v1.AutoMl.GetModelEvaluation].
+ * Request message for [AutoMl.GetModelEvaluation][google.cloud.automl.v1.AutoMl.GetModelEvaluation].
  * 
* * Protobuf type {@code google.cloud.automl.v1.GetModelEvaluationRequest} @@ -118,10 +117,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name for the model evaluation.
+   * Required. Resource name for the model evaluation.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,10 +141,12 @@ public java.lang.String getName() { * * *
-   * Resource name for the model evaluation.
+   * Required. Resource name for the model evaluation.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -322,8 +325,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.GetModelEvaluation][google.cloud.automl.v1.AutoMl.GetModelEvaluation].
+   * Request message for [AutoMl.GetModelEvaluation][google.cloud.automl.v1.AutoMl.GetModelEvaluation].
    * 
* * Protobuf type {@code google.cloud.automl.v1.GetModelEvaluationRequest} @@ -483,10 +485,12 @@ public Builder mergeFrom( * * *
-     * Resource name for the model evaluation.
+     * Required. Resource name for the model evaluation.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -505,10 +509,12 @@ public java.lang.String getName() { * * *
-     * Resource name for the model evaluation.
+     * Required. Resource name for the model evaluation.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -527,10 +533,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name for the model evaluation.
+     * Required. Resource name for the model evaluation.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -548,10 +556,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name for the model evaluation.
+     * Required. Resource name for the model evaluation.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -565,10 +575,12 @@ public Builder clearName() { * * *
-     * Resource name for the model evaluation.
+     * Required. Resource name for the model evaluation.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelEvaluationRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelEvaluationRequestOrBuilder.java index 6c197d537..0cf435e40 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelEvaluationRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelEvaluationRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface GetModelEvaluationRequestOrBuilder * * *
-   * Resource name for the model evaluation.
+   * Required. Resource name for the model evaluation.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -39,10 +41,12 @@ public interface GetModelEvaluationRequestOrBuilder * * *
-   * Resource name for the model evaluation.
+   * Required. Resource name for the model evaluation.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelRequest.java index 9bf5d3e0f..1176aef44 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.GetModel][google.cloud.automl.v1.AutoMl.GetModel].
+ * Request message for [AutoMl.GetModel][google.cloud.automl.v1.AutoMl.GetModel].
  * 
* * Protobuf type {@code google.cloud.automl.v1.GetModelRequest} @@ -118,10 +117,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the model.
+   * Required. Resource name of the model.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,10 +141,12 @@ public java.lang.String getName() { * * *
-   * Resource name of the model.
+   * Required. Resource name of the model.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -322,8 +325,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.GetModel][google.cloud.automl.v1.AutoMl.GetModel].
+   * Request message for [AutoMl.GetModel][google.cloud.automl.v1.AutoMl.GetModel].
    * 
* * Protobuf type {@code google.cloud.automl.v1.GetModelRequest} @@ -481,10 +483,12 @@ public Builder mergeFrom( * * *
-     * Resource name of the model.
+     * Required. Resource name of the model.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -503,10 +507,12 @@ public java.lang.String getName() { * * *
-     * Resource name of the model.
+     * Required. Resource name of the model.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -525,10 +531,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the model.
+     * Required. Resource name of the model.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -546,10 +554,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the model.
+     * Required. Resource name of the model.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -563,10 +573,12 @@ public Builder clearName() { * * *
-     * Resource name of the model.
+     * Required. Resource name of the model.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelRequestOrBuilder.java index 3cda677f2..6a41db2e0 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/GetModelRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface GetModelRequestOrBuilder * * *
-   * Resource name of the model.
+   * Required. Resource name of the model.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -39,10 +41,12 @@ public interface GetModelRequestOrBuilder * * *
-   * Resource name of the model.
+   * Required. Resource name of the model.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageClassificationModelMetadata.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageClassificationModelMetadata.java index 52d1b2f5c..2a8a2f804 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageClassificationModelMetadata.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageClassificationModelMetadata.java @@ -312,38 +312,34 @@ public com.google.protobuf.ByteString getStopReasonBytes() { * This is the default value. * * `mobile-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have low latency, but may have lower - * prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. * * `mobile-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. * * `mobile-high-accuracy-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have a higher latency, but should - * also have a higher prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * `mobile-core-ml-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have low latency, but may have lower prediction quality - * than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. Expected to have low latency, but may have + * lower prediction quality than other models. * * `mobile-core-ml-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. * * `mobile-core-ml-high-accuracy-1` - A model that, in addition to * providing prediction via AutoML API, can also be exported - * (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have a higher latency, but should also have a higher - * prediction quality than other models. + * (see [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with + * Core ML afterwards. Expected to have a higher latency, but + * should also have a higher prediction quality than other + * models. * * * string model_type = 7; @@ -370,38 +366,34 @@ public java.lang.String getModelType() { * This is the default value. * * `mobile-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have low latency, but may have lower - * prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. * * `mobile-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. * * `mobile-high-accuracy-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have a higher latency, but should - * also have a higher prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * `mobile-core-ml-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have low latency, but may have lower prediction quality - * than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. Expected to have low latency, but may have + * lower prediction quality than other models. * * `mobile-core-ml-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. * * `mobile-core-ml-high-accuracy-1` - A model that, in addition to * providing prediction via AutoML API, can also be exported - * (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have a higher latency, but should also have a higher - * prediction quality than other models. + * (see [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with + * Core ML afterwards. Expected to have a higher latency, but + * should also have a higher prediction quality than other + * models. * * * string model_type = 7; @@ -1267,38 +1259,34 @@ public Builder setStopReasonBytes(com.google.protobuf.ByteString value) { * This is the default value. * * `mobile-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have low latency, but may have lower - * prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. * * `mobile-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. * * `mobile-high-accuracy-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have a higher latency, but should - * also have a higher prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * `mobile-core-ml-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have low latency, but may have lower prediction quality - * than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. Expected to have low latency, but may have + * lower prediction quality than other models. * * `mobile-core-ml-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. * * `mobile-core-ml-high-accuracy-1` - A model that, in addition to * providing prediction via AutoML API, can also be exported - * (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have a higher latency, but should also have a higher - * prediction quality than other models. + * (see [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with + * Core ML afterwards. Expected to have a higher latency, but + * should also have a higher prediction quality than other + * models. * * * string model_type = 7; @@ -1325,38 +1313,34 @@ public java.lang.String getModelType() { * This is the default value. * * `mobile-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have low latency, but may have lower - * prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. * * `mobile-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. * * `mobile-high-accuracy-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have a higher latency, but should - * also have a higher prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * `mobile-core-ml-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have low latency, but may have lower prediction quality - * than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. Expected to have low latency, but may have + * lower prediction quality than other models. * * `mobile-core-ml-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. * * `mobile-core-ml-high-accuracy-1` - A model that, in addition to * providing prediction via AutoML API, can also be exported - * (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have a higher latency, but should also have a higher - * prediction quality than other models. + * (see [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with + * Core ML afterwards. Expected to have a higher latency, but + * should also have a higher prediction quality than other + * models. * * * string model_type = 7; @@ -1383,38 +1367,34 @@ public com.google.protobuf.ByteString getModelTypeBytes() { * This is the default value. * * `mobile-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have low latency, but may have lower - * prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. * * `mobile-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. * * `mobile-high-accuracy-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have a higher latency, but should - * also have a higher prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * `mobile-core-ml-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have low latency, but may have lower prediction quality - * than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. Expected to have low latency, but may have + * lower prediction quality than other models. * * `mobile-core-ml-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. * * `mobile-core-ml-high-accuracy-1` - A model that, in addition to * providing prediction via AutoML API, can also be exported - * (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have a higher latency, but should also have a higher - * prediction quality than other models. + * (see [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with + * Core ML afterwards. Expected to have a higher latency, but + * should also have a higher prediction quality than other + * models. * * * string model_type = 7; @@ -1440,38 +1420,34 @@ public Builder setModelType(java.lang.String value) { * This is the default value. * * `mobile-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have low latency, but may have lower - * prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. * * `mobile-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. * * `mobile-high-accuracy-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have a higher latency, but should - * also have a higher prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * `mobile-core-ml-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have low latency, but may have lower prediction quality - * than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. Expected to have low latency, but may have + * lower prediction quality than other models. * * `mobile-core-ml-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. * * `mobile-core-ml-high-accuracy-1` - A model that, in addition to * providing prediction via AutoML API, can also be exported - * (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have a higher latency, but should also have a higher - * prediction quality than other models. + * (see [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with + * Core ML afterwards. Expected to have a higher latency, but + * should also have a higher prediction quality than other + * models. * * * string model_type = 7; @@ -1493,38 +1469,34 @@ public Builder clearModelType() { * This is the default value. * * `mobile-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have low latency, but may have lower - * prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. * * `mobile-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. * * `mobile-high-accuracy-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have a higher latency, but should - * also have a higher prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * `mobile-core-ml-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have low latency, but may have lower prediction quality - * than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. Expected to have low latency, but may have + * lower prediction quality than other models. * * `mobile-core-ml-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. * * `mobile-core-ml-high-accuracy-1` - A model that, in addition to * providing prediction via AutoML API, can also be exported - * (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have a higher latency, but should also have a higher - * prediction quality than other models. + * (see [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with + * Core ML afterwards. Expected to have a higher latency, but + * should also have a higher prediction quality than other + * models. * * * string model_type = 7; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageClassificationModelMetadataOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageClassificationModelMetadataOrBuilder.java index d4205dcd6..a7f2dbb60 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageClassificationModelMetadataOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageClassificationModelMetadataOrBuilder.java @@ -133,38 +133,34 @@ public interface ImageClassificationModelMetadataOrBuilder * This is the default value. * * `mobile-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have low latency, but may have lower - * prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. * * `mobile-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. * * `mobile-high-accuracy-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have a higher latency, but should - * also have a higher prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * `mobile-core-ml-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have low latency, but may have lower prediction quality - * than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. Expected to have low latency, but may have + * lower prediction quality than other models. * * `mobile-core-ml-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. * * `mobile-core-ml-high-accuracy-1` - A model that, in addition to * providing prediction via AutoML API, can also be exported - * (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have a higher latency, but should also have a higher - * prediction quality than other models. + * (see [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with + * Core ML afterwards. Expected to have a higher latency, but + * should also have a higher prediction quality than other + * models. * * * string model_type = 7; @@ -181,38 +177,34 @@ public interface ImageClassificationModelMetadataOrBuilder * This is the default value. * * `mobile-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have low latency, but may have lower - * prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. * * `mobile-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. * * `mobile-high-accuracy-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. Expected to have a higher latency, but should - * also have a higher prediction quality than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * `mobile-core-ml-low-latency-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have low latency, but may have lower prediction quality - * than other models. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. Expected to have low latency, but may have + * lower prediction quality than other models. * * `mobile-core-ml-versatile-1` - A model that, in addition to providing * prediction via AutoML API, can also be exported (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + * ML afterwards. * * `mobile-core-ml-high-accuracy-1` - A model that, in addition to * providing prediction via AutoML API, can also be exported - * (see - * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. Expected - * to have a higher latency, but should also have a higher - * prediction quality than other models. + * (see [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with + * Core ML afterwards. Expected to have a higher latency, but + * should also have a higher prediction quality than other + * models. * * * string model_type = 7; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionAnnotation.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionAnnotation.java index 657e1b6a9..6fd3c8a17 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionAnnotation.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionAnnotation.java @@ -175,8 +175,8 @@ public com.google.cloud.automl.v1.BoundingPolyOrBuilder getBoundingBoxOrBuilder( * * *
-   * Output only. The confidence that this annotation is positive for the parent
-   * example, value in [0, 1], higher means higher positivity confidence.
+   * Output only. The confidence that this annotation is positive for the parent example,
+   * value in [0, 1], higher means higher positivity confidence.
    * 
* * float score = 2; @@ -724,8 +724,8 @@ public com.google.cloud.automl.v1.BoundingPolyOrBuilder getBoundingBoxOrBuilder( * * *
-     * Output only. The confidence that this annotation is positive for the parent
-     * example, value in [0, 1], higher means higher positivity confidence.
+     * Output only. The confidence that this annotation is positive for the parent example,
+     * value in [0, 1], higher means higher positivity confidence.
      * 
* * float score = 2; @@ -739,8 +739,8 @@ public float getScore() { * * *
-     * Output only. The confidence that this annotation is positive for the parent
-     * example, value in [0, 1], higher means higher positivity confidence.
+     * Output only. The confidence that this annotation is positive for the parent example,
+     * value in [0, 1], higher means higher positivity confidence.
      * 
* * float score = 2; @@ -758,8 +758,8 @@ public Builder setScore(float value) { * * *
-     * Output only. The confidence that this annotation is positive for the parent
-     * example, value in [0, 1], higher means higher positivity confidence.
+     * Output only. The confidence that this annotation is positive for the parent example,
+     * value in [0, 1], higher means higher positivity confidence.
      * 
* * float score = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionAnnotationOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionAnnotationOrBuilder.java index 2a69905eb..8e7c6cd4c 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionAnnotationOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionAnnotationOrBuilder.java @@ -62,8 +62,8 @@ public interface ImageObjectDetectionAnnotationOrBuilder * * *
-   * Output only. The confidence that this annotation is positive for the parent
-   * example, value in [0, 1], higher means higher positivity confidence.
+   * Output only. The confidence that this annotation is positive for the parent example,
+   * value in [0, 1], higher means higher positivity confidence.
    * 
* * float score = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionModelMetadata.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionModelMetadata.java index b401f9bcc..e0bbd9b70 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionModelMetadata.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionModelMetadata.java @@ -154,6 +154,21 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * `cloud-low-latency-1` - A model to be used via prediction * calls to AutoML API. Expected to have low latency, but may * have lower prediction quality than other models. + * * `mobile-low-latency-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. + * * `mobile-versatile-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. + * * `mobile-high-accuracy-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * * string model_type = 1; @@ -183,6 +198,21 @@ public java.lang.String getModelType() { * * `cloud-low-latency-1` - A model to be used via prediction * calls to AutoML API. Expected to have low latency, but may * have lower prediction quality than other models. + * * `mobile-low-latency-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. + * * `mobile-versatile-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. + * * `mobile-high-accuracy-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * * string model_type = 1; @@ -751,6 +781,21 @@ public Builder mergeFrom( * * `cloud-low-latency-1` - A model to be used via prediction * calls to AutoML API. Expected to have low latency, but may * have lower prediction quality than other models. + * * `mobile-low-latency-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. + * * `mobile-versatile-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. + * * `mobile-high-accuracy-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * * string model_type = 1; @@ -780,6 +825,21 @@ public java.lang.String getModelType() { * * `cloud-low-latency-1` - A model to be used via prediction * calls to AutoML API. Expected to have low latency, but may * have lower prediction quality than other models. + * * `mobile-low-latency-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. + * * `mobile-versatile-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. + * * `mobile-high-accuracy-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * * string model_type = 1; @@ -809,6 +869,21 @@ public com.google.protobuf.ByteString getModelTypeBytes() { * * `cloud-low-latency-1` - A model to be used via prediction * calls to AutoML API. Expected to have low latency, but may * have lower prediction quality than other models. + * * `mobile-low-latency-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. + * * `mobile-versatile-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. + * * `mobile-high-accuracy-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * * string model_type = 1; @@ -837,6 +912,21 @@ public Builder setModelType(java.lang.String value) { * * `cloud-low-latency-1` - A model to be used via prediction * calls to AutoML API. Expected to have low latency, but may * have lower prediction quality than other models. + * * `mobile-low-latency-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. + * * `mobile-versatile-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. + * * `mobile-high-accuracy-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * * string model_type = 1; @@ -861,6 +951,21 @@ public Builder clearModelType() { * * `cloud-low-latency-1` - A model to be used via prediction * calls to AutoML API. Expected to have low latency, but may * have lower prediction quality than other models. + * * `mobile-low-latency-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. + * * `mobile-versatile-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. + * * `mobile-high-accuracy-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * * string model_type = 1; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionModelMetadataOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionModelMetadataOrBuilder.java index 3b761f629..fcee25c28 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionModelMetadataOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageObjectDetectionModelMetadataOrBuilder.java @@ -35,6 +35,21 @@ public interface ImageObjectDetectionModelMetadataOrBuilder * * `cloud-low-latency-1` - A model to be used via prediction * calls to AutoML API. Expected to have low latency, but may * have lower prediction quality than other models. + * * `mobile-low-latency-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. + * * `mobile-versatile-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. + * * `mobile-high-accuracy-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * * string model_type = 1; @@ -54,6 +69,21 @@ public interface ImageObjectDetectionModelMetadataOrBuilder * * `cloud-low-latency-1` - A model to be used via prediction * calls to AutoML API. Expected to have low latency, but may * have lower prediction quality than other models. + * * `mobile-low-latency-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have low latency, but + * may have lower prediction quality than other models. + * * `mobile-versatile-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. + * * `mobile-high-accuracy-1` - A model that, in addition to providing + * prediction via AutoML API, can also be exported (see + * [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + * with TensorFlow afterwards. Expected to have a higher + * latency, but should also have a higher prediction quality + * than other models. * * * string model_type = 1; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageProto.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageProto.java index 7bf8ab67b..9d1967926 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageProto.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageProto.java @@ -61,11 +61,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\"google/cloud/automl/v1/image.proto\022\026go" - + "ogle.cloud.automl.v1\032\034google/api/annotat" - + "ions.proto\032\031google/api/resource.proto\032,g" - + "oogle/cloud/automl/v1/annotation_spec.pr" - + "oto\032+google/cloud/automl/v1/classificati" - + "on.proto\032\037google/protobuf/timestamp.prot" + + "ogle.cloud.automl.v1\032\031google/api/resourc" + + "e.proto\032,google/cloud/automl/v1/annotati" + + "on_spec.proto\032+google/cloud/automl/v1/cl" + + "assification.proto\032\037google/protobuf/time" + + "stamp.proto\032\034google/api/annotations.prot" + "o\"m\n\"ImageClassificationDatasetMetadata\022" + "G\n\023classification_type\030\001 \001(\0162*.google.cl" + "oud.automl.v1.ClassificationType\"%\n#Imag" @@ -94,11 +94,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.ResourceProto.getDescriptor(), com.google.cloud.automl.v1.AnnotationSpecOuterClass.getDescriptor(), com.google.cloud.automl.v1.ClassificationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_automl_v1_ImageClassificationDatasetMetadata_descriptor = getDescriptor().getMessageTypes().get(0); @@ -157,11 +157,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "NodeCount", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.ResourceProto.getDescriptor(); com.google.cloud.automl.v1.AnnotationSpecOuterClass.getDescriptor(); com.google.cloud.automl.v1.ClassificationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImportDataRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImportDataRequest.java index 3137cb41e..4f126c349 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImportDataRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImportDataRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData].
+ * Request message for [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData].
  * 
* * Protobuf type {@code google.cloud.automl.v1.ImportDataRequest} @@ -138,7 +137,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * annotations and examples will be added. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -161,7 +162,9 @@ public java.lang.String getName() { * annotations and examples will be added. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -187,7 +190,9 @@ public com.google.protobuf.ByteString getNameBytes() { * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the inputConfig field is set. */ @@ -202,7 +207,9 @@ public boolean hasInputConfig() { * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The inputConfig. */ @@ -219,7 +226,9 @@ public com.google.cloud.automl.v1.InputConfig getInputConfig() { * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.InputConfigOrBuilder getInputConfigOrBuilder() { return getInputConfig(); @@ -402,8 +411,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData].
+   * Request message for [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData].
    * 
* * Protobuf type {@code google.cloud.automl.v1.ImportDataRequest} @@ -579,7 +587,9 @@ public Builder mergeFrom( * annotations and examples will be added. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -602,7 +612,9 @@ public java.lang.String getName() { * annotations and examples will be added. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -625,7 +637,9 @@ public com.google.protobuf.ByteString getNameBytes() { * annotations and examples will be added. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -647,7 +661,9 @@ public Builder setName(java.lang.String value) { * annotations and examples will be added. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -665,7 +681,9 @@ public Builder clearName() { * annotations and examples will be added. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -695,7 +713,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the inputConfig field is set. */ @@ -710,7 +730,9 @@ public boolean hasInputConfig() { * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The inputConfig. */ @@ -731,7 +753,9 @@ public com.google.cloud.automl.v1.InputConfig getInputConfig() { * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInputConfig(com.google.cloud.automl.v1.InputConfig value) { if (inputConfigBuilder_ == null) { @@ -754,7 +778,9 @@ public Builder setInputConfig(com.google.cloud.automl.v1.InputConfig value) { * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInputConfig(com.google.cloud.automl.v1.InputConfig.Builder builderForValue) { if (inputConfigBuilder_ == null) { @@ -774,7 +800,9 @@ public Builder setInputConfig(com.google.cloud.automl.v1.InputConfig.Builder bui * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInputConfig(com.google.cloud.automl.v1.InputConfig value) { if (inputConfigBuilder_ == null) { @@ -801,7 +829,9 @@ public Builder mergeInputConfig(com.google.cloud.automl.v1.InputConfig value) { * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInputConfig() { if (inputConfigBuilder_ == null) { @@ -822,7 +852,9 @@ public Builder clearInputConfig() { * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.InputConfig.Builder getInputConfigBuilder() { @@ -837,7 +869,9 @@ public com.google.cloud.automl.v1.InputConfig.Builder getInputConfigBuilder() { * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.InputConfigOrBuilder getInputConfigOrBuilder() { if (inputConfigBuilder_ != null) { @@ -856,7 +890,9 @@ public com.google.cloud.automl.v1.InputConfigOrBuilder getInputConfigOrBuilder() * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1.InputConfig, diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImportDataRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImportDataRequestOrBuilder.java index 6afe6434a..5ad44d1f4 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImportDataRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImportDataRequestOrBuilder.java @@ -31,7 +31,9 @@ public interface ImportDataRequestOrBuilder * annotations and examples will be added. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -44,7 +46,9 @@ public interface ImportDataRequestOrBuilder * annotations and examples will be added. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -58,7 +62,9 @@ public interface ImportDataRequestOrBuilder * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the inputConfig field is set. */ @@ -71,7 +77,9 @@ public interface ImportDataRequestOrBuilder * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The inputConfig. */ @@ -84,7 +92,9 @@ public interface ImportDataRequestOrBuilder * if any. * * - * .google.cloud.automl.v1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1.InputConfigOrBuilder getInputConfigOrBuilder(); } diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/InputConfig.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/InputConfig.java index f5e08089a..cbbf7bc58 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/InputConfig.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/InputConfig.java @@ -22,8 +22,7 @@ * * *
- * Input configuration for
- * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] action.
+ * Input configuration for [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] action.
  * The format of input depends on dataset_metadata the Dataset into which
  * the import is happening has. As input source the
  * [gcs_source][google.cloud.automl.v1.InputConfig.gcs_source]
@@ -95,6 +94,74 @@
  *     TEST,gs://folder/im3.png,,,,,,,,,
  *   </section>
  * </div>
+ * <h4>AutoML Video Intelligence</h4>
+ * <div class="ds-selector-tabs"><section><h5>Classification</h5>
+ * See [Preparing your training
+ * data](https://cloud.google.com/video-intelligence/automl/docs/prepare) for
+ * more information.
+ * CSV file(s) with each line in format:
+ *     ML_USE,GCS_FILE_PATH
+ * For `ML_USE`, do not use `VALIDATE`.
+ * `GCS_FILE_PATH` is the path to another .csv file that describes training
+ * example for a given `ML_USE`, using the following row format:
+ *     GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,)
+ * Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up
+ * to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI.
+ * `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the
+ * length of the video, and the end time must be after the start time. Any
+ * segment of a video which has one or more labels on it, is considered a
+ * hard negative for all other labels. Any segment with no labels on
+ * it is considered to be unknown. If a whole video is unknown, then
+ * it should be mentioned just once with ",," in place of `LABEL,
+ * TIME_SEGMENT_START,TIME_SEGMENT_END`.
+ * Sample top level CSV file:
+ *     TRAIN,gs://folder/train_videos.csv
+ *     TEST,gs://folder/test_videos.csv
+ *     UNASSIGNED,gs://folder/other_videos.csv
+ * Sample rows of a CSV file for a particular ML_USE:
+ *     gs://folder/video1.avi,car,120,180.000021
+ *     gs://folder/video1.avi,bike,150,180.000021
+ *     gs://folder/vid2.avi,car,0,60.5
+ *     gs://folder/vid3.avi,,,
+ * </section><section><h5>Object Tracking</h5>
+ * See [Preparing your training
+ * data](/video-intelligence/automl/object-tracking/docs/prepare) for more
+ * information.
+ * CSV file(s) with each line in format:
+ *     ML_USE,GCS_FILE_PATH
+ * For `ML_USE`, do not use `VALIDATE`.
+ * `GCS_FILE_PATH` is the path to another .csv file that describes training
+ * example for a given `ML_USE`, using the following row format:
+ *     GCS_FILE_PATH,LABEL,[INSTANCE_ID],TIMESTAMP,BOUNDING_BOX
+ * or
+ *     GCS_FILE_PATH,,,,,,,,,,
+ * Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up
+ * to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI.
+ * Providing `INSTANCE_ID`s can help to obtain a better model. When
+ * a specific labeled entity leaves the video frame, and shows up
+ * afterwards it is not required, albeit preferable, that the same
+ * `INSTANCE_ID` is given to it.
+ * `TIMESTAMP` must be within the length of the video, the
+ * `BOUNDING_BOX` is assumed to be drawn on the closest video's frame
+ * to the `TIMESTAMP`. Any mentioned by the `TIMESTAMP` frame is expected
+ * to be exhaustively labeled and no more than 500 `BOUNDING_BOX`-es per
+ * frame are allowed. If a whole video is unknown, then it should be
+ * mentioned just once with ",,,,,,,,,," in place of `LABEL,
+ * [INSTANCE_ID],TIMESTAMP,BOUNDING_BOX`.
+ * Sample top level CSV file:
+ *      TRAIN,gs://folder/train_videos.csv
+ *      TEST,gs://folder/test_videos.csv
+ *      UNASSIGNED,gs://folder/other_videos.csv
+ * Seven sample rows of a CSV file for a particular ML_USE:
+ *      gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9
+ *      gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9
+ *      gs://folder/video1.avi,car,2,12.10,.4,.2,.5,.2,.5,.3,.4,.3
+ *      gs://folder/video1.avi,car,2,12.90,.8,.2,,,.9,.3,,
+ *      gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,,
+ *      gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,,
+ *      gs://folder/video2.avi,,,,,,,,,,,
+ *   </section>
+ * </div>
  * <h4>AutoML Natural Language</h4>
  * <div class="ds-selector-tabs"><section><h5>Entity Extraction</h5>
  * See [Preparing your training
@@ -174,8 +241,9 @@
  *     }
  * **JSONL files that reference documents**
  * .JSONL files contain, per line, a JSON document that wraps a
- * `input_config` that contains the path to a source PDF document.
+ * `input_config` that contains the path to a source document.
  * Multiple JSON documents can be separated using line breaks (\n).
+ * Supported document extensions: .PDF, .TIF, .TIFF
  * For example:
  *     {
  *       "document": {
@@ -188,16 +256,16 @@
  *     {
  *       "document": {
  *         "input_config": {
- *           "gcs_source": { "input_uris": [ "gs://folder/document2.pdf" ]
+ *           "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ]
  *           }
  *         }
  *       }
  *     }
- * **In-line JSONL files with PDF layout information**
- * **Note:** You can only annotate PDF files using the UI. The format described
- * below applies to annotated PDF files exported using the UI or `exportData`.
- * In-line .JSONL files for PDF documents contain, per line, a JSON document
- * that wraps a `document` field that provides the textual content of the PDF
+ * **In-line JSONL files with document layout information**
+ * **Note:** You can only annotate documents using the UI. The format described
+ * below applies to annotated documents exported using the UI or `exportData`.
+ * In-line .JSONL files for documents contain, per line, a JSON document
+ * that wraps a `document` field that provides the textual content of the
  * document and the layout information.
  * For example:
  *     {
@@ -277,7 +345,7 @@
  *     10MB or less in size.
  *     For the `MULTICLASS` classification type, at most one `LABEL` is allowed.
  *     The `ML_USE` and `LABEL` columns are optional.
- *     Supported file extensions: .TXT, .PDF, .ZIP
+ *     Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP
  * A maximum of 100 unique labels are allowed per CSV row.
  * Sample rows:
  *     TRAIN,"They have bad food and very rude",RudeService,BadFood
@@ -310,7 +378,7 @@
  *     less in size. For zip files, the size of each file inside the zip must be
  *     128kB or less in size.
  *     The `ML_USE` and `SENTIMENT` columns are optional.
- *     Supported file extensions: .TXT, .PDF, .ZIP
+ *     Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP
  * *  `SENTIMENT` - An integer between 0 and
  *     Dataset.text_sentiment_dataset_metadata.sentiment_max
  *     (inclusive). Describes the ordinal of the sentiment - higher
@@ -334,6 +402,39 @@
  *     VALIDATE,gs://folder/text_files.zip,2
  *   </section>
  * </div>
+ * <h4>AutoML Tables</h4><div class="ui-datasection-main"><section
+ * class="selected">
+ * See [Preparing your training
+ * data](https://cloud.google.com/automl-tables/docs/prepare) for more
+ * information.
+ * You can use either
+ * [gcs_source][google.cloud.automl.v1.InputConfig.gcs_source] or
+ * [bigquery_source][google.cloud.automl.v1.InputConfig.bigquery_source].
+ * All input is concatenated into a
+ * single
+ * [primary_table_spec_id][google.cloud.automl.v1.TablesDatasetMetadata.primary_table_spec_id]
+ * **For gcs_source:**
+ * CSV file(s), where the first row of the first file is the header,
+ * containing unique column names. If the first row of a subsequent
+ * file is the same as the header, then it is also treated as a
+ * header. All other rows contain values for the corresponding
+ * columns.
+ * Each .CSV file by itself must be 10GB or smaller, and their total
+ * size must be 100GB or smaller.
+ * First three sample rows of a CSV file:
+ * <pre>
+ * "Id","First Name","Last Name","Dob","Addresses"
+ * "1","John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]"
+ * "2","Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]}
+ * </pre>
+ * **For bigquery_source:**
+ * An URI of a BigQuery table. The user data size of the BigQuery
+ * table must be 100GB or smaller.
+ * An imported table must have between 2 and 1,000 columns, inclusive,
+ * and between 1000 and 100,000,000 rows, inclusive. There are at most 5
+ * import data running in parallel.
+ *   </section>
+ * </div>
  * **Input field definitions:**
  * `ML_USE`
  * : ("TRAIN" | "VALIDATE" | "TEST" | "UNASSIGNED")
@@ -348,6 +449,10 @@
  *   Latin letters A-Z and a-z, underscores(_), and ASCII digits 0-9.
  *   For each label an AnnotationSpec is created which display_name
  *   becomes the label; AnnotationSpecs are given back in predictions.
+ * `INSTANCE_ID`
+ * : A positive integer that identifies a specific instance of a
+ *   labeled entity on an example. Used e.g. to track two cars on
+ *   a video while being able to tell apart which one is which.
  * `BOUNDING_BOX`
  * : (`VERTEX,VERTEX,VERTEX,VERTEX` | `VERTEX,,,VERTEX,,`)
  *   A rectangle parallel to the frame of the example (image,
@@ -362,6 +467,20 @@
  *   image or video in given dimension. For fractions the
  *   leading non-decimal 0 can be omitted (i.e. 0.3 = .3).
  *   Point 0,0 is in top left.
+ * `TIME_SEGMENT_START`
+ * : (`TIME_OFFSET`)
+ *   Expresses a beginning, inclusive, of a time segment
+ *   within an example that has a time dimension
+ *   (e.g. video).
+ * `TIME_SEGMENT_END`
+ * : (`TIME_OFFSET`)
+ *   Expresses an end, exclusive, of a time segment within
+ *   n example that has a time dimension (e.g. video).
+ * `TIME_OFFSET`
+ * : A number of seconds as measured from the start of an
+ *   example (e.g. video). Fractions are allowed, up to a
+ *   microsecond precision. "inf" is allowed, and it means the end
+ *   of the example.
  * `TEXT_SNIPPET`
  * : The content of a text snippet, UTF-8 encoded, enclosed within
  *   double quotes ("").
@@ -544,9 +663,8 @@ public SourceCase getSourceCase() {
    *
    * 
    * The Google Cloud Storage location for the input content.
-   * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-   * `gcs_source` points to a CSV file with a structure described in
-   * [InputConfig][google.cloud.automl.v1.InputConfig].
+   * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+   * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
    * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -561,9 +679,8 @@ public boolean hasGcsSource() { * *
    * The Google Cloud Storage location for the input content.
-   * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-   * `gcs_source` points to a CSV file with a structure described in
-   * [InputConfig][google.cloud.automl.v1.InputConfig].
+   * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+   * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
    * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -581,9 +698,8 @@ public com.google.cloud.automl.v1.GcsSource getGcsSource() { * *
    * The Google Cloud Storage location for the input content.
-   * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-   * `gcs_source` points to a CSV file with a structure described in
-   * [InputConfig][google.cloud.automl.v1.InputConfig].
+   * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+   * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
    * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -627,6 +743,12 @@ public int getParamsCount() { * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". *
* * map<string, string> params = 2; @@ -649,6 +771,12 @@ public java.util.Map getParams() { * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". * * * map<string, string> params = 2; @@ -663,6 +791,12 @@ public java.util.Map getParamsMap() { * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". * * * map<string, string> params = 2; @@ -681,6 +815,12 @@ public java.lang.String getParamsOrDefault(java.lang.String key, java.lang.Strin * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". * * * map<string, string> params = 2; @@ -890,8 +1030,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Input configuration for
-   * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] action.
+   * Input configuration for [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] action.
    * The format of input depends on dataset_metadata the Dataset into which
    * the import is happening has. As input source the
    * [gcs_source][google.cloud.automl.v1.InputConfig.gcs_source]
@@ -963,6 +1102,74 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *     TEST,gs://folder/im3.png,,,,,,,,,
    *   </section>
    * </div>
+   * <h4>AutoML Video Intelligence</h4>
+   * <div class="ds-selector-tabs"><section><h5>Classification</h5>
+   * See [Preparing your training
+   * data](https://cloud.google.com/video-intelligence/automl/docs/prepare) for
+   * more information.
+   * CSV file(s) with each line in format:
+   *     ML_USE,GCS_FILE_PATH
+   * For `ML_USE`, do not use `VALIDATE`.
+   * `GCS_FILE_PATH` is the path to another .csv file that describes training
+   * example for a given `ML_USE`, using the following row format:
+   *     GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,)
+   * Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up
+   * to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI.
+   * `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the
+   * length of the video, and the end time must be after the start time. Any
+   * segment of a video which has one or more labels on it, is considered a
+   * hard negative for all other labels. Any segment with no labels on
+   * it is considered to be unknown. If a whole video is unknown, then
+   * it should be mentioned just once with ",," in place of `LABEL,
+   * TIME_SEGMENT_START,TIME_SEGMENT_END`.
+   * Sample top level CSV file:
+   *     TRAIN,gs://folder/train_videos.csv
+   *     TEST,gs://folder/test_videos.csv
+   *     UNASSIGNED,gs://folder/other_videos.csv
+   * Sample rows of a CSV file for a particular ML_USE:
+   *     gs://folder/video1.avi,car,120,180.000021
+   *     gs://folder/video1.avi,bike,150,180.000021
+   *     gs://folder/vid2.avi,car,0,60.5
+   *     gs://folder/vid3.avi,,,
+   * </section><section><h5>Object Tracking</h5>
+   * See [Preparing your training
+   * data](/video-intelligence/automl/object-tracking/docs/prepare) for more
+   * information.
+   * CSV file(s) with each line in format:
+   *     ML_USE,GCS_FILE_PATH
+   * For `ML_USE`, do not use `VALIDATE`.
+   * `GCS_FILE_PATH` is the path to another .csv file that describes training
+   * example for a given `ML_USE`, using the following row format:
+   *     GCS_FILE_PATH,LABEL,[INSTANCE_ID],TIMESTAMP,BOUNDING_BOX
+   * or
+   *     GCS_FILE_PATH,,,,,,,,,,
+   * Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up
+   * to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI.
+   * Providing `INSTANCE_ID`s can help to obtain a better model. When
+   * a specific labeled entity leaves the video frame, and shows up
+   * afterwards it is not required, albeit preferable, that the same
+   * `INSTANCE_ID` is given to it.
+   * `TIMESTAMP` must be within the length of the video, the
+   * `BOUNDING_BOX` is assumed to be drawn on the closest video's frame
+   * to the `TIMESTAMP`. Any mentioned by the `TIMESTAMP` frame is expected
+   * to be exhaustively labeled and no more than 500 `BOUNDING_BOX`-es per
+   * frame are allowed. If a whole video is unknown, then it should be
+   * mentioned just once with ",,,,,,,,,," in place of `LABEL,
+   * [INSTANCE_ID],TIMESTAMP,BOUNDING_BOX`.
+   * Sample top level CSV file:
+   *      TRAIN,gs://folder/train_videos.csv
+   *      TEST,gs://folder/test_videos.csv
+   *      UNASSIGNED,gs://folder/other_videos.csv
+   * Seven sample rows of a CSV file for a particular ML_USE:
+   *      gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9
+   *      gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9
+   *      gs://folder/video1.avi,car,2,12.10,.4,.2,.5,.2,.5,.3,.4,.3
+   *      gs://folder/video1.avi,car,2,12.90,.8,.2,,,.9,.3,,
+   *      gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,,
+   *      gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,,
+   *      gs://folder/video2.avi,,,,,,,,,,,
+   *   </section>
+   * </div>
    * <h4>AutoML Natural Language</h4>
    * <div class="ds-selector-tabs"><section><h5>Entity Extraction</h5>
    * See [Preparing your training
@@ -1042,8 +1249,9 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *     }
    * **JSONL files that reference documents**
    * .JSONL files contain, per line, a JSON document that wraps a
-   * `input_config` that contains the path to a source PDF document.
+   * `input_config` that contains the path to a source document.
    * Multiple JSON documents can be separated using line breaks (\n).
+   * Supported document extensions: .PDF, .TIF, .TIFF
    * For example:
    *     {
    *       "document": {
@@ -1056,16 +1264,16 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *     {
    *       "document": {
    *         "input_config": {
-   *           "gcs_source": { "input_uris": [ "gs://folder/document2.pdf" ]
+   *           "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ]
    *           }
    *         }
    *       }
    *     }
-   * **In-line JSONL files with PDF layout information**
-   * **Note:** You can only annotate PDF files using the UI. The format described
-   * below applies to annotated PDF files exported using the UI or `exportData`.
-   * In-line .JSONL files for PDF documents contain, per line, a JSON document
-   * that wraps a `document` field that provides the textual content of the PDF
+   * **In-line JSONL files with document layout information**
+   * **Note:** You can only annotate documents using the UI. The format described
+   * below applies to annotated documents exported using the UI or `exportData`.
+   * In-line .JSONL files for documents contain, per line, a JSON document
+   * that wraps a `document` field that provides the textual content of the
    * document and the layout information.
    * For example:
    *     {
@@ -1145,7 +1353,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *     10MB or less in size.
    *     For the `MULTICLASS` classification type, at most one `LABEL` is allowed.
    *     The `ML_USE` and `LABEL` columns are optional.
-   *     Supported file extensions: .TXT, .PDF, .ZIP
+   *     Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP
    * A maximum of 100 unique labels are allowed per CSV row.
    * Sample rows:
    *     TRAIN,"They have bad food and very rude",RudeService,BadFood
@@ -1178,7 +1386,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *     less in size. For zip files, the size of each file inside the zip must be
    *     128kB or less in size.
    *     The `ML_USE` and `SENTIMENT` columns are optional.
-   *     Supported file extensions: .TXT, .PDF, .ZIP
+   *     Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP
    * *  `SENTIMENT` - An integer between 0 and
    *     Dataset.text_sentiment_dataset_metadata.sentiment_max
    *     (inclusive). Describes the ordinal of the sentiment - higher
@@ -1202,6 +1410,39 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *     VALIDATE,gs://folder/text_files.zip,2
    *   </section>
    * </div>
+   * <h4>AutoML Tables</h4><div class="ui-datasection-main"><section
+   * class="selected">
+   * See [Preparing your training
+   * data](https://cloud.google.com/automl-tables/docs/prepare) for more
+   * information.
+   * You can use either
+   * [gcs_source][google.cloud.automl.v1.InputConfig.gcs_source] or
+   * [bigquery_source][google.cloud.automl.v1.InputConfig.bigquery_source].
+   * All input is concatenated into a
+   * single
+   * [primary_table_spec_id][google.cloud.automl.v1.TablesDatasetMetadata.primary_table_spec_id]
+   * **For gcs_source:**
+   * CSV file(s), where the first row of the first file is the header,
+   * containing unique column names. If the first row of a subsequent
+   * file is the same as the header, then it is also treated as a
+   * header. All other rows contain values for the corresponding
+   * columns.
+   * Each .CSV file by itself must be 10GB or smaller, and their total
+   * size must be 100GB or smaller.
+   * First three sample rows of a CSV file:
+   * <pre>
+   * "Id","First Name","Last Name","Dob","Addresses"
+   * "1","John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]"
+   * "2","Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]}
+   * </pre>
+   * **For bigquery_source:**
+   * An URI of a BigQuery table. The user data size of the BigQuery
+   * table must be 100GB or smaller.
+   * An imported table must have between 2 and 1,000 columns, inclusive,
+   * and between 1000 and 100,000,000 rows, inclusive. There are at most 5
+   * import data running in parallel.
+   *   </section>
+   * </div>
    * **Input field definitions:**
    * `ML_USE`
    * : ("TRAIN" | "VALIDATE" | "TEST" | "UNASSIGNED")
@@ -1216,6 +1457,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *   Latin letters A-Z and a-z, underscores(_), and ASCII digits 0-9.
    *   For each label an AnnotationSpec is created which display_name
    *   becomes the label; AnnotationSpecs are given back in predictions.
+   * `INSTANCE_ID`
+   * : A positive integer that identifies a specific instance of a
+   *   labeled entity on an example. Used e.g. to track two cars on
+   *   a video while being able to tell apart which one is which.
    * `BOUNDING_BOX`
    * : (`VERTEX,VERTEX,VERTEX,VERTEX` | `VERTEX,,,VERTEX,,`)
    *   A rectangle parallel to the frame of the example (image,
@@ -1230,6 +1475,20 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *   image or video in given dimension. For fractions the
    *   leading non-decimal 0 can be omitted (i.e. 0.3 = .3).
    *   Point 0,0 is in top left.
+   * `TIME_SEGMENT_START`
+   * : (`TIME_OFFSET`)
+   *   Expresses a beginning, inclusive, of a time segment
+   *   within an example that has a time dimension
+   *   (e.g. video).
+   * `TIME_SEGMENT_END`
+   * : (`TIME_OFFSET`)
+   *   Expresses an end, exclusive, of a time segment within
+   *   n example that has a time dimension (e.g. video).
+   * `TIME_OFFSET`
+   * : A number of seconds as measured from the start of an
+   *   example (e.g. video). Fractions are allowed, up to a
+   *   microsecond precision. "inf" is allowed, and it means the end
+   *   of the example.
    * `TEXT_SNIPPET`
    * : The content of a text snippet, UTF-8 encoded, enclosed within
    *   double quotes ("").
@@ -1459,9 +1718,8 @@ public Builder clearSource() {
      *
      * 
      * The Google Cloud Storage location for the input content.
-     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-     * `gcs_source` points to a CSV file with a structure described in
-     * [InputConfig][google.cloud.automl.v1.InputConfig].
+     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+     * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
      * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -1476,9 +1734,8 @@ public boolean hasGcsSource() { * *
      * The Google Cloud Storage location for the input content.
-     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-     * `gcs_source` points to a CSV file with a structure described in
-     * [InputConfig][google.cloud.automl.v1.InputConfig].
+     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+     * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
      * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -1503,9 +1760,8 @@ public com.google.cloud.automl.v1.GcsSource getGcsSource() { * *
      * The Google Cloud Storage location for the input content.
-     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-     * `gcs_source` points to a CSV file with a structure described in
-     * [InputConfig][google.cloud.automl.v1.InputConfig].
+     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+     * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
      * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -1528,9 +1784,8 @@ public Builder setGcsSource(com.google.cloud.automl.v1.GcsSource value) { * *
      * The Google Cloud Storage location for the input content.
-     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-     * `gcs_source` points to a CSV file with a structure described in
-     * [InputConfig][google.cloud.automl.v1.InputConfig].
+     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+     * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
      * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -1550,9 +1805,8 @@ public Builder setGcsSource(com.google.cloud.automl.v1.GcsSource.Builder builder * *
      * The Google Cloud Storage location for the input content.
-     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-     * `gcs_source` points to a CSV file with a structure described in
-     * [InputConfig][google.cloud.automl.v1.InputConfig].
+     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+     * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
      * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -1584,9 +1838,8 @@ public Builder mergeGcsSource(com.google.cloud.automl.v1.GcsSource value) { * *
      * The Google Cloud Storage location for the input content.
-     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-     * `gcs_source` points to a CSV file with a structure described in
-     * [InputConfig][google.cloud.automl.v1.InputConfig].
+     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+     * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
      * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -1612,9 +1865,8 @@ public Builder clearGcsSource() { * *
      * The Google Cloud Storage location for the input content.
-     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-     * `gcs_source` points to a CSV file with a structure described in
-     * [InputConfig][google.cloud.automl.v1.InputConfig].
+     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+     * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
      * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -1627,9 +1879,8 @@ public com.google.cloud.automl.v1.GcsSource.Builder getGcsSourceBuilder() { * *
      * The Google Cloud Storage location for the input content.
-     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-     * `gcs_source` points to a CSV file with a structure described in
-     * [InputConfig][google.cloud.automl.v1.InputConfig].
+     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+     * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
      * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -1649,9 +1900,8 @@ public com.google.cloud.automl.v1.GcsSourceOrBuilder getGcsSourceOrBuilder() { * *
      * The Google Cloud Storage location for the input content.
-     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-     * `gcs_source` points to a CSV file with a structure described in
-     * [InputConfig][google.cloud.automl.v1.InputConfig].
+     * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+     * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
      * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -1711,6 +1961,12 @@ public int getParamsCount() { * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". *
* * map<string, string> params = 2; @@ -1733,6 +1989,12 @@ public java.util.Map getParams() { * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". * * * map<string, string> params = 2; @@ -1747,6 +2009,12 @@ public java.util.Map getParamsMap() { * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". * * * map<string, string> params = 2; @@ -1766,6 +2034,12 @@ public java.lang.String getParamsOrDefault( * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". * * * map<string, string> params = 2; @@ -1792,6 +2066,12 @@ public Builder clearParams() { * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". * * * map<string, string> params = 2; @@ -1815,6 +2095,12 @@ public java.util.Map getMutableParams() { * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". * * * map<string, string> params = 2; @@ -1836,6 +2122,12 @@ public Builder putParams(java.lang.String key, java.lang.String value) { * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". * * * map<string, string> params = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/InputConfigOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/InputConfigOrBuilder.java index 479b59931..9f92b2dbb 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/InputConfigOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/InputConfigOrBuilder.java @@ -28,9 +28,8 @@ public interface InputConfigOrBuilder * *
    * The Google Cloud Storage location for the input content.
-   * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-   * `gcs_source` points to a CSV file with a structure described in
-   * [InputConfig][google.cloud.automl.v1.InputConfig].
+   * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+   * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
    * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -43,9 +42,8 @@ public interface InputConfigOrBuilder * *
    * The Google Cloud Storage location for the input content.
-   * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-   * `gcs_source` points to a CSV file with a structure described in
-   * [InputConfig][google.cloud.automl.v1.InputConfig].
+   * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+   * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
    * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -58,9 +56,8 @@ public interface InputConfigOrBuilder * *
    * The Google Cloud Storage location for the input content.
-   * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData],
-   * `gcs_source` points to a CSV file with a structure described in
-   * [InputConfig][google.cloud.automl.v1.InputConfig].
+   * For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with
+   * a structure described in [InputConfig][google.cloud.automl.v1.InputConfig].
    * 
* * .google.cloud.automl.v1.GcsSource gcs_source = 1; @@ -74,6 +71,12 @@ public interface InputConfigOrBuilder * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". * * * map<string, string> params = 2; @@ -86,6 +89,12 @@ public interface InputConfigOrBuilder * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". * * * map<string, string> params = 2; @@ -101,6 +110,12 @@ public interface InputConfigOrBuilder * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". * * * map<string, string> params = 2; @@ -113,6 +128,12 @@ public interface InputConfigOrBuilder * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". * * * map<string, string> params = 2; @@ -125,6 +146,12 @@ public interface InputConfigOrBuilder * Additional domain-specific parameters describing the semantic of the * imported data, any string must be up to 25000 * characters long. + * <h4>AutoML Tables</h4> + * `schema_inference_version` + * : (integer) This value must be supplied. + * The version of the + * algorithm to use for the initial inference of the + * column data types of the imported table. Allowed values: "1". * * * map<string, string> params = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Io.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Io.java index 31c989944..638bf27b6 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Io.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Io.java @@ -77,8 +77,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\037google/cloud/automl/v1/io.proto\022\026googl" - + "e.cloud.automl.v1\032\034google/api/annotation" - + "s.proto\032\037google/api/field_behavior.proto" + + "e.cloud.automl.v1\032\037google/api/field_beha" + + "vior.proto\032\034google/api/annotations.proto" + "\"\300\001\n\013InputConfig\0227\n\ngcs_source\030\001 \001(\0132!.g" + "oogle.cloud.automl.v1.GcsSourceH\000\022?\n\006par" + "ams\030\002 \003(\0132/.google.cloud.automl.v1.Input" @@ -112,8 +112,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_automl_v1_InputConfig_descriptor = getDescriptor().getMessageTypes().get(0); @@ -202,8 +202,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsRequest.java index 2d6089c10..b51d97e97 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets].
+ * Request message for [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets].
  * 
* * Protobuf type {@code google.cloud.automl.v1.ListDatasetsRequest} @@ -139,10 +138,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the project from which to list datasets.
+   * Required. The resource name of the project from which to list datasets.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -161,10 +162,12 @@ public java.lang.String getParent() { * * *
-   * The resource name of the project from which to list datasets.
+   * Required. The resource name of the project from which to list datasets.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -188,8 +191,7 @@ public com.google.protobuf.ByteString getParentBytes() { *
    * An expression for filtering the results of the request.
    *   * `dataset_metadata` - for existence of the case (e.g.
-   *             image_classification_dataset_metadata:*). Some examples of
-   *             using the filter are:
+   *             image_classification_dataset_metadata:*). Some examples of using the filter are:
    *   * `translation_dataset_metadata:*` --> The dataset has
    *                                          translation_dataset_metadata.
    * 
@@ -215,8 +217,7 @@ public java.lang.String getFilter() { *
    * An expression for filtering the results of the request.
    *   * `dataset_metadata` - for existence of the case (e.g.
-   *             image_classification_dataset_metadata:*). Some examples of
-   *             using the filter are:
+   *             image_classification_dataset_metadata:*). Some examples of using the filter are:
    *   * `translation_dataset_metadata:*` --> The dataset has
    *                                          translation_dataset_metadata.
    * 
@@ -263,8 +264,7 @@ public int getPageSize() { *
    * A token identifying a page of results for the server to return
    * Typically obtained via
-   * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token]
-   * of the previous
+   * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
    * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
    * 
* @@ -289,8 +289,7 @@ public java.lang.String getPageToken() { *
    * A token identifying a page of results for the server to return
    * Typically obtained via
-   * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token]
-   * of the previous
+   * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
    * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
    * 
* @@ -500,8 +499,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets].
+   * Request message for [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets].
    * 
* * Protobuf type {@code google.cloud.automl.v1.ListDatasetsRequest} @@ -679,10 +677,12 @@ public Builder mergeFrom( * * *
-     * The resource name of the project from which to list datasets.
+     * Required. The resource name of the project from which to list datasets.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -701,10 +701,12 @@ public java.lang.String getParent() { * * *
-     * The resource name of the project from which to list datasets.
+     * Required. The resource name of the project from which to list datasets.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -723,10 +725,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The resource name of the project from which to list datasets.
+     * Required. The resource name of the project from which to list datasets.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -744,10 +748,12 @@ public Builder setParent(java.lang.String value) { * * *
-     * The resource name of the project from which to list datasets.
+     * Required. The resource name of the project from which to list datasets.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -761,10 +767,12 @@ public Builder clearParent() { * * *
-     * The resource name of the project from which to list datasets.
+     * Required. The resource name of the project from which to list datasets.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -787,8 +795,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { *
      * An expression for filtering the results of the request.
      *   * `dataset_metadata` - for existence of the case (e.g.
-     *             image_classification_dataset_metadata:*). Some examples of
-     *             using the filter are:
+     *             image_classification_dataset_metadata:*). Some examples of using the filter are:
      *   * `translation_dataset_metadata:*` --> The dataset has
      *                                          translation_dataset_metadata.
      * 
@@ -814,8 +821,7 @@ public java.lang.String getFilter() { *
      * An expression for filtering the results of the request.
      *   * `dataset_metadata` - for existence of the case (e.g.
-     *             image_classification_dataset_metadata:*). Some examples of
-     *             using the filter are:
+     *             image_classification_dataset_metadata:*). Some examples of using the filter are:
      *   * `translation_dataset_metadata:*` --> The dataset has
      *                                          translation_dataset_metadata.
      * 
@@ -841,8 +847,7 @@ public com.google.protobuf.ByteString getFilterBytes() { *
      * An expression for filtering the results of the request.
      *   * `dataset_metadata` - for existence of the case (e.g.
-     *             image_classification_dataset_metadata:*). Some examples of
-     *             using the filter are:
+     *             image_classification_dataset_metadata:*). Some examples of using the filter are:
      *   * `translation_dataset_metadata:*` --> The dataset has
      *                                          translation_dataset_metadata.
      * 
@@ -867,8 +872,7 @@ public Builder setFilter(java.lang.String value) { *
      * An expression for filtering the results of the request.
      *   * `dataset_metadata` - for existence of the case (e.g.
-     *             image_classification_dataset_metadata:*). Some examples of
-     *             using the filter are:
+     *             image_classification_dataset_metadata:*). Some examples of using the filter are:
      *   * `translation_dataset_metadata:*` --> The dataset has
      *                                          translation_dataset_metadata.
      * 
@@ -889,8 +893,7 @@ public Builder clearFilter() { *
      * An expression for filtering the results of the request.
      *   * `dataset_metadata` - for existence of the case (e.g.
-     *             image_classification_dataset_metadata:*). Some examples of
-     *             using the filter are:
+     *             image_classification_dataset_metadata:*). Some examples of using the filter are:
      *   * `translation_dataset_metadata:*` --> The dataset has
      *                                          translation_dataset_metadata.
      * 
@@ -972,8 +975,7 @@ public Builder clearPageSize() { *
      * A token identifying a page of results for the server to return
      * Typically obtained via
-     * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token]
-     * of the previous
+     * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
      * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
      * 
* @@ -998,8 +1000,7 @@ public java.lang.String getPageToken() { *
      * A token identifying a page of results for the server to return
      * Typically obtained via
-     * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token]
-     * of the previous
+     * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
      * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
      * 
* @@ -1024,8 +1025,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() { *
      * A token identifying a page of results for the server to return
      * Typically obtained via
-     * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token]
-     * of the previous
+     * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
      * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
      * 
* @@ -1049,8 +1049,7 @@ public Builder setPageToken(java.lang.String value) { *
      * A token identifying a page of results for the server to return
      * Typically obtained via
-     * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token]
-     * of the previous
+     * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
      * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
      * 
* @@ -1070,8 +1069,7 @@ public Builder clearPageToken() { *
      * A token identifying a page of results for the server to return
      * Typically obtained via
-     * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token]
-     * of the previous
+     * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
      * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
      * 
* diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsRequestOrBuilder.java index bcfe2197c..943963732 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface ListDatasetsRequestOrBuilder * * *
-   * The resource name of the project from which to list datasets.
+   * Required. The resource name of the project from which to list datasets.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -39,10 +41,12 @@ public interface ListDatasetsRequestOrBuilder * * *
-   * The resource name of the project from which to list datasets.
+   * Required. The resource name of the project from which to list datasets.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -54,8 +58,7 @@ public interface ListDatasetsRequestOrBuilder *
    * An expression for filtering the results of the request.
    *   * `dataset_metadata` - for existence of the case (e.g.
-   *             image_classification_dataset_metadata:*). Some examples of
-   *             using the filter are:
+   *             image_classification_dataset_metadata:*). Some examples of using the filter are:
    *   * `translation_dataset_metadata:*` --> The dataset has
    *                                          translation_dataset_metadata.
    * 
@@ -71,8 +74,7 @@ public interface ListDatasetsRequestOrBuilder *
    * An expression for filtering the results of the request.
    *   * `dataset_metadata` - for existence of the case (e.g.
-   *             image_classification_dataset_metadata:*). Some examples of
-   *             using the filter are:
+   *             image_classification_dataset_metadata:*). Some examples of using the filter are:
    *   * `translation_dataset_metadata:*` --> The dataset has
    *                                          translation_dataset_metadata.
    * 
@@ -103,8 +105,7 @@ public interface ListDatasetsRequestOrBuilder *
    * A token identifying a page of results for the server to return
    * Typically obtained via
-   * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token]
-   * of the previous
+   * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
    * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
    * 
* @@ -119,8 +120,7 @@ public interface ListDatasetsRequestOrBuilder *
    * A token identifying a page of results for the server to return
    * Typically obtained via
-   * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token]
-   * of the previous
+   * [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous
    * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call.
    * 
* diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsResponse.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsResponse.java index 66e24a94d..a25b3f017 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsResponse.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsResponse.java @@ -22,8 +22,7 @@ * * *
- * Response message for
- * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets].
+ * Response message for [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets].
  * 
* * Protobuf type {@code google.cloud.automl.v1.ListDatasetsResponse} @@ -199,9 +198,7 @@ public com.google.cloud.automl.v1.DatasetOrBuilder getDatasetsOrBuilder(int inde * *
    * A token to retrieve next page of results.
-   * Pass to
-   * [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token]
-   * to obtain that page.
+   * Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page.
    * 
* * string next_page_token = 2; @@ -224,9 +221,7 @@ public java.lang.String getNextPageToken() { * *
    * A token to retrieve next page of results.
-   * Pass to
-   * [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token]
-   * to obtain that page.
+   * Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page.
    * 
* * string next_page_token = 2; @@ -419,8 +414,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for
-   * [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets].
+   * Response message for [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets].
    * 
* * Protobuf type {@code google.cloud.automl.v1.ListDatasetsResponse} @@ -975,9 +969,7 @@ public java.util.List getDatasetsBui * *
      * A token to retrieve next page of results.
-     * Pass to
-     * [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token]
-     * to obtain that page.
+     * Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page.
      * 
* * string next_page_token = 2; @@ -1000,9 +992,7 @@ public java.lang.String getNextPageToken() { * *
      * A token to retrieve next page of results.
-     * Pass to
-     * [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token]
-     * to obtain that page.
+     * Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page.
      * 
* * string next_page_token = 2; @@ -1025,9 +1015,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * *
      * A token to retrieve next page of results.
-     * Pass to
-     * [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token]
-     * to obtain that page.
+     * Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page.
      * 
* * string next_page_token = 2; @@ -1049,9 +1037,7 @@ public Builder setNextPageToken(java.lang.String value) { * *
      * A token to retrieve next page of results.
-     * Pass to
-     * [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token]
-     * to obtain that page.
+     * Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page.
      * 
* * string next_page_token = 2; @@ -1069,9 +1055,7 @@ public Builder clearNextPageToken() { * *
      * A token to retrieve next page of results.
-     * Pass to
-     * [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token]
-     * to obtain that page.
+     * Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page.
      * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsResponseOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsResponseOrBuilder.java index 57fec20d2..04048ce43 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsResponseOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListDatasetsResponseOrBuilder.java @@ -79,9 +79,7 @@ public interface ListDatasetsResponseOrBuilder * *
    * A token to retrieve next page of results.
-   * Pass to
-   * [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token]
-   * to obtain that page.
+   * Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page.
    * 
* * string next_page_token = 2; @@ -94,9 +92,7 @@ public interface ListDatasetsResponseOrBuilder * *
    * A token to retrieve next page of results.
-   * Pass to
-   * [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token]
-   * to obtain that page.
+   * Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page.
    * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsRequest.java index 83040049a..29743327c 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations].
+ * Request message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations].
  * 
* * Protobuf type {@code google.cloud.automl.v1.ListModelEvaluationsRequest} @@ -139,12 +138,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the model to list the model evaluations for.
+   * Required. Resource name of the model to list the model evaluations for.
    * If modelId is set as "-", this will list model evaluations from across all
    * models of the parent location.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -163,12 +164,14 @@ public java.lang.String getParent() { * * *
-   * Resource name of the model to list the model evaluations for.
+   * Required. Resource name of the model to list the model evaluations for.
    * If modelId is set as "-", this will list model evaluations from across all
    * models of the parent location.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -190,7 +193,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * An expression for filtering the results of the request.
+   * Required. An expression for filtering the results of the request.
    *   * `annotation_spec_id` - for =, !=  or existence. See example below for
    *                          the last.
    * Some examples of using the filter are:
@@ -200,7 +203,7 @@ public com.google.protobuf.ByteString getParentBytes() {
    *                                aggregate of all annotation specs.
    * 
* - * string filter = 3; + * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The filter. */ @@ -219,7 +222,7 @@ public java.lang.String getFilter() { * * *
-   * An expression for filtering the results of the request.
+   * Required. An expression for filtering the results of the request.
    *   * `annotation_spec_id` - for =, !=  or existence. See example below for
    *                          the last.
    * Some examples of using the filter are:
@@ -229,7 +232,7 @@ public java.lang.String getFilter() {
    *                                aggregate of all annotation specs.
    * 
* - * string filter = 3; + * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for filter. */ @@ -270,10 +273,8 @@ public int getPageSize() { *
    * A token identifying a page of results for the server to return.
    * Typically obtained via
-   * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token]
-   * of the previous
-   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-   * call.
+   * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous
+   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call.
    * 
* * string page_token = 6; @@ -297,10 +298,8 @@ public java.lang.String getPageToken() { *
    * A token identifying a page of results for the server to return.
    * Typically obtained via
-   * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token]
-   * of the previous
-   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-   * call.
+   * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous
+   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call.
    * 
* * string page_token = 6; @@ -510,8 +509,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations].
+   * Request message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations].
    * 
* * Protobuf type {@code google.cloud.automl.v1.ListModelEvaluationsRequest} @@ -691,12 +689,14 @@ public Builder mergeFrom( * * *
-     * Resource name of the model to list the model evaluations for.
+     * Required. Resource name of the model to list the model evaluations for.
      * If modelId is set as "-", this will list model evaluations from across all
      * models of the parent location.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -715,12 +715,14 @@ public java.lang.String getParent() { * * *
-     * Resource name of the model to list the model evaluations for.
+     * Required. Resource name of the model to list the model evaluations for.
      * If modelId is set as "-", this will list model evaluations from across all
      * models of the parent location.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -739,12 +741,14 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Resource name of the model to list the model evaluations for.
+     * Required. Resource name of the model to list the model evaluations for.
      * If modelId is set as "-", this will list model evaluations from across all
      * models of the parent location.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -762,12 +766,14 @@ public Builder setParent(java.lang.String value) { * * *
-     * Resource name of the model to list the model evaluations for.
+     * Required. Resource name of the model to list the model evaluations for.
      * If modelId is set as "-", this will list model evaluations from across all
      * models of the parent location.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -781,12 +787,14 @@ public Builder clearParent() { * * *
-     * Resource name of the model to list the model evaluations for.
+     * Required. Resource name of the model to list the model evaluations for.
      * If modelId is set as "-", this will list model evaluations from across all
      * models of the parent location.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -807,7 +815,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * An expression for filtering the results of the request.
+     * Required. An expression for filtering the results of the request.
      *   * `annotation_spec_id` - for =, !=  or existence. See example below for
      *                          the last.
      * Some examples of using the filter are:
@@ -817,7 +825,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      *                                aggregate of all annotation specs.
      * 
* - * string filter = 3; + * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The filter. */ @@ -836,7 +844,7 @@ public java.lang.String getFilter() { * * *
-     * An expression for filtering the results of the request.
+     * Required. An expression for filtering the results of the request.
      *   * `annotation_spec_id` - for =, !=  or existence. See example below for
      *                          the last.
      * Some examples of using the filter are:
@@ -846,7 +854,7 @@ public java.lang.String getFilter() {
      *                                aggregate of all annotation specs.
      * 
* - * string filter = 3; + * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for filter. */ @@ -865,7 +873,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * * *
-     * An expression for filtering the results of the request.
+     * Required. An expression for filtering the results of the request.
      *   * `annotation_spec_id` - for =, !=  or existence. See example below for
      *                          the last.
      * Some examples of using the filter are:
@@ -875,7 +883,7 @@ public com.google.protobuf.ByteString getFilterBytes() {
      *                                aggregate of all annotation specs.
      * 
* - * string filter = 3; + * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; * * @param value The filter to set. * @return This builder for chaining. @@ -893,7 +901,7 @@ public Builder setFilter(java.lang.String value) { * * *
-     * An expression for filtering the results of the request.
+     * Required. An expression for filtering the results of the request.
      *   * `annotation_spec_id` - for =, !=  or existence. See example below for
      *                          the last.
      * Some examples of using the filter are:
@@ -903,7 +911,7 @@ public Builder setFilter(java.lang.String value) {
      *                                aggregate of all annotation specs.
      * 
* - * string filter = 3; + * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -917,7 +925,7 @@ public Builder clearFilter() { * * *
-     * An expression for filtering the results of the request.
+     * Required. An expression for filtering the results of the request.
      *   * `annotation_spec_id` - for =, !=  or existence. See example below for
      *                          the last.
      * Some examples of using the filter are:
@@ -927,7 +935,7 @@ public Builder clearFilter() {
      *                                aggregate of all annotation specs.
      * 
* - * string filter = 3; + * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for filter to set. * @return This builder for chaining. @@ -1001,10 +1009,8 @@ public Builder clearPageSize() { *
      * A token identifying a page of results for the server to return.
      * Typically obtained via
-     * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token]
-     * of the previous
-     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-     * call.
+     * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous
+     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call.
      * 
* * string page_token = 6; @@ -1028,10 +1034,8 @@ public java.lang.String getPageToken() { *
      * A token identifying a page of results for the server to return.
      * Typically obtained via
-     * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token]
-     * of the previous
-     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-     * call.
+     * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous
+     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call.
      * 
* * string page_token = 6; @@ -1055,10 +1059,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() { *
      * A token identifying a page of results for the server to return.
      * Typically obtained via
-     * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token]
-     * of the previous
-     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-     * call.
+     * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous
+     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call.
      * 
* * string page_token = 6; @@ -1081,10 +1083,8 @@ public Builder setPageToken(java.lang.String value) { *
      * A token identifying a page of results for the server to return.
      * Typically obtained via
-     * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token]
-     * of the previous
-     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-     * call.
+     * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous
+     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call.
      * 
* * string page_token = 6; @@ -1103,10 +1103,8 @@ public Builder clearPageToken() { *
      * A token identifying a page of results for the server to return.
      * Typically obtained via
-     * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token]
-     * of the previous
-     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-     * call.
+     * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous
+     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call.
      * 
* * string page_token = 6; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsRequestOrBuilder.java index 27b0f73ee..9a12d5b14 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsRequestOrBuilder.java @@ -27,12 +27,14 @@ public interface ListModelEvaluationsRequestOrBuilder * * *
-   * Resource name of the model to list the model evaluations for.
+   * Required. Resource name of the model to list the model evaluations for.
    * If modelId is set as "-", this will list model evaluations from across all
    * models of the parent location.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -41,12 +43,14 @@ public interface ListModelEvaluationsRequestOrBuilder * * *
-   * Resource name of the model to list the model evaluations for.
+   * Required. Resource name of the model to list the model evaluations for.
    * If modelId is set as "-", this will list model evaluations from across all
    * models of the parent location.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -56,7 +60,7 @@ public interface ListModelEvaluationsRequestOrBuilder * * *
-   * An expression for filtering the results of the request.
+   * Required. An expression for filtering the results of the request.
    *   * `annotation_spec_id` - for =, !=  or existence. See example below for
    *                          the last.
    * Some examples of using the filter are:
@@ -66,7 +70,7 @@ public interface ListModelEvaluationsRequestOrBuilder
    *                                aggregate of all annotation specs.
    * 
* - * string filter = 3; + * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The filter. */ @@ -75,7 +79,7 @@ public interface ListModelEvaluationsRequestOrBuilder * * *
-   * An expression for filtering the results of the request.
+   * Required. An expression for filtering the results of the request.
    *   * `annotation_spec_id` - for =, !=  or existence. See example below for
    *                          the last.
    * Some examples of using the filter are:
@@ -85,7 +89,7 @@ public interface ListModelEvaluationsRequestOrBuilder
    *                                aggregate of all annotation specs.
    * 
* - * string filter = 3; + * string filter = 3 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for filter. */ @@ -110,10 +114,8 @@ public interface ListModelEvaluationsRequestOrBuilder *
    * A token identifying a page of results for the server to return.
    * Typically obtained via
-   * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token]
-   * of the previous
-   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-   * call.
+   * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous
+   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call.
    * 
* * string page_token = 6; @@ -127,10 +129,8 @@ public interface ListModelEvaluationsRequestOrBuilder *
    * A token identifying a page of results for the server to return.
    * Typically obtained via
-   * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token]
-   * of the previous
-   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-   * call.
+   * [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous
+   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call.
    * 
* * string page_token = 6; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsResponse.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsResponse.java index 8d096ad2b..cc56a45b9 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsResponse.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsResponse.java @@ -22,8 +22,7 @@ * * *
- * Response message for
- * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations].
+ * Response message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations].
  * 
* * Protobuf type {@code google.cloud.automl.v1.ListModelEvaluationsResponse} @@ -201,11 +200,8 @@ public com.google.cloud.automl.v1.ModelEvaluationOrBuilder getModelEvaluationOrB * *
    * A token to retrieve next page of results.
-   * Pass to the
-   * [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token]
-   * field of a new
-   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-   * request to obtain that page.
+   * Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new
+   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page.
    * 
* * string next_page_token = 2; @@ -228,11 +224,8 @@ public java.lang.String getNextPageToken() { * *
    * A token to retrieve next page of results.
-   * Pass to the
-   * [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token]
-   * field of a new
-   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-   * request to obtain that page.
+   * Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new
+   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page.
    * 
* * string next_page_token = 2; @@ -426,8 +419,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for
-   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations].
+   * Response message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations].
    * 
* * Protobuf type {@code google.cloud.automl.v1.ListModelEvaluationsResponse} @@ -990,11 +982,8 @@ public com.google.cloud.automl.v1.ModelEvaluation.Builder addModelEvaluationBuil * *
      * A token to retrieve next page of results.
-     * Pass to the
-     * [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token]
-     * field of a new
-     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-     * request to obtain that page.
+     * Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new
+     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page.
      * 
* * string next_page_token = 2; @@ -1017,11 +1006,8 @@ public java.lang.String getNextPageToken() { * *
      * A token to retrieve next page of results.
-     * Pass to the
-     * [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token]
-     * field of a new
-     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-     * request to obtain that page.
+     * Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new
+     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page.
      * 
* * string next_page_token = 2; @@ -1044,11 +1030,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * *
      * A token to retrieve next page of results.
-     * Pass to the
-     * [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token]
-     * field of a new
-     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-     * request to obtain that page.
+     * Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new
+     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page.
      * 
* * string next_page_token = 2; @@ -1070,11 +1053,8 @@ public Builder setNextPageToken(java.lang.String value) { * *
      * A token to retrieve next page of results.
-     * Pass to the
-     * [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token]
-     * field of a new
-     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-     * request to obtain that page.
+     * Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new
+     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page.
      * 
* * string next_page_token = 2; @@ -1092,11 +1072,8 @@ public Builder clearNextPageToken() { * *
      * A token to retrieve next page of results.
-     * Pass to the
-     * [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token]
-     * field of a new
-     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-     * request to obtain that page.
+     * Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new
+     * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page.
      * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsResponseOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsResponseOrBuilder.java index 6b144c811..6c7601bd2 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsResponseOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelEvaluationsResponseOrBuilder.java @@ -80,11 +80,8 @@ public interface ListModelEvaluationsResponseOrBuilder * *
    * A token to retrieve next page of results.
-   * Pass to the
-   * [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token]
-   * field of a new
-   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-   * request to obtain that page.
+   * Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new
+   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page.
    * 
* * string next_page_token = 2; @@ -97,11 +94,8 @@ public interface ListModelEvaluationsResponseOrBuilder * *
    * A token to retrieve next page of results.
-   * Pass to the
-   * [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token]
-   * field of a new
-   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]
-   * request to obtain that page.
+   * Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new
+   * [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page.
    * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsRequest.java index 1b830041e..a3de7a1d6 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels].
+ * Request message for [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels].
  * 
* * Protobuf type {@code google.cloud.automl.v1.ListModelsRequest} @@ -139,10 +138,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the project, from which to list the models.
+   * Required. Resource name of the project, from which to list the models.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -161,10 +162,12 @@ public java.lang.String getParent() { * * *
-   * Resource name of the project, from which to list the models.
+   * Required. Resource name of the project, from which to list the models.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -188,7 +191,7 @@ public com.google.protobuf.ByteString getParentBytes() { *
    * An expression for filtering the results of the request.
    *   * `model_metadata` - for existence of the case (e.g.
-   *             image_classification_model_metadata:*).
+   *             video_classification_model_metadata:*).
    *   * `dataset_id` - for = or !=. Some examples of using the filter are:
    *   * `image_classification_model_metadata:*` --> The model has
    *                                        image_classification_model_metadata.
@@ -216,7 +219,7 @@ public java.lang.String getFilter() {
    * 
    * An expression for filtering the results of the request.
    *   * `model_metadata` - for existence of the case (e.g.
-   *             image_classification_model_metadata:*).
+   *             video_classification_model_metadata:*).
    *   * `dataset_id` - for = or !=. Some examples of using the filter are:
    *   * `image_classification_model_metadata:*` --> The model has
    *                                        image_classification_model_metadata.
@@ -264,8 +267,7 @@ public int getPageSize() {
    * 
    * A token identifying a page of results for the server to return
    * Typically obtained via
-   * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token]
-   * of the previous
+   * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous
    * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
    * 
* @@ -290,8 +292,7 @@ public java.lang.String getPageToken() { *
    * A token identifying a page of results for the server to return
    * Typically obtained via
-   * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token]
-   * of the previous
+   * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous
    * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
    * 
* @@ -501,8 +502,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels].
+   * Request message for [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels].
    * 
* * Protobuf type {@code google.cloud.automl.v1.ListModelsRequest} @@ -680,10 +680,12 @@ public Builder mergeFrom( * * *
-     * Resource name of the project, from which to list the models.
+     * Required. Resource name of the project, from which to list the models.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -702,10 +704,12 @@ public java.lang.String getParent() { * * *
-     * Resource name of the project, from which to list the models.
+     * Required. Resource name of the project, from which to list the models.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -724,10 +728,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Resource name of the project, from which to list the models.
+     * Required. Resource name of the project, from which to list the models.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The parent to set. * @return This builder for chaining. @@ -745,10 +751,12 @@ public Builder setParent(java.lang.String value) { * * *
-     * Resource name of the project, from which to list the models.
+     * Required. Resource name of the project, from which to list the models.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -762,10 +770,12 @@ public Builder clearParent() { * * *
-     * Resource name of the project, from which to list the models.
+     * Required. Resource name of the project, from which to list the models.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for parent to set. * @return This builder for chaining. @@ -788,7 +798,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { *
      * An expression for filtering the results of the request.
      *   * `model_metadata` - for existence of the case (e.g.
-     *             image_classification_model_metadata:*).
+     *             video_classification_model_metadata:*).
      *   * `dataset_id` - for = or !=. Some examples of using the filter are:
      *   * `image_classification_model_metadata:*` --> The model has
      *                                        image_classification_model_metadata.
@@ -816,7 +826,7 @@ public java.lang.String getFilter() {
      * 
      * An expression for filtering the results of the request.
      *   * `model_metadata` - for existence of the case (e.g.
-     *             image_classification_model_metadata:*).
+     *             video_classification_model_metadata:*).
      *   * `dataset_id` - for = or !=. Some examples of using the filter are:
      *   * `image_classification_model_metadata:*` --> The model has
      *                                        image_classification_model_metadata.
@@ -844,7 +854,7 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
      * An expression for filtering the results of the request.
      *   * `model_metadata` - for existence of the case (e.g.
-     *             image_classification_model_metadata:*).
+     *             video_classification_model_metadata:*).
      *   * `dataset_id` - for = or !=. Some examples of using the filter are:
      *   * `image_classification_model_metadata:*` --> The model has
      *                                        image_classification_model_metadata.
@@ -871,7 +881,7 @@ public Builder setFilter(java.lang.String value) {
      * 
      * An expression for filtering the results of the request.
      *   * `model_metadata` - for existence of the case (e.g.
-     *             image_classification_model_metadata:*).
+     *             video_classification_model_metadata:*).
      *   * `dataset_id` - for = or !=. Some examples of using the filter are:
      *   * `image_classification_model_metadata:*` --> The model has
      *                                        image_classification_model_metadata.
@@ -894,7 +904,7 @@ public Builder clearFilter() {
      * 
      * An expression for filtering the results of the request.
      *   * `model_metadata` - for existence of the case (e.g.
-     *             image_classification_model_metadata:*).
+     *             video_classification_model_metadata:*).
      *   * `dataset_id` - for = or !=. Some examples of using the filter are:
      *   * `image_classification_model_metadata:*` --> The model has
      *                                        image_classification_model_metadata.
@@ -975,8 +985,7 @@ public Builder clearPageSize() {
      * 
      * A token identifying a page of results for the server to return
      * Typically obtained via
-     * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token]
-     * of the previous
+     * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous
      * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
      * 
* @@ -1001,8 +1010,7 @@ public java.lang.String getPageToken() { *
      * A token identifying a page of results for the server to return
      * Typically obtained via
-     * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token]
-     * of the previous
+     * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous
      * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
      * 
* @@ -1027,8 +1035,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() { *
      * A token identifying a page of results for the server to return
      * Typically obtained via
-     * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token]
-     * of the previous
+     * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous
      * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
      * 
* @@ -1052,8 +1059,7 @@ public Builder setPageToken(java.lang.String value) { *
      * A token identifying a page of results for the server to return
      * Typically obtained via
-     * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token]
-     * of the previous
+     * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous
      * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
      * 
* @@ -1073,8 +1079,7 @@ public Builder clearPageToken() { *
      * A token identifying a page of results for the server to return
      * Typically obtained via
-     * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token]
-     * of the previous
+     * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous
      * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
      * 
* diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsRequestOrBuilder.java index 514afcc25..92546f334 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface ListModelsRequestOrBuilder * * *
-   * Resource name of the project, from which to list the models.
+   * Required. Resource name of the project, from which to list the models.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -39,10 +41,12 @@ public interface ListModelsRequestOrBuilder * * *
-   * Resource name of the project, from which to list the models.
+   * Required. Resource name of the project, from which to list the models.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -54,7 +58,7 @@ public interface ListModelsRequestOrBuilder *
    * An expression for filtering the results of the request.
    *   * `model_metadata` - for existence of the case (e.g.
-   *             image_classification_model_metadata:*).
+   *             video_classification_model_metadata:*).
    *   * `dataset_id` - for = or !=. Some examples of using the filter are:
    *   * `image_classification_model_metadata:*` --> The model has
    *                                        image_classification_model_metadata.
@@ -72,7 +76,7 @@ public interface ListModelsRequestOrBuilder
    * 
    * An expression for filtering the results of the request.
    *   * `model_metadata` - for existence of the case (e.g.
-   *             image_classification_model_metadata:*).
+   *             video_classification_model_metadata:*).
    *   * `dataset_id` - for = or !=. Some examples of using the filter are:
    *   * `image_classification_model_metadata:*` --> The model has
    *                                        image_classification_model_metadata.
@@ -104,8 +108,7 @@ public interface ListModelsRequestOrBuilder
    * 
    * A token identifying a page of results for the server to return
    * Typically obtained via
-   * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token]
-   * of the previous
+   * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous
    * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
    * 
* @@ -120,8 +123,7 @@ public interface ListModelsRequestOrBuilder *
    * A token identifying a page of results for the server to return
    * Typically obtained via
-   * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token]
-   * of the previous
+   * [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous
    * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call.
    * 
* diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsResponse.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsResponse.java index b5caf4799..5def859a2 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsResponse.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsResponse.java @@ -22,8 +22,7 @@ * * *
- * Response message for
- * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels].
+ * Response message for [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels].
  * 
* * Protobuf type {@code google.cloud.automl.v1.ListModelsResponse} @@ -198,9 +197,7 @@ public com.google.cloud.automl.v1.ModelOrBuilder getModelOrBuilder(int index) { * *
    * A token to retrieve next page of results.
-   * Pass to
-   * [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token]
-   * to obtain that page.
+   * Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page.
    * 
* * string next_page_token = 2; @@ -223,9 +220,7 @@ public java.lang.String getNextPageToken() { * *
    * A token to retrieve next page of results.
-   * Pass to
-   * [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token]
-   * to obtain that page.
+   * Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page.
    * 
* * string next_page_token = 2; @@ -418,8 +413,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for
-   * [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels].
+   * Response message for [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels].
    * 
* * Protobuf type {@code google.cloud.automl.v1.ListModelsResponse} @@ -971,9 +965,7 @@ public java.util.List getModelBuilderL * *
      * A token to retrieve next page of results.
-     * Pass to
-     * [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token]
-     * to obtain that page.
+     * Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page.
      * 
* * string next_page_token = 2; @@ -996,9 +988,7 @@ public java.lang.String getNextPageToken() { * *
      * A token to retrieve next page of results.
-     * Pass to
-     * [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token]
-     * to obtain that page.
+     * Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page.
      * 
* * string next_page_token = 2; @@ -1021,9 +1011,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { * *
      * A token to retrieve next page of results.
-     * Pass to
-     * [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token]
-     * to obtain that page.
+     * Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page.
      * 
* * string next_page_token = 2; @@ -1045,9 +1033,7 @@ public Builder setNextPageToken(java.lang.String value) { * *
      * A token to retrieve next page of results.
-     * Pass to
-     * [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token]
-     * to obtain that page.
+     * Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page.
      * 
* * string next_page_token = 2; @@ -1065,9 +1051,7 @@ public Builder clearNextPageToken() { * *
      * A token to retrieve next page of results.
-     * Pass to
-     * [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token]
-     * to obtain that page.
+     * Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page.
      * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsResponseOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsResponseOrBuilder.java index 68d9d955b..1a6badc77 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsResponseOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ListModelsResponseOrBuilder.java @@ -79,9 +79,7 @@ public interface ListModelsResponseOrBuilder * *
    * A token to retrieve next page of results.
-   * Pass to
-   * [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token]
-   * to obtain that page.
+   * Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page.
    * 
* * string next_page_token = 2; @@ -94,9 +92,7 @@ public interface ListModelsResponseOrBuilder * *
    * A token to retrieve next page of results.
-   * Pass to
-   * [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token]
-   * to obtain that page.
+   * Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page.
    * 
* * string next_page_token = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelEvaluation.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelEvaluation.java index e68e12883..f4893d5a2 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelEvaluation.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelEvaluation.java @@ -309,7 +309,10 @@ public MetricsCase getMetricsCase() { * * *
-   * Model evaluation metrics for image, text classification.
+   * Model evaluation metrics for image, text, video and tables
+   * classification.
+   * Tables problem is considered a classification when the target column
+   * is CATEGORY DataType.
    * 
* * @@ -325,7 +328,10 @@ public boolean hasClassificationEvaluationMetrics() { * * *
-   * Model evaluation metrics for image, text classification.
+   * Model evaluation metrics for image, text, video and tables
+   * classification.
+   * Tables problem is considered a classification when the target column
+   * is CATEGORY DataType.
    * 
* * @@ -345,7 +351,10 @@ public boolean hasClassificationEvaluationMetrics() { * * *
-   * Model evaluation metrics for image, text classification.
+   * Model evaluation metrics for image, text, video and tables
+   * classification.
+   * Tables problem is considered a classification when the target column
+   * is CATEGORY DataType.
    * 
* * @@ -637,8 +646,14 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Output only. The ID of the annotation spec that the model evaluation
-   * applies to. The The ID is empty for the overall model evaluation.
+   * Output only. The ID of the annotation spec that the model evaluation applies to. The
+   * The ID is empty for the overall model evaluation.
+   * For Tables annotation specs in the dataset do not exist and this ID is
+   * always not set, but for CLASSIFICATION
+   * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+   * the
+   * [display_name][google.cloud.automl.v1.ModelEvaluation.display_name]
+   * field is used.
    * 
* * string annotation_spec_id = 2; @@ -660,8 +675,14 @@ public java.lang.String getAnnotationSpecId() { * * *
-   * Output only. The ID of the annotation spec that the model evaluation
-   * applies to. The The ID is empty for the overall model evaluation.
+   * Output only. The ID of the annotation spec that the model evaluation applies to. The
+   * The ID is empty for the overall model evaluation.
+   * For Tables annotation specs in the dataset do not exist and this ID is
+   * always not set, but for CLASSIFICATION
+   * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+   * the
+   * [display_name][google.cloud.automl.v1.ModelEvaluation.display_name]
+   * field is used.
    * 
* * string annotation_spec_id = 2; @@ -691,7 +712,11 @@ public com.google.protobuf.ByteString getAnnotationSpecIdBytes() { * at the moment when the model was trained. Because this field returns a * value at model training time, for different models trained from the same * dataset, the values may differ, since display names could had been changed - * between the two model's trainings. + * between the two model's trainings. For Tables CLASSIFICATION + * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type] + * distinct values of the target column at the moment of the model evaluation + * are populated here. + * The display_name is empty for the overall model evaluation. *
* * string display_name = 15; @@ -718,7 +743,11 @@ public java.lang.String getDisplayName() { * at the moment when the model was trained. Because this field returns a * value at model training time, for different models trained from the same * dataset, the values may differ, since display names could had been changed - * between the two model's trainings. + * between the two model's trainings. For Tables CLASSIFICATION + * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type] + * distinct values of the target column at the moment of the model evaluation + * are populated here. + * The display_name is empty for the overall model evaluation. *
* * string display_name = 15; @@ -1379,7 +1408,10 @@ public Builder clearMetrics() { * * *
-     * Model evaluation metrics for image, text classification.
+     * Model evaluation metrics for image, text, video and tables
+     * classification.
+     * Tables problem is considered a classification when the target column
+     * is CATEGORY DataType.
      * 
* * @@ -1395,7 +1427,10 @@ public boolean hasClassificationEvaluationMetrics() { * * *
-     * Model evaluation metrics for image, text classification.
+     * Model evaluation metrics for image, text, video and tables
+     * classification.
+     * Tables problem is considered a classification when the target column
+     * is CATEGORY DataType.
      * 
* * @@ -1422,7 +1457,10 @@ public boolean hasClassificationEvaluationMetrics() { * * *
-     * Model evaluation metrics for image, text classification.
+     * Model evaluation metrics for image, text, video and tables
+     * classification.
+     * Tables problem is considered a classification when the target column
+     * is CATEGORY DataType.
      * 
* * @@ -1447,7 +1485,10 @@ public Builder setClassificationEvaluationMetrics( * * *
-     * Model evaluation metrics for image, text classification.
+     * Model evaluation metrics for image, text, video and tables
+     * classification.
+     * Tables problem is considered a classification when the target column
+     * is CATEGORY DataType.
      * 
* * @@ -1469,7 +1510,10 @@ public Builder setClassificationEvaluationMetrics( * * *
-     * Model evaluation metrics for image, text classification.
+     * Model evaluation metrics for image, text, video and tables
+     * classification.
+     * Tables problem is considered a classification when the target column
+     * is CATEGORY DataType.
      * 
* * @@ -1505,7 +1549,10 @@ public Builder mergeClassificationEvaluationMetrics( * * *
-     * Model evaluation metrics for image, text classification.
+     * Model evaluation metrics for image, text, video and tables
+     * classification.
+     * Tables problem is considered a classification when the target column
+     * is CATEGORY DataType.
      * 
* * @@ -1532,7 +1579,10 @@ public Builder clearClassificationEvaluationMetrics() { * * *
-     * Model evaluation metrics for image, text classification.
+     * Model evaluation metrics for image, text, video and tables
+     * classification.
+     * Tables problem is considered a classification when the target column
+     * is CATEGORY DataType.
      * 
* * @@ -1547,7 +1597,10 @@ public Builder clearClassificationEvaluationMetrics() { * * *
-     * Model evaluation metrics for image, text classification.
+     * Model evaluation metrics for image, text, video and tables
+     * classification.
+     * Tables problem is considered a classification when the target column
+     * is CATEGORY DataType.
      * 
* * @@ -1569,7 +1622,10 @@ public Builder clearClassificationEvaluationMetrics() { * * *
-     * Model evaluation metrics for image, text classification.
+     * Model evaluation metrics for image, text, video and tables
+     * classification.
+     * Tables problem is considered a classification when the target column
+     * is CATEGORY DataType.
      * 
* * @@ -2650,8 +2706,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. The ID of the annotation spec that the model evaluation
-     * applies to. The The ID is empty for the overall model evaluation.
+     * Output only. The ID of the annotation spec that the model evaluation applies to. The
+     * The ID is empty for the overall model evaluation.
+     * For Tables annotation specs in the dataset do not exist and this ID is
+     * always not set, but for CLASSIFICATION
+     * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+     * the
+     * [display_name][google.cloud.automl.v1.ModelEvaluation.display_name]
+     * field is used.
      * 
* * string annotation_spec_id = 2; @@ -2673,8 +2735,14 @@ public java.lang.String getAnnotationSpecId() { * * *
-     * Output only. The ID of the annotation spec that the model evaluation
-     * applies to. The The ID is empty for the overall model evaluation.
+     * Output only. The ID of the annotation spec that the model evaluation applies to. The
+     * The ID is empty for the overall model evaluation.
+     * For Tables annotation specs in the dataset do not exist and this ID is
+     * always not set, but for CLASSIFICATION
+     * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+     * the
+     * [display_name][google.cloud.automl.v1.ModelEvaluation.display_name]
+     * field is used.
      * 
* * string annotation_spec_id = 2; @@ -2696,8 +2764,14 @@ public com.google.protobuf.ByteString getAnnotationSpecIdBytes() { * * *
-     * Output only. The ID of the annotation spec that the model evaluation
-     * applies to. The The ID is empty for the overall model evaluation.
+     * Output only. The ID of the annotation spec that the model evaluation applies to. The
+     * The ID is empty for the overall model evaluation.
+     * For Tables annotation specs in the dataset do not exist and this ID is
+     * always not set, but for CLASSIFICATION
+     * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+     * the
+     * [display_name][google.cloud.automl.v1.ModelEvaluation.display_name]
+     * field is used.
      * 
* * string annotation_spec_id = 2; @@ -2718,8 +2792,14 @@ public Builder setAnnotationSpecId(java.lang.String value) { * * *
-     * Output only. The ID of the annotation spec that the model evaluation
-     * applies to. The The ID is empty for the overall model evaluation.
+     * Output only. The ID of the annotation spec that the model evaluation applies to. The
+     * The ID is empty for the overall model evaluation.
+     * For Tables annotation specs in the dataset do not exist and this ID is
+     * always not set, but for CLASSIFICATION
+     * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+     * the
+     * [display_name][google.cloud.automl.v1.ModelEvaluation.display_name]
+     * field is used.
      * 
* * string annotation_spec_id = 2; @@ -2736,8 +2816,14 @@ public Builder clearAnnotationSpecId() { * * *
-     * Output only. The ID of the annotation spec that the model evaluation
-     * applies to. The The ID is empty for the overall model evaluation.
+     * Output only. The ID of the annotation spec that the model evaluation applies to. The
+     * The ID is empty for the overall model evaluation.
+     * For Tables annotation specs in the dataset do not exist and this ID is
+     * always not set, but for CLASSIFICATION
+     * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+     * the
+     * [display_name][google.cloud.automl.v1.ModelEvaluation.display_name]
+     * field is used.
      * 
* * string annotation_spec_id = 2; @@ -2766,7 +2852,11 @@ public Builder setAnnotationSpecIdBytes(com.google.protobuf.ByteString value) { * at the moment when the model was trained. Because this field returns a * value at model training time, for different models trained from the same * dataset, the values may differ, since display names could had been changed - * between the two model's trainings. + * between the two model's trainings. For Tables CLASSIFICATION + * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type] + * distinct values of the target column at the moment of the model evaluation + * are populated here. + * The display_name is empty for the overall model evaluation. *
* * string display_name = 15; @@ -2793,7 +2883,11 @@ public java.lang.String getDisplayName() { * at the moment when the model was trained. Because this field returns a * value at model training time, for different models trained from the same * dataset, the values may differ, since display names could had been changed - * between the two model's trainings. + * between the two model's trainings. For Tables CLASSIFICATION + * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type] + * distinct values of the target column at the moment of the model evaluation + * are populated here. + * The display_name is empty for the overall model evaluation. *
* * string display_name = 15; @@ -2820,7 +2914,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * at the moment when the model was trained. Because this field returns a * value at model training time, for different models trained from the same * dataset, the values may differ, since display names could had been changed - * between the two model's trainings. + * between the two model's trainings. For Tables CLASSIFICATION + * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type] + * distinct values of the target column at the moment of the model evaluation + * are populated here. + * The display_name is empty for the overall model evaluation. *
* * string display_name = 15; @@ -2846,7 +2944,11 @@ public Builder setDisplayName(java.lang.String value) { * at the moment when the model was trained. Because this field returns a * value at model training time, for different models trained from the same * dataset, the values may differ, since display names could had been changed - * between the two model's trainings. + * between the two model's trainings. For Tables CLASSIFICATION + * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type] + * distinct values of the target column at the moment of the model evaluation + * are populated here. + * The display_name is empty for the overall model evaluation. *
* * string display_name = 15; @@ -2868,7 +2970,11 @@ public Builder clearDisplayName() { * at the moment when the model was trained. Because this field returns a * value at model training time, for different models trained from the same * dataset, the values may differ, since display names could had been changed - * between the two model's trainings. + * between the two model's trainings. For Tables CLASSIFICATION + * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type] + * distinct values of the target column at the moment of the model evaluation + * are populated here. + * The display_name is empty for the overall model evaluation. *
* * string display_name = 15; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelEvaluationOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelEvaluationOrBuilder.java index f992f2b53..6cd4e4624 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelEvaluationOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelEvaluationOrBuilder.java @@ -27,7 +27,10 @@ public interface ModelEvaluationOrBuilder * * *
-   * Model evaluation metrics for image, text classification.
+   * Model evaluation metrics for image, text, video and tables
+   * classification.
+   * Tables problem is considered a classification when the target column
+   * is CATEGORY DataType.
    * 
* * @@ -41,7 +44,10 @@ public interface ModelEvaluationOrBuilder * * *
-   * Model evaluation metrics for image, text classification.
+   * Model evaluation metrics for image, text, video and tables
+   * classification.
+   * Tables problem is considered a classification when the target column
+   * is CATEGORY DataType.
    * 
* * @@ -55,7 +61,10 @@ public interface ModelEvaluationOrBuilder * * *
-   * Model evaluation metrics for image, text classification.
+   * Model evaluation metrics for image, text, video and tables
+   * classification.
+   * Tables problem is considered a classification when the target column
+   * is CATEGORY DataType.
    * 
* * @@ -264,8 +273,14 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. The ID of the annotation spec that the model evaluation
-   * applies to. The The ID is empty for the overall model evaluation.
+   * Output only. The ID of the annotation spec that the model evaluation applies to. The
+   * The ID is empty for the overall model evaluation.
+   * For Tables annotation specs in the dataset do not exist and this ID is
+   * always not set, but for CLASSIFICATION
+   * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+   * the
+   * [display_name][google.cloud.automl.v1.ModelEvaluation.display_name]
+   * field is used.
    * 
* * string annotation_spec_id = 2; @@ -277,8 +292,14 @@ public interface ModelEvaluationOrBuilder * * *
-   * Output only. The ID of the annotation spec that the model evaluation
-   * applies to. The The ID is empty for the overall model evaluation.
+   * Output only. The ID of the annotation spec that the model evaluation applies to. The
+   * The ID is empty for the overall model evaluation.
+   * For Tables annotation specs in the dataset do not exist and this ID is
+   * always not set, but for CLASSIFICATION
+   * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type]
+   * the
+   * [display_name][google.cloud.automl.v1.ModelEvaluation.display_name]
+   * field is used.
    * 
* * string annotation_spec_id = 2; @@ -296,7 +317,11 @@ public interface ModelEvaluationOrBuilder * at the moment when the model was trained. Because this field returns a * value at model training time, for different models trained from the same * dataset, the values may differ, since display names could had been changed - * between the two model's trainings. + * between the two model's trainings. For Tables CLASSIFICATION + * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type] + * distinct values of the target column at the moment of the model evaluation + * are populated here. + * The display_name is empty for the overall model evaluation. *
* * string display_name = 15; @@ -313,7 +338,11 @@ public interface ModelEvaluationOrBuilder * at the moment when the model was trained. Because this field returns a * value at model training time, for different models trained from the same * dataset, the values may differ, since display names could had been changed - * between the two model's trainings. + * between the two model's trainings. For Tables CLASSIFICATION + * [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type] + * distinct values of the target column at the moment of the model evaluation + * are populated here. + * The display_name is empty for the overall model evaluation. *
* * string display_name = 15; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelEvaluationOuterClass.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelEvaluationOuterClass.java index 19f695bd4..e2e372537 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelEvaluationOuterClass.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelEvaluationOuterClass.java @@ -41,15 +41,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n-google/cloud/automl/v1/model_evaluatio" - + "n.proto\022\026google.cloud.automl.v1\032\034google/" - + "api/annotations.proto\032\031google/api/resour" - + "ce.proto\032+google/cloud/automl/v1/classif" - + "ication.proto\032&google/cloud/automl/v1/de" - + "tection.proto\032,google/cloud/automl/v1/te" - + "xt_extraction.proto\032+google/cloud/automl" - + "/v1/text_sentiment.proto\032(google/cloud/a" - + "utoml/v1/translation.proto\032\037google/proto" - + "buf/timestamp.proto\"\264\005\n\017ModelEvaluation\022" + + "n.proto\022\026google.cloud.automl.v1\032\031google/" + + "api/resource.proto\032+google/cloud/automl/" + + "v1/classification.proto\032&google/cloud/au" + + "toml/v1/detection.proto\032,google/cloud/au" + + "toml/v1/text_extraction.proto\032+google/cl" + + "oud/automl/v1/text_sentiment.proto\032(goog" + + "le/cloud/automl/v1/translation.proto\032\037go" + + "ogle/protobuf/timestamp.proto\032\034google/ap" + + "i/annotations.proto\"\276\006\n\017ModelEvaluation\022" + "d\n!classification_evaluation_metrics\030\010 \001" + "(\01327.google.cloud.automl.v1.Classificati" + "onEvaluationMetricsH\000\022^\n\036translation_eva" @@ -66,18 +66,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\004name\030\001 \001(\t\022\032\n\022annotation_spec_id\030\002 \001(\t\022" + "\024\n\014display_name\030\017 \001(\t\022/\n\013create_time\030\005 \001" + "(\0132\032.google.protobuf.Timestamp\022\037\n\027evalua" - + "ted_example_count\030\006 \001(\005B\t\n\007metricsB\252\001\n\032c" - + "om.google.cloud.automl.v1P\001Z - * Required. The Google Cloud Storage location where the model is to be - * written to. This location may only be set for the following model - * formats: + * Required. The Google Cloud Storage location where the model is to be written to. + * This location may only be set for the following model formats: * "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml". * Under the directory given as the destination a new one with name * "model-export-<model-display-name>-<timestamp-of-export-call>", @@ -225,9 +224,8 @@ public boolean hasGcsDestination() { * * *
-   * Required. The Google Cloud Storage location where the model is to be
-   * written to. This location may only be set for the following model
-   * formats:
+   * Required. The Google Cloud Storage location where the model is to be written to.
+   * This location may only be set for the following model formats:
    *   "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
    *  Under the directory given as the destination a new one with name
    *  "model-export-<model-display-name>-<timestamp-of-export-call>",
@@ -252,9 +250,8 @@ public com.google.cloud.automl.v1.GcsDestination getGcsDestination() {
    *
    *
    * 
-   * Required. The Google Cloud Storage location where the model is to be
-   * written to. This location may only be set for the following model
-   * formats:
+   * Required. The Google Cloud Storage location where the model is to be written to.
+   * This location may only be set for the following model formats:
    *   "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
    *  Under the directory given as the destination a new one with name
    *  "model-export-<model-display-name>-<timestamp-of-export-call>",
@@ -286,7 +283,8 @@ public com.google.cloud.automl.v1.GcsDestinationOrBuilder getGcsDestinationOrBui
    * exportable):
    * *  For Image Classification mobile-low-latency-1, mobile-versatile-1,
    *        mobile-high-accuracy-1:
-   *      "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js".
+   *      "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js",
+   *      "docker".
    * *  For Image Classification mobile-core-ml-low-latency-1,
    *        mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1:
    *      "core_ml" (default).
@@ -299,7 +297,13 @@ public com.google.cloud.automl.v1.GcsDestinationOrBuilder getGcsDestinationOrBui
    *                    devices.
    * * tf_saved_model - A tensorflow model in SavedModel format.
    * * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can
-   *           be used in the browser and in Node.js using JavaScript.x`
+   *           be used in the browser and in Node.js using JavaScript.
+   * * docker - Used for Docker containers. Use the params field to customize
+   *            the container. The container is verified to work correctly on
+   *            ubuntu 16.04 operating system. See more at
+   *            [containers
+   * quickstart](https:
+   * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
    * * core_ml - Used for iOS mobile devices.
    * 
* @@ -328,7 +332,8 @@ public java.lang.String getModelFormat() { * exportable): * * For Image Classification mobile-low-latency-1, mobile-versatile-1, * mobile-high-accuracy-1: - * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js". + * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", + * "docker". * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). @@ -341,7 +346,13 @@ public java.lang.String getModelFormat() { * devices. * * tf_saved_model - A tensorflow model in SavedModel format. * * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can - * be used in the browser and in Node.js using JavaScript.x` + * be used in the browser and in Node.js using JavaScript. + * * docker - Used for Docker containers. Use the params field to customize + * the container. The container is verified to work correctly on + * ubuntu 16.04 operating system. See more at + * [containers + * quickstart](https: + * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) * * core_ml - Used for iOS mobile devices. *
* @@ -393,6 +404,9 @@ public int getParamsCount() { * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". * * * map<string, string> params = 2; @@ -415,6 +429,9 @@ public java.util.Map getParams() { * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". * * * map<string, string> params = 2; @@ -429,6 +446,9 @@ public java.util.Map getParamsMap() { * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". * * * map<string, string> params = 2; @@ -447,6 +467,9 @@ public java.lang.String getParamsOrDefault(java.lang.String key, java.lang.Strin * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". * * * map<string, string> params = 2; @@ -892,9 +915,8 @@ public Builder clearDestination() { * * *
-     * Required. The Google Cloud Storage location where the model is to be
-     * written to. This location may only be set for the following model
-     * formats:
+     * Required. The Google Cloud Storage location where the model is to be written to.
+     * This location may only be set for the following model formats:
      *   "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
      *  Under the directory given as the destination a new one with name
      *  "model-export-<model-display-name>-<timestamp-of-export-call>",
@@ -916,9 +938,8 @@ public boolean hasGcsDestination() {
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the model is to be
-     * written to. This location may only be set for the following model
-     * formats:
+     * Required. The Google Cloud Storage location where the model is to be written to.
+     * This location may only be set for the following model formats:
      *   "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
      *  Under the directory given as the destination a new one with name
      *  "model-export-<model-display-name>-<timestamp-of-export-call>",
@@ -950,9 +971,8 @@ public com.google.cloud.automl.v1.GcsDestination getGcsDestination() {
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the model is to be
-     * written to. This location may only be set for the following model
-     * formats:
+     * Required. The Google Cloud Storage location where the model is to be written to.
+     * This location may only be set for the following model formats:
      *   "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
      *  Under the directory given as the destination a new one with name
      *  "model-export-<model-display-name>-<timestamp-of-export-call>",
@@ -982,9 +1002,8 @@ public Builder setGcsDestination(com.google.cloud.automl.v1.GcsDestination value
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the model is to be
-     * written to. This location may only be set for the following model
-     * formats:
+     * Required. The Google Cloud Storage location where the model is to be written to.
+     * This location may only be set for the following model formats:
      *   "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
      *  Under the directory given as the destination a new one with name
      *  "model-export-<model-display-name>-<timestamp-of-export-call>",
@@ -1012,9 +1031,8 @@ public Builder setGcsDestination(
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the model is to be
-     * written to. This location may only be set for the following model
-     * formats:
+     * Required. The Google Cloud Storage location where the model is to be written to.
+     * This location may only be set for the following model formats:
      *   "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
      *  Under the directory given as the destination a new one with name
      *  "model-export-<model-display-name>-<timestamp-of-export-call>",
@@ -1053,9 +1071,8 @@ public Builder mergeGcsDestination(com.google.cloud.automl.v1.GcsDestination val
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the model is to be
-     * written to. This location may only be set for the following model
-     * formats:
+     * Required. The Google Cloud Storage location where the model is to be written to.
+     * This location may only be set for the following model formats:
      *   "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
      *  Under the directory given as the destination a new one with name
      *  "model-export-<model-display-name>-<timestamp-of-export-call>",
@@ -1088,9 +1105,8 @@ public Builder clearGcsDestination() {
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the model is to be
-     * written to. This location may only be set for the following model
-     * formats:
+     * Required. The Google Cloud Storage location where the model is to be written to.
+     * This location may only be set for the following model formats:
      *   "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
      *  Under the directory given as the destination a new one with name
      *  "model-export-<model-display-name>-<timestamp-of-export-call>",
@@ -1110,9 +1126,8 @@ public com.google.cloud.automl.v1.GcsDestination.Builder getGcsDestinationBuilde
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the model is to be
-     * written to. This location may only be set for the following model
-     * formats:
+     * Required. The Google Cloud Storage location where the model is to be written to.
+     * This location may only be set for the following model formats:
      *   "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
      *  Under the directory given as the destination a new one with name
      *  "model-export-<model-display-name>-<timestamp-of-export-call>",
@@ -1139,9 +1154,8 @@ public com.google.cloud.automl.v1.GcsDestinationOrBuilder getGcsDestinationOrBui
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the model is to be
-     * written to. This location may only be set for the following model
-     * formats:
+     * Required. The Google Cloud Storage location where the model is to be written to.
+     * This location may only be set for the following model formats:
      *   "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
      *  Under the directory given as the destination a new one with name
      *  "model-export-<model-display-name>-<timestamp-of-export-call>",
@@ -1190,7 +1204,8 @@ public com.google.cloud.automl.v1.GcsDestinationOrBuilder getGcsDestinationOrBui
      * exportable):
      * *  For Image Classification mobile-low-latency-1, mobile-versatile-1,
      *        mobile-high-accuracy-1:
-     *      "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js".
+     *      "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js",
+     *      "docker".
      * *  For Image Classification mobile-core-ml-low-latency-1,
      *        mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1:
      *      "core_ml" (default).
@@ -1203,7 +1218,13 @@ public com.google.cloud.automl.v1.GcsDestinationOrBuilder getGcsDestinationOrBui
      *                    devices.
      * * tf_saved_model - A tensorflow model in SavedModel format.
      * * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can
-     *           be used in the browser and in Node.js using JavaScript.x`
+     *           be used in the browser and in Node.js using JavaScript.
+     * * docker - Used for Docker containers. Use the params field to customize
+     *            the container. The container is verified to work correctly on
+     *            ubuntu 16.04 operating system. See more at
+     *            [containers
+     * quickstart](https:
+     * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
      * * core_ml - Used for iOS mobile devices.
      * 
* @@ -1232,7 +1253,8 @@ public java.lang.String getModelFormat() { * exportable): * * For Image Classification mobile-low-latency-1, mobile-versatile-1, * mobile-high-accuracy-1: - * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js". + * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", + * "docker". * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). @@ -1245,7 +1267,13 @@ public java.lang.String getModelFormat() { * devices. * * tf_saved_model - A tensorflow model in SavedModel format. * * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can - * be used in the browser and in Node.js using JavaScript.x` + * be used in the browser and in Node.js using JavaScript. + * * docker - Used for Docker containers. Use the params field to customize + * the container. The container is verified to work correctly on + * ubuntu 16.04 operating system. See more at + * [containers + * quickstart](https: + * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) * * core_ml - Used for iOS mobile devices. *
* @@ -1274,7 +1302,8 @@ public com.google.protobuf.ByteString getModelFormatBytes() { * exportable): * * For Image Classification mobile-low-latency-1, mobile-versatile-1, * mobile-high-accuracy-1: - * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js". + * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", + * "docker". * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). @@ -1287,7 +1316,13 @@ public com.google.protobuf.ByteString getModelFormatBytes() { * devices. * * tf_saved_model - A tensorflow model in SavedModel format. * * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can - * be used in the browser and in Node.js using JavaScript.x` + * be used in the browser and in Node.js using JavaScript. + * * docker - Used for Docker containers. Use the params field to customize + * the container. The container is verified to work correctly on + * ubuntu 16.04 operating system. See more at + * [containers + * quickstart](https: + * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) * * core_ml - Used for iOS mobile devices. *
* @@ -1315,7 +1350,8 @@ public Builder setModelFormat(java.lang.String value) { * exportable): * * For Image Classification mobile-low-latency-1, mobile-versatile-1, * mobile-high-accuracy-1: - * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js". + * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", + * "docker". * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). @@ -1328,7 +1364,13 @@ public Builder setModelFormat(java.lang.String value) { * devices. * * tf_saved_model - A tensorflow model in SavedModel format. * * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can - * be used in the browser and in Node.js using JavaScript.x` + * be used in the browser and in Node.js using JavaScript. + * * docker - Used for Docker containers. Use the params field to customize + * the container. The container is verified to work correctly on + * ubuntu 16.04 operating system. See more at + * [containers + * quickstart](https: + * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) * * core_ml - Used for iOS mobile devices. *
* @@ -1352,7 +1394,8 @@ public Builder clearModelFormat() { * exportable): * * For Image Classification mobile-low-latency-1, mobile-versatile-1, * mobile-high-accuracy-1: - * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js". + * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", + * "docker". * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). @@ -1365,7 +1408,13 @@ public Builder clearModelFormat() { * devices. * * tf_saved_model - A tensorflow model in SavedModel format. * * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can - * be used in the browser and in Node.js using JavaScript.x` + * be used in the browser and in Node.js using JavaScript. + * * docker - Used for Docker containers. Use the params field to customize + * the container. The container is verified to work correctly on + * ubuntu 16.04 operating system. See more at + * [containers + * quickstart](https: + * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) * * core_ml - Used for iOS mobile devices. *
* @@ -1417,6 +1466,9 @@ public int getParamsCount() { * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". *
* * map<string, string> params = 2; @@ -1439,6 +1491,9 @@ public java.util.Map getParams() { * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". *
* * map<string, string> params = 2; @@ -1453,6 +1508,9 @@ public java.util.Map getParamsMap() { * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". *
* * map<string, string> params = 2; @@ -1472,6 +1530,9 @@ public java.lang.String getParamsOrDefault( * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". *
* * map<string, string> params = 2; @@ -1498,6 +1559,9 @@ public Builder clearParams() { * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". * * * map<string, string> params = 2; @@ -1521,6 +1585,9 @@ public java.util.Map getMutableParams() { * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". * * * map<string, string> params = 2; @@ -1542,6 +1609,9 @@ public Builder putParams(java.lang.String key, java.lang.String value) { * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". * * * map<string, string> params = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelExportOutputConfigOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelExportOutputConfigOrBuilder.java index 524577b82..57d1497ac 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelExportOutputConfigOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelExportOutputConfigOrBuilder.java @@ -27,9 +27,8 @@ public interface ModelExportOutputConfigOrBuilder * * *
-   * Required. The Google Cloud Storage location where the model is to be
-   * written to. This location may only be set for the following model
-   * formats:
+   * Required. The Google Cloud Storage location where the model is to be written to.
+   * This location may only be set for the following model formats:
    *   "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
    *  Under the directory given as the destination a new one with name
    *  "model-export-<model-display-name>-<timestamp-of-export-call>",
@@ -49,9 +48,8 @@ public interface ModelExportOutputConfigOrBuilder
    *
    *
    * 
-   * Required. The Google Cloud Storage location where the model is to be
-   * written to. This location may only be set for the following model
-   * formats:
+   * Required. The Google Cloud Storage location where the model is to be written to.
+   * This location may only be set for the following model formats:
    *   "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
    *  Under the directory given as the destination a new one with name
    *  "model-export-<model-display-name>-<timestamp-of-export-call>",
@@ -71,9 +69,8 @@ public interface ModelExportOutputConfigOrBuilder
    *
    *
    * 
-   * Required. The Google Cloud Storage location where the model is to be
-   * written to. This location may only be set for the following model
-   * formats:
+   * Required. The Google Cloud Storage location where the model is to be written to.
+   * This location may only be set for the following model formats:
    *   "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml".
    *  Under the directory given as the destination a new one with name
    *  "model-export-<model-display-name>-<timestamp-of-export-call>",
@@ -98,7 +95,8 @@ public interface ModelExportOutputConfigOrBuilder
    * exportable):
    * *  For Image Classification mobile-low-latency-1, mobile-versatile-1,
    *        mobile-high-accuracy-1:
-   *      "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js".
+   *      "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js",
+   *      "docker".
    * *  For Image Classification mobile-core-ml-low-latency-1,
    *        mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1:
    *      "core_ml" (default).
@@ -111,7 +109,13 @@ public interface ModelExportOutputConfigOrBuilder
    *                    devices.
    * * tf_saved_model - A tensorflow model in SavedModel format.
    * * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can
-   *           be used in the browser and in Node.js using JavaScript.x`
+   *           be used in the browser and in Node.js using JavaScript.
+   * * docker - Used for Docker containers. Use the params field to customize
+   *            the container. The container is verified to work correctly on
+   *            ubuntu 16.04 operating system. See more at
+   *            [containers
+   * quickstart](https:
+   * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
    * * core_ml - Used for iOS mobile devices.
    * 
* @@ -130,7 +134,8 @@ public interface ModelExportOutputConfigOrBuilder * exportable): * * For Image Classification mobile-low-latency-1, mobile-versatile-1, * mobile-high-accuracy-1: - * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js". + * "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", + * "docker". * * For Image Classification mobile-core-ml-low-latency-1, * mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: * "core_ml" (default). @@ -143,7 +148,13 @@ public interface ModelExportOutputConfigOrBuilder * devices. * * tf_saved_model - A tensorflow model in SavedModel format. * * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can - * be used in the browser and in Node.js using JavaScript.x` + * be used in the browser and in Node.js using JavaScript. + * * docker - Used for Docker containers. Use the params field to customize + * the container. The container is verified to work correctly on + * ubuntu 16.04 operating system. See more at + * [containers + * quickstart](https: + * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) * * core_ml - Used for iOS mobile devices. *
* @@ -160,6 +171,9 @@ public interface ModelExportOutputConfigOrBuilder * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". *
* * map<string, string> params = 2; @@ -172,6 +186,9 @@ public interface ModelExportOutputConfigOrBuilder * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". * * * map<string, string> params = 2; @@ -187,6 +204,9 @@ public interface ModelExportOutputConfigOrBuilder * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". * * * map<string, string> params = 2; @@ -199,6 +219,9 @@ public interface ModelExportOutputConfigOrBuilder * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". * * * map<string, string> params = 2; @@ -211,6 +234,9 @@ public interface ModelExportOutputConfigOrBuilder * Additional model-type and format specific parameters describing the * requirements for the to be exported model files, any string must be up to * 25000 characters long. + * * For `docker` format: + * `cpu_architecture` - (string) "x86_64" (default). + * `gpu_architecture` - (string) "none" (default), "nvidia". * * * map<string, string> params = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelOuterClass.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelOuterClass.java index 9870b9574..e15de4c57 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelOuterClass.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ModelOuterClass.java @@ -50,7 +50,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oto\032!google/cloud/automl/v1/text.proto\032(" + "google/cloud/automl/v1/translation.proto" + "\032\037google/protobuf/timestamp.proto\032\034googl" - + "e/api/annotations.proto\"\372\010\n\005Model\022V\n\032tra" + + "e/api/annotations.proto\"\361\010\n\005Model\022V\n\032tra" + "nslation_model_metadata\030\017 \001(\01320.google.c" + "loud.automl.v1.TranslationModelMetadataH" + "\000\022g\n#image_classification_model_metadata" @@ -76,14 +76,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "Entry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val" + "ue\030\002 \001(\t:\0028\001\"Q\n\017DeploymentState\022 \n\034DEPLO" + "YMENT_STATE_UNSPECIFIED\020\000\022\014\n\010DEPLOYED\020\001\022" - + "\016\n\nUNDEPLOYED\020\002:a\352A^\n\033automl.googleapis." - + "com/Model\022?projects/{project_id}/locatio" - + "ns/{location_id}/models/{model_id}B\020\n\016mo" - + "del_metadataB\252\001\n\032com.google.cloud.automl" - + ".v1P\001Z - * Output configuration for ExportData. - * As destination the - * [gcs_destination][google.cloud.automl.v1.OutputConfig.gcs_destination] - * must be set unless specified otherwise for a domain. If gcs_destination is - * set then in the given directory a new directory is created. Its name - * will be "export_data-<dataset-display-name>-<timestamp-of-export-call>", - * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. - * Only ground truth annotations are exported (not approved annotations are - * not exported). - * The outputs correspond to how the data was imported, and may be used as - * input to import data. The output formats are represented as EBNF with literal - * commas and same non-terminal symbols definitions are these in import data's - * [InputConfig][google.cloud.automl.v1.InputConfig]: - * * For Image Classification: - * CSV file(s) `image_classification_1.csv`, - * `image_classification_2.csv`,...,`image_classification_N.csv`with - * each line in format: - * ML_USE,GCS_FILE_PATH,LABEL,LABEL,... - * where GCS_FILE_PATHs point at the original, source locations of the - * imported images. - * For MULTICLASS classification type, there can be at most one LABEL - * per example. - * * For Image Object Detection: - * CSV file(s) `image_object_detection_1.csv`, - * `image_object_detection_2.csv`,...,`image_object_detection_N.csv` - * with each line in format: - * ML_USE,GCS_FILE_PATH,[LABEL],(BOUNDING_BOX | ,,,,,,,) - * where GCS_FILE_PATHs point at the original, source locations of the - * imported images. - * * For Text Classification: - * In the created directory CSV file(s) `text_classification_1.csv`, - * `text_classification_2.csv`, ...,`text_classification_N.csv` will be - * created where N depends on the total number of examples exported. - * Each line in the CSV is of the format: - * ML_USE,GCS_FILE_PATH,LABEL,LABEL,... - * where GCS_FILE_PATHs point at the exported .txt files containing - * the text content of the imported example. For MULTICLASS - * classification type, there will be at most one LABEL per example. - * * For Text Sentiment: - * In the created directory CSV file(s) `text_sentiment_1.csv`, - * `text_sentiment_2.csv`, ...,`text_sentiment_N.csv` will be - * created where N depends on the total number of examples exported. - * Each line in the CSV is of the format: - * ML_USE,GCS_FILE_PATH,SENTIMENT - * where GCS_FILE_PATHs point at the exported .txt files containing - * the text content of the imported example. - * * For Text Extraction: - * CSV file `text_extraction.csv`, with each line in format: - * ML_USE,GCS_FILE_PATH - * GCS_FILE_PATH leads to a .JSONL (i.e. JSON Lines) file which - * contains, per line, a proto that wraps a TextSnippet proto (in json - * representation) followed by AnnotationPayload protos (called - * annotations). If initially documents had been imported, the JSONL - * will point at the original, source locations of the imported - * documents. - * * For Translation: + * * For Translation: * CSV file `translation.csv`, with each line in format: * ML_USE,GCS_FILE_PATH * GCS_FILE_PATH leads to a .TSV file which describes examples that have * given ML_USE, using the following row format per line: * TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target * language) + * * For Tables: + * Output depends on whether the dataset was imported from Google Cloud + * Storage or BigQuery. + * Google Cloud Storage case: + * [gcs_destination][google.cloud.automl.v1p1beta.OutputConfig.gcs_destination] + * must be set. Exported are CSV file(s) `tables_1.csv`, + * `tables_2.csv`,...,`tables_N.csv` with each having as header line + * the table's column names, and all other lines contain values for + * the header columns. + * BigQuery case: + * [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination] + * pointing to a BigQuery project must be set. In the given project a + * new dataset will be created with name + * `export_data_<automl-dataset-display-name>_<timestamp-of-export-call>` + * where <automl-dataset-display-name> will be made + * BigQuery-dataset-name compatible (e.g. most special characters will + * become underscores), and timestamp will be in + * YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In that + * dataset a new table called `primary_table` will be created, and + * filled with precisely the same data as this obtained on import. * * * Protobuf type {@code google.cloud.automl.v1.OutputConfig} @@ -228,9 +193,9 @@ public DestinationCase getDestinationCase() { * * *
-   * Required. The Google Cloud Storage location where the output is to be
-   * written to. For Image Object Detection, Text Extraction in the given
-   * directory a new directory will be created with name:
+   * Required. The Google Cloud Storage location where the output is to be written to.
+   * For Image Object Detection, Text Extraction, Video Classification and
+   * Tables, in the given directory a new directory will be created with name:
    * export_data-<dataset-display-name>-<timestamp-of-export-call> where
    * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
    * output will be written into that directory.
@@ -249,9 +214,9 @@ public boolean hasGcsDestination() {
    *
    *
    * 
-   * Required. The Google Cloud Storage location where the output is to be
-   * written to. For Image Object Detection, Text Extraction in the given
-   * directory a new directory will be created with name:
+   * Required. The Google Cloud Storage location where the output is to be written to.
+   * For Image Object Detection, Text Extraction, Video Classification and
+   * Tables, in the given directory a new directory will be created with name:
    * export_data-<dataset-display-name>-<timestamp-of-export-call> where
    * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
    * output will be written into that directory.
@@ -273,9 +238,9 @@ public com.google.cloud.automl.v1.GcsDestination getGcsDestination() {
    *
    *
    * 
-   * Required. The Google Cloud Storage location where the output is to be
-   * written to. For Image Object Detection, Text Extraction in the given
-   * directory a new directory will be created with name:
+   * Required. The Google Cloud Storage location where the output is to be written to.
+   * For Image Object Detection, Text Extraction, Video Classification and
+   * Tables, in the given directory a new directory will be created with name:
    * export_data-<dataset-display-name>-<timestamp-of-export-call> where
    * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
    * output will be written into that directory.
@@ -469,68 +434,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    *
    * 
-   * Output configuration for ExportData.
-   * As destination the
-   * [gcs_destination][google.cloud.automl.v1.OutputConfig.gcs_destination]
-   * must be set unless specified otherwise for a domain. If gcs_destination is
-   * set then in the given directory a new directory is created. Its name
-   * will be "export_data-<dataset-display-name>-<timestamp-of-export-call>",
-   * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format.
-   * Only ground truth annotations are exported (not approved annotations are
-   * not exported).
-   * The outputs correspond to how the data was imported, and may be used as
-   * input to import data. The output formats are represented as EBNF with literal
-   * commas and same non-terminal symbols definitions are these in import data's
-   * [InputConfig][google.cloud.automl.v1.InputConfig]:
-   *  *  For Image Classification:
-   *         CSV file(s) `image_classification_1.csv`,
-   *         `image_classification_2.csv`,...,`image_classification_N.csv`with
-   *         each line in format:
-   *         ML_USE,GCS_FILE_PATH,LABEL,LABEL,...
-   *         where GCS_FILE_PATHs point at the original, source locations of the
-   *         imported images.
-   *         For MULTICLASS classification type, there can be at most one LABEL
-   *         per example.
-   *  *  For Image Object Detection:
-   *         CSV file(s) `image_object_detection_1.csv`,
-   *         `image_object_detection_2.csv`,...,`image_object_detection_N.csv`
-   *         with each line in format:
-   *         ML_USE,GCS_FILE_PATH,[LABEL],(BOUNDING_BOX | ,,,,,,,)
-   *         where GCS_FILE_PATHs point at the original, source locations of the
-   *         imported images.
-   *  *  For Text Classification:
-   *         In the created directory CSV file(s) `text_classification_1.csv`,
-   *         `text_classification_2.csv`, ...,`text_classification_N.csv` will be
-   *         created where N depends on the total number of examples exported.
-   *         Each line in the CSV is of the format:
-   *         ML_USE,GCS_FILE_PATH,LABEL,LABEL,...
-   *         where GCS_FILE_PATHs point at the exported .txt files containing
-   *         the text content of the imported example. For MULTICLASS
-   *         classification type, there will be at most one LABEL per example.
-   *  *  For Text Sentiment:
-   *         In the created directory CSV file(s) `text_sentiment_1.csv`,
-   *         `text_sentiment_2.csv`, ...,`text_sentiment_N.csv` will be
-   *         created where N depends on the total number of examples exported.
-   *         Each line in the CSV is of the format:
-   *         ML_USE,GCS_FILE_PATH,SENTIMENT
-   *         where GCS_FILE_PATHs point at the exported .txt files containing
-   *         the text content of the imported example.
-   *  *  For Text Extraction:
-   *         CSV file `text_extraction.csv`, with each line in format:
-   *         ML_USE,GCS_FILE_PATH
-   *         GCS_FILE_PATH leads to a .JSONL (i.e. JSON Lines) file which
-   *         contains, per line, a proto that wraps a TextSnippet proto (in json
-   *         representation) followed by AnnotationPayload protos (called
-   *         annotations). If initially documents had been imported, the JSONL
-   *         will point at the original, source locations of the imported
-   *         documents.
-   *  *  For Translation:
+   * *  For Translation:
    *         CSV file `translation.csv`, with each line in format:
    *         ML_USE,GCS_FILE_PATH
    *         GCS_FILE_PATH leads to a .TSV file which describes examples that have
    *         given ML_USE, using the following row format per line:
    *         TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target
    *         language)
+   *   *  For Tables:
+   *         Output depends on whether the dataset was imported from Google Cloud
+   *         Storage or BigQuery.
+   *         Google Cloud Storage case:
+   * [gcs_destination][google.cloud.automl.v1p1beta.OutputConfig.gcs_destination]
+   *           must be set. Exported are CSV file(s) `tables_1.csv`,
+   *           `tables_2.csv`,...,`tables_N.csv` with each having as header line
+   *           the table's column names, and all other lines contain values for
+   *           the header columns.
+   *         BigQuery case:
+   * [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination]
+   *           pointing to a BigQuery project must be set. In the given project a
+   *           new dataset will be created with name
+   * `export_data_<automl-dataset-display-name>_<timestamp-of-export-call>`
+   *           where <automl-dataset-display-name> will be made
+   *           BigQuery-dataset-name compatible (e.g. most special characters will
+   *           become underscores), and timestamp will be in
+   *           YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In that
+   *           dataset a new table called `primary_table` will be created, and
+   *           filled with precisely the same data as this obtained on import.
    * 
* * Protobuf type {@code google.cloud.automl.v1.OutputConfig} @@ -720,9 +650,9 @@ public Builder clearDestination() { * * *
-     * Required. The Google Cloud Storage location where the output is to be
-     * written to. For Image Object Detection, Text Extraction in the given
-     * directory a new directory will be created with name:
+     * Required. The Google Cloud Storage location where the output is to be written to.
+     * For Image Object Detection, Text Extraction, Video Classification and
+     * Tables, in the given directory a new directory will be created with name:
      * export_data-<dataset-display-name>-<timestamp-of-export-call> where
      * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
      * output will be written into that directory.
@@ -741,9 +671,9 @@ public boolean hasGcsDestination() {
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the output is to be
-     * written to. For Image Object Detection, Text Extraction in the given
-     * directory a new directory will be created with name:
+     * Required. The Google Cloud Storage location where the output is to be written to.
+     * For Image Object Detection, Text Extraction, Video Classification and
+     * Tables, in the given directory a new directory will be created with name:
      * export_data-<dataset-display-name>-<timestamp-of-export-call> where
      * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
      * output will be written into that directory.
@@ -772,9 +702,9 @@ public com.google.cloud.automl.v1.GcsDestination getGcsDestination() {
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the output is to be
-     * written to. For Image Object Detection, Text Extraction in the given
-     * directory a new directory will be created with name:
+     * Required. The Google Cloud Storage location where the output is to be written to.
+     * For Image Object Detection, Text Extraction, Video Classification and
+     * Tables, in the given directory a new directory will be created with name:
      * export_data-<dataset-display-name>-<timestamp-of-export-call> where
      * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
      * output will be written into that directory.
@@ -801,9 +731,9 @@ public Builder setGcsDestination(com.google.cloud.automl.v1.GcsDestination value
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the output is to be
-     * written to. For Image Object Detection, Text Extraction in the given
-     * directory a new directory will be created with name:
+     * Required. The Google Cloud Storage location where the output is to be written to.
+     * For Image Object Detection, Text Extraction, Video Classification and
+     * Tables, in the given directory a new directory will be created with name:
      * export_data-<dataset-display-name>-<timestamp-of-export-call> where
      * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
      * output will be written into that directory.
@@ -828,9 +758,9 @@ public Builder setGcsDestination(
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the output is to be
-     * written to. For Image Object Detection, Text Extraction in the given
-     * directory a new directory will be created with name:
+     * Required. The Google Cloud Storage location where the output is to be written to.
+     * For Image Object Detection, Text Extraction, Video Classification and
+     * Tables, in the given directory a new directory will be created with name:
      * export_data-<dataset-display-name>-<timestamp-of-export-call> where
      * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
      * output will be written into that directory.
@@ -866,9 +796,9 @@ public Builder mergeGcsDestination(com.google.cloud.automl.v1.GcsDestination val
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the output is to be
-     * written to. For Image Object Detection, Text Extraction in the given
-     * directory a new directory will be created with name:
+     * Required. The Google Cloud Storage location where the output is to be written to.
+     * For Image Object Detection, Text Extraction, Video Classification and
+     * Tables, in the given directory a new directory will be created with name:
      * export_data-<dataset-display-name>-<timestamp-of-export-call> where
      * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
      * output will be written into that directory.
@@ -898,9 +828,9 @@ public Builder clearGcsDestination() {
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the output is to be
-     * written to. For Image Object Detection, Text Extraction in the given
-     * directory a new directory will be created with name:
+     * Required. The Google Cloud Storage location where the output is to be written to.
+     * For Image Object Detection, Text Extraction, Video Classification and
+     * Tables, in the given directory a new directory will be created with name:
      * export_data-<dataset-display-name>-<timestamp-of-export-call> where
      * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
      * output will be written into that directory.
@@ -917,9 +847,9 @@ public com.google.cloud.automl.v1.GcsDestination.Builder getGcsDestinationBuilde
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the output is to be
-     * written to. For Image Object Detection, Text Extraction in the given
-     * directory a new directory will be created with name:
+     * Required. The Google Cloud Storage location where the output is to be written to.
+     * For Image Object Detection, Text Extraction, Video Classification and
+     * Tables, in the given directory a new directory will be created with name:
      * export_data-<dataset-display-name>-<timestamp-of-export-call> where
      * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
      * output will be written into that directory.
@@ -943,9 +873,9 @@ public com.google.cloud.automl.v1.GcsDestinationOrBuilder getGcsDestinationOrBui
      *
      *
      * 
-     * Required. The Google Cloud Storage location where the output is to be
-     * written to. For Image Object Detection, Text Extraction in the given
-     * directory a new directory will be created with name:
+     * Required. The Google Cloud Storage location where the output is to be written to.
+     * For Image Object Detection, Text Extraction, Video Classification and
+     * Tables, in the given directory a new directory will be created with name:
      * export_data-<dataset-display-name>-<timestamp-of-export-call> where
      * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
      * output will be written into that directory.
diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/OutputConfigOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/OutputConfigOrBuilder.java
index 4df12a140..6d767e844 100644
--- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/OutputConfigOrBuilder.java
+++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/OutputConfigOrBuilder.java
@@ -27,9 +27,9 @@ public interface OutputConfigOrBuilder
    *
    *
    * 
-   * Required. The Google Cloud Storage location where the output is to be
-   * written to. For Image Object Detection, Text Extraction in the given
-   * directory a new directory will be created with name:
+   * Required. The Google Cloud Storage location where the output is to be written to.
+   * For Image Object Detection, Text Extraction, Video Classification and
+   * Tables, in the given directory a new directory will be created with name:
    * export_data-<dataset-display-name>-<timestamp-of-export-call> where
    * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
    * output will be written into that directory.
@@ -46,9 +46,9 @@ public interface OutputConfigOrBuilder
    *
    *
    * 
-   * Required. The Google Cloud Storage location where the output is to be
-   * written to. For Image Object Detection, Text Extraction in the given
-   * directory a new directory will be created with name:
+   * Required. The Google Cloud Storage location where the output is to be written to.
+   * For Image Object Detection, Text Extraction, Video Classification and
+   * Tables, in the given directory a new directory will be created with name:
    * export_data-<dataset-display-name>-<timestamp-of-export-call> where
    * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
    * output will be written into that directory.
@@ -65,9 +65,9 @@ public interface OutputConfigOrBuilder
    *
    *
    * 
-   * Required. The Google Cloud Storage location where the output is to be
-   * written to. For Image Object Detection, Text Extraction in the given
-   * directory a new directory will be created with name:
+   * Required. The Google Cloud Storage location where the output is to be written to.
+   * For Image Object Detection, Text Extraction, Video Classification and
+   * Tables, in the given directory a new directory will be created with name:
    * export_data-<dataset-display-name>-<timestamp-of-export-call> where
    * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export
    * output will be written into that directory.
diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictRequest.java
index f4a4833e5..d408ffdee 100644
--- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictRequest.java
+++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictRequest.java
@@ -22,8 +22,7 @@
  *
  *
  * 
- * Request message for
- * [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
+ * Request message for [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
  * 
* * Protobuf type {@code google.cloud.automl.v1.PredictRequest} @@ -159,10 +158,12 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *
-   * Name of the model requested to serve the prediction.
+   * Required. Name of the model requested to serve the prediction.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -181,10 +182,12 @@ public java.lang.String getName() { * * *
-   * Name of the model requested to serve the prediction.
+   * Required. Name of the model requested to serve the prediction.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -210,7 +213,9 @@ public com.google.protobuf.ByteString getNameBytes() { * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the payload field is set. */ @@ -225,7 +230,9 @@ public boolean hasPayload() { * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The payload. */ @@ -242,7 +249,9 @@ public com.google.cloud.automl.v1.ExamplePayload getPayload() { * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.ExamplePayloadOrBuilder getPayloadOrBuilder() { return getPayload(); @@ -279,17 +288,27 @@ public int getParamsCount() { *
    * Additional domain-specific parameters, any string must be up to 25000
    * characters long.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *     makes predictions for an image, it will only produce results that have
-   *     at least this confidence score. The default is 0.5.
-   *  *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be returned in the response. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that have
+   *   at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned. The default is 100. The
+   *   number of returned bounding boxes might be limited by the server.
+   * <h4>AutoML Tables</h4>
+   * `feature_importance`
+   * : (boolean) Whether
+   * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+   *   is populated in the returned list of
+   *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+   *   objects. The default is false.
    * 
* * map<string, string> params = 3; @@ -311,17 +330,27 @@ public java.util.Map getParams() { *
    * Additional domain-specific parameters, any string must be up to 25000
    * characters long.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *     makes predictions for an image, it will only produce results that have
-   *     at least this confidence score. The default is 0.5.
-   *  *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be returned in the response. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that have
+   *   at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned. The default is 100. The
+   *   number of returned bounding boxes might be limited by the server.
+   * <h4>AutoML Tables</h4>
+   * `feature_importance`
+   * : (boolean) Whether
+   * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+   *   is populated in the returned list of
+   *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+   *   objects. The default is false.
    * 
* * map<string, string> params = 3; @@ -335,17 +364,27 @@ public java.util.Map getParamsMap() { *
    * Additional domain-specific parameters, any string must be up to 25000
    * characters long.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *     makes predictions for an image, it will only produce results that have
-   *     at least this confidence score. The default is 0.5.
-   *  *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be returned in the response. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that have
+   *   at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned. The default is 100. The
+   *   number of returned bounding boxes might be limited by the server.
+   * <h4>AutoML Tables</h4>
+   * `feature_importance`
+   * : (boolean) Whether
+   * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+   *   is populated in the returned list of
+   *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+   *   objects. The default is false.
    * 
* * map<string, string> params = 3; @@ -363,17 +402,27 @@ public java.lang.String getParamsOrDefault(java.lang.String key, java.lang.Strin *
    * Additional domain-specific parameters, any string must be up to 25000
    * characters long.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *     makes predictions for an image, it will only produce results that have
-   *     at least this confidence score. The default is 0.5.
-   *  *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be returned in the response. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that have
+   *   at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned. The default is 100. The
+   *   number of returned bounding boxes might be limited by the server.
+   * <h4>AutoML Tables</h4>
+   * `feature_importance`
+   * : (boolean) Whether
+   * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+   *   is populated in the returned list of
+   *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+   *   objects. The default is false.
    * 
* * map<string, string> params = 3; @@ -583,8 +632,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
+   * Request message for [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
    * 
* * Protobuf type {@code google.cloud.automl.v1.PredictRequest} @@ -783,10 +831,12 @@ public Builder mergeFrom( * * *
-     * Name of the model requested to serve the prediction.
+     * Required. Name of the model requested to serve the prediction.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -805,10 +855,12 @@ public java.lang.String getName() { * * *
-     * Name of the model requested to serve the prediction.
+     * Required. Name of the model requested to serve the prediction.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -827,10 +879,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Name of the model requested to serve the prediction.
+     * Required. Name of the model requested to serve the prediction.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -848,10 +902,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Name of the model requested to serve the prediction.
+     * Required. Name of the model requested to serve the prediction.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -865,10 +921,12 @@ public Builder clearName() { * * *
-     * Name of the model requested to serve the prediction.
+     * Required. Name of the model requested to serve the prediction.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. @@ -898,7 +956,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the payload field is set. */ @@ -913,7 +973,9 @@ public boolean hasPayload() { * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The payload. */ @@ -934,7 +996,9 @@ public com.google.cloud.automl.v1.ExamplePayload getPayload() { * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPayload(com.google.cloud.automl.v1.ExamplePayload value) { if (payloadBuilder_ == null) { @@ -957,7 +1021,9 @@ public Builder setPayload(com.google.cloud.automl.v1.ExamplePayload value) { * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPayload(com.google.cloud.automl.v1.ExamplePayload.Builder builderForValue) { if (payloadBuilder_ == null) { @@ -977,7 +1043,9 @@ public Builder setPayload(com.google.cloud.automl.v1.ExamplePayload.Builder buil * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergePayload(com.google.cloud.automl.v1.ExamplePayload value) { if (payloadBuilder_ == null) { @@ -1004,7 +1072,9 @@ public Builder mergePayload(com.google.cloud.automl.v1.ExamplePayload value) { * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPayload() { if (payloadBuilder_ == null) { @@ -1025,7 +1095,9 @@ public Builder clearPayload() { * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.ExamplePayload.Builder getPayloadBuilder() { @@ -1040,7 +1112,9 @@ public com.google.cloud.automl.v1.ExamplePayload.Builder getPayloadBuilder() { * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.ExamplePayloadOrBuilder getPayloadOrBuilder() { if (payloadBuilder_ != null) { @@ -1059,7 +1133,9 @@ public com.google.cloud.automl.v1.ExamplePayloadOrBuilder getPayloadOrBuilder() * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1.ExamplePayload, @@ -1109,17 +1185,27 @@ public int getParamsCount() { *
      * Additional domain-specific parameters, any string must be up to 25000
      * characters long.
-     * *  For Image Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *     makes predictions for an image, it will only produce results that have
-     *     at least this confidence score. The default is 0.5.
-     *  *  For Image Object Detection:
-     *    `score_threshold` - (float) When Model detects objects on the image,
-     *        it will only produce bounding boxes which have at least this
-     *        confidence score. Value in 0 to 1 range, default is 0.5.
-     *    `max_bounding_box_count` - (int64) No more than this number of bounding
-     *        boxes will be returned in the response. Default is 100, the
-     *        requested value may be limited by server.
+     * <h4>AutoML Vision Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for an image, it will only produce results that have
+     *   at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on the image,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned. The default is 100. The
+     *   number of returned bounding boxes might be limited by the server.
+     * <h4>AutoML Tables</h4>
+     * `feature_importance`
+     * : (boolean) Whether
+     * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+     *   is populated in the returned list of
+     *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+     *   objects. The default is false.
      * 
* * map<string, string> params = 3; @@ -1141,17 +1227,27 @@ public java.util.Map getParams() { *
      * Additional domain-specific parameters, any string must be up to 25000
      * characters long.
-     * *  For Image Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *     makes predictions for an image, it will only produce results that have
-     *     at least this confidence score. The default is 0.5.
-     *  *  For Image Object Detection:
-     *    `score_threshold` - (float) When Model detects objects on the image,
-     *        it will only produce bounding boxes which have at least this
-     *        confidence score. Value in 0 to 1 range, default is 0.5.
-     *    `max_bounding_box_count` - (int64) No more than this number of bounding
-     *        boxes will be returned in the response. Default is 100, the
-     *        requested value may be limited by server.
+     * <h4>AutoML Vision Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for an image, it will only produce results that have
+     *   at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on the image,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned. The default is 100. The
+     *   number of returned bounding boxes might be limited by the server.
+     * <h4>AutoML Tables</h4>
+     * `feature_importance`
+     * : (boolean) Whether
+     * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+     *   is populated in the returned list of
+     *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+     *   objects. The default is false.
      * 
* * map<string, string> params = 3; @@ -1165,17 +1261,27 @@ public java.util.Map getParamsMap() { *
      * Additional domain-specific parameters, any string must be up to 25000
      * characters long.
-     * *  For Image Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *     makes predictions for an image, it will only produce results that have
-     *     at least this confidence score. The default is 0.5.
-     *  *  For Image Object Detection:
-     *    `score_threshold` - (float) When Model detects objects on the image,
-     *        it will only produce bounding boxes which have at least this
-     *        confidence score. Value in 0 to 1 range, default is 0.5.
-     *    `max_bounding_box_count` - (int64) No more than this number of bounding
-     *        boxes will be returned in the response. Default is 100, the
-     *        requested value may be limited by server.
+     * <h4>AutoML Vision Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for an image, it will only produce results that have
+     *   at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on the image,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned. The default is 100. The
+     *   number of returned bounding boxes might be limited by the server.
+     * <h4>AutoML Tables</h4>
+     * `feature_importance`
+     * : (boolean) Whether
+     * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+     *   is populated in the returned list of
+     *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+     *   objects. The default is false.
      * 
* * map<string, string> params = 3; @@ -1194,17 +1300,27 @@ public java.lang.String getParamsOrDefault( *
      * Additional domain-specific parameters, any string must be up to 25000
      * characters long.
-     * *  For Image Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *     makes predictions for an image, it will only produce results that have
-     *     at least this confidence score. The default is 0.5.
-     *  *  For Image Object Detection:
-     *    `score_threshold` - (float) When Model detects objects on the image,
-     *        it will only produce bounding boxes which have at least this
-     *        confidence score. Value in 0 to 1 range, default is 0.5.
-     *    `max_bounding_box_count` - (int64) No more than this number of bounding
-     *        boxes will be returned in the response. Default is 100, the
-     *        requested value may be limited by server.
+     * <h4>AutoML Vision Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for an image, it will only produce results that have
+     *   at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on the image,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned. The default is 100. The
+     *   number of returned bounding boxes might be limited by the server.
+     * <h4>AutoML Tables</h4>
+     * `feature_importance`
+     * : (boolean) Whether
+     * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+     *   is populated in the returned list of
+     *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+     *   objects. The default is false.
      * 
* * map<string, string> params = 3; @@ -1230,17 +1346,27 @@ public Builder clearParams() { *
      * Additional domain-specific parameters, any string must be up to 25000
      * characters long.
-     * *  For Image Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *     makes predictions for an image, it will only produce results that have
-     *     at least this confidence score. The default is 0.5.
-     *  *  For Image Object Detection:
-     *    `score_threshold` - (float) When Model detects objects on the image,
-     *        it will only produce bounding boxes which have at least this
-     *        confidence score. Value in 0 to 1 range, default is 0.5.
-     *    `max_bounding_box_count` - (int64) No more than this number of bounding
-     *        boxes will be returned in the response. Default is 100, the
-     *        requested value may be limited by server.
+     * <h4>AutoML Vision Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for an image, it will only produce results that have
+     *   at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on the image,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned. The default is 100. The
+     *   number of returned bounding boxes might be limited by the server.
+     * <h4>AutoML Tables</h4>
+     * `feature_importance`
+     * : (boolean) Whether
+     * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+     *   is populated in the returned list of
+     *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+     *   objects. The default is false.
      * 
* * map<string, string> params = 3; @@ -1263,17 +1389,27 @@ public java.util.Map getMutableParams() { *
      * Additional domain-specific parameters, any string must be up to 25000
      * characters long.
-     * *  For Image Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *     makes predictions for an image, it will only produce results that have
-     *     at least this confidence score. The default is 0.5.
-     *  *  For Image Object Detection:
-     *    `score_threshold` - (float) When Model detects objects on the image,
-     *        it will only produce bounding boxes which have at least this
-     *        confidence score. Value in 0 to 1 range, default is 0.5.
-     *    `max_bounding_box_count` - (int64) No more than this number of bounding
-     *        boxes will be returned in the response. Default is 100, the
-     *        requested value may be limited by server.
+     * <h4>AutoML Vision Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for an image, it will only produce results that have
+     *   at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on the image,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned. The default is 100. The
+     *   number of returned bounding boxes might be limited by the server.
+     * <h4>AutoML Tables</h4>
+     * `feature_importance`
+     * : (boolean) Whether
+     * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+     *   is populated in the returned list of
+     *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+     *   objects. The default is false.
      * 
* * map<string, string> params = 3; @@ -1294,17 +1430,27 @@ public Builder putParams(java.lang.String key, java.lang.String value) { *
      * Additional domain-specific parameters, any string must be up to 25000
      * characters long.
-     * *  For Image Classification:
-     *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-     *     makes predictions for an image, it will only produce results that have
-     *     at least this confidence score. The default is 0.5.
-     *  *  For Image Object Detection:
-     *    `score_threshold` - (float) When Model detects objects on the image,
-     *        it will only produce bounding boxes which have at least this
-     *        confidence score. Value in 0 to 1 range, default is 0.5.
-     *    `max_bounding_box_count` - (int64) No more than this number of bounding
-     *        boxes will be returned in the response. Default is 100, the
-     *        requested value may be limited by server.
+     * <h4>AutoML Vision Classification</h4>
+     * `score_threshold`
+     * : (float) A value from 0.0 to 1.0. When the model
+     *   makes predictions for an image, it will only produce results that have
+     *   at least this confidence score. The default is 0.5.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `score_threshold`
+     * : (float) When Model detects objects on the image,
+     *   it will only produce bounding boxes which have at least this
+     *   confidence score. Value in 0 to 1 range, default is 0.5.
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding
+     *   boxes returned. The default is 100. The
+     *   number of returned bounding boxes might be limited by the server.
+     * <h4>AutoML Tables</h4>
+     * `feature_importance`
+     * : (boolean) Whether
+     * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+     *   is populated in the returned list of
+     *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+     *   objects. The default is false.
      * 
* * map<string, string> params = 3; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictRequestOrBuilder.java index ee86b44c5..bdb885b57 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface PredictRequestOrBuilder * * *
-   * Name of the model requested to serve the prediction.
+   * Required. Name of the model requested to serve the prediction.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -39,10 +41,12 @@ public interface PredictRequestOrBuilder * * *
-   * Name of the model requested to serve the prediction.
+   * Required. Name of the model requested to serve the prediction.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -56,7 +60,9 @@ public interface PredictRequestOrBuilder * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the payload field is set. */ @@ -69,7 +75,9 @@ public interface PredictRequestOrBuilder * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The payload. */ @@ -82,7 +90,9 @@ public interface PredictRequestOrBuilder * problem type that the model was trained to solve. *
* - * .google.cloud.automl.v1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1.ExamplePayloadOrBuilder getPayloadOrBuilder(); @@ -92,17 +102,27 @@ public interface PredictRequestOrBuilder *
    * Additional domain-specific parameters, any string must be up to 25000
    * characters long.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *     makes predictions for an image, it will only produce results that have
-   *     at least this confidence score. The default is 0.5.
-   *  *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be returned in the response. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that have
+   *   at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned. The default is 100. The
+   *   number of returned bounding boxes might be limited by the server.
+   * <h4>AutoML Tables</h4>
+   * `feature_importance`
+   * : (boolean) Whether
+   * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+   *   is populated in the returned list of
+   *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+   *   objects. The default is false.
    * 
* * map<string, string> params = 3; @@ -114,17 +134,27 @@ public interface PredictRequestOrBuilder *
    * Additional domain-specific parameters, any string must be up to 25000
    * characters long.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *     makes predictions for an image, it will only produce results that have
-   *     at least this confidence score. The default is 0.5.
-   *  *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be returned in the response. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that have
+   *   at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned. The default is 100. The
+   *   number of returned bounding boxes might be limited by the server.
+   * <h4>AutoML Tables</h4>
+   * `feature_importance`
+   * : (boolean) Whether
+   * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+   *   is populated in the returned list of
+   *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+   *   objects. The default is false.
    * 
* * map<string, string> params = 3; @@ -139,17 +169,27 @@ public interface PredictRequestOrBuilder *
    * Additional domain-specific parameters, any string must be up to 25000
    * characters long.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *     makes predictions for an image, it will only produce results that have
-   *     at least this confidence score. The default is 0.5.
-   *  *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be returned in the response. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that have
+   *   at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned. The default is 100. The
+   *   number of returned bounding boxes might be limited by the server.
+   * <h4>AutoML Tables</h4>
+   * `feature_importance`
+   * : (boolean) Whether
+   * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+   *   is populated in the returned list of
+   *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+   *   objects. The default is false.
    * 
* * map<string, string> params = 3; @@ -161,17 +201,27 @@ public interface PredictRequestOrBuilder *
    * Additional domain-specific parameters, any string must be up to 25000
    * characters long.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *     makes predictions for an image, it will only produce results that have
-   *     at least this confidence score. The default is 0.5.
-   *  *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be returned in the response. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that have
+   *   at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned. The default is 100. The
+   *   number of returned bounding boxes might be limited by the server.
+   * <h4>AutoML Tables</h4>
+   * `feature_importance`
+   * : (boolean) Whether
+   * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+   *   is populated in the returned list of
+   *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+   *   objects. The default is false.
    * 
* * map<string, string> params = 3; @@ -183,17 +233,27 @@ public interface PredictRequestOrBuilder *
    * Additional domain-specific parameters, any string must be up to 25000
    * characters long.
-   * *  For Image Classification:
-   *    `score_threshold` - (float) A value from 0.0 to 1.0. When the model
-   *     makes predictions for an image, it will only produce results that have
-   *     at least this confidence score. The default is 0.5.
-   *  *  For Image Object Detection:
-   *    `score_threshold` - (float) When Model detects objects on the image,
-   *        it will only produce bounding boxes which have at least this
-   *        confidence score. Value in 0 to 1 range, default is 0.5.
-   *    `max_bounding_box_count` - (int64) No more than this number of bounding
-   *        boxes will be returned in the response. Default is 100, the
-   *        requested value may be limited by server.
+   * <h4>AutoML Vision Classification</h4>
+   * `score_threshold`
+   * : (float) A value from 0.0 to 1.0. When the model
+   *   makes predictions for an image, it will only produce results that have
+   *   at least this confidence score. The default is 0.5.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `score_threshold`
+   * : (float) When Model detects objects on the image,
+   *   it will only produce bounding boxes which have at least this
+   *   confidence score. Value in 0 to 1 range, default is 0.5.
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding
+   *   boxes returned. The default is 100. The
+   *   number of returned bounding boxes might be limited by the server.
+   * <h4>AutoML Tables</h4>
+   * `feature_importance`
+   * : (boolean) Whether
+   * [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance]
+   *   is populated in the returned list of
+   *   [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation]
+   *   objects. The default is false.
    * 
* * map<string, string> params = 3; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictResponse.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictResponse.java index cceb648f6..272f67ca7 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictResponse.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictResponse.java @@ -22,8 +22,7 @@ * * *
- * Response message for
- * [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
+ * Response message for [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
  * 
* * Protobuf type {@code google.cloud.automl.v1.PredictResponse} @@ -169,7 +168,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * *
    * Prediction result.
-   * Translation and Text Sentiment will return precisely one payload.
+   * AutoML Translation and AutoML Natural Language Sentiment Analysis
+   * return precisely one payload.
    * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -182,7 +182,8 @@ public java.util.List getPayloadLi * *
    * Prediction result.
-   * Translation and Text Sentiment will return precisely one payload.
+   * AutoML Translation and AutoML Natural Language Sentiment Analysis
+   * return precisely one payload.
    * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -196,7 +197,8 @@ public java.util.List getPayloadLi * *
    * Prediction result.
-   * Translation and Text Sentiment will return precisely one payload.
+   * AutoML Translation and AutoML Natural Language Sentiment Analysis
+   * return precisely one payload.
    * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -209,7 +211,8 @@ public int getPayloadCount() { * *
    * Prediction result.
-   * Translation and Text Sentiment will return precisely one payload.
+   * AutoML Translation and AutoML Natural Language Sentiment Analysis
+   * return precisely one payload.
    * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -222,7 +225,8 @@ public com.google.cloud.automl.v1.AnnotationPayload getPayload(int index) { * *
    * Prediction result.
-   * Translation and Text Sentiment will return precisely one payload.
+   * AutoML Translation and AutoML Natural Language Sentiment Analysis
+   * return precisely one payload.
    * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -239,15 +243,11 @@ public com.google.cloud.automl.v1.AnnotationPayloadOrBuilder getPayloadOrBuilder *
    * The preprocessed example that AutoML actually makes prediction on.
    * Empty if AutoML does not preprocess the input example.
-   * * For Text Extraction:
-   *   If the input is a .pdf file, the OCR'ed text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
-   * * For Text Classification:
-   *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
-   * * For Text Sentiment:
-   *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
+   * For AutoML Natural Language (Classification, Entity Extraction, and
+   * Sentiment Analysis), if the input is a document, the recognized text is
+   * returned in the
+   * [document_text][google.cloud.automl.v1.Document.document_text]
+   * property.
    * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -263,15 +263,11 @@ public boolean hasPreprocessedInput() { *
    * The preprocessed example that AutoML actually makes prediction on.
    * Empty if AutoML does not preprocess the input example.
-   * * For Text Extraction:
-   *   If the input is a .pdf file, the OCR'ed text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
-   * * For Text Classification:
-   *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
-   * * For Text Sentiment:
-   *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
+   * For AutoML Natural Language (Classification, Entity Extraction, and
+   * Sentiment Analysis), if the input is a document, the recognized text is
+   * returned in the
+   * [document_text][google.cloud.automl.v1.Document.document_text]
+   * property.
    * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -289,15 +285,11 @@ public com.google.cloud.automl.v1.ExamplePayload getPreprocessedInput() { *
    * The preprocessed example that AutoML actually makes prediction on.
    * Empty if AutoML does not preprocess the input example.
-   * * For Text Extraction:
-   *   If the input is a .pdf file, the OCR'ed text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
-   * * For Text Classification:
-   *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
-   * * For Text Sentiment:
-   *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
+   * For AutoML Natural Language (Classification, Entity Extraction, and
+   * Sentiment Analysis), if the input is a document, the recognized text is
+   * returned in the
+   * [document_text][google.cloud.automl.v1.Document.document_text]
+   * property.
    * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -336,18 +328,19 @@ public int getMetadataCount() { * *
    * Additional domain-specific prediction response metadata.
-   * * For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
-   * * For Text Sentiment:
-   *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-   *      -1 maps to least positive sentiment, while 1 maps to the most positive
-   *      one and the higher the score, the more positive the sentiment in the
-   *      document is. Yet these values are relative to the training data, so
-   *      e.g. if all data was positive then -1 will be also positive (though
-   *      the least).
-   *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-   *      from the previous Natural Language Sentiment Analysis API.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes to return per image.
+   * <h4>AutoML Natural Language Sentiment Analysis</h4>
+   * `sentiment_score`
+   * : (float, deprecated) A value between -1 and 1,
+   *   -1 maps to least positive sentiment, while 1 maps to the most positive
+   *   one and the higher the score, the more positive the sentiment in the
+   *   document is. Yet these values are relative to the training data, so
+   *   e.g. if all data was positive then -1 is also positive (though
+   *   the least).
+   *   `sentiment_score` is not the same as "score" and "magnitude"
+   *   from Sentiment Analysis in the Natural Language API.
    * 
* * map<string, string> metadata = 2; @@ -368,18 +361,19 @@ public java.util.Map getMetadata() { * *
    * Additional domain-specific prediction response metadata.
-   * * For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
-   * * For Text Sentiment:
-   *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-   *      -1 maps to least positive sentiment, while 1 maps to the most positive
-   *      one and the higher the score, the more positive the sentiment in the
-   *      document is. Yet these values are relative to the training data, so
-   *      e.g. if all data was positive then -1 will be also positive (though
-   *      the least).
-   *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-   *      from the previous Natural Language Sentiment Analysis API.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes to return per image.
+   * <h4>AutoML Natural Language Sentiment Analysis</h4>
+   * `sentiment_score`
+   * : (float, deprecated) A value between -1 and 1,
+   *   -1 maps to least positive sentiment, while 1 maps to the most positive
+   *   one and the higher the score, the more positive the sentiment in the
+   *   document is. Yet these values are relative to the training data, so
+   *   e.g. if all data was positive then -1 is also positive (though
+   *   the least).
+   *   `sentiment_score` is not the same as "score" and "magnitude"
+   *   from Sentiment Analysis in the Natural Language API.
    * 
* * map<string, string> metadata = 2; @@ -392,18 +386,19 @@ public java.util.Map getMetadataMap() { * *
    * Additional domain-specific prediction response metadata.
-   * * For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
-   * * For Text Sentiment:
-   *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-   *      -1 maps to least positive sentiment, while 1 maps to the most positive
-   *      one and the higher the score, the more positive the sentiment in the
-   *      document is. Yet these values are relative to the training data, so
-   *      e.g. if all data was positive then -1 will be also positive (though
-   *      the least).
-   *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-   *      from the previous Natural Language Sentiment Analysis API.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes to return per image.
+   * <h4>AutoML Natural Language Sentiment Analysis</h4>
+   * `sentiment_score`
+   * : (float, deprecated) A value between -1 and 1,
+   *   -1 maps to least positive sentiment, while 1 maps to the most positive
+   *   one and the higher the score, the more positive the sentiment in the
+   *   document is. Yet these values are relative to the training data, so
+   *   e.g. if all data was positive then -1 is also positive (though
+   *   the least).
+   *   `sentiment_score` is not the same as "score" and "magnitude"
+   *   from Sentiment Analysis in the Natural Language API.
    * 
* * map<string, string> metadata = 2; @@ -421,18 +416,19 @@ public java.lang.String getMetadataOrDefault( * *
    * Additional domain-specific prediction response metadata.
-   * * For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
-   * * For Text Sentiment:
-   *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-   *      -1 maps to least positive sentiment, while 1 maps to the most positive
-   *      one and the higher the score, the more positive the sentiment in the
-   *      document is. Yet these values are relative to the training data, so
-   *      e.g. if all data was positive then -1 will be also positive (though
-   *      the least).
-   *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-   *      from the previous Natural Language Sentiment Analysis API.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes to return per image.
+   * <h4>AutoML Natural Language Sentiment Analysis</h4>
+   * `sentiment_score`
+   * : (float, deprecated) A value between -1 and 1,
+   *   -1 maps to least positive sentiment, while 1 maps to the most positive
+   *   one and the higher the score, the more positive the sentiment in the
+   *   document is. Yet these values are relative to the training data, so
+   *   e.g. if all data was positive then -1 is also positive (though
+   *   the least).
+   *   `sentiment_score` is not the same as "score" and "magnitude"
+   *   from Sentiment Analysis in the Natural Language API.
    * 
* * map<string, string> metadata = 2; @@ -644,8 +640,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for
-   * [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
+   * Response message for [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict].
    * 
* * Protobuf type {@code google.cloud.automl.v1.PredictResponse} @@ -897,7 +892,8 @@ private void ensurePayloadIsMutable() { * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -914,7 +910,8 @@ public java.util.List getPayloadLi * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -931,7 +928,8 @@ public int getPayloadCount() { * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -948,7 +946,8 @@ public com.google.cloud.automl.v1.AnnotationPayload getPayload(int index) { * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -971,7 +970,8 @@ public Builder setPayload(int index, com.google.cloud.automl.v1.AnnotationPayloa * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -992,7 +992,8 @@ public Builder setPayload( * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -1015,7 +1016,8 @@ public Builder addPayload(com.google.cloud.automl.v1.AnnotationPayload value) { * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -1038,7 +1040,8 @@ public Builder addPayload(int index, com.google.cloud.automl.v1.AnnotationPayloa * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -1059,7 +1062,8 @@ public Builder addPayload( * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -1080,7 +1084,8 @@ public Builder addPayload( * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -1101,7 +1106,8 @@ public Builder addAllPayload( * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -1121,7 +1127,8 @@ public Builder clearPayload() { * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -1141,7 +1148,8 @@ public Builder removePayload(int index) { * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -1154,7 +1162,8 @@ public com.google.cloud.automl.v1.AnnotationPayload.Builder getPayloadBuilder(in * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -1171,7 +1180,8 @@ public com.google.cloud.automl.v1.AnnotationPayloadOrBuilder getPayloadOrBuilder * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -1189,7 +1199,8 @@ public com.google.cloud.automl.v1.AnnotationPayloadOrBuilder getPayloadOrBuilder * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -1203,7 +1214,8 @@ public com.google.cloud.automl.v1.AnnotationPayload.Builder addPayloadBuilder() * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -1217,7 +1229,8 @@ public com.google.cloud.automl.v1.AnnotationPayload.Builder addPayloadBuilder(in * *
      * Prediction result.
-     * Translation and Text Sentiment will return precisely one payload.
+     * AutoML Translation and AutoML Natural Language Sentiment Analysis
+     * return precisely one payload.
      * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -1256,15 +1269,11 @@ public com.google.cloud.automl.v1.AnnotationPayload.Builder addPayloadBuilder(in *
      * The preprocessed example that AutoML actually makes prediction on.
      * Empty if AutoML does not preprocess the input example.
-     * * For Text Extraction:
-     *   If the input is a .pdf file, the OCR'ed text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Classification:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Sentiment:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
+     * For AutoML Natural Language (Classification, Entity Extraction, and
+     * Sentiment Analysis), if the input is a document, the recognized text is
+     * returned in the
+     * [document_text][google.cloud.automl.v1.Document.document_text]
+     * property.
      * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -1280,15 +1289,11 @@ public boolean hasPreprocessedInput() { *
      * The preprocessed example that AutoML actually makes prediction on.
      * Empty if AutoML does not preprocess the input example.
-     * * For Text Extraction:
-     *   If the input is a .pdf file, the OCR'ed text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Classification:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Sentiment:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
+     * For AutoML Natural Language (Classification, Entity Extraction, and
+     * Sentiment Analysis), if the input is a document, the recognized text is
+     * returned in the
+     * [document_text][google.cloud.automl.v1.Document.document_text]
+     * property.
      * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -1310,15 +1315,11 @@ public com.google.cloud.automl.v1.ExamplePayload getPreprocessedInput() { *
      * The preprocessed example that AutoML actually makes prediction on.
      * Empty if AutoML does not preprocess the input example.
-     * * For Text Extraction:
-     *   If the input is a .pdf file, the OCR'ed text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Classification:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Sentiment:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
+     * For AutoML Natural Language (Classification, Entity Extraction, and
+     * Sentiment Analysis), if the input is a document, the recognized text is
+     * returned in the
+     * [document_text][google.cloud.automl.v1.Document.document_text]
+     * property.
      * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -1342,15 +1343,11 @@ public Builder setPreprocessedInput(com.google.cloud.automl.v1.ExamplePayload va *
      * The preprocessed example that AutoML actually makes prediction on.
      * Empty if AutoML does not preprocess the input example.
-     * * For Text Extraction:
-     *   If the input is a .pdf file, the OCR'ed text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Classification:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Sentiment:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
+     * For AutoML Natural Language (Classification, Entity Extraction, and
+     * Sentiment Analysis), if the input is a document, the recognized text is
+     * returned in the
+     * [document_text][google.cloud.automl.v1.Document.document_text]
+     * property.
      * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -1372,15 +1369,11 @@ public Builder setPreprocessedInput( *
      * The preprocessed example that AutoML actually makes prediction on.
      * Empty if AutoML does not preprocess the input example.
-     * * For Text Extraction:
-     *   If the input is a .pdf file, the OCR'ed text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Classification:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Sentiment:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
+     * For AutoML Natural Language (Classification, Entity Extraction, and
+     * Sentiment Analysis), if the input is a document, the recognized text is
+     * returned in the
+     * [document_text][google.cloud.automl.v1.Document.document_text]
+     * property.
      * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -1408,15 +1401,11 @@ public Builder mergePreprocessedInput(com.google.cloud.automl.v1.ExamplePayload *
      * The preprocessed example that AutoML actually makes prediction on.
      * Empty if AutoML does not preprocess the input example.
-     * * For Text Extraction:
-     *   If the input is a .pdf file, the OCR'ed text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Classification:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Sentiment:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
+     * For AutoML Natural Language (Classification, Entity Extraction, and
+     * Sentiment Analysis), if the input is a document, the recognized text is
+     * returned in the
+     * [document_text][google.cloud.automl.v1.Document.document_text]
+     * property.
      * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -1438,15 +1427,11 @@ public Builder clearPreprocessedInput() { *
      * The preprocessed example that AutoML actually makes prediction on.
      * Empty if AutoML does not preprocess the input example.
-     * * For Text Extraction:
-     *   If the input is a .pdf file, the OCR'ed text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Classification:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Sentiment:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
+     * For AutoML Natural Language (Classification, Entity Extraction, and
+     * Sentiment Analysis), if the input is a document, the recognized text is
+     * returned in the
+     * [document_text][google.cloud.automl.v1.Document.document_text]
+     * property.
      * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -1462,15 +1447,11 @@ public com.google.cloud.automl.v1.ExamplePayload.Builder getPreprocessedInputBui *
      * The preprocessed example that AutoML actually makes prediction on.
      * Empty if AutoML does not preprocess the input example.
-     * * For Text Extraction:
-     *   If the input is a .pdf file, the OCR'ed text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Classification:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Sentiment:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
+     * For AutoML Natural Language (Classification, Entity Extraction, and
+     * Sentiment Analysis), if the input is a document, the recognized text is
+     * returned in the
+     * [document_text][google.cloud.automl.v1.Document.document_text]
+     * property.
      * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -1490,15 +1471,11 @@ public com.google.cloud.automl.v1.ExamplePayloadOrBuilder getPreprocessedInputOr *
      * The preprocessed example that AutoML actually makes prediction on.
      * Empty if AutoML does not preprocess the input example.
-     * * For Text Extraction:
-     *   If the input is a .pdf file, the OCR'ed text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Classification:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
-     * * For Text Sentiment:
-     *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-     *   [document_text][google.cloud.automl.v1.Document.document_text].
+     * For AutoML Natural Language (Classification, Entity Extraction, and
+     * Sentiment Analysis), if the input is a document, the recognized text is
+     * returned in the
+     * [document_text][google.cloud.automl.v1.Document.document_text]
+     * property.
      * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -1551,18 +1528,19 @@ public int getMetadataCount() { * *
      * Additional domain-specific prediction response metadata.
-     * * For Image Object Detection:
-     *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-     *      image could have been returned.
-     * * For Text Sentiment:
-     *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-     *      -1 maps to least positive sentiment, while 1 maps to the most positive
-     *      one and the higher the score, the more positive the sentiment in the
-     *      document is. Yet these values are relative to the training data, so
-     *      e.g. if all data was positive then -1 will be also positive (though
-     *      the least).
-     *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-     *      from the previous Natural Language Sentiment Analysis API.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes to return per image.
+     * <h4>AutoML Natural Language Sentiment Analysis</h4>
+     * `sentiment_score`
+     * : (float, deprecated) A value between -1 and 1,
+     *   -1 maps to least positive sentiment, while 1 maps to the most positive
+     *   one and the higher the score, the more positive the sentiment in the
+     *   document is. Yet these values are relative to the training data, so
+     *   e.g. if all data was positive then -1 is also positive (though
+     *   the least).
+     *   `sentiment_score` is not the same as "score" and "magnitude"
+     *   from Sentiment Analysis in the Natural Language API.
      * 
* * map<string, string> metadata = 2; @@ -1583,18 +1561,19 @@ public java.util.Map getMetadata() { * *
      * Additional domain-specific prediction response metadata.
-     * * For Image Object Detection:
-     *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-     *      image could have been returned.
-     * * For Text Sentiment:
-     *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-     *      -1 maps to least positive sentiment, while 1 maps to the most positive
-     *      one and the higher the score, the more positive the sentiment in the
-     *      document is. Yet these values are relative to the training data, so
-     *      e.g. if all data was positive then -1 will be also positive (though
-     *      the least).
-     *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-     *      from the previous Natural Language Sentiment Analysis API.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes to return per image.
+     * <h4>AutoML Natural Language Sentiment Analysis</h4>
+     * `sentiment_score`
+     * : (float, deprecated) A value between -1 and 1,
+     *   -1 maps to least positive sentiment, while 1 maps to the most positive
+     *   one and the higher the score, the more positive the sentiment in the
+     *   document is. Yet these values are relative to the training data, so
+     *   e.g. if all data was positive then -1 is also positive (though
+     *   the least).
+     *   `sentiment_score` is not the same as "score" and "magnitude"
+     *   from Sentiment Analysis in the Natural Language API.
      * 
* * map<string, string> metadata = 2; @@ -1607,18 +1586,19 @@ public java.util.Map getMetadataMap() { * *
      * Additional domain-specific prediction response metadata.
-     * * For Image Object Detection:
-     *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-     *      image could have been returned.
-     * * For Text Sentiment:
-     *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-     *      -1 maps to least positive sentiment, while 1 maps to the most positive
-     *      one and the higher the score, the more positive the sentiment in the
-     *      document is. Yet these values are relative to the training data, so
-     *      e.g. if all data was positive then -1 will be also positive (though
-     *      the least).
-     *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-     *      from the previous Natural Language Sentiment Analysis API.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes to return per image.
+     * <h4>AutoML Natural Language Sentiment Analysis</h4>
+     * `sentiment_score`
+     * : (float, deprecated) A value between -1 and 1,
+     *   -1 maps to least positive sentiment, while 1 maps to the most positive
+     *   one and the higher the score, the more positive the sentiment in the
+     *   document is. Yet these values are relative to the training data, so
+     *   e.g. if all data was positive then -1 is also positive (though
+     *   the least).
+     *   `sentiment_score` is not the same as "score" and "magnitude"
+     *   from Sentiment Analysis in the Natural Language API.
      * 
* * map<string, string> metadata = 2; @@ -1636,18 +1616,19 @@ public java.lang.String getMetadataOrDefault( * *
      * Additional domain-specific prediction response metadata.
-     * * For Image Object Detection:
-     *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-     *      image could have been returned.
-     * * For Text Sentiment:
-     *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-     *      -1 maps to least positive sentiment, while 1 maps to the most positive
-     *      one and the higher the score, the more positive the sentiment in the
-     *      document is. Yet these values are relative to the training data, so
-     *      e.g. if all data was positive then -1 will be also positive (though
-     *      the least).
-     *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-     *      from the previous Natural Language Sentiment Analysis API.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes to return per image.
+     * <h4>AutoML Natural Language Sentiment Analysis</h4>
+     * `sentiment_score`
+     * : (float, deprecated) A value between -1 and 1,
+     *   -1 maps to least positive sentiment, while 1 maps to the most positive
+     *   one and the higher the score, the more positive the sentiment in the
+     *   document is. Yet these values are relative to the training data, so
+     *   e.g. if all data was positive then -1 is also positive (though
+     *   the least).
+     *   `sentiment_score` is not the same as "score" and "magnitude"
+     *   from Sentiment Analysis in the Natural Language API.
      * 
* * map<string, string> metadata = 2; @@ -1672,18 +1653,19 @@ public Builder clearMetadata() { * *
      * Additional domain-specific prediction response metadata.
-     * * For Image Object Detection:
-     *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-     *      image could have been returned.
-     * * For Text Sentiment:
-     *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-     *      -1 maps to least positive sentiment, while 1 maps to the most positive
-     *      one and the higher the score, the more positive the sentiment in the
-     *      document is. Yet these values are relative to the training data, so
-     *      e.g. if all data was positive then -1 will be also positive (though
-     *      the least).
-     *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-     *      from the previous Natural Language Sentiment Analysis API.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes to return per image.
+     * <h4>AutoML Natural Language Sentiment Analysis</h4>
+     * `sentiment_score`
+     * : (float, deprecated) A value between -1 and 1,
+     *   -1 maps to least positive sentiment, while 1 maps to the most positive
+     *   one and the higher the score, the more positive the sentiment in the
+     *   document is. Yet these values are relative to the training data, so
+     *   e.g. if all data was positive then -1 is also positive (though
+     *   the least).
+     *   `sentiment_score` is not the same as "score" and "magnitude"
+     *   from Sentiment Analysis in the Natural Language API.
      * 
* * map<string, string> metadata = 2; @@ -1705,18 +1687,19 @@ public java.util.Map getMutableMetadata() { * *
      * Additional domain-specific prediction response metadata.
-     * * For Image Object Detection:
-     *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-     *      image could have been returned.
-     * * For Text Sentiment:
-     *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-     *      -1 maps to least positive sentiment, while 1 maps to the most positive
-     *      one and the higher the score, the more positive the sentiment in the
-     *      document is. Yet these values are relative to the training data, so
-     *      e.g. if all data was positive then -1 will be also positive (though
-     *      the least).
-     *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-     *      from the previous Natural Language Sentiment Analysis API.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes to return per image.
+     * <h4>AutoML Natural Language Sentiment Analysis</h4>
+     * `sentiment_score`
+     * : (float, deprecated) A value between -1 and 1,
+     *   -1 maps to least positive sentiment, while 1 maps to the most positive
+     *   one and the higher the score, the more positive the sentiment in the
+     *   document is. Yet these values are relative to the training data, so
+     *   e.g. if all data was positive then -1 is also positive (though
+     *   the least).
+     *   `sentiment_score` is not the same as "score" and "magnitude"
+     *   from Sentiment Analysis in the Natural Language API.
      * 
* * map<string, string> metadata = 2; @@ -1736,18 +1719,19 @@ public Builder putMetadata(java.lang.String key, java.lang.String value) { * *
      * Additional domain-specific prediction response metadata.
-     * * For Image Object Detection:
-     *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-     *      image could have been returned.
-     * * For Text Sentiment:
-     *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-     *      -1 maps to least positive sentiment, while 1 maps to the most positive
-     *      one and the higher the score, the more positive the sentiment in the
-     *      document is. Yet these values are relative to the training data, so
-     *      e.g. if all data was positive then -1 will be also positive (though
-     *      the least).
-     *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-     *      from the previous Natural Language Sentiment Analysis API.
+     * <h4>AutoML Vision Object Detection</h4>
+     * `max_bounding_box_count`
+     * : (int64) The maximum number of bounding boxes to return per image.
+     * <h4>AutoML Natural Language Sentiment Analysis</h4>
+     * `sentiment_score`
+     * : (float, deprecated) A value between -1 and 1,
+     *   -1 maps to least positive sentiment, while 1 maps to the most positive
+     *   one and the higher the score, the more positive the sentiment in the
+     *   document is. Yet these values are relative to the training data, so
+     *   e.g. if all data was positive then -1 is also positive (though
+     *   the least).
+     *   `sentiment_score` is not the same as "score" and "magnitude"
+     *   from Sentiment Analysis in the Natural Language API.
      * 
* * map<string, string> metadata = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictResponseOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictResponseOrBuilder.java index efa822483..303eab508 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictResponseOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictResponseOrBuilder.java @@ -28,7 +28,8 @@ public interface PredictResponseOrBuilder * *
    * Prediction result.
-   * Translation and Text Sentiment will return precisely one payload.
+   * AutoML Translation and AutoML Natural Language Sentiment Analysis
+   * return precisely one payload.
    * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -39,7 +40,8 @@ public interface PredictResponseOrBuilder * *
    * Prediction result.
-   * Translation and Text Sentiment will return precisely one payload.
+   * AutoML Translation and AutoML Natural Language Sentiment Analysis
+   * return precisely one payload.
    * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -50,7 +52,8 @@ public interface PredictResponseOrBuilder * *
    * Prediction result.
-   * Translation and Text Sentiment will return precisely one payload.
+   * AutoML Translation and AutoML Natural Language Sentiment Analysis
+   * return precisely one payload.
    * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -61,7 +64,8 @@ public interface PredictResponseOrBuilder * *
    * Prediction result.
-   * Translation and Text Sentiment will return precisely one payload.
+   * AutoML Translation and AutoML Natural Language Sentiment Analysis
+   * return precisely one payload.
    * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -73,7 +77,8 @@ public interface PredictResponseOrBuilder * *
    * Prediction result.
-   * Translation and Text Sentiment will return precisely one payload.
+   * AutoML Translation and AutoML Natural Language Sentiment Analysis
+   * return precisely one payload.
    * 
* * repeated .google.cloud.automl.v1.AnnotationPayload payload = 1; @@ -86,15 +91,11 @@ public interface PredictResponseOrBuilder *
    * The preprocessed example that AutoML actually makes prediction on.
    * Empty if AutoML does not preprocess the input example.
-   * * For Text Extraction:
-   *   If the input is a .pdf file, the OCR'ed text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
-   * * For Text Classification:
-   *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
-   * * For Text Sentiment:
-   *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
+   * For AutoML Natural Language (Classification, Entity Extraction, and
+   * Sentiment Analysis), if the input is a document, the recognized text is
+   * returned in the
+   * [document_text][google.cloud.automl.v1.Document.document_text]
+   * property.
    * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -108,15 +109,11 @@ public interface PredictResponseOrBuilder *
    * The preprocessed example that AutoML actually makes prediction on.
    * Empty if AutoML does not preprocess the input example.
-   * * For Text Extraction:
-   *   If the input is a .pdf file, the OCR'ed text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
-   * * For Text Classification:
-   *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
-   * * For Text Sentiment:
-   *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
+   * For AutoML Natural Language (Classification, Entity Extraction, and
+   * Sentiment Analysis), if the input is a document, the recognized text is
+   * returned in the
+   * [document_text][google.cloud.automl.v1.Document.document_text]
+   * property.
    * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -130,15 +127,11 @@ public interface PredictResponseOrBuilder *
    * The preprocessed example that AutoML actually makes prediction on.
    * Empty if AutoML does not preprocess the input example.
-   * * For Text Extraction:
-   *   If the input is a .pdf file, the OCR'ed text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
-   * * For Text Classification:
-   *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
-   * * For Text Sentiment:
-   *   If the input is a .pdf file, the OCR'ed trucated text will be provided in
-   *   [document_text][google.cloud.automl.v1.Document.document_text].
+   * For AutoML Natural Language (Classification, Entity Extraction, and
+   * Sentiment Analysis), if the input is a document, the recognized text is
+   * returned in the
+   * [document_text][google.cloud.automl.v1.Document.document_text]
+   * property.
    * 
* * .google.cloud.automl.v1.ExamplePayload preprocessed_input = 3; @@ -150,18 +143,19 @@ public interface PredictResponseOrBuilder * *
    * Additional domain-specific prediction response metadata.
-   * * For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
-   * * For Text Sentiment:
-   *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-   *      -1 maps to least positive sentiment, while 1 maps to the most positive
-   *      one and the higher the score, the more positive the sentiment in the
-   *      document is. Yet these values are relative to the training data, so
-   *      e.g. if all data was positive then -1 will be also positive (though
-   *      the least).
-   *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-   *      from the previous Natural Language Sentiment Analysis API.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes to return per image.
+   * <h4>AutoML Natural Language Sentiment Analysis</h4>
+   * `sentiment_score`
+   * : (float, deprecated) A value between -1 and 1,
+   *   -1 maps to least positive sentiment, while 1 maps to the most positive
+   *   one and the higher the score, the more positive the sentiment in the
+   *   document is. Yet these values are relative to the training data, so
+   *   e.g. if all data was positive then -1 is also positive (though
+   *   the least).
+   *   `sentiment_score` is not the same as "score" and "magnitude"
+   *   from Sentiment Analysis in the Natural Language API.
    * 
* * map<string, string> metadata = 2; @@ -172,18 +166,19 @@ public interface PredictResponseOrBuilder * *
    * Additional domain-specific prediction response metadata.
-   * * For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
-   * * For Text Sentiment:
-   *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-   *      -1 maps to least positive sentiment, while 1 maps to the most positive
-   *      one and the higher the score, the more positive the sentiment in the
-   *      document is. Yet these values are relative to the training data, so
-   *      e.g. if all data was positive then -1 will be also positive (though
-   *      the least).
-   *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-   *      from the previous Natural Language Sentiment Analysis API.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes to return per image.
+   * <h4>AutoML Natural Language Sentiment Analysis</h4>
+   * `sentiment_score`
+   * : (float, deprecated) A value between -1 and 1,
+   *   -1 maps to least positive sentiment, while 1 maps to the most positive
+   *   one and the higher the score, the more positive the sentiment in the
+   *   document is. Yet these values are relative to the training data, so
+   *   e.g. if all data was positive then -1 is also positive (though
+   *   the least).
+   *   `sentiment_score` is not the same as "score" and "magnitude"
+   *   from Sentiment Analysis in the Natural Language API.
    * 
* * map<string, string> metadata = 2; @@ -197,18 +192,19 @@ public interface PredictResponseOrBuilder * *
    * Additional domain-specific prediction response metadata.
-   * * For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
-   * * For Text Sentiment:
-   *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-   *      -1 maps to least positive sentiment, while 1 maps to the most positive
-   *      one and the higher the score, the more positive the sentiment in the
-   *      document is. Yet these values are relative to the training data, so
-   *      e.g. if all data was positive then -1 will be also positive (though
-   *      the least).
-   *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-   *      from the previous Natural Language Sentiment Analysis API.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes to return per image.
+   * <h4>AutoML Natural Language Sentiment Analysis</h4>
+   * `sentiment_score`
+   * : (float, deprecated) A value between -1 and 1,
+   *   -1 maps to least positive sentiment, while 1 maps to the most positive
+   *   one and the higher the score, the more positive the sentiment in the
+   *   document is. Yet these values are relative to the training data, so
+   *   e.g. if all data was positive then -1 is also positive (though
+   *   the least).
+   *   `sentiment_score` is not the same as "score" and "magnitude"
+   *   from Sentiment Analysis in the Natural Language API.
    * 
* * map<string, string> metadata = 2; @@ -219,18 +215,19 @@ public interface PredictResponseOrBuilder * *
    * Additional domain-specific prediction response metadata.
-   * * For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
-   * * For Text Sentiment:
-   *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-   *      -1 maps to least positive sentiment, while 1 maps to the most positive
-   *      one and the higher the score, the more positive the sentiment in the
-   *      document is. Yet these values are relative to the training data, so
-   *      e.g. if all data was positive then -1 will be also positive (though
-   *      the least).
-   *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-   *      from the previous Natural Language Sentiment Analysis API.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes to return per image.
+   * <h4>AutoML Natural Language Sentiment Analysis</h4>
+   * `sentiment_score`
+   * : (float, deprecated) A value between -1 and 1,
+   *   -1 maps to least positive sentiment, while 1 maps to the most positive
+   *   one and the higher the score, the more positive the sentiment in the
+   *   document is. Yet these values are relative to the training data, so
+   *   e.g. if all data was positive then -1 is also positive (though
+   *   the least).
+   *   `sentiment_score` is not the same as "score" and "magnitude"
+   *   from Sentiment Analysis in the Natural Language API.
    * 
* * map<string, string> metadata = 2; @@ -241,18 +238,19 @@ public interface PredictResponseOrBuilder * *
    * Additional domain-specific prediction response metadata.
-   * * For Image Object Detection:
-   *  `max_bounding_box_count` - (int64) At most that many bounding boxes per
-   *      image could have been returned.
-   * * For Text Sentiment:
-   *  `sentiment_score` - (float, deprecated) A value between -1 and 1,
-   *      -1 maps to least positive sentiment, while 1 maps to the most positive
-   *      one and the higher the score, the more positive the sentiment in the
-   *      document is. Yet these values are relative to the training data, so
-   *      e.g. if all data was positive then -1 will be also positive (though
-   *      the least).
-   *      The sentiment_score shouldn't be confused with "score" or "magnitude"
-   *      from the previous Natural Language Sentiment Analysis API.
+   * <h4>AutoML Vision Object Detection</h4>
+   * `max_bounding_box_count`
+   * : (int64) The maximum number of bounding boxes to return per image.
+   * <h4>AutoML Natural Language Sentiment Analysis</h4>
+   * `sentiment_score`
+   * : (float, deprecated) A value between -1 and 1,
+   *   -1 maps to least positive sentiment, while 1 maps to the most positive
+   *   one and the higher the score, the more positive the sentiment in the
+   *   document is. Yet these values are relative to the training data, so
+   *   e.g. if all data was positive then -1 is also positive (though
+   *   the least).
+   *   `sentiment_score` is not the same as "score" and "magnitude"
+   *   from Sentiment Analysis in the Natural Language API.
    * 
* * map<string, string> metadata = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictionServiceProto.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictionServiceProto.java index 684f8ec10..7cd19ff91 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictionServiceProto.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/PredictionServiceProto.java @@ -71,51 +71,57 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n/google/cloud/automl/v1/prediction_serv" + "ice.proto\022\026google.cloud.automl.v1\032\034googl" + "e/api/annotations.proto\032\027google/api/clie" - + "nt.proto\032\031google/api/resource.proto\032/goo" - + "gle/cloud/automl/v1/annotation_payload.p" - + "roto\032\'google/cloud/automl/v1/data_items." - + "proto\032\037google/cloud/automl/v1/io.proto\032\'" - + "google/cloud/automl/v1/operations.proto\032" - + "#google/longrunning/operations.proto\"\312\001\n" - + "\016PredictRequest\022\014\n\004name\030\001 \001(\t\0227\n\007payload" - + "\030\002 \001(\0132&.google.cloud.automl.v1.ExampleP" - + "ayload\022B\n\006params\030\003 \003(\01322.google.cloud.au" - + "toml.v1.PredictRequest.ParamsEntry\032-\n\013Pa" - + "ramsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - + "\001\"\213\002\n\017PredictResponse\022:\n\007payload\030\001 \003(\0132)" - + ".google.cloud.automl.v1.AnnotationPayloa" - + "d\022B\n\022preprocessed_input\030\003 \001(\0132&.google.c" - + "loud.automl.v1.ExamplePayload\022G\n\010metadat" - + "a\030\002 \003(\01325.google.cloud.automl.v1.Predict" - + "Response.MetadataEntry\032/\n\rMetadataEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\253\002\n\023Batc" - + "hPredictRequest\022\014\n\004name\030\001 \001(\t\022E\n\014input_c" - + "onfig\030\003 \001(\0132/.google.cloud.automl.v1.Bat" - + "chPredictInputConfig\022G\n\routput_config\030\004 " - + "\001(\01320.google.cloud.automl.v1.BatchPredic" - + "tOutputConfig\022G\n\006params\030\005 \003(\01327.google.c" - + "loud.automl.v1.BatchPredictRequest.Param" - + "sEntry\032-\n\013ParamsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va" - + "lue\030\002 \001(\t:\0028\001\"\221\001\n\022BatchPredictResult\022J\n\010" - + "metadata\030\001 \003(\01328.google.cloud.automl.v1." - + "BatchPredictResult.MetadataEntry\032/\n\rMeta" - + "dataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" - + "\0012\233\003\n\021PredictionService\022\231\001\n\007Predict\022&.go" - + "ogle.cloud.automl.v1.PredictRequest\032\'.go" - + "ogle.cloud.automl.v1.PredictResponse\"=\202\323" - + "\344\223\0027\"2/v1/{name=projects/*/locations/*/m" - + "odels/*}:predict:\001*\022\236\001\n\014BatchPredict\022+.g" - + "oogle.cloud.automl.v1.BatchPredictReques" - + "t\032\035.google.longrunning.Operation\"B\202\323\344\223\002<" - + "\"7/v1/{name=projects/*/locations/*/model" - + "s/*}:batchPredict:\001*\032I\312A\025automl.googleap" - + "is.com\322A.https://www.googleapis.com/auth" - + "/cloud-platformB\302\001\n\032com.google.cloud.aut" - + "oml.v1B\026PredictionServiceProtoP\001Z * Output only. The sentiment with the semantic, as given to the - * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when - * populating the dataset from which the model used for the prediction had - * been trained. The sentiment values are between 0 and + * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when populating the dataset from which the model used + * for the prediction had been trained. + * The sentiment values are between 0 and * Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive), * with higher value meaning more positive sentiment. They are completely * relative, i.e. 0 means least positive sentiment and sentiment_max means @@ -458,9 +458,9 @@ public Builder mergeFrom( * *
      * Output only. The sentiment with the semantic, as given to the
-     * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when
-     * populating the dataset from which the model used for the prediction had
-     * been trained. The sentiment values are between 0 and
+     * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when populating the dataset from which the model used
+     * for the prediction had been trained.
+     * The sentiment values are between 0 and
      * Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive),
      * with higher value meaning more positive sentiment. They are completely
      * relative, i.e. 0 means least positive sentiment and sentiment_max means
@@ -483,9 +483,9 @@ public int getSentiment() {
      *
      * 
      * Output only. The sentiment with the semantic, as given to the
-     * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when
-     * populating the dataset from which the model used for the prediction had
-     * been trained. The sentiment values are between 0 and
+     * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when populating the dataset from which the model used
+     * for the prediction had been trained.
+     * The sentiment values are between 0 and
      * Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive),
      * with higher value meaning more positive sentiment. They are completely
      * relative, i.e. 0 means least positive sentiment and sentiment_max means
@@ -512,9 +512,9 @@ public Builder setSentiment(int value) {
      *
      * 
      * Output only. The sentiment with the semantic, as given to the
-     * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when
-     * populating the dataset from which the model used for the prediction had
-     * been trained. The sentiment values are between 0 and
+     * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when populating the dataset from which the model used
+     * for the prediction had been trained.
+     * The sentiment values are between 0 and
      * Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive),
      * with higher value meaning more positive sentiment. They are completely
      * relative, i.e. 0 means least positive sentiment and sentiment_max means
diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentAnnotationOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentAnnotationOrBuilder.java
index 1c34794ba..3ee6f26fe 100644
--- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentAnnotationOrBuilder.java
+++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentAnnotationOrBuilder.java
@@ -28,9 +28,9 @@ public interface TextSentimentAnnotationOrBuilder
    *
    * 
    * Output only. The sentiment with the semantic, as given to the
-   * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when
-   * populating the dataset from which the model used for the prediction had
-   * been trained. The sentiment values are between 0 and
+   * [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when populating the dataset from which the model used
+   * for the prediction had been trained.
+   * The sentiment values are between 0 and
    * Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive),
    * with higher value meaning more positive sentiment. They are completely
    * relative, i.e. 0 means least positive sentiment and sentiment_max means
diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentDatasetMetadata.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentDatasetMetadata.java
index 4d51806b6..2785158b9 100644
--- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentDatasetMetadata.java
+++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentDatasetMetadata.java
@@ -113,11 +113,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    *
    * 
-   * Required. A sentiment is expressed as an integer ordinal, where higher
-   * value means a more positive sentiment. The range of sentiments that will be
-   * used is between 0 and sentiment_max (inclusive on both ends), and all the
-   * values in the range must be represented in the dataset before a model can
-   * be created. sentiment_max value must be between 1 and 10 (inclusive).
+   * Required. A sentiment is expressed as an integer ordinal, where higher value
+   * means a more positive sentiment. The range of sentiments that will be used
+   * is between 0 and sentiment_max (inclusive on both ends), and all the values
+   * in the range must be represented in the dataset before a model can be
+   * created.
+   * sentiment_max value must be between 1 and 10 (inclusive).
    * 
* * int32 sentiment_max = 1; @@ -451,11 +452,12 @@ public Builder mergeFrom( * * *
-     * Required. A sentiment is expressed as an integer ordinal, where higher
-     * value means a more positive sentiment. The range of sentiments that will be
-     * used is between 0 and sentiment_max (inclusive on both ends), and all the
-     * values in the range must be represented in the dataset before a model can
-     * be created. sentiment_max value must be between 1 and 10 (inclusive).
+     * Required. A sentiment is expressed as an integer ordinal, where higher value
+     * means a more positive sentiment. The range of sentiments that will be used
+     * is between 0 and sentiment_max (inclusive on both ends), and all the values
+     * in the range must be represented in the dataset before a model can be
+     * created.
+     * sentiment_max value must be between 1 and 10 (inclusive).
      * 
* * int32 sentiment_max = 1; @@ -469,11 +471,12 @@ public int getSentimentMax() { * * *
-     * Required. A sentiment is expressed as an integer ordinal, where higher
-     * value means a more positive sentiment. The range of sentiments that will be
-     * used is between 0 and sentiment_max (inclusive on both ends), and all the
-     * values in the range must be represented in the dataset before a model can
-     * be created. sentiment_max value must be between 1 and 10 (inclusive).
+     * Required. A sentiment is expressed as an integer ordinal, where higher value
+     * means a more positive sentiment. The range of sentiments that will be used
+     * is between 0 and sentiment_max (inclusive on both ends), and all the values
+     * in the range must be represented in the dataset before a model can be
+     * created.
+     * sentiment_max value must be between 1 and 10 (inclusive).
      * 
* * int32 sentiment_max = 1; @@ -491,11 +494,12 @@ public Builder setSentimentMax(int value) { * * *
-     * Required. A sentiment is expressed as an integer ordinal, where higher
-     * value means a more positive sentiment. The range of sentiments that will be
-     * used is between 0 and sentiment_max (inclusive on both ends), and all the
-     * values in the range must be represented in the dataset before a model can
-     * be created. sentiment_max value must be between 1 and 10 (inclusive).
+     * Required. A sentiment is expressed as an integer ordinal, where higher value
+     * means a more positive sentiment. The range of sentiments that will be used
+     * is between 0 and sentiment_max (inclusive on both ends), and all the values
+     * in the range must be represented in the dataset before a model can be
+     * created.
+     * sentiment_max value must be between 1 and 10 (inclusive).
      * 
* * int32 sentiment_max = 1; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentDatasetMetadataOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentDatasetMetadataOrBuilder.java index 078d0d246..a48f848ce 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentDatasetMetadataOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentDatasetMetadataOrBuilder.java @@ -27,11 +27,12 @@ public interface TextSentimentDatasetMetadataOrBuilder * * *
-   * Required. A sentiment is expressed as an integer ordinal, where higher
-   * value means a more positive sentiment. The range of sentiments that will be
-   * used is between 0 and sentiment_max (inclusive on both ends), and all the
-   * values in the range must be represented in the dataset before a model can
-   * be created. sentiment_max value must be between 1 and 10 (inclusive).
+   * Required. A sentiment is expressed as an integer ordinal, where higher value
+   * means a more positive sentiment. The range of sentiments that will be used
+   * is between 0 and sentiment_max (inclusive on both ends), and all the values
+   * in the range must be represented in the dataset before a model can be
+   * created.
+   * sentiment_max value must be between 1 and 10 (inclusive).
    * 
* * int32 sentiment_max = 1; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentProto.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentProto.java index a380c6c01..54aa34a8d 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentProto.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSentimentProto.java @@ -45,9 +45,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n+google/cloud/automl/v1/text_sentiment." - + "proto\022\026google.cloud.automl.v1\032\034google/ap" - + "i/annotations.proto\032+google/cloud/automl" - + "/v1/classification.proto\",\n\027TextSentimen" + + "proto\022\026google.cloud.automl.v1\032+google/cl" + + "oud/automl/v1/classification.proto\032\034goog" + + "le/api/annotations.proto\",\n\027TextSentimen" + "tAnnotation\022\021\n\tsentiment\030\001 \001(\005\"\240\002\n\036TextS" + "entimentEvaluationMetrics\022\021\n\tprecision\030\001" + " \001(\002\022\016\n\006recall\030\002 \001(\002\022\020\n\010f1_score\030\003 \001(\002\022\033" @@ -67,8 +67,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.cloud.automl.v1.ClassificationProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_automl_v1_TextSentimentAnnotation_descriptor = getDescriptor().getMessageTypes().get(0); @@ -93,8 +93,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "QuadraticKappa", "ConfusionMatrix", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.cloud.automl.v1.ClassificationProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSnippet.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSnippet.java index 3007b0f36..71c569fd1 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSnippet.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSnippet.java @@ -182,11 +182,9 @@ public com.google.protobuf.ByteString getContentBytes() { * * *
-   * Optional. The format of
-   * [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only
-   * two allowed values are "text/html" and "text/plain". If left blank, the
-   * format is automatically determined from the type of the uploaded
-   * [content][google.cloud.automl.v1.TextSnippet.content].
+   * Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed
+   * values are "text/html" and "text/plain". If left blank, the format is
+   * automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
    * 
* * string mime_type = 2; @@ -208,11 +206,9 @@ public java.lang.String getMimeType() { * * *
-   * Optional. The format of
-   * [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only
-   * two allowed values are "text/html" and "text/plain". If left blank, the
-   * format is automatically determined from the type of the uploaded
-   * [content][google.cloud.automl.v1.TextSnippet.content].
+   * Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed
+   * values are "text/html" and "text/plain". If left blank, the format is
+   * automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
    * 
* * string mime_type = 2; @@ -741,11 +737,9 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The format of
-     * [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only
-     * two allowed values are "text/html" and "text/plain". If left blank, the
-     * format is automatically determined from the type of the uploaded
-     * [content][google.cloud.automl.v1.TextSnippet.content].
+     * Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed
+     * values are "text/html" and "text/plain". If left blank, the format is
+     * automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
      * 
* * string mime_type = 2; @@ -767,11 +761,9 @@ public java.lang.String getMimeType() { * * *
-     * Optional. The format of
-     * [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only
-     * two allowed values are "text/html" and "text/plain". If left blank, the
-     * format is automatically determined from the type of the uploaded
-     * [content][google.cloud.automl.v1.TextSnippet.content].
+     * Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed
+     * values are "text/html" and "text/plain". If left blank, the format is
+     * automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
      * 
* * string mime_type = 2; @@ -793,11 +785,9 @@ public com.google.protobuf.ByteString getMimeTypeBytes() { * * *
-     * Optional. The format of
-     * [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only
-     * two allowed values are "text/html" and "text/plain". If left blank, the
-     * format is automatically determined from the type of the uploaded
-     * [content][google.cloud.automl.v1.TextSnippet.content].
+     * Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed
+     * values are "text/html" and "text/plain". If left blank, the format is
+     * automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
      * 
* * string mime_type = 2; @@ -818,11 +808,9 @@ public Builder setMimeType(java.lang.String value) { * * *
-     * Optional. The format of
-     * [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only
-     * two allowed values are "text/html" and "text/plain". If left blank, the
-     * format is automatically determined from the type of the uploaded
-     * [content][google.cloud.automl.v1.TextSnippet.content].
+     * Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed
+     * values are "text/html" and "text/plain". If left blank, the format is
+     * automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
      * 
* * string mime_type = 2; @@ -839,11 +827,9 @@ public Builder clearMimeType() { * * *
-     * Optional. The format of
-     * [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only
-     * two allowed values are "text/html" and "text/plain". If left blank, the
-     * format is automatically determined from the type of the uploaded
-     * [content][google.cloud.automl.v1.TextSnippet.content].
+     * Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed
+     * values are "text/html" and "text/plain". If left blank, the format is
+     * automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
      * 
* * string mime_type = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSnippetOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSnippetOrBuilder.java index e5ab213ea..023aa5b39 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSnippetOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TextSnippetOrBuilder.java @@ -54,11 +54,9 @@ public interface TextSnippetOrBuilder * * *
-   * Optional. The format of
-   * [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only
-   * two allowed values are "text/html" and "text/plain". If left blank, the
-   * format is automatically determined from the type of the uploaded
-   * [content][google.cloud.automl.v1.TextSnippet.content].
+   * Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed
+   * values are "text/html" and "text/plain". If left blank, the format is
+   * automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
    * 
* * string mime_type = 2; @@ -70,11 +68,9 @@ public interface TextSnippetOrBuilder * * *
-   * Optional. The format of
-   * [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only
-   * two allowed values are "text/html" and "text/plain". If left blank, the
-   * format is automatically determined from the type of the uploaded
-   * [content][google.cloud.automl.v1.TextSnippet.content].
+   * Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed
+   * values are "text/html" and "text/plain". If left blank, the format is
+   * automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content].
    * 
* * string mime_type = 2; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TranslationModelMetadata.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TranslationModelMetadata.java index f07096efd..ae475c86a 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TranslationModelMetadata.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TranslationModelMetadata.java @@ -187,7 +187,7 @@ public com.google.protobuf.ByteString getBaseModelBytes() { * *
    * Output only. Inferred from the dataset.
-   * The source languge (The BCP-47 language code) that is used for training.
+   * The source language (The BCP-47 language code) that is used for training.
    * 
* * string source_language_code = 2; @@ -210,7 +210,7 @@ public java.lang.String getSourceLanguageCode() { * *
    * Output only. Inferred from the dataset.
-   * The source languge (The BCP-47 language code) that is used for training.
+   * The source language (The BCP-47 language code) that is used for training.
    * 
* * string source_language_code = 2; @@ -235,8 +235,8 @@ public com.google.protobuf.ByteString getSourceLanguageCodeBytes() { * * *
-   * Output only. The target languge (The BCP-47 language code) that is used for
-   * training.
+   * Output only. The target language (The BCP-47 language code) that is used
+   * for training.
    * 
* * string target_language_code = 3; @@ -258,8 +258,8 @@ public java.lang.String getTargetLanguageCode() { * * *
-   * Output only. The target languge (The BCP-47 language code) that is used for
-   * training.
+   * Output only. The target language (The BCP-47 language code) that is used
+   * for training.
    * 
* * string target_language_code = 3; @@ -755,7 +755,7 @@ public Builder setBaseModelBytes(com.google.protobuf.ByteString value) { * *
      * Output only. Inferred from the dataset.
-     * The source languge (The BCP-47 language code) that is used for training.
+     * The source language (The BCP-47 language code) that is used for training.
      * 
* * string source_language_code = 2; @@ -778,7 +778,7 @@ public java.lang.String getSourceLanguageCode() { * *
      * Output only. Inferred from the dataset.
-     * The source languge (The BCP-47 language code) that is used for training.
+     * The source language (The BCP-47 language code) that is used for training.
      * 
* * string source_language_code = 2; @@ -801,7 +801,7 @@ public com.google.protobuf.ByteString getSourceLanguageCodeBytes() { * *
      * Output only. Inferred from the dataset.
-     * The source languge (The BCP-47 language code) that is used for training.
+     * The source language (The BCP-47 language code) that is used for training.
      * 
* * string source_language_code = 2; @@ -823,7 +823,7 @@ public Builder setSourceLanguageCode(java.lang.String value) { * *
      * Output only. Inferred from the dataset.
-     * The source languge (The BCP-47 language code) that is used for training.
+     * The source language (The BCP-47 language code) that is used for training.
      * 
* * string source_language_code = 2; @@ -841,7 +841,7 @@ public Builder clearSourceLanguageCode() { * *
      * Output only. Inferred from the dataset.
-     * The source languge (The BCP-47 language code) that is used for training.
+     * The source language (The BCP-47 language code) that is used for training.
      * 
* * string source_language_code = 2; @@ -865,8 +865,8 @@ public Builder setSourceLanguageCodeBytes(com.google.protobuf.ByteString value) * * *
-     * Output only. The target languge (The BCP-47 language code) that is used for
-     * training.
+     * Output only. The target language (The BCP-47 language code) that is used
+     * for training.
      * 
* * string target_language_code = 3; @@ -888,8 +888,8 @@ public java.lang.String getTargetLanguageCode() { * * *
-     * Output only. The target languge (The BCP-47 language code) that is used for
-     * training.
+     * Output only. The target language (The BCP-47 language code) that is used
+     * for training.
      * 
* * string target_language_code = 3; @@ -911,8 +911,8 @@ public com.google.protobuf.ByteString getTargetLanguageCodeBytes() { * * *
-     * Output only. The target languge (The BCP-47 language code) that is used for
-     * training.
+     * Output only. The target language (The BCP-47 language code) that is used
+     * for training.
      * 
* * string target_language_code = 3; @@ -933,8 +933,8 @@ public Builder setTargetLanguageCode(java.lang.String value) { * * *
-     * Output only. The target languge (The BCP-47 language code) that is used for
-     * training.
+     * Output only. The target language (The BCP-47 language code) that is used
+     * for training.
      * 
* * string target_language_code = 3; @@ -951,8 +951,8 @@ public Builder clearTargetLanguageCode() { * * *
-     * Output only. The target languge (The BCP-47 language code) that is used for
-     * training.
+     * Output only. The target language (The BCP-47 language code) that is used
+     * for training.
      * 
* * string target_language_code = 3; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TranslationModelMetadataOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TranslationModelMetadataOrBuilder.java index 36ccb2180..099eb4b56 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TranslationModelMetadataOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TranslationModelMetadataOrBuilder.java @@ -59,7 +59,7 @@ public interface TranslationModelMetadataOrBuilder * *
    * Output only. Inferred from the dataset.
-   * The source languge (The BCP-47 language code) that is used for training.
+   * The source language (The BCP-47 language code) that is used for training.
    * 
* * string source_language_code = 2; @@ -72,7 +72,7 @@ public interface TranslationModelMetadataOrBuilder * *
    * Output only. Inferred from the dataset.
-   * The source languge (The BCP-47 language code) that is used for training.
+   * The source language (The BCP-47 language code) that is used for training.
    * 
* * string source_language_code = 2; @@ -85,8 +85,8 @@ public interface TranslationModelMetadataOrBuilder * * *
-   * Output only. The target languge (The BCP-47 language code) that is used for
-   * training.
+   * Output only. The target language (The BCP-47 language code) that is used
+   * for training.
    * 
* * string target_language_code = 3; @@ -98,8 +98,8 @@ public interface TranslationModelMetadataOrBuilder * * *
-   * Output only. The target languge (The BCP-47 language code) that is used for
-   * training.
+   * Output only. The target language (The BCP-47 language code) that is used
+   * for training.
    * 
* * string target_language_code = 3; diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TranslationProto.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TranslationProto.java index 1b56a2881..a1ad0339a 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TranslationProto.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/TranslationProto.java @@ -53,10 +53,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n(google/cloud/automl/v1/translation.pro" - + "to\022\026google.cloud.automl.v1\032\034google/api/a" - + "nnotations.proto\032\037google/api/field_behav" - + "ior.proto\032\'google/cloud/automl/v1/data_i" - + "tems.proto\"b\n\032TranslationDatasetMetadata" + + "to\022\026google.cloud.automl.v1\032\037google/api/f" + + "ield_behavior.proto\032\'google/cloud/automl" + + "/v1/data_items.proto\032\034google/api/annotat" + + "ions.proto\"b\n\032TranslationDatasetMetadata" + "\022!\n\024source_language_code\030\001 \001(\tB\003\340A\002\022!\n\024t" + "arget_language_code\030\002 \001(\tB\003\340A\002\"K\n\034Transl" + "ationEvaluationMetrics\022\022\n\nbleu_score\030\001 \001" @@ -76,9 +76,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.api.FieldBehaviorProto.getDescriptor(), com.google.cloud.automl.v1.DataItems.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_automl_v1_TranslationDatasetMetadata_descriptor = getDescriptor().getMessageTypes().get(0); @@ -117,9 +117,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); com.google.api.FieldBehaviorProto.getDescriptor(); com.google.cloud.automl.v1.DataItems.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UndeployModelRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UndeployModelRequest.java index 908ee7dd1..1b85c40b3 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UndeployModelRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UndeployModelRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.UndeployModel][google.cloud.automl.v1.AutoMl.UndeployModel].
+ * Request message for [AutoMl.UndeployModel][google.cloud.automl.v1.AutoMl.UndeployModel].
  * 
* * Protobuf type {@code google.cloud.automl.v1.UndeployModelRequest} @@ -118,10 +117,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Resource name of the model to undeploy.
+   * Required. Resource name of the model to undeploy.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -140,10 +141,12 @@ public java.lang.String getName() { * * *
-   * Resource name of the model to undeploy.
+   * Required. Resource name of the model to undeploy.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -322,8 +325,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.UndeployModel][google.cloud.automl.v1.AutoMl.UndeployModel].
+   * Request message for [AutoMl.UndeployModel][google.cloud.automl.v1.AutoMl.UndeployModel].
    * 
* * Protobuf type {@code google.cloud.automl.v1.UndeployModelRequest} @@ -482,10 +484,12 @@ public Builder mergeFrom( * * *
-     * Resource name of the model to undeploy.
+     * Required. Resource name of the model to undeploy.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -504,10 +508,12 @@ public java.lang.String getName() { * * *
-     * Resource name of the model to undeploy.
+     * Required. Resource name of the model to undeploy.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -526,10 +532,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Resource name of the model to undeploy.
+     * Required. Resource name of the model to undeploy.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The name to set. * @return This builder for chaining. @@ -547,10 +555,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Resource name of the model to undeploy.
+     * Required. Resource name of the model to undeploy.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -564,10 +574,12 @@ public Builder clearName() { * * *
-     * Resource name of the model to undeploy.
+     * Required. Resource name of the model to undeploy.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @param value The bytes for name to set. * @return This builder for chaining. diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UndeployModelRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UndeployModelRequestOrBuilder.java index 8deb77224..5702f0cbc 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UndeployModelRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UndeployModelRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface UndeployModelRequestOrBuilder * * *
-   * Resource name of the model to undeploy.
+   * Required. Resource name of the model to undeploy.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -39,10 +41,12 @@ public interface UndeployModelRequestOrBuilder * * *
-   * Resource name of the model to undeploy.
+   * Required. Resource name of the model to undeploy.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateDatasetRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateDatasetRequest.java index abfe617eb..77141d443 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateDatasetRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateDatasetRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.UpdateDataset][google.cloud.automl.v1.AutoMl.UpdateDataset]
+ * Request message for [AutoMl.UpdateDataset][google.cloud.automl.v1.AutoMl.UpdateDataset]
  * 
* * Protobuf type {@code google.cloud.automl.v1.UpdateDatasetRequest} @@ -139,10 +138,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The dataset which replaces the resource on the server.
+   * Required. The dataset which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the dataset field is set. */ @@ -153,10 +153,11 @@ public boolean hasDataset() { * * *
-   * The dataset which replaces the resource on the server.
+   * Required. The dataset which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The dataset. */ @@ -167,10 +168,11 @@ public com.google.cloud.automl.v1.Dataset getDataset() { * * *
-   * The dataset which replaces the resource on the server.
+   * Required. The dataset which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.DatasetOrBuilder getDatasetOrBuilder() { return getDataset(); @@ -185,7 +187,8 @@ public com.google.cloud.automl.v1.DatasetOrBuilder getDatasetOrBuilder() { * Required. The update mask applies to the resource. *
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the updateMask field is set. */ @@ -199,7 +202,8 @@ public boolean hasUpdateMask() { * Required. The update mask applies to the resource. *
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The updateMask. */ @@ -213,7 +217,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Required. The update mask applies to the resource. *
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return getUpdateMask(); @@ -401,8 +406,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.UpdateDataset][google.cloud.automl.v1.AutoMl.UpdateDataset]
+   * Request message for [AutoMl.UpdateDataset][google.cloud.automl.v1.AutoMl.UpdateDataset]
    * 
* * Protobuf type {@code google.cloud.automl.v1.UpdateDatasetRequest} @@ -587,10 +591,11 @@ public Builder mergeFrom( * * *
-     * The dataset which replaces the resource on the server.
+     * Required. The dataset which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the dataset field is set. */ @@ -601,10 +606,11 @@ public boolean hasDataset() { * * *
-     * The dataset which replaces the resource on the server.
+     * Required. The dataset which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The dataset. */ @@ -621,10 +627,11 @@ public com.google.cloud.automl.v1.Dataset getDataset() { * * *
-     * The dataset which replaces the resource on the server.
+     * Required. The dataset which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataset(com.google.cloud.automl.v1.Dataset value) { if (datasetBuilder_ == null) { @@ -643,10 +650,11 @@ public Builder setDataset(com.google.cloud.automl.v1.Dataset value) { * * *
-     * The dataset which replaces the resource on the server.
+     * Required. The dataset which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataset(com.google.cloud.automl.v1.Dataset.Builder builderForValue) { if (datasetBuilder_ == null) { @@ -662,10 +670,11 @@ public Builder setDataset(com.google.cloud.automl.v1.Dataset.Builder builderForV * * *
-     * The dataset which replaces the resource on the server.
+     * Required. The dataset which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDataset(com.google.cloud.automl.v1.Dataset value) { if (datasetBuilder_ == null) { @@ -688,10 +697,11 @@ public Builder mergeDataset(com.google.cloud.automl.v1.Dataset value) { * * *
-     * The dataset which replaces the resource on the server.
+     * Required. The dataset which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataset() { if (datasetBuilder_ == null) { @@ -708,10 +718,11 @@ public Builder clearDataset() { * * *
-     * The dataset which replaces the resource on the server.
+     * Required. The dataset which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.Dataset.Builder getDatasetBuilder() { @@ -722,10 +733,11 @@ public com.google.cloud.automl.v1.Dataset.Builder getDatasetBuilder() { * * *
-     * The dataset which replaces the resource on the server.
+     * Required. The dataset which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.DatasetOrBuilder getDatasetOrBuilder() { if (datasetBuilder_ != null) { @@ -740,10 +752,11 @@ public com.google.cloud.automl.v1.DatasetOrBuilder getDatasetOrBuilder() { * * *
-     * The dataset which replaces the resource on the server.
+     * Required. The dataset which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1.Dataset, @@ -775,7 +788,8 @@ public com.google.cloud.automl.v1.DatasetOrBuilder getDatasetOrBuilder() { * Required. The update mask applies to the resource. *
* - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the updateMask field is set. */ @@ -789,7 +803,8 @@ public boolean hasUpdateMask() { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The updateMask. */ @@ -809,7 +824,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -831,7 +847,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { @@ -850,7 +867,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -874,7 +892,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -894,7 +913,8 @@ public Builder clearUpdateMask() { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { @@ -908,7 +928,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { @@ -926,7 +947,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateDatasetRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateDatasetRequestOrBuilder.java index 43648fb5b..67c962eb7 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateDatasetRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateDatasetRequestOrBuilder.java @@ -27,10 +27,11 @@ public interface UpdateDatasetRequestOrBuilder * * *
-   * The dataset which replaces the resource on the server.
+   * Required. The dataset which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the dataset field is set. */ @@ -39,10 +40,11 @@ public interface UpdateDatasetRequestOrBuilder * * *
-   * The dataset which replaces the resource on the server.
+   * Required. The dataset which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The dataset. */ @@ -51,10 +53,11 @@ public interface UpdateDatasetRequestOrBuilder * * *
-   * The dataset which replaces the resource on the server.
+   * Required. The dataset which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1.Dataset dataset = 1; + * .google.cloud.automl.v1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1.DatasetOrBuilder getDatasetOrBuilder(); @@ -65,7 +68,8 @@ public interface UpdateDatasetRequestOrBuilder * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the updateMask field is set. */ @@ -77,7 +81,8 @@ public interface UpdateDatasetRequestOrBuilder * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The updateMask. */ @@ -89,7 +94,8 @@ public interface UpdateDatasetRequestOrBuilder * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateModelRequest.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateModelRequest.java index d328988cc..bb49a4318 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateModelRequest.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateModelRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [AutoMl.UpdateModel][google.cloud.automl.v1.AutoMl.UpdateModel]
+ * Request message for [AutoMl.UpdateModel][google.cloud.automl.v1.AutoMl.UpdateModel]
  * 
* * Protobuf type {@code google.cloud.automl.v1.UpdateModelRequest} @@ -139,10 +138,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The model which replaces the resource on the server.
+   * Required. The model which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the model field is set. */ @@ -153,10 +152,10 @@ public boolean hasModel() { * * *
-   * The model which replaces the resource on the server.
+   * Required. The model which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The model. */ @@ -167,10 +166,10 @@ public com.google.cloud.automl.v1.Model getModel() { * * *
-   * The model which replaces the resource on the server.
+   * Required. The model which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.automl.v1.ModelOrBuilder getModelOrBuilder() { return getModel(); @@ -185,7 +184,8 @@ public com.google.cloud.automl.v1.ModelOrBuilder getModelOrBuilder() { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the updateMask field is set. */ @@ -199,7 +199,8 @@ public boolean hasUpdateMask() { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The updateMask. */ @@ -213,7 +214,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { return getUpdateMask(); @@ -401,8 +403,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [AutoMl.UpdateModel][google.cloud.automl.v1.AutoMl.UpdateModel]
+   * Request message for [AutoMl.UpdateModel][google.cloud.automl.v1.AutoMl.UpdateModel]
    * 
* * Protobuf type {@code google.cloud.automl.v1.UpdateModelRequest} @@ -586,10 +587,11 @@ public Builder mergeFrom( * * *
-     * The model which replaces the resource on the server.
+     * Required. The model which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the model field is set. */ @@ -600,10 +602,11 @@ public boolean hasModel() { * * *
-     * The model which replaces the resource on the server.
+     * Required. The model which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The model. */ @@ -618,10 +621,11 @@ public com.google.cloud.automl.v1.Model getModel() { * * *
-     * The model which replaces the resource on the server.
+     * Required. The model which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setModel(com.google.cloud.automl.v1.Model value) { if (modelBuilder_ == null) { @@ -640,10 +644,11 @@ public Builder setModel(com.google.cloud.automl.v1.Model value) { * * *
-     * The model which replaces the resource on the server.
+     * Required. The model which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setModel(com.google.cloud.automl.v1.Model.Builder builderForValue) { if (modelBuilder_ == null) { @@ -659,10 +664,11 @@ public Builder setModel(com.google.cloud.automl.v1.Model.Builder builderForValue * * *
-     * The model which replaces the resource on the server.
+     * Required. The model which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeModel(com.google.cloud.automl.v1.Model value) { if (modelBuilder_ == null) { @@ -683,10 +689,11 @@ public Builder mergeModel(com.google.cloud.automl.v1.Model value) { * * *
-     * The model which replaces the resource on the server.
+     * Required. The model which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearModel() { if (modelBuilder_ == null) { @@ -703,10 +710,11 @@ public Builder clearModel() { * * *
-     * The model which replaces the resource on the server.
+     * Required. The model which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.Model.Builder getModelBuilder() { @@ -717,10 +725,11 @@ public com.google.cloud.automl.v1.Model.Builder getModelBuilder() { * * *
-     * The model which replaces the resource on the server.
+     * Required. The model which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1.ModelOrBuilder getModelOrBuilder() { if (modelBuilder_ != null) { @@ -733,10 +742,11 @@ public com.google.cloud.automl.v1.ModelOrBuilder getModelOrBuilder() { * * *
-     * The model which replaces the resource on the server.
+     * Required. The model which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1.Model, @@ -768,7 +778,8 @@ public com.google.cloud.automl.v1.ModelOrBuilder getModelOrBuilder() { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the updateMask field is set. */ @@ -782,7 +793,8 @@ public boolean hasUpdateMask() { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The updateMask. */ @@ -802,7 +814,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -824,7 +837,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { @@ -843,7 +857,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { @@ -867,7 +882,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearUpdateMask() { if (updateMaskBuilder_ == null) { @@ -887,7 +903,8 @@ public Builder clearUpdateMask() { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { @@ -901,7 +918,8 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { if (updateMaskBuilder_ != null) { @@ -919,7 +937,8 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.FieldMask, diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateModelRequestOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateModelRequestOrBuilder.java index 6a3e2547c..0cd3a2cfb 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateModelRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/UpdateModelRequestOrBuilder.java @@ -27,10 +27,10 @@ public interface UpdateModelRequestOrBuilder * * *
-   * The model which replaces the resource on the server.
+   * Required. The model which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return Whether the model field is set. */ @@ -39,10 +39,10 @@ public interface UpdateModelRequestOrBuilder * * *
-   * The model which replaces the resource on the server.
+   * Required. The model which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The model. */ @@ -51,10 +51,10 @@ public interface UpdateModelRequestOrBuilder * * *
-   * The model which replaces the resource on the server.
+   * Required. The model which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1.Model model = 1; + * .google.cloud.automl.v1.Model model = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.cloud.automl.v1.ModelOrBuilder getModelOrBuilder(); @@ -65,7 +65,8 @@ public interface UpdateModelRequestOrBuilder * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the updateMask field is set. */ @@ -77,7 +78,8 @@ public interface UpdateModelRequestOrBuilder * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The updateMask. */ @@ -89,7 +91,8 @@ public interface UpdateModelRequestOrBuilder * Required. The update mask applies to the resource. * * - * .google.protobuf.FieldMask update_mask = 2; + * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder(); } diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/annotation_payload.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/annotation_payload.proto index 980c0e368..a81feaf10 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/annotation_payload.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/annotation_payload.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/annotation_spec.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/annotation_spec.proto index b88a495b4..9eb61579e 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/annotation_spec.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/annotation_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,12 +11,12 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; package google.cloud.automl.v1; +import "google/api/resource.proto"; import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AutoML.V1"; @@ -28,16 +28,19 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // A definition of an annotation spec. message AnnotationSpec { + option (google.api.resource) = { + type: "automl.googleapis.com/AnnotationSpec" + pattern: "projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}" + }; + // Output only. Resource name of the annotation spec. // Form: // // 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}' string name = 1; - // Required. - // The name of the annotation spec to show in the interface. The name can be + // Required. The name of the annotation spec to show in the interface. The name can be // up to 32 characters long and must match the regexp `[a-zA-Z0-9_]+`. - // (_), and ASCII digits 0-9. string display_name = 2; // Output only. The number of examples in the parent dataset diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/classification.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/classification.proto index b42370b3f..9213bfde8 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/classification.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/classification.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; @@ -50,6 +49,8 @@ message ClassificationAnnotation { } // Model evaluation metrics for classification problems. +// Note: For Video Classification this metrics only describe quality of the +// Video Classification predictions of "segment_classification" type. message ClassificationEvaluationMetrics { // Metrics for a single confidence threshold. message ConfidenceMetricsEntry { @@ -90,10 +91,7 @@ message ClassificationEvaluationMetrics { // for each example. float false_positive_rate_at1 = 9; - // Output only. The harmonic mean of - // [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] - // and - // [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1]. + // Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1]. float f1_score_at1 = 7; // Output only. The number of model created labels that match a ground truth @@ -120,17 +118,24 @@ message ClassificationEvaluationMetrics { // Output only. Value of the specific cell in the confusion matrix. // The number of values each row has (i.e. the length of the row) is equal // to the length of the `annotation_spec_id` field or, if that one is not - // populated, length of the - // [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - // field. + // populated, length of the [display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. repeated int32 example_count = 1; } // Output only. IDs of the annotation specs used in the confusion matrix. + // For Tables CLASSIFICATION + // + // [prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type] + // only list of [annotation_spec_display_name-s][] is populated. repeated string annotation_spec_id = 1; // Output only. Display name of the annotation specs used in the confusion - // matrix, as they were at the moment of the evaluation. + // matrix, as they were at the moment of the evaluation. For Tables + // CLASSIFICATION + // + // [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type], + // distinct values of the target column at the moment of the model + // evaluation are populated here. repeated string display_name = 3; // Output only. Rows in the confusion matrix. The number of rows is equal to diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/data_items.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/data_items.proto index d995bba76..63896ba92 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/data_items.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/data_items.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,19 +11,18 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; package google.cloud.automl.v1; -import "google/api/annotations.proto"; import "google/cloud/automl/v1/geometry.proto"; import "google/cloud/automl/v1/io.proto"; import "google/cloud/automl/v1/text_segment.proto"; import "google/protobuf/any.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/struct.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AutoML.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1;automl"; @@ -36,6 +35,7 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // Only images up to 30MB in size are supported. message Image { // Input only. The data representing the image. + // For Predict calls [image_bytes][google.cloud.automl.v1.Image.image_bytes] must be set . oneof data { // Image content represented as a stream of bytes. // Note: As with all `bytes` fields, protobuffers use a pure binary @@ -53,11 +53,9 @@ message TextSnippet { // characters long. string content = 1; - // Optional. The format of - // [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only - // two allowed values are "text/html" and "text/plain". If left blank, the - // format is automatically determined from the type of the uploaded - // [content][google.cloud.automl.v1.TextSnippet.content]. + // Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed + // values are "text/html" and "text/plain". If left blank, the format is + // automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content]. string mime_type = 2; // Output only. HTTP URI where you can download the content. @@ -93,9 +91,7 @@ message DocumentDimensions { // A structured text document e.g. a PDF. message Document { - // Describes the layout information of a - // [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the - // document. + // Describes the layout information of a [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the document. message Layout { // The type of TextSegment in the context of the original document. enum TextSegmentType { @@ -141,29 +137,25 @@ message Document { } // Text Segment that represents a segment in - // [document_text][google.cloud.automl.v1.Document.document_text]. + // [document_text][google.cloud.automl.v1p1beta.Document.document_text]. TextSegment text_segment = 1; - // Page number of the - // [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in - // the original document, starts from 1. + // Page number of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the original document, starts + // from 1. int32 page_number = 2; - // The position of the - // [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in - // the page. Contains exactly 4 + // The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page. + // Contains exactly 4 // - // [normalized_vertices][google.cloud.automl.v1.BoundingPoly.normalized_vertices] + // [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices] // and they are connected by edges in the order provided, which will // represent a rectangle parallel to the frame. The - // [NormalizedVertex-s][google.cloud.automl.v1.NormalizedVertex] are + // [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are // relative to the page. // Coordinates are based on top-left as point (0,0). BoundingPoly bounding_poly = 3; - // The type of the - // [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in - // document. + // The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document. TextSegmentType text_segment_type = 4; } diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/dataset.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/dataset.proto index 830ac214d..2040ec96a 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/dataset.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/dataset.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; @@ -34,6 +33,11 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // A workspace for solving a single, particular machine learning (ML) problem. // A workspace contains examples that may be annotated. message Dataset { + option (google.api.resource) = { + type: "automl.googleapis.com/Dataset" + pattern: "projects/{project}/locations/{location}/datasets/{dataset}" + }; + // Required. // The dataset metadata that is specific to the problem type. oneof dataset_metadata { diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/detection.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/detection.proto index 496ffa90b..13fe5935f 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/detection.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/detection.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,15 +11,14 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; package google.cloud.automl.v1; -import "google/api/annotations.proto"; import "google/cloud/automl/v1/geometry.proto"; import "google/protobuf/duration.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AutoML.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1;automl"; @@ -33,8 +32,8 @@ message ImageObjectDetectionAnnotation { // Output only. The rectangle representing the object location. BoundingPoly bounding_box = 1; - // Output only. The confidence that this annotation is positive for the parent - // example, value in [0, 1], higher means higher positivity confidence. + // Output only. The confidence that this annotation is positive for the parent example, + // value in [0, 1], higher means higher positivity confidence. float score = 2; } diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/geometry.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/geometry.proto index 699e75001..a6d97e805 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/geometry.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/geometry.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/image.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/image.proto index c4e055526..5269d22c0 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/image.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/image.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,17 +11,16 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; package google.cloud.automl.v1; -import "google/api/annotations.proto"; import "google/api/resource.proto"; import "google/cloud/automl/v1/annotation_spec.proto"; import "google/cloud/automl/v1/classification.proto"; import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AutoML.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1;automl"; @@ -38,7 +37,9 @@ message ImageClassificationDatasetMetadata { } // Dataset metadata specific to image object detection. -message ImageObjectDetectionDatasetMetadata {} +message ImageObjectDetectionDatasetMetadata { + +} // Model metadata for image classification. message ImageClassificationModelMetadata { @@ -79,38 +80,34 @@ message ImageClassificationModelMetadata { // This is the default value. // * `mobile-low-latency-1` - A model that, in addition to providing // prediction via AutoML API, can also be exported (see - // [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - // and used on a mobile or edge device with TensorFlow - // afterwards. Expected to have low latency, but may have lower - // prediction quality than other models. + // [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + // with TensorFlow afterwards. Expected to have low latency, but + // may have lower prediction quality than other models. // * `mobile-versatile-1` - A model that, in addition to providing // prediction via AutoML API, can also be exported (see - // [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - // and used on a mobile or edge device with TensorFlow - // afterwards. + // [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + // with TensorFlow afterwards. // * `mobile-high-accuracy-1` - A model that, in addition to providing // prediction via AutoML API, can also be exported (see - // [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - // and used on a mobile or edge device with TensorFlow - // afterwards. Expected to have a higher latency, but should - // also have a higher prediction quality than other models. + // [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + // with TensorFlow afterwards. Expected to have a higher + // latency, but should also have a higher prediction quality + // than other models. // * `mobile-core-ml-low-latency-1` - A model that, in addition to providing // prediction via AutoML API, can also be exported (see - // [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - // and used on a mobile device with Core ML afterwards. Expected - // to have low latency, but may have lower prediction quality - // than other models. + // [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + // ML afterwards. Expected to have low latency, but may have + // lower prediction quality than other models. // * `mobile-core-ml-versatile-1` - A model that, in addition to providing // prediction via AutoML API, can also be exported (see - // [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - // and used on a mobile device with Core ML afterwards. + // [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with Core + // ML afterwards. // * `mobile-core-ml-high-accuracy-1` - A model that, in addition to // providing prediction via AutoML API, can also be exported - // (see - // [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) - // and used on a mobile device with Core ML afterwards. Expected - // to have a higher latency, but should also have a higher - // prediction quality than other models. + // (see [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile device with + // Core ML afterwards. Expected to have a higher latency, but + // should also have a higher prediction quality than other + // models. string model_type = 7; // Output only. An approximate number of online prediction QPS that can @@ -133,6 +130,21 @@ message ImageObjectDetectionModelMetadata { // * `cloud-low-latency-1` - A model to be used via prediction // calls to AutoML API. Expected to have low latency, but may // have lower prediction quality than other models. + // * `mobile-low-latency-1` - A model that, in addition to providing + // prediction via AutoML API, can also be exported (see + // [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + // with TensorFlow afterwards. Expected to have low latency, but + // may have lower prediction quality than other models. + // * `mobile-versatile-1` - A model that, in addition to providing + // prediction via AutoML API, can also be exported (see + // [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + // with TensorFlow afterwards. + // * `mobile-high-accuracy-1` - A model that, in addition to providing + // prediction via AutoML API, can also be exported (see + // [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]) and used on a mobile or edge device + // with TensorFlow afterwards. Expected to have a higher + // latency, but should also have a higher prediction quality + // than other models. string model_type = 1; // Output only. The number of nodes this model is deployed on. A node is an diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/io.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/io.proto index 84548fc91..c6ac8a35b 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/io.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/io.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,14 +11,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; package google.cloud.automl.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AutoML.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1;automl"; @@ -27,8 +26,7 @@ option java_package = "com.google.cloud.automl.v1"; option php_namespace = "Google\\Cloud\\AutoMl\\V1"; option ruby_package = "Google::Cloud::AutoML::V1"; -// Input configuration for -// [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] action. +// Input configuration for [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] action. // // The format of input depends on dataset_metadata the Dataset into which // the import is happening has. As input source the @@ -126,6 +124,107 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // // // +//

AutoML Video Intelligence

+// +// +//
Classification
+// +// See [Preparing your training +// data](https://cloud.google.com/video-intelligence/automl/docs/prepare) for +// more information. +// +// CSV file(s) with each line in format: +// +// ML_USE,GCS_FILE_PATH +// +// For `ML_USE`, do not use `VALIDATE`. +// +// `GCS_FILE_PATH` is the path to another .csv file that describes training +// example for a given `ML_USE`, using the following row format: +// +// GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,) +// +// Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up +// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +// +// `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the +// length of the video, and the end time must be after the start time. Any +// segment of a video which has one or more labels on it, is considered a +// hard negative for all other labels. Any segment with no labels on +// it is considered to be unknown. If a whole video is unknown, then +// it should be mentioned just once with ",," in place of `LABEL, +// TIME_SEGMENT_START,TIME_SEGMENT_END`. +// +// Sample top level CSV file: +// +// TRAIN,gs://folder/train_videos.csv +// TEST,gs://folder/test_videos.csv +// UNASSIGNED,gs://folder/other_videos.csv +// +// Sample rows of a CSV file for a particular ML_USE: +// +// gs://folder/video1.avi,car,120,180.000021 +// gs://folder/video1.avi,bike,150,180.000021 +// gs://folder/vid2.avi,car,0,60.5 +// gs://folder/vid3.avi,,, +// +// +// +//
Object Tracking
+// +// See [Preparing your training +// data](/video-intelligence/automl/object-tracking/docs/prepare) for more +// information. +// +// CSV file(s) with each line in format: +// +// ML_USE,GCS_FILE_PATH +// +// For `ML_USE`, do not use `VALIDATE`. +// +// `GCS_FILE_PATH` is the path to another .csv file that describes training +// example for a given `ML_USE`, using the following row format: +// +// GCS_FILE_PATH,LABEL,[INSTANCE_ID],TIMESTAMP,BOUNDING_BOX +// +// or +// +// GCS_FILE_PATH,,,,,,,,,, +// +// Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up +// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +// Providing `INSTANCE_ID`s can help to obtain a better model. When +// a specific labeled entity leaves the video frame, and shows up +// afterwards it is not required, albeit preferable, that the same +// `INSTANCE_ID` is given to it. +// +// `TIMESTAMP` must be within the length of the video, the +// `BOUNDING_BOX` is assumed to be drawn on the closest video's frame +// to the `TIMESTAMP`. Any mentioned by the `TIMESTAMP` frame is expected +// to be exhaustively labeled and no more than 500 `BOUNDING_BOX`-es per +// frame are allowed. If a whole video is unknown, then it should be +// mentioned just once with ",,,,,,,,,," in place of `LABEL, +// [INSTANCE_ID],TIMESTAMP,BOUNDING_BOX`. +// +// Sample top level CSV file: +// +// TRAIN,gs://folder/train_videos.csv +// TEST,gs://folder/test_videos.csv +// UNASSIGNED,gs://folder/other_videos.csv +// +// Seven sample rows of a CSV file for a particular ML_USE: +// +// gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9 +// gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9 +// gs://folder/video1.avi,car,2,12.10,.4,.2,.5,.2,.5,.3,.4,.3 +// gs://folder/video1.avi,car,2,12.90,.8,.2,,,.9,.3,, +// gs://folder/video1.avi,bike,,12.50,.45,.45,,,.55,.55,, +// gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,, +// gs://folder/video2.avi,,,,,,,,,,, +//
+//
+// +// //

AutoML Natural Language

// // @@ -223,9 +322,11 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // **JSONL files that reference documents** // // .JSONL files contain, per line, a JSON document that wraps a -// `input_config` that contains the path to a source PDF document. +// `input_config` that contains the path to a source document. // Multiple JSON documents can be separated using line breaks (\n). // +// Supported document extensions: .PDF, .TIF, .TIFF +// // For example: // // { @@ -239,19 +340,19 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // { // "document": { // "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document2.pdf" ] +// "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ] // } // } // } // } // -// **In-line JSONL files with PDF layout information** +// **In-line JSONL files with document layout information** // -// **Note:** You can only annotate PDF files using the UI. The format described -// below applies to annotated PDF files exported using the UI or `exportData`. +// **Note:** You can only annotate documents using the UI. The format described +// below applies to annotated documents exported using the UI or `exportData`. // -// In-line .JSONL files for PDF documents contain, per line, a JSON document -// that wraps a `document` field that provides the textual content of the PDF +// In-line .JSONL files for documents contain, per line, a JSON document +// that wraps a `document` field that provides the textual content of the // document and the layout information. // // For example: @@ -342,8 +443,9 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // 10MB or less in size. // // For the `MULTICLASS` classification type, at most one `LABEL` is allowed. +// // The `ML_USE` and `LABEL` columns are optional. -// Supported file extensions: .TXT, .PDF, .ZIP +// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP // // A maximum of 100 unique labels are allowed per CSV row. // @@ -388,7 +490,7 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // 128kB or less in size. // // The `ML_USE` and `SENTIMENT` columns are optional. -// Supported file extensions: .TXT, .PDF, .ZIP +// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP // // * `SENTIMENT` - An integer between 0 and // Dataset.text_sentiment_dataset_metadata.sentiment_max @@ -417,6 +519,54 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // // // +// +//

AutoML Tables

+// +// See [Preparing your training +// data](https://cloud.google.com/automl-tables/docs/prepare) for more +// information. +// +// You can use either +// [gcs_source][google.cloud.automl.v1.InputConfig.gcs_source] or +// [bigquery_source][google.cloud.automl.v1.InputConfig.bigquery_source]. +// All input is concatenated into a +// single +// +// [primary_table_spec_id][google.cloud.automl.v1.TablesDatasetMetadata.primary_table_spec_id] +// +// **For gcs_source:** +// +// CSV file(s), where the first row of the first file is the header, +// containing unique column names. If the first row of a subsequent +// file is the same as the header, then it is also treated as a +// header. All other rows contain values for the corresponding +// columns. +// +// Each .CSV file by itself must be 10GB or smaller, and their total +// size must be 100GB or smaller. +// +// First three sample rows of a CSV file: +//
+// "Id","First Name","Last Name","Dob","Addresses"
+//
+// "1","John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]"
+//
+// "2","Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]}
+// 
+// **For bigquery_source:** +// +// An URI of a BigQuery table. The user data size of the BigQuery +// table must be 100GB or smaller. +// +// An imported table must have between 2 and 1,000 columns, inclusive, +// and between 1000 and 100,000,000 rows, inclusive. There are at most 5 +// import data running in parallel. +// +//
+//
+// +// // **Input field definitions:** // // `ML_USE` @@ -435,6 +585,11 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // For each label an AnnotationSpec is created which display_name // becomes the label; AnnotationSpecs are given back in predictions. // +// `INSTANCE_ID` +// : A positive integer that identifies a specific instance of a +// labeled entity on an example. Used e.g. to track two cars on +// a video while being able to tell apart which one is which. +// // `BOUNDING_BOX` // : (`VERTEX,VERTEX,VERTEX,VERTEX` | `VERTEX,,,VERTEX,,`) // A rectangle parallel to the frame of the example (image, @@ -452,6 +607,23 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // leading non-decimal 0 can be omitted (i.e. 0.3 = .3). // Point 0,0 is in top left. // +// `TIME_SEGMENT_START` +// : (`TIME_OFFSET`) +// Expresses a beginning, inclusive, of a time segment +// within an example that has a time dimension +// (e.g. video). +// +// `TIME_SEGMENT_END` +// : (`TIME_OFFSET`) +// Expresses an end, exclusive, of a time segment within +// n example that has a time dimension (e.g. video). +// +// `TIME_OFFSET` +// : A number of seconds as measured from the start of an +// example (e.g. video). Fractions are allowed, up to a +// microsecond precision. "inf" is allowed, and it means the end +// of the example. +// // `TEXT_SNIPPET` // : The content of a text snippet, UTF-8 encoded, enclosed within // double quotes (""). @@ -473,15 +645,22 @@ message InputConfig { // The source of the input. oneof source { // The Google Cloud Storage location for the input content. - // For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], - // `gcs_source` points to a CSV file with a structure described in - // [InputConfig][google.cloud.automl.v1.InputConfig]. + // For [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData], `gcs_source` points to a CSV file with + // a structure described in [InputConfig][google.cloud.automl.v1.InputConfig]. GcsSource gcs_source = 1; } // Additional domain-specific parameters describing the semantic of the // imported data, any string must be up to 25000 // characters long. + // + //

AutoML Tables

+ // + // `schema_inference_version` + // : (integer) This value must be supplied. + // The version of the + // algorithm to use for the initial inference of the + // column data types of the imported table. Allowed values: "1". map params = 2; } @@ -496,6 +675,82 @@ message InputConfig { // non-terminal symbols defined near the end of this comment. The formats // are: // +//

AutoML Vision

+//
Classification
+// +// One or more CSV files where each line is a single column: +// +// GCS_FILE_PATH +// +// The Google Cloud Storage location of an image of up to +// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. +// This path is treated as the ID in the batch predict output. +// +// Sample rows: +// +// gs://folder/image1.jpeg +// gs://folder/image2.gif +// gs://folder/image3.png +// +//
Object Detection
+// +// One or more CSV files where each line is a single column: +// +// GCS_FILE_PATH +// +// The Google Cloud Storage location of an image of up to +// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. +// This path is treated as the ID in the batch predict output. +// +// Sample rows: +// +// gs://folder/image1.jpeg +// gs://folder/image2.gif +// gs://folder/image3.png +//
+//
+// +//

AutoML Video Intelligence

+//
Classification
+// +// One or more CSV files where each line is a single column: +// +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END +// +// `GCS_FILE_PATH` is the Google Cloud Storage location of video up to 50GB in +// size and up to 3h in duration duration. +// Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +// +// `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the +// length of the video, and the end time must be after the start time. +// +// Sample rows: +// +// gs://folder/video1.mp4,10,40 +// gs://folder/video1.mp4,20,60 +// gs://folder/vid2.mov,0,inf +// +//
Object Tracking
+// +// One or more CSV files where each line is a single column: +// +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END +// +// `GCS_FILE_PATH` is the Google Cloud Storage location of video up to 50GB in +// size and up to 3h in duration duration. +// Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +// +// `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the +// length of the video, and the end time must be after the start time. +// +// Sample rows: +// +// gs://folder/video1.mp4,10,40 +// gs://folder/video1.mp4,20,60 +// gs://folder/vid2.mov,0,inf +//
+//
+// //

AutoML Natural Language

//
Classification
// @@ -504,13 +759,15 @@ message InputConfig { // GCS_FILE_PATH // // `GCS_FILE_PATH` is the Google Cloud Storage location of a text file. -// Supported file extensions: .TXT, .PDF +// Supported file extensions: .TXT, .PDF, .TIF, .TIFF +// // Text files can be no larger than 10MB in size. // // Sample rows: // // gs://folder/text1.txt // gs://folder/text2.pdf +// gs://folder/text3.tif // //
Sentiment Analysis
// One or more CSV files where each line is a single column: @@ -518,13 +775,15 @@ message InputConfig { // GCS_FILE_PATH // // `GCS_FILE_PATH` is the Google Cloud Storage location of a text file. -// Supported file extensions: .TXT, .PDF +// Supported file extensions: .TXT, .PDF, .TIF, .TIFF +// // Text files can be no larger than 128kB in size. // // Sample rows: // // gs://folder/text1.txt // gs://folder/text2.pdf +// gs://folder/text3.tif // //
Entity Extraction
// @@ -540,9 +799,10 @@ message InputConfig { // be UTF-8 NFC encoded (ASCII already is). The IDs provided should be // unique. // -// Each document JSONL file contains, per line, a proto that wraps a -// Document proto with `input_config` set. Only PDF documents are -// currently supported, and each PDF document cannot exceed 2MB in size. +// Each document JSONL file contains, per line, a proto that wraps a Document +// proto with `input_config` set. Each document cannot exceed 2MB in size. +// +// Supported document extensions: .PDF, .TIF, .TIFF // // Each JSONL file must not exceed 100MB in size, and no more than 20 // JSONL files may be passed. @@ -590,7 +850,7 @@ message InputConfig { // { // "document": { // "input_config": { -// "gcs_source": { "input_uris": [ "gs://folder/document2.pdf" ] +// "gcs_source": { "input_uris": [ "gs://folder/document2.tif" ] // } // } // } @@ -598,12 +858,83 @@ message InputConfig { //
//
// +//

AutoML Tables

+// +// See [Preparing your training +// data](https://cloud.google.com/automl-tables/docs/predict-batch) for more +// information. +// +// You can use either +// [gcs_source][google.cloud.automl.v1.BatchPredictInputConfig.gcs_source] +// or +// [bigquery_source][BatchPredictInputConfig.bigquery_source]. +// +// **For gcs_source:** +// +// CSV file(s), each by itself 10GB or smaller and total size must be +// 100GB or smaller, where first file must have a header containing +// column names. If the first row of a subsequent file is the same as +// the header, then it is also treated as a header. All other rows +// contain values for the corresponding columns. +// +// The column names must contain the model's +// +// [input_feature_column_specs'][google.cloud.automl.v1.TablesModelMetadata.input_feature_column_specs] +// [display_name-s][google.cloud.automl.v1.ColumnSpec.display_name] +// (order doesn't matter). The columns corresponding to the model's +// input feature column specs must contain values compatible with the +// column spec's data types. Prediction on all the rows, i.e. the CSV +// lines, will be attempted. +// +// +// Sample rows from a CSV file: +//
+// "First Name","Last Name","Dob","Addresses"
+//
+// "John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]"
+//
+// "Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]}
+// 
+// **For bigquery_source:** +// +// The URI of a BigQuery table. The user data size of the BigQuery +// table must be 100GB or smaller. +// +// The column names must contain the model's +// +// [input_feature_column_specs'][google.cloud.automl.v1.TablesModelMetadata.input_feature_column_specs] +// [display_name-s][google.cloud.automl.v1.ColumnSpec.display_name] +// (order doesn't matter). The columns corresponding to the model's +// input feature column specs must contain values compatible with the +// column spec's data types. Prediction on all the rows of the table +// will be attempted. +//
+//
+// // **Input field definitions:** // // `GCS_FILE_PATH` // : The path to a file on Google Cloud Storage. For example, // "gs://folder/video.avi". // +// `TIME_SEGMENT_START` +// : (`TIME_OFFSET`) +// Expresses a beginning, inclusive, of a time segment +// within an example that has a time dimension +// (e.g. video). +// +// `TIME_SEGMENT_END` +// : (`TIME_OFFSET`) +// Expresses an end, exclusive, of a time segment within +// n example that has a time dimension (e.g. video). +// +// `TIME_OFFSET` +// : A number of seconds as measured from the start of an +// example (e.g. video). Fractions are allowed, up to a +// microsecond precision. "inf" is allowed, and it means the end +// of the example. +// // **Errors:** // // If any of the provided CSV files can't be parsed or if more than certain @@ -630,82 +961,43 @@ message DocumentInputConfig { GcsSource gcs_source = 1; } -// Output configuration for ExportData. -// -// As destination the -// [gcs_destination][google.cloud.automl.v1.OutputConfig.gcs_destination] -// must be set unless specified otherwise for a domain. If gcs_destination is -// set then in the given directory a new directory is created. Its name -// will be "export_data--", -// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. -// Only ground truth annotations are exported (not approved annotations are -// not exported). -// -// The outputs correspond to how the data was imported, and may be used as -// input to import data. The output formats are represented as EBNF with literal -// commas and same non-terminal symbols definitions are these in import data's -// [InputConfig][google.cloud.automl.v1.InputConfig]: -// -// * For Image Classification: -// CSV file(s) `image_classification_1.csv`, -// `image_classification_2.csv`,...,`image_classification_N.csv`with -// each line in format: -// ML_USE,GCS_FILE_PATH,LABEL,LABEL,... -// where GCS_FILE_PATHs point at the original, source locations of the -// imported images. -// For MULTICLASS classification type, there can be at most one LABEL -// per example. -// -// * For Image Object Detection: -// CSV file(s) `image_object_detection_1.csv`, -// `image_object_detection_2.csv`,...,`image_object_detection_N.csv` -// with each line in format: -// ML_USE,GCS_FILE_PATH,[LABEL],(BOUNDING_BOX | ,,,,,,,) -// where GCS_FILE_PATHs point at the original, source locations of the -// imported images. -// -// * For Text Classification: -// In the created directory CSV file(s) `text_classification_1.csv`, -// `text_classification_2.csv`, ...,`text_classification_N.csv` will be -// created where N depends on the total number of examples exported. -// Each line in the CSV is of the format: -// ML_USE,GCS_FILE_PATH,LABEL,LABEL,... -// where GCS_FILE_PATHs point at the exported .txt files containing -// the text content of the imported example. For MULTICLASS -// classification type, there will be at most one LABEL per example. -// -// * For Text Sentiment: -// In the created directory CSV file(s) `text_sentiment_1.csv`, -// `text_sentiment_2.csv`, ...,`text_sentiment_N.csv` will be -// created where N depends on the total number of examples exported. -// Each line in the CSV is of the format: -// ML_USE,GCS_FILE_PATH,SENTIMENT -// where GCS_FILE_PATHs point at the exported .txt files containing -// the text content of the imported example. -// -// * For Text Extraction: -// CSV file `text_extraction.csv`, with each line in format: -// ML_USE,GCS_FILE_PATH -// GCS_FILE_PATH leads to a .JSONL (i.e. JSON Lines) file which -// contains, per line, a proto that wraps a TextSnippet proto (in json -// representation) followed by AnnotationPayload protos (called -// annotations). If initially documents had been imported, the JSONL -// will point at the original, source locations of the imported -// documents. -// -// * For Translation: +// * For Translation: // CSV file `translation.csv`, with each line in format: // ML_USE,GCS_FILE_PATH // GCS_FILE_PATH leads to a .TSV file which describes examples that have // given ML_USE, using the following row format per line: // TEXT_SNIPPET (in source language) \t TEXT_SNIPPET (in target // language) +// +// * For Tables: +// Output depends on whether the dataset was imported from Google Cloud +// Storage or BigQuery. +// Google Cloud Storage case: +// +// [gcs_destination][google.cloud.automl.v1p1beta.OutputConfig.gcs_destination] +// must be set. Exported are CSV file(s) `tables_1.csv`, +// `tables_2.csv`,...,`tables_N.csv` with each having as header line +// the table's column names, and all other lines contain values for +// the header columns. +// BigQuery case: +// +// [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination] +// pointing to a BigQuery project must be set. In the given project a +// new dataset will be created with name +// +// `export_data__` +// where will be made +// BigQuery-dataset-name compatible (e.g. most special characters will +// become underscores), and timestamp will be in +// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In that +// dataset a new table called `primary_table` will be created, and +// filled with precisely the same data as this obtained on import. message OutputConfig { // The destination of the output. oneof destination { - // Required. The Google Cloud Storage location where the output is to be - // written to. For Image Object Detection, Text Extraction in the given - // directory a new directory will be created with name: + // Required. The Google Cloud Storage location where the output is to be written to. + // For Image Object Detection, Text Extraction, Video Classification and + // Tables, in the given directory a new directory will be created with name: // export_data-- where // timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export // output will be written into that directory. @@ -725,6 +1017,101 @@ message OutputConfig { // where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents // of it depends on the ML problem the predictions are made for. // +// * For Image Classification: +// In the created directory files `image_classification_1.jsonl`, +// `image_classification_2.jsonl`,...,`image_classification_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of the successfully predicted images and annotations. +// A single image will be listed only once with all its annotations, +// and its annotations will never be split across files. +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps image's "ID" : "" followed by a list of +// zero or more AnnotationPayload protos (called annotations), which +// have classification detail populated. +// If prediction for any image failed (partially or completely), then an +// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` +// files will be created (N depends on total number of failed +// predictions). These files will have a JSON representation of a proto +// that wraps the same "ID" : "" but here followed by +// exactly one +// +// [`google.rpc.Status`](https: +// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// containing only `code` and `message`fields. +// +// * For Image Object Detection: +// In the created directory files `image_object_detection_1.jsonl`, +// `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl` +// will be created, where N may be 1, and depends on the +// total number of the successfully predicted images and annotations. +// Each .JSONL file will contain, per line, a JSON representation of a +// proto that wraps image's "ID" : "" followed by a list of +// zero or more AnnotationPayload protos (called annotations), which +// have image_object_detection detail populated. A single image will +// be listed only once with all its annotations, and its annotations +// will never be split across files. +// If prediction for any image failed (partially or completely), then +// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` +// files will be created (N depends on total number of failed +// predictions). These files will have a JSON representation of a proto +// that wraps the same "ID" : "" but here followed by +// exactly one +// +// [`google.rpc.Status`](https: +// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// containing only `code` and `message`fields. +// * For Video Classification: +// In the created directory a video_classification.csv file, and a .JSON +// file per each video classification requested in the input (i.e. each +// line in given CSV(s)), will be created. +// +// The format of video_classification.csv is: +// +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS +// where: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 +// the prediction input lines (i.e. video_classification.csv has +// precisely the same number of lines as the prediction input had.) +// JSON_FILE_NAME = Name of .JSON file in the output directory, which +// contains prediction responses for the video time segment. +// STATUS = "OK" if prediction completed successfully, or an error code +// with message otherwise. If STATUS is not "OK" then the .JSON file +// for that line may not exist or be empty. +// +// Each .JSON file, assuming STATUS is "OK", will contain a list of +// AnnotationPayload protos in JSON format, which are the predictions +// for the video time segment the file is assigned to in the +// video_classification.csv. All AnnotationPayload protos will have +// video_classification field set, and will be sorted by +// video_classification.type field (note that the returned types are +// governed by `classifaction_types` parameter in +// [PredictService.BatchPredictRequest.params][]). +// +// * For Video Object Tracking: +// In the created directory a video_object_tracking.csv file will be +// created, and multiple files video_object_trackinng_1.json, +// video_object_trackinng_2.json,..., video_object_trackinng_N.json, +// where N is the number of requests in the input (i.e. the number of +// lines in given CSV(s)). +// +// The format of video_object_tracking.csv is: +// +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS +// where: +// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 +// the prediction input lines (i.e. video_object_tracking.csv has +// precisely the same number of lines as the prediction input had.) +// JSON_FILE_NAME = Name of .JSON file in the output directory, which +// contains prediction responses for the video time segment. +// STATUS = "OK" if prediction completed successfully, or an error +// code with message otherwise. If STATUS is not "OK" then the .JSON +// file for that line may not exist or be empty. +// +// Each .JSON file, assuming STATUS is "OK", will contain a list of +// AnnotationPayload protos in JSON format, which are the predictions +// for each frame of the video time segment the file is assigned to in +// video_object_tracking.csv. All AnnotationPayload protos will have +// video_object_tracking field set. // * For Text Classification: // In the created directory files `text_classification_1.jsonl`, // `text_classification_2.jsonl`,...,`text_classification_N.jsonl` @@ -732,18 +1119,18 @@ message OutputConfig { // total number of inputs and annotations found. // // Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps input text (or pdf) file in +// proto that wraps input text file (or document) in // the text snippet (or document) proto and a list of // zero or more AnnotationPayload protos (called annotations), which -// have classification detail populated. A single text (or pdf) file -// will be listed only once with all its annotations, and its +// have classification detail populated. A single text file (or +// document) will be listed only once with all its annotations, and its // annotations will never be split across files. // -// If prediction for any text (or pdf) file failed (partially or +// If prediction for any input file (or document) failed (partially or // completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., // `errors_N.jsonl` files will be created (N depends on total number of // failed predictions). These files will have a JSON representation of a -// proto that wraps input text (or pdf) file followed by exactly one +// proto that wraps input file followed by exactly one // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) @@ -756,18 +1143,18 @@ message OutputConfig { // total number of inputs and annotations found. // // Each .JSONL file will contain, per line, a JSON representation of a -// proto that wraps input text (or pdf) file in +// proto that wraps input text file (or document) in // the text snippet (or document) proto and a list of // zero or more AnnotationPayload protos (called annotations), which -// have text_sentiment detail populated. A single text (or pdf) file -// will be listed only once with all its annotations, and its +// have text_sentiment detail populated. A single text file (or +// document) will be listed only once with all its annotations, and its // annotations will never be split across files. // -// If prediction for any text (or pdf) file failed (partially or +// If prediction for any input file (or document) failed (partially or // completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., // `errors_N.jsonl` files will be created (N depends on total number of // failed predictions). These files will have a JSON representation of a -// proto that wraps input text (or pdf) file followed by exactly one +// proto that wraps input file followed by exactly one // // [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) @@ -803,14 +1190,108 @@ message OutputConfig { // failed predictions). These files will have a JSON representation of a // proto that wraps either the "id" : "" (in case of inline) // or the document proto (in case of document) but here followed by -// exactly one [`google.rpc.Status`](https: +// exactly one +// +// [`google.rpc.Status`](https: // //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) // containing only `code` and `message`. +// +// * For Tables: +// Output depends on whether +// +// [gcs_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.gcs_destination] +// or +// +// [bigquery_destination][google.cloud.automl.v1p1beta.BatchPredictOutputConfig.bigquery_destination] +// is set (either is allowed). +// Google Cloud Storage case: +// In the created directory files `tables_1.csv`, `tables_2.csv`,..., +// `tables_N.csv` will be created, where N may be 1, and depends on +// the total number of the successfully predicted rows. +// For all CLASSIFICATION +// +// [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]: +// Each .csv file will contain a header, listing all columns' +// +// [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name] +// given on input followed by M target column names in the format of +// +// "<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] +// +// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>__score" where M is the number of distinct target values, +// i.e. number of distinct values in the target column of the table +// used to train the model. Subsequent lines will contain the +// respective values of successfully predicted rows, with the last, +// i.e. the target, columns having the corresponding prediction +// [scores][google.cloud.automl.v1p1beta.TablesAnnotation.score]. +// For REGRESSION and FORECASTING +// +// [prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type]: +// Each .csv file will contain a header, listing all columns' +// [display_name-s][google.cloud.automl.v1p1beta.display_name] +// given on input followed by the predicted target column with name +// in the format of +// +// "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] +// +// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>" +// Subsequent lines will contain the respective values of +// successfully predicted rows, with the last, i.e. the target, +// column having the predicted target value. +// If prediction for any rows failed, then an additional +// `errors_1.csv`, `errors_2.csv`,..., `errors_N.csv` will be +// created (N depends on total number of failed rows). These files +// will have analogous format as `tables_*.csv`, but always with a +// single target column having +// +// [`google.rpc.Status`](https: +// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// represented as a JSON string, and containing only `code` and +// `message`. +// BigQuery case: +// +// [bigquery_destination][google.cloud.automl.v1p1beta.OutputConfig.bigquery_destination] +// pointing to a BigQuery project must be set. In the given project a +// new dataset will be created with name +// `prediction__` +// where will be made +// BigQuery-dataset-name compatible (e.g. most special characters will +// become underscores), and timestamp will be in +// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset +// two tables will be created, `predictions`, and `errors`. +// The `predictions` table's column names will be the input columns' +// +// [display_name-s][google.cloud.automl.v1p1beta.ColumnSpec.display_name] +// followed by the target column with name in the format of +// +// "predicted_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] +// +// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>" +// The input feature columns will contain the respective values of +// successfully predicted rows, with the target column having an +// ARRAY of +// +// [AnnotationPayloads][google.cloud.automl.v1p1beta.AnnotationPayload], +// represented as STRUCT-s, containing +// [TablesAnnotation][google.cloud.automl.v1p1beta.TablesAnnotation]. +// The `errors` table contains rows for which the prediction has +// failed, it has analogous input columns while the target column name +// is in the format of +// +// "errors_<[target_column_specs][google.cloud.automl.v1p1beta.TablesModelMetadata.target_column_spec] +// +// [display_name][google.cloud.automl.v1p1beta.ColumnSpec.display_name]>", +// and as a value has +// +// [`google.rpc.Status`](https: +// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +// represented as a STRUCT, and containing only `code` and `message`. message BatchPredictOutputConfig { // The destination of the output. oneof destination { - // Required. The Google Cloud Storage location of the directory where the - // output is to be written to. + // Required. The Google Cloud Storage location of the directory where the output is to + // be written to. GcsDestination gcs_destination = 1 [(google.api.field_behavior) = REQUIRED]; } } @@ -819,9 +1300,8 @@ message BatchPredictOutputConfig { message ModelExportOutputConfig { // The destination of the output. oneof destination { - // Required. The Google Cloud Storage location where the model is to be - // written to. This location may only be set for the following model - // formats: + // Required. The Google Cloud Storage location where the model is to be written to. + // This location may only be set for the following model formats: // "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml". // // Under the directory given as the destination a new one with name @@ -839,7 +1319,8 @@ message ModelExportOutputConfig { // // * For Image Classification mobile-low-latency-1, mobile-versatile-1, // mobile-high-accuracy-1: - // "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js". + // "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", + // "docker". // // * For Image Classification mobile-core-ml-low-latency-1, // mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: @@ -855,13 +1336,24 @@ message ModelExportOutputConfig { // devices. // * tf_saved_model - A tensorflow model in SavedModel format. // * tf_js - A [TensorFlow.js](https://www.tensorflow.org/js) model that can - // be used in the browser and in Node.js using JavaScript.x` + // be used in the browser and in Node.js using JavaScript. + // * docker - Used for Docker containers. Use the params field to customize + // the container. The container is verified to work correctly on + // ubuntu 16.04 operating system. See more at + // [containers + // + // quickstart](https: + // //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) // * core_ml - Used for iOS mobile devices. string model_format = 4; // Additional model-type and format specific parameters describing the // requirements for the to be exported model files, any string must be up to // 25000 characters long. + // + // * For `docker` format: + // `cpu_architecture` - (string) "x86_64" (default). + // `gpu_architecture` - (string) "none" (default), "nvidia". map params = 2; } diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/model.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/model.proto index ee080684d..f53689377 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/model.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/model.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; @@ -35,7 +34,7 @@ option ruby_package = "Google::Cloud::AutoML::V1"; message Model { option (google.api.resource) = { type: "automl.googleapis.com/Model" - pattern: "projects/{project_id}/locations/{location_id}/models/{model_id}" + pattern: "projects/{project}/locations/{location}/models/{model}" }; // Deployment state of the model. diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/model_evaluation.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/model_evaluation.proto index 8c768adc3..601389f7a 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/model_evaluation.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/model_evaluation.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,13 +11,11 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; package google.cloud.automl.v1; -import "google/api/annotations.proto"; import "google/api/resource.proto"; import "google/cloud/automl/v1/classification.proto"; import "google/cloud/automl/v1/detection.proto"; @@ -25,6 +23,7 @@ import "google/cloud/automl/v1/text_extraction.proto"; import "google/cloud/automl/v1/text_sentiment.proto"; import "google/cloud/automl/v1/translation.proto"; import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AutoML.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1;automl"; @@ -35,17 +34,24 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // Evaluation results of a model. message ModelEvaluation { + option (google.api.resource) = { + type: "automl.googleapis.com/ModelEvaluation" + pattern: "projects/{project}/locations/{location}/models/{model}/modelEvaluations/{model_evaluation}" + }; + // Output only. Problem type specific evaluation metrics. oneof metrics { - // Model evaluation metrics for image, text classification. + // Model evaluation metrics for image, text, video and tables + // classification. + // Tables problem is considered a classification when the target column + // is CATEGORY DataType. ClassificationEvaluationMetrics classification_evaluation_metrics = 8; // Model evaluation metrics for translation. TranslationEvaluationMetrics translation_evaluation_metrics = 9; // Model evaluation metrics for image object detection. - ImageObjectDetectionEvaluationMetrics - image_object_detection_evaluation_metrics = 12; + ImageObjectDetectionEvaluationMetrics image_object_detection_evaluation_metrics = 12; // Evaluation metrics for text sentiment models. TextSentimentEvaluationMetrics text_sentiment_evaluation_metrics = 11; @@ -60,8 +66,15 @@ message ModelEvaluation { // `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}` string name = 1; - // Output only. The ID of the annotation spec that the model evaluation - // applies to. The The ID is empty for the overall model evaluation. + // Output only. The ID of the annotation spec that the model evaluation applies to. The + // The ID is empty for the overall model evaluation. + // For Tables annotation specs in the dataset do not exist and this ID is + // always not set, but for CLASSIFICATION + // + // [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type] + // the + // [display_name][google.cloud.automl.v1.ModelEvaluation.display_name] + // field is used. string annotation_spec_id = 2; // Output only. The value of @@ -69,7 +82,12 @@ message ModelEvaluation { // at the moment when the model was trained. Because this field returns a // value at model training time, for different models trained from the same // dataset, the values may differ, since display names could had been changed - // between the two model's trainings. + // between the two model's trainings. For Tables CLASSIFICATION + // + // [prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type] + // distinct values of the target column at the moment of the model evaluation + // are populated here. + // The display_name is empty for the overall model evaluation. string display_name = 15; // Output only. Timestamp when this model evaluation was created. diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/operations.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/operations.proto index dfe20eb45..d6a998708 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/operations.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/operations.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/prediction_service.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/prediction_service.proto index d38008d7c..d12f9276c 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/prediction_service.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/prediction_service.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; @@ -19,6 +18,7 @@ package google.cloud.automl.v1; import "google/api/annotations.proto"; import "google/api/client.proto"; +import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/automl/v1/annotation_payload.proto"; import "google/cloud/automl/v1/data_items.proto"; @@ -40,168 +40,288 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // snake_case or kebab-case, either of those cases is accepted. service PredictionService { option (google.api.default_host) = "automl.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; - // Perform an online prediction. The prediction result will be directly + // Perform an online prediction. The prediction result is directly // returned in the response. - // Available for following ML problems, and their expected request payloads: - // * Image Classification - Image in .JPEG, .GIF or .PNG format, image_bytes - // up to 30MB. - // * Image Object Detection - Image in .JPEG, .GIF or .PNG format, image_bytes - // up to 30MB. - // * Text Classification - TextSnippet, content up to 60,000 characters, - // UTF-8 encoded. - // * Text Extraction - TextSnippet, content up to 30,000 characters, - // UTF-8 NFC encoded. - // * Translation - TextSnippet, content up to 25,000 characters, UTF-8 - // encoded. - // * Text Sentiment - TextSnippet, content up 500 characters, UTF-8 - // encoded. + // Available for following ML scenarios, and their expected request payloads: + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + // + //
AutoML Vision ClassificationAn image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
AutoML Vision Object DetectionAn image in .JPEG, .GIF or .PNG format, image_bytes up to 30MB.
AutoML Natural Language ClassificationA TextSnippet up to 60,000 characters, UTF-8 encoded or a document in + // .PDF, .TIF or .TIFF format with size upto 2MB.
AutoML Natural Language Entity ExtractionA TextSnippet up to 10,000 characters, UTF-8 NFC encoded or a document + // in .PDF, .TIF or .TIFF format with size upto 20MB.
AutoML Natural Language Sentiment AnalysisA TextSnippet up to 60,000 characters, UTF-8 encoded or a document in + // .PDF, .TIF or .TIFF format with size upto 2MB.
AutoML TranslationA TextSnippet up to 25,000 characters, UTF-8 encoded.
AutoML TablesA row with column values matching + // the columns of the model, up to 5MB. Not available for FORECASTING + // `prediction_type`. + //
rpc Predict(PredictRequest) returns (PredictResponse) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/models/*}:predict" body: "*" }; + option (google.api.method_signature) = "name,payload,params"; } - // Perform a batch prediction. Unlike the online - // [Predict][google.cloud.automl.v1.PredictionService.Predict], batch + // Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1.PredictionService.Predict], batch // prediction result won't be immediately available in the response. Instead, // a long running operation object is returned. User can poll the operation // result via [GetOperation][google.longrunning.Operations.GetOperation] - // method. Once the operation is done, - // [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned - // in the [response][google.longrunning.Operation.response] field. Available - // for following ML problems: - // * Image Classification - // * Image Object Detection - // * Text Extraction + // method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1.BatchPredictResult] is returned in + // the [response][google.longrunning.Operation.response] field. + // Available for following ML scenarios: + // + // * AutoML Vision Classification + // * AutoML Vision Object Detection + // * AutoML Video Intelligence Classification + // * AutoML Video Intelligence Object Tracking * AutoML Natural Language Classification + // * AutoML Natural Language Entity Extraction + // * AutoML Natural Language Sentiment Analysis + // * AutoML Tables rpc BatchPredict(BatchPredictRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/models/*}:batchPredict" body: "*" }; + option (google.api.method_signature) = "name,input_config,output_config,params"; + option (google.longrunning.operation_info) = { + response_type: "BatchPredictResult" + metadata_type: "OperationMetadata" + }; } } -// Request message for -// [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict]. +// Request message for [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict]. message PredictRequest { - // Name of the model requested to serve the prediction. - string name = 1; + // Required. Name of the model requested to serve the prediction. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/Model" + } + ]; // Required. Payload to perform a prediction on. The payload must match the // problem type that the model was trained to solve. - ExamplePayload payload = 2; + ExamplePayload payload = 2 [(google.api.field_behavior) = REQUIRED]; // Additional domain-specific parameters, any string must be up to 25000 // characters long. // - // * For Image Classification: + //

AutoML Vision Classification

+ // + // `score_threshold` + // : (float) A value from 0.0 to 1.0. When the model + // makes predictions for an image, it will only produce results that have + // at least this confidence score. The default is 0.5. + // + //

AutoML Vision Object Detection

+ // + // `score_threshold` + // : (float) When Model detects objects on the image, + // it will only produce bounding boxes which have at least this + // confidence score. Value in 0 to 1 range, default is 0.5. + // + // `max_bounding_box_count` + // : (int64) The maximum number of bounding + // boxes returned. The default is 100. The + // number of returned bounding boxes might be limited by the server. // - // `score_threshold` - (float) A value from 0.0 to 1.0. When the model - // makes predictions for an image, it will only produce results that have - // at least this confidence score. The default is 0.5. + //

AutoML Tables

// - // * For Image Object Detection: - // `score_threshold` - (float) When Model detects objects on the image, - // it will only produce bounding boxes which have at least this - // confidence score. Value in 0 to 1 range, default is 0.5. - // `max_bounding_box_count` - (int64) No more than this number of bounding - // boxes will be returned in the response. Default is 100, the - // requested value may be limited by server. + // `feature_importance` + // : (boolean) Whether + // + // [feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance] + // is populated in the returned list of + // [TablesAnnotation][google.cloud.automl.v1.TablesAnnotation] + // objects. The default is false. map params = 3; } -// Response message for -// [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict]. +// Response message for [PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict]. message PredictResponse { // Prediction result. - // Translation and Text Sentiment will return precisely one payload. + // AutoML Translation and AutoML Natural Language Sentiment Analysis + // return precisely one payload. repeated AnnotationPayload payload = 1; // The preprocessed example that AutoML actually makes prediction on. // Empty if AutoML does not preprocess the input example. - // * For Text Extraction: - // If the input is a .pdf file, the OCR'ed text will be provided in - // [document_text][google.cloud.automl.v1.Document.document_text]. - // - // * For Text Classification: - // If the input is a .pdf file, the OCR'ed trucated text will be provided in - // [document_text][google.cloud.automl.v1.Document.document_text]. // - // * For Text Sentiment: - // If the input is a .pdf file, the OCR'ed trucated text will be provided in - // [document_text][google.cloud.automl.v1.Document.document_text]. + // For AutoML Natural Language (Classification, Entity Extraction, and + // Sentiment Analysis), if the input is a document, the recognized text is + // returned in the + // [document_text][google.cloud.automl.v1.Document.document_text] + // property. ExamplePayload preprocessed_input = 3; // Additional domain-specific prediction response metadata. // - // * For Image Object Detection: - // `max_bounding_box_count` - (int64) At most that many bounding boxes per - // image could have been returned. - // - // * For Text Sentiment: - // `sentiment_score` - (float, deprecated) A value between -1 and 1, - // -1 maps to least positive sentiment, while 1 maps to the most positive - // one and the higher the score, the more positive the sentiment in the - // document is. Yet these values are relative to the training data, so - // e.g. if all data was positive then -1 will be also positive (though - // the least). - // The sentiment_score shouldn't be confused with "score" or "magnitude" - // from the previous Natural Language Sentiment Analysis API. + //

AutoML Vision Object Detection

+ // + // `max_bounding_box_count` + // : (int64) The maximum number of bounding boxes to return per image. + // + //

AutoML Natural Language Sentiment Analysis

+ // + // `sentiment_score` + // : (float, deprecated) A value between -1 and 1, + // -1 maps to least positive sentiment, while 1 maps to the most positive + // one and the higher the score, the more positive the sentiment in the + // document is. Yet these values are relative to the training data, so + // e.g. if all data was positive then -1 is also positive (though + // the least). + // `sentiment_score` is not the same as "score" and "magnitude" + // from Sentiment Analysis in the Natural Language API. map metadata = 2; } -// Request message for -// [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict]. +// Request message for [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict]. message BatchPredictRequest { - // Name of the model requested to serve the batch prediction. - string name = 1; + // Required. Name of the model requested to serve the batch prediction. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/Model" + } + ]; // Required. The input configuration for batch prediction. - BatchPredictInputConfig input_config = 3; + BatchPredictInputConfig input_config = 3 [(google.api.field_behavior) = REQUIRED]; // Required. The Configuration specifying where output predictions should // be written. - BatchPredictOutputConfig output_config = 4; + BatchPredictOutputConfig output_config = 4 [(google.api.field_behavior) = REQUIRED]; // Additional domain-specific parameters for the predictions, any string must // be up to 25000 characters long. // - // * For Text Classification: + //

AutoML Natural Language Classification

+ // + // `score_threshold` + // : (float) A value from 0.0 to 1.0. When the model + // makes predictions for a text snippet, it will only produce results + // that have at least this confidence score. The default is 0.5. + // // - // `score_threshold` - (float) A value from 0.0 to 1.0. When the model - // makes predictions for a text snippet, it will only produce results - // that have at least this confidence score. The default is 0.5. + //

AutoML Vision Classification

// - // * For Image Classification: + // `score_threshold` + // : (float) A value from 0.0 to 1.0. When the model + // makes predictions for an image, it will only produce results that + // have at least this confidence score. The default is 0.5. // - // `score_threshold` - (float) A value from 0.0 to 1.0. When the model - // makes predictions for an image, it will only produce results that - // have at least this confidence score. The default is 0.5. + //

AutoML Vision Object Detection

// - // * For Image Object Detection: + // `score_threshold` + // : (float) When Model detects objects on the image, + // it will only produce bounding boxes which have at least this + // confidence score. Value in 0 to 1 range, default is 0.5. + // + // `max_bounding_box_count` + // : (int64) The maximum number of bounding + // boxes returned per image. The default is 100, the + // number of bounding boxes returned might be limited by the server. + //

AutoML Video Intelligence Classification

+ // + // `score_threshold` + // : (float) A value from 0.0 to 1.0. When the model + // makes predictions for a video, it will only produce results that + // have at least this confidence score. The default is 0.5. + // + // `segment_classification` + // : (boolean) Set to true to request + // segment-level classification. AutoML Video Intelligence returns + // labels and their confidence scores for the entire segment of the + // video that user specified in the request configuration. + // The default is true. + // + // `shot_classification` + // : (boolean) Set to true to request shot-level + // classification. AutoML Video Intelligence determines the boundaries + // for each camera shot in the entire segment of the video that user + // specified in the request configuration. AutoML Video Intelligence + // then returns labels and their confidence scores for each detected + // shot, along with the start and end time of the shot. + // The default is false. + // + // WARNING: Model evaluation is not done for this classification type, + // the quality of it depends on training data, but there are no metrics + // provided to describe that quality. + // + // `1s_interval_classification` + // : (boolean) Set to true to request + // classification for a video at one-second intervals. AutoML Video + // Intelligence returns labels and their confidence scores for each + // second of the entire segment of the video that user specified in the + // request configuration. The default is false. + // + // WARNING: Model evaluation is not done for this classification + // type, the quality of it depends on training data, but there are no + // metrics provided to describe that quality. + // + //

AutoML Video Intelligence Object Tracking

+ // + // `score_threshold` + // : (float) When Model detects objects on video frames, + // it will only produce bounding boxes which have at least this + // confidence score. Value in 0 to 1 range, default is 0.5. + // + // `max_bounding_box_count` + // : (int64) The maximum number of bounding + // boxes returned per image. The default is 100, the + // number of bounding boxes returned might be limited by the server. + // + // `min_bounding_box_size` + // : (float) Only bounding boxes with shortest edge + // at least that long as a relative value of video frame size are + // returned. Value in 0 to 1 range. Default is 0. // - // `score_threshold` - (float) When Model detects objects on the image, - // it will only produce bounding boxes which have at least this - // confidence score. Value in 0 to 1 range, default is 0.5. - // `max_bounding_box_count` - (int64) No more than this number of bounding - // boxes will be produced per image. Default is 100, the - // requested value may be limited by server. map params = 5; } // Result of the Batch Predict. This message is returned in // [response][google.longrunning.Operation.response] of the operation returned -// by the -// [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict]. +// by the [PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict]. message BatchPredictResult { // Additional domain-specific prediction response metadata. // - // * For Image Object Detection: - // `max_bounding_box_count` - (int64) At most that many bounding boxes per - // image could have been returned. + //

AutoML Vision Object Detection

+ // + // `max_bounding_box_count` + // : (int64) The maximum number of bounding boxes returned per image. + // + //

AutoML Video Intelligence Object Tracking

+ // + // `max_bounding_box_count` + // : (int64) The maximum number of bounding boxes returned per frame. map metadata = 1; } diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/service.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/service.proto index bf51bdb15..7c73243cc 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/service.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/service.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; @@ -19,6 +18,7 @@ package google.cloud.automl.v1; import "google/api/annotations.proto"; import "google/api/client.proto"; +import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/automl/v1/annotation_payload.proto"; import "google/cloud/automl/v1/annotation_spec.proto"; @@ -55,16 +55,19 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // snake_case or kebab-case, either of those cases is accepted. service AutoMl { option (google.api.default_host) = "automl.googleapis.com"; - option (google.api.oauth_scopes) = - "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; // Creates a dataset. - rpc CreateDataset(CreateDatasetRequest) - returns (google.longrunning.Operation) { + rpc CreateDataset(CreateDatasetRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{parent=projects/*/locations/*}/datasets" body: "dataset" }; + option (google.api.method_signature) = "parent,dataset"; + option (google.longrunning.operation_info) = { + response_type: "Dataset" + metadata_type: "OperationMetadata" + }; } // Gets a dataset. @@ -72,6 +75,7 @@ service AutoMl { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/datasets/*}" }; + option (google.api.method_signature) = "name"; } // Lists datasets in a project. @@ -79,6 +83,7 @@ service AutoMl { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/datasets" }; + option (google.api.method_signature) = "parent"; } // Updates a dataset. @@ -87,6 +92,7 @@ service AutoMl { patch: "/v1/{dataset.name=projects/*/locations/*/datasets/*}" body: "dataset" }; + option (google.api.method_signature) = "dataset,update_mask"; } // Deletes a dataset and all of its contents. @@ -94,19 +100,36 @@ service AutoMl { // [response][google.longrunning.Operation.response] field when it completes, // and `delete_details` in the // [metadata][google.longrunning.Operation.metadata] field. - rpc DeleteDataset(DeleteDatasetRequest) - returns (google.longrunning.Operation) { + rpc DeleteDataset(DeleteDatasetRequest) returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/datasets/*}" }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; } // Imports data into a dataset. + // For Tables this method can only be called on an empty Dataset. + // + // For Tables: + // * A + // [schema_inference_version][google.cloud.automl.v1.InputConfig.params] + // parameter must be explicitly set. + // Returns an empty response in the + // [response][google.longrunning.Operation.response] field when it completes. rpc ImportData(ImportDataRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/datasets/*}:importData" body: "*" }; + option (google.api.method_signature) = "name,input_config"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; } // Exports dataset's data to the provided output location. @@ -117,14 +140,19 @@ service AutoMl { post: "/v1/{name=projects/*/locations/*/datasets/*}:exportData" body: "*" }; + option (google.api.method_signature) = "name,output_config"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; } // Gets an annotation spec. - rpc GetAnnotationSpec(GetAnnotationSpecRequest) - returns (google.cloud.automl.v1.AnnotationSpec) { + rpc GetAnnotationSpec(GetAnnotationSpecRequest) returns (AnnotationSpec) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}" }; + option (google.api.method_signature) = "name"; } // Creates a model. @@ -137,6 +165,11 @@ service AutoMl { post: "/v1/{parent=projects/*/locations/*}/models" body: "model" }; + option (google.api.method_signature) = "parent,model"; + option (google.longrunning.operation_info) = { + response_type: "Model" + metadata_type: "OperationMetadata" + }; } // Gets a model. @@ -144,6 +177,7 @@ service AutoMl { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/models/*}" }; + option (google.api.method_signature) = "name"; } // Lists models. @@ -151,6 +185,7 @@ service AutoMl { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/models" }; + option (google.api.method_signature) = "parent"; } // Deletes a model. @@ -162,6 +197,11 @@ service AutoMl { option (google.api.http) = { delete: "/v1/{name=projects/*/locations/*/models/*}" }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; } // Updates a model. @@ -170,17 +210,18 @@ service AutoMl { patch: "/v1/{model.name=projects/*/locations/*/models/*}" body: "model" }; + option (google.api.method_signature) = "model,update_mask"; } // Deploys a model. If a model is already deployed, deploying it with the // same parameters has no effect. Deploying with different parametrs // (as e.g. changing // - // [node_number][google.cloud.automl.v1.ImageObjectDetectionModelDeploymentMetadata.node_number]) + // [node_number][google.cloud.automl.v1p1beta.ImageObjectDetectionModelDeploymentMetadata.node_number]) // will reset the deployment state without pausing the model's availability. // - // Only applicable for Text Classification, Image Object Detection; all other - // domains manage deployment automatically. + // Only applicable for Text Classification, Image Object Detection , Tables, and Image Segmentation; all other domains manage + // deployment automatically. // // Returns an empty response in the // [response][google.longrunning.Operation.response] field when it completes. @@ -189,21 +230,30 @@ service AutoMl { post: "/v1/{name=projects/*/locations/*/models/*}:deploy" body: "*" }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; } // Undeploys a model. If the model is not deployed this method has no effect. // - // Only applicable for Text Classification, Image Object Detection; + // Only applicable for Text Classification, Image Object Detection and Tables; // all other domains manage deployment automatically. // // Returns an empty response in the // [response][google.longrunning.Operation.response] field when it completes. - rpc UndeployModel(UndeployModelRequest) - returns (google.longrunning.Operation) { + rpc UndeployModel(UndeployModelRequest) returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v1/{name=projects/*/locations/*/models/*}:undeploy" body: "*" }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; } // Exports a trained, "export-able", model to a user specified Google Cloud @@ -218,6 +268,11 @@ service AutoMl { post: "/v1/{name=projects/*/locations/*/models/*}:export" body: "*" }; + option (google.api.method_signature) = "name,output_config"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; } // Gets a model evaluation. @@ -225,45 +280,57 @@ service AutoMl { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/models/*/modelEvaluations/*}" }; + option (google.api.method_signature) = "name"; } // Lists model evaluations. - rpc ListModelEvaluations(ListModelEvaluationsRequest) - returns (ListModelEvaluationsResponse) { + rpc ListModelEvaluations(ListModelEvaluationsRequest) returns (ListModelEvaluationsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*/models/*}/modelEvaluations" }; + option (google.api.method_signature) = "parent,filter"; } } -// Request message for -// [AutoMl.CreateDataset][google.cloud.automl.v1.AutoMl.CreateDataset]. +// Request message for [AutoMl.CreateDataset][google.cloud.automl.v1.AutoMl.CreateDataset]. message CreateDatasetRequest { - // The resource name of the project to create the dataset for. - string parent = 1; - - // The dataset to create. - Dataset dataset = 2; + // Required. The resource name of the project to create the dataset for. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. The dataset to create. + Dataset dataset = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for -// [AutoMl.GetDataset][google.cloud.automl.v1.AutoMl.GetDataset]. +// Request message for [AutoMl.GetDataset][google.cloud.automl.v1.AutoMl.GetDataset]. message GetDatasetRequest { - // The resource name of the dataset to retrieve. - string name = 1; + // Required. The resource name of the dataset to retrieve. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/Dataset" + } + ]; } -// Request message for -// [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets]. +// Request message for [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets]. message ListDatasetsRequest { - // The resource name of the project from which to list datasets. - string parent = 1; + // Required. The resource name of the project from which to list datasets. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; // An expression for filtering the results of the request. // // * `dataset_metadata` - for existence of the case (e.g. - // image_classification_dataset_metadata:*). Some examples of - // using the filter are: + // image_classification_dataset_metadata:*). Some examples of using the filter are: // // * `translation_dataset_metadata:*` --> The dataset has // translation_dataset_metadata. @@ -275,98 +342,121 @@ message ListDatasetsRequest { // A token identifying a page of results for the server to return // Typically obtained via - // [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] - // of the previous + // [ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token] of the previous // [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets] call. string page_token = 6; } -// Response message for -// [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets]. +// Response message for [AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets]. message ListDatasetsResponse { // The datasets read. repeated Dataset datasets = 1; // A token to retrieve next page of results. - // Pass to - // [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] - // to obtain that page. + // Pass to [ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token] to obtain that page. string next_page_token = 2; } -// Request message for -// [AutoMl.UpdateDataset][google.cloud.automl.v1.AutoMl.UpdateDataset] +// Request message for [AutoMl.UpdateDataset][google.cloud.automl.v1.AutoMl.UpdateDataset] message UpdateDatasetRequest { - // The dataset which replaces the resource on the server. - Dataset dataset = 1; + // Required. The dataset which replaces the resource on the server. + Dataset dataset = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The update mask applies to the resource. - google.protobuf.FieldMask update_mask = 2; + google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for -// [AutoMl.DeleteDataset][google.cloud.automl.v1.AutoMl.DeleteDataset]. +// Request message for [AutoMl.DeleteDataset][google.cloud.automl.v1.AutoMl.DeleteDataset]. message DeleteDatasetRequest { - // The resource name of the dataset to delete. - string name = 1; + // Required. The resource name of the dataset to delete. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/Dataset" + } + ]; } -// Request message for -// [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData]. +// Request message for [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData]. message ImportDataRequest { // Required. Dataset name. Dataset must already exist. All imported // annotations and examples will be added. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/Dataset" + } + ]; // Required. The desired input location and its domain specific semantics, // if any. - InputConfig input_config = 3; + InputConfig input_config = 3 [(google.api.field_behavior) = REQUIRED]; } -// Request message for -// [AutoMl.ExportData][google.cloud.automl.v1.AutoMl.ExportData]. +// Request message for [AutoMl.ExportData][google.cloud.automl.v1.AutoMl.ExportData]. message ExportDataRequest { // Required. The resource name of the dataset. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/Dataset" + } + ]; // Required. The desired output location. - OutputConfig output_config = 3; + OutputConfig output_config = 3 [(google.api.field_behavior) = REQUIRED]; } -// Request message for -// [AutoMl.GetAnnotationSpec][google.cloud.automl.v1.AutoMl.GetAnnotationSpec]. +// Request message for [AutoMl.GetAnnotationSpec][google.cloud.automl.v1.AutoMl.GetAnnotationSpec]. message GetAnnotationSpecRequest { - // The resource name of the annotation spec to retrieve. - string name = 1; + // Required. The resource name of the annotation spec to retrieve. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/AnnotationSpec" + } + ]; } -// Request message for -// [AutoMl.CreateModel][google.cloud.automl.v1.AutoMl.CreateModel]. +// Request message for [AutoMl.CreateModel][google.cloud.automl.v1.AutoMl.CreateModel]. message CreateModelRequest { - // Resource name of the parent project where the model is being created. - string parent = 1; - - // The model to create. - Model model = 4; + // Required. Resource name of the parent project where the model is being created. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; + + // Required. The model to create. + Model model = 4 [(google.api.field_behavior) = REQUIRED]; } -// Request message for -// [AutoMl.GetModel][google.cloud.automl.v1.AutoMl.GetModel]. +// Request message for [AutoMl.GetModel][google.cloud.automl.v1.AutoMl.GetModel]. message GetModelRequest { - // Resource name of the model. - string name = 1; + // Required. Resource name of the model. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/Model" + } + ]; } -// Request message for -// [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels]. +// Request message for [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels]. message ListModelsRequest { - // Resource name of the project, from which to list the models. - string parent = 1; + // Required. Resource name of the project, from which to list the models. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "locations.googleapis.com/Location" + } + ]; // An expression for filtering the results of the request. // // * `model_metadata` - for existence of the case (e.g. - // image_classification_model_metadata:*). + // video_classification_model_metadata:*). // * `dataset_id` - for = or !=. Some examples of using the filter are: // // * `image_classification_model_metadata:*` --> The model has @@ -379,94 +469,112 @@ message ListModelsRequest { // A token identifying a page of results for the server to return // Typically obtained via - // [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] - // of the previous + // [ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token] of the previous // [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels] call. string page_token = 6; } -// Response message for -// [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels]. +// Response message for [AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels]. message ListModelsResponse { // List of models in the requested page. repeated Model model = 1; // A token to retrieve next page of results. - // Pass to - // [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] - // to obtain that page. + // Pass to [ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token] to obtain that page. string next_page_token = 2; } -// Request message for -// [AutoMl.DeleteModel][google.cloud.automl.v1.AutoMl.DeleteModel]. +// Request message for [AutoMl.DeleteModel][google.cloud.automl.v1.AutoMl.DeleteModel]. message DeleteModelRequest { - // Resource name of the model being deleted. - string name = 1; + // Required. Resource name of the model being deleted. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/Model" + } + ]; } -// Request message for -// [AutoMl.UpdateModel][google.cloud.automl.v1.AutoMl.UpdateModel] +// Request message for [AutoMl.UpdateModel][google.cloud.automl.v1.AutoMl.UpdateModel] message UpdateModelRequest { - // The model which replaces the resource on the server. - Model model = 1; + // Required. The model which replaces the resource on the server. + Model model = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The update mask applies to the resource. - google.protobuf.FieldMask update_mask = 2; + google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request message for -// [AutoMl.DeployModel][google.cloud.automl.v1.AutoMl.DeployModel]. +// Request message for [AutoMl.DeployModel][google.cloud.automl.v1.AutoMl.DeployModel]. message DeployModelRequest { // The per-domain specific deployment parameters. oneof model_deployment_metadata { // Model deployment metadata specific to Image Object Detection. - ImageObjectDetectionModelDeploymentMetadata - image_object_detection_model_deployment_metadata = 2; + ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2; // Model deployment metadata specific to Image Classification. - ImageClassificationModelDeploymentMetadata - image_classification_model_deployment_metadata = 4; + ImageClassificationModelDeploymentMetadata image_classification_model_deployment_metadata = 4; } - // Resource name of the model to deploy. - string name = 1; + // Required. Resource name of the model to deploy. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/Model" + } + ]; } -// Request message for -// [AutoMl.UndeployModel][google.cloud.automl.v1.AutoMl.UndeployModel]. +// Request message for [AutoMl.UndeployModel][google.cloud.automl.v1.AutoMl.UndeployModel]. message UndeployModelRequest { - // Resource name of the model to undeploy. - string name = 1; + // Required. Resource name of the model to undeploy. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/Model" + } + ]; } -// Request message for -// [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]. Models need -// to be enabled for exporting, otherwise an error code will be returned. +// Request message for [AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel]. +// Models need to be enabled for exporting, otherwise an error code will be +// returned. message ExportModelRequest { // Required. The resource name of the model to export. - string name = 1; + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/Model" + } + ]; // Required. The desired output location and configuration. - ModelExportOutputConfig output_config = 3; + ModelExportOutputConfig output_config = 3 [(google.api.field_behavior) = REQUIRED]; } -// Request message for -// [AutoMl.GetModelEvaluation][google.cloud.automl.v1.AutoMl.GetModelEvaluation]. +// Request message for [AutoMl.GetModelEvaluation][google.cloud.automl.v1.AutoMl.GetModelEvaluation]. message GetModelEvaluationRequest { - // Resource name for the model evaluation. - string name = 1; + // Required. Resource name for the model evaluation. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/ModelEvaluation" + } + ]; } -// Request message for -// [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]. +// Request message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]. message ListModelEvaluationsRequest { - // Resource name of the model to list the model evaluations for. + // Required. Resource name of the model to list the model evaluations for. // If modelId is set as "-", this will list model evaluations from across all // models of the parent location. - string parent = 1; - - // An expression for filtering the results of the request. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/Model" + } + ]; + + // Required. An expression for filtering the results of the request. // // * `annotation_spec_id` - for =, != or existence. See example below for // the last. @@ -477,31 +585,25 @@ message ListModelEvaluationsRequest { // annotation spec with ID different than 4. // * `NOT annotation_spec_id:*` --> The model evaluation was done for // aggregate of all annotation specs. - string filter = 3; + string filter = 3 [(google.api.field_behavior) = REQUIRED]; // Requested page size. int32 page_size = 4; // A token identifying a page of results for the server to return. // Typically obtained via - // [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] - // of the previous - // [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] - // call. + // [ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token] of the previous + // [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] call. string page_token = 6; } -// Response message for -// [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]. +// Response message for [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations]. message ListModelEvaluationsResponse { // List of model evaluations in the requested page. repeated ModelEvaluation model_evaluation = 1; // A token to retrieve next page of results. - // Pass to the - // [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] - // field of a new - // [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] - // request to obtain that page. + // Pass to the [ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token] field of a new + // [AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations] request to obtain that page. string next_page_token = 2; } diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text.proto index bffe9634f..667031b87 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,14 +11,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; package google.cloud.automl.v1; -import "google/api/annotations.proto"; import "google/cloud/automl/v1/classification.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AutoML.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1;automl"; @@ -41,20 +40,27 @@ message TextClassificationModelMetadata { } // Dataset metadata that is specific to text extraction -message TextExtractionDatasetMetadata {} +message TextExtractionDatasetMetadata { + +} // Model metadata that is specific to text extraction. -message TextExtractionModelMetadata {} +message TextExtractionModelMetadata { + +} // Dataset metadata for text sentiment. message TextSentimentDatasetMetadata { - // Required. A sentiment is expressed as an integer ordinal, where higher - // value means a more positive sentiment. The range of sentiments that will be - // used is between 0 and sentiment_max (inclusive on both ends), and all the - // values in the range must be represented in the dataset before a model can - // be created. sentiment_max value must be between 1 and 10 (inclusive). + // Required. A sentiment is expressed as an integer ordinal, where higher value + // means a more positive sentiment. The range of sentiments that will be used + // is between 0 and sentiment_max (inclusive on both ends), and all the values + // in the range must be represented in the dataset before a model can be + // created. + // sentiment_max value must be between 1 and 10 (inclusive). int32 sentiment_max = 1; } // Model metadata that is specific to text sentiment. -message TextSentimentModelMetadata {} +message TextSentimentModelMetadata { + +} diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text_extraction.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text_extraction.proto index 02119f5c3..37a31e715 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text_extraction.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text_extraction.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text_segment.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text_segment.proto index c24b83fb2..be7eb1543 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text_segment.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text_segment.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,7 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text_sentiment.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text_sentiment.proto index bfd3c3c11..c68b9ed3d 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text_sentiment.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/text_sentiment.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,14 +11,13 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; package google.cloud.automl.v1; -import "google/api/annotations.proto"; import "google/cloud/automl/v1/classification.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AutoML.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1;automl"; @@ -31,9 +30,9 @@ option ruby_package = "Google::Cloud::AutoML::V1"; // Contains annotation details specific to text sentiment. message TextSentimentAnnotation { // Output only. The sentiment with the semantic, as given to the - // [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when - // populating the dataset from which the model used for the prediction had - // been trained. The sentiment values are between 0 and + // [AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData] when populating the dataset from which the model used + // for the prediction had been trained. + // The sentiment values are between 0 and // Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive), // with higher value meaning more positive sentiment. They are completely // relative, i.e. 0 means least positive sentiment and sentiment_max means diff --git a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/translation.proto b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/translation.proto index 0c75619e9..642894e85 100644 --- a/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/translation.proto +++ b/proto-google-cloud-automl-v1/src/main/proto/google/cloud/automl/v1/translation.proto @@ -1,4 +1,4 @@ -// Copyright 2019 Google LLC. +// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -11,15 +11,14 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// syntax = "proto3"; package google.cloud.automl.v1; -import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/cloud/automl/v1/data_items.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AutoML.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1;automl"; @@ -56,11 +55,11 @@ message TranslationModelMetadata { string base_model = 1; // Output only. Inferred from the dataset. - // The source languge (The BCP-47 language code) that is used for training. + // The source language (The BCP-47 language code) that is used for training. string source_language_code = 2; - // Output only. The target languge (The BCP-47 language code) that is used for - // training. + // Output only. The target language (The BCP-47 language code) that is used + // for training. string target_language_code = 3; } diff --git a/synth.metadata b/synth.metadata index aa15a2560..443589fde 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,20 +1,20 @@ { - "updateTime": "2020-03-03T09:41:38.477427Z", + "updateTime": "2020-03-05T00:55:27.429415Z", "sources": [ { "generator": { "name": "artman", - "version": "0.47.0", - "dockerImage": "googleapis/artman@sha256:b3e50d6b8de03920b9f065bbc3d210e2ca93a043446f1fa16cdf567393c09678" + "version": "1.0.0", + "dockerImage": "googleapis/artman@sha256:f37f2464788cb551299209b4fcab4eb323533154488c2ef9ec0c75d7c2b4b482" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "4a180bfff8a21645b3a935c2756e8d6ab18a74e0", - "internalRef": "298484782", - "log": "4a180bfff8a21645b3a935c2756e8d6ab18a74e0\nautoml/v1beta1 publish proto updates\n\nPiperOrigin-RevId: 298484782\n\n6de6e938b7df1cd62396563a067334abeedb9676\nchore: use the latest gapic-generator and protoc-java-resource-name-plugin in Bazel workspace.\n\nPiperOrigin-RevId: 298474513\n\n244ab2b83a82076a1fa7be63b7e0671af73f5c02\nAdds service config definition for bigqueryreservation v1\n\nPiperOrigin-RevId: 298455048\n\n83c6f84035ee0f80eaa44d8b688a010461cc4080\nUpdate google/api/auth.proto to make AuthProvider to have JwtLocation\n\nPiperOrigin-RevId: 297918498\n\n" + "sha": "638253bf86d1ce1c314108a089b7351440c2f0bf", + "internalRef": "298971070", + "log": "638253bf86d1ce1c314108a089b7351440c2f0bf\nfix: add java_multiple_files option for automl text_sentiment.proto\n\nPiperOrigin-RevId: 298971070\n\n373d655703bf914fb8b0b1cc4071d772bac0e0d1\nUpdate Recs AI Beta public bazel file\n\nPiperOrigin-RevId: 298961623\n\ndcc5d00fc8a8d8b56f16194d7c682027b2c66a3b\nfix: add java_multiple_files option for automl classification.proto\n\nPiperOrigin-RevId: 298953301\n\na3f791827266f3496a6a5201d58adc4bb265c2a3\nchore: automl/v1 publish annotations and retry config\n\nPiperOrigin-RevId: 298942178\n\n01c681586d8d6dbd60155289b587aee678530bd9\nMark return_immediately in PullRequest deprecated.\n\nPiperOrigin-RevId: 298893281\n\nc9f5e9c4bfed54bbd09227e990e7bded5f90f31c\nRemove out of date documentation for predicate support on the Storage API\n\nPiperOrigin-RevId: 298883309\n\nfd5b3b8238d783b04692a113ffe07c0363f5de0f\ngenerate webrisk v1 proto\n\nPiperOrigin-RevId: 298847934\n\n541b1ded4abadcc38e8178680b0677f65594ea6f\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 298686266\n\nc0d171acecb4f5b0bfd2c4ca34fc54716574e300\n Updated to include the Notification v1 API.\n\nPiperOrigin-RevId: 298652775\n\n2346a9186c0bff2c9cc439f2459d558068637e05\nAdd Service Directory v1beta1 protos and configs\n\nPiperOrigin-RevId: 298625638\n\na78ed801b82a5c6d9c5368e24b1412212e541bb7\nPublishing v3 protos and configs.\n\nPiperOrigin-RevId: 298607357\n\n" } }, {