diff --git a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java index 226c41e69..034019efc 100644 --- a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java +++ b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/AutoMlClient.java @@ -196,8 +196,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 */ public final Dataset createDataset(LocationName parent, Dataset dataset) { @@ -223,8 +223,8 @@ public final Dataset createDataset(LocationName parent, Dataset dataset) { * } * * - * @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 */ public final Dataset createDataset(String parent, Dataset dataset) { @@ -295,7 +295,7 @@ public final UnaryCallable createDatasetCallable( * } * * - * @param dataset The dataset which replaces the resource on the server. + * @param dataset Required. The dataset which replaces the resource on the server. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final Dataset updateDataset(Dataset dataset) { @@ -361,7 +361,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) { @@ -383,7 +383,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) { @@ -451,7 +451,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) { @@ -477,7 +477,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) { @@ -581,7 +581,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( @@ -607,7 +607,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( @@ -1015,8 +1015,8 @@ public final UnaryCallable exportDataCallable() { * } * * - * @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( @@ -1047,8 +1047,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( @@ -1157,7 +1157,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) { @@ -1179,7 +1179,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) { @@ -1247,7 +1247,7 @@ public final UnaryCallable getModelCallable() { * } * * - * @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) { @@ -1271,7 +1271,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) { @@ -1374,7 +1374,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( @@ -1400,7 +1400,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( @@ -1496,8 +1496,8 @@ public final UnaryCallable deleteModelCallable() *

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

Only applicable for Text Classification, Image Object Detection and Tables; 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. @@ -1511,7 +1511,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( @@ -1530,8 +1530,8 @@ public final OperationFuture deployModelAsync(ModelNam *

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

Only applicable for Text Classification, Image Object Detection and Tables; 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. @@ -1545,7 +1545,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( @@ -1563,8 +1563,8 @@ public final OperationFuture deployModelAsync(String n *

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

Only applicable for Text Classification, Image Object Detection and Tables; 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. @@ -1599,8 +1599,8 @@ public final OperationFuture deployModelAsync( *

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

Only applicable for Text Classification, Image Object Detection and Tables; 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. @@ -1633,8 +1633,8 @@ public final OperationFuture deployModelAsync( *

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

Only applicable for Text Classification, Image Object Detection and Tables; 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. @@ -1676,7 +1676,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( @@ -1706,7 +1706,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( @@ -1819,7 +1819,7 @@ public final UnaryCallable undeployModelCallabl * } * * - * @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) { @@ -1843,7 +1843,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) { @@ -2118,8 +2118,9 @@ public final OperationFuture exportEvaluatedExamplesAs * } * * - * @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 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. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListModelEvaluationsPagedResponse listModelEvaluations(ModelName parent) { @@ -2145,8 +2146,9 @@ public final ListModelEvaluationsPagedResponse listModelEvaluations(ModelName pa * } * * - * @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 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. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListModelEvaluationsPagedResponse listModelEvaluations(String parent) { @@ -2251,7 +2253,7 @@ public final ListModelEvaluationsPagedResponse listModelEvaluations( * } * * - * @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) { @@ -2275,7 +2277,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) { @@ -2341,7 +2343,7 @@ public final UnaryCallable getAnnotati * } * * - * @param name The resource name of the table spec to retrieve. + * @param name Required. The resource name of the table spec to retrieve. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final TableSpec getTableSpec(TableSpecName name) { @@ -2363,7 +2365,7 @@ public final TableSpec getTableSpec(TableSpecName name) { * } * * - * @param name The resource name of the table spec to retrieve. + * @param name Required. The resource name of the table spec to retrieve. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final TableSpec getTableSpec(String name) { @@ -2431,7 +2433,7 @@ public final UnaryCallable getTableSpecCallable( * } * * - * @param parent The resource name of the dataset to list table specs from. + * @param parent Required. The resource name of the dataset to list table specs from. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTableSpecsPagedResponse listTableSpecs(DatasetName parent) { @@ -2457,7 +2459,7 @@ public final ListTableSpecsPagedResponse listTableSpecs(DatasetName parent) { * } * * - * @param parent The resource name of the dataset to list table specs from. + * @param parent Required. The resource name of the dataset to list table specs from. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListTableSpecsPagedResponse listTableSpecs(String parent) { @@ -2560,7 +2562,7 @@ public final ListTableSpecsPagedResponse listTableSpecs(ListTableSpecsRequest re * } * * - * @param tableSpec The table spec which replaces the resource on the server. + * @param tableSpec Required. The table spec which replaces the resource on the server. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final TableSpec updateTableSpec(TableSpec tableSpec) { @@ -2627,7 +2629,7 @@ public final UnaryCallable updateTableSpecCal * } * * - * @param name The resource name of the column spec to retrieve. + * @param name Required. The resource name of the column spec to retrieve. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ColumnSpec getColumnSpec(ColumnSpecName name) { @@ -2649,7 +2651,7 @@ public final ColumnSpec getColumnSpec(ColumnSpecName name) { * } * * - * @param name The resource name of the column spec to retrieve. + * @param name Required. The resource name of the column spec to retrieve. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ColumnSpec getColumnSpec(String name) { @@ -2717,7 +2719,7 @@ public final UnaryCallable getColumnSpecCallab * } * * - * @param parent The resource name of the table spec to list column specs from. + * @param parent Required. The resource name of the table spec to list column specs from. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListColumnSpecsPagedResponse listColumnSpecs(TableSpecName parent) { @@ -2743,7 +2745,7 @@ public final ListColumnSpecsPagedResponse listColumnSpecs(TableSpecName parent) * } * * - * @param parent The resource name of the table spec to list column specs from. + * @param parent Required. The resource name of the table spec to list column specs from. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListColumnSpecsPagedResponse listColumnSpecs(String parent) { @@ -2846,7 +2848,7 @@ public final ListColumnSpecsPagedResponse listColumnSpecs(ListColumnSpecsRequest * } * * - * @param columnSpec The column spec which replaces the resource on the server. + * @param columnSpec Required. The column spec which replaces the resource on the server. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ColumnSpec updateColumnSpec(ColumnSpec columnSpec) { diff --git a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java index 476810c23..d17bb4b0a 100644 --- a/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java +++ b/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java @@ -193,7 +193,7 @@ 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 @@ -206,12 +206,9 @@ public final OperationsClient getOperationsClient() { * 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. * For Tables: `feature_importance` - - * (boolean) Whether - *

[feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - *

[TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. The default is - * false. + * requested value may be limited by server. * For Tables: + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance should + * be populated in the returned TablesAnnotation. The default is false. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final PredictResponse predict( @@ -250,7 +247,7 @@ 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 @@ -263,12 +260,9 @@ public final PredictResponse predict( * 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. * For Tables: `feature_importance` - - * (boolean) Whether - *

[feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - *

[TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. The default is - * false. + * requested value may be limited by server. * For Tables: + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance should + * be populated in the returned TablesAnnotation. The default is false. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final PredictResponse predict( @@ -371,12 +365,12 @@ 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. + * @param params Required. 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. @@ -391,31 +385,36 @@ public final UnaryCallable predictCallable() { * 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. - *

* For Video 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. 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. The default is "false". + *

* For Video 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. 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. The default is "false". * `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. 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. The default is "false". - *

* For Video 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) No more - * than this number of bounding boxes will be returned per frame. Default is 100, the - * requested value may be limited by server. `min_bounding_box_size` - (float) Only bounding - * boxes with shortest edge at least that long as a relative value of video frame size will be - * returned. Value in 0 to 1 range. Default is 0. + *

* For Tables: + *

feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotations. The default is false. + *

* For Video 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) No more than this number of bounding + * boxes will be returned per frame. Default is 100, the requested value may be limited by + * server. `min_bounding_box_size` - (float) Only bounding boxes with shortest edge at least + * that long as a relative value of video frame size will be returned. Value in 0 to 1 range. + * Default is 0. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( @@ -459,12 +458,12 @@ 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. + * @param params Required. 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. @@ -479,31 +478,36 @@ public final OperationFuture batchPredict * 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. - *

* For Video 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. 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. The default is "false". + *

* For Video 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. 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. The default is "false". * `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. 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. The default is "false". - *

* For Video 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) No more - * than this number of bounding boxes will be returned per frame. Default is 100, the - * requested value may be limited by server. `min_bounding_box_size` - (float) Only bounding - * boxes with shortest edge at least that long as a relative value of video frame size will be - * returned. Value in 0 to 1 range. Default is 0. + *

* For Tables: + *

feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotations. The default is false. + *

* For Video 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) No more than this number of bounding + * boxes will be returned per frame. Default is 100, the requested value may be limited by + * server. `min_bounding_box_size` - (float) Only bounding boxes with shortest edge at least + * that long as a relative value of video frame size will be returned. Value in 0 to 1 range. + * Default is 0. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @BetaApi( diff --git a/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlGrpc.java b/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlGrpc.java index 5564a0c35..de26dcec9 100644 --- a/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlGrpc.java +++ b/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlGrpc.java @@ -1681,7 +1681,8 @@ public void deleteModel( * (as e.g. changing * [node_number][google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata.node_number]) * will reset the deployment state without pausing the model's availability. - * Only applicable for Text Classification, Image Object Detection and Tables; 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. * @@ -2290,7 +2291,8 @@ public void deleteModel( * (as e.g. changing * [node_number][google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata.node_number]) * will reset the deployment state without pausing the model's availability. - * Only applicable for Text Classification, Image Object Detection and Tables; 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. * @@ -2700,7 +2702,8 @@ public com.google.longrunning.Operation deleteModel( * (as e.g. changing * [node_number][google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata.node_number]) * will reset the deployment state without pausing the model's availability. - * Only applicable for Text Classification, Image Object Detection and Tables; 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. * @@ -3102,7 +3105,8 @@ protected AutoMlFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions ca * (as e.g. changing * [node_number][google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata.node_number]) * will reset the deployment state without pausing the model's availability. - * Only applicable for Text Classification, Image Object Detection and Tables; 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. * diff --git a/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceGrpc.java b/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceGrpc.java index adc34abb5..71ad913ae 100644 --- a/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceGrpc.java +++ b/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceGrpc.java @@ -213,14 +213,12 @@ public void predict( * * *

-     * Perform a batch prediction. Unlike the online
-     * [Predict][google.cloud.automl.v1beta1.PredictionService.Predict], batch
+     * Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1beta1.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.v1beta1.BatchPredictResult] is
-     * returned in the [response][google.longrunning.Operation.response] field.
+     * method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1beta1.BatchPredictResult] is returned in
+     * the [response][google.longrunning.Operation.response] field.
      * Available for following ML problems:
      * * Image Classification
      * * Image Object Detection
@@ -317,14 +315,12 @@ public void predict(
      *
      *
      * 
-     * Perform a batch prediction. Unlike the online
-     * [Predict][google.cloud.automl.v1beta1.PredictionService.Predict], batch
+     * Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1beta1.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.v1beta1.BatchPredictResult] is
-     * returned in the [response][google.longrunning.Operation.response] field.
+     * method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1beta1.BatchPredictResult] is returned in
+     * the [response][google.longrunning.Operation.response] field.
      * Available for following ML problems:
      * * Image Classification
      * * Image Object Detection
@@ -402,14 +398,12 @@ public com.google.cloud.automl.v1beta1.PredictResponse predict(
      *
      *
      * 
-     * Perform a batch prediction. Unlike the online
-     * [Predict][google.cloud.automl.v1beta1.PredictionService.Predict], batch
+     * Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1beta1.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.v1beta1.BatchPredictResult] is
-     * returned in the [response][google.longrunning.Operation.response] field.
+     * method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1beta1.BatchPredictResult] is returned in
+     * the [response][google.longrunning.Operation.response] field.
      * Available for following ML problems:
      * * Image Classification
      * * Image Object Detection
@@ -485,14 +479,12 @@ protected PredictionServiceFutureStub build(
      *
      *
      * 
-     * Perform a batch prediction. Unlike the online
-     * [Predict][google.cloud.automl.v1beta1.PredictionService.Predict], batch
+     * Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1beta1.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.v1beta1.BatchPredictResult] is
-     * returned in the [response][google.longrunning.Operation.response] field.
+     * method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1beta1.BatchPredictResult] is returned in
+     * the [response][google.longrunning.Operation.response] field.
      * Available for following ML problems:
      * * Image Classification
      * * Image Object Detection
diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationSpec.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationSpec.java
index f4cb5f017..6010ebe99 100644
--- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationSpec.java
+++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationSpecOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationSpecOrBuilder.java index 1e4e5cdbb..439b1e004 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationSpecOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationSpecOuterClass.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationSpecOuterClass.java index e9eef6095..ff959130e 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationSpecOuterClass.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AnnotationSpecOuterClass.java @@ -42,19 +42,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n1google/cloud/automl/v1beta1/annotation" + "_spec.proto\022\033google.cloud.automl.v1beta1" - + "\032\034google/api/annotations.proto\"K\n\016Annota" - + "tionSpec\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002" - + " \001(\t\022\025\n\rexample_count\030\t \001(\005B\245\001\n\037com.goog" - + "le.cloud.automl.v1beta1P\001ZAgoogle.golang" - + ".org/genproto/googleapis/cloud/automl/v1" - + "beta1;automl\312\002\033Google\\Cloud\\AutoMl\\V1bet" - + "a1\352\002\036Google::Cloud::AutoML::V1beta1b\006pro" - + "to3" + + "\032\031google/api/resource.proto\032\034google/api/" + + "annotations.proto\"\326\001\n\016AnnotationSpec\022\014\n\004" + + "name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\025\n\rexam" + + "ple_count\030\t \001(\005:\210\001\352A\204\001\n$automl.googleapi" + + "s.com/AnnotationSpec\022\\projects/{project}" + + "/locations/{location}/datasets/{dataset}" + + "/annotationSpecs/{annotation_spec}B\245\001\n\037c" + + "om.google.cloud.automl.v1beta1P\001ZAgoogle" + + ".golang.org/genproto/googleapis/cloud/au" + + "toml/v1beta1;automl\312\002\033Google\\Cloud\\AutoM" + + "l\\V1beta1\352\002\036Google::Cloud::AutoML::V1bet" + + "a1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_automl_v1beta1_AnnotationSpec_descriptor = @@ -65,6 +70,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Name", "DisplayName", "ExampleCount", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); com.google.api.AnnotationsProto.getDescriptor(); } diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlProto.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlProto.java index 2c5bbda7d..2a6ca3947 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlProto.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlProto.java @@ -154,216 +154,260 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n)google/cloud/automl/v1beta1/service.pr" + "oto\022\033google.cloud.automl.v1beta1\032\034google" - + "/api/annotations.proto\0324google/cloud/aut" - + "oml/v1beta1/annotation_payload.proto\0321go" - + "ogle/cloud/automl/v1beta1/annotation_spe" - + "c.proto\032-google/cloud/automl/v1beta1/col" - + "umn_spec.proto\032)google/cloud/automl/v1be" - + "ta1/dataset.proto\032\'google/cloud/automl/v" - + "1beta1/image.proto\032$google/cloud/automl/" - + "v1beta1/io.proto\032\'google/cloud/automl/v1" - + "beta1/model.proto\0322google/cloud/automl/v" - + "1beta1/model_evaluation.proto\032,google/cl" - + "oud/automl/v1beta1/operations.proto\032,goo" - + "gle/cloud/automl/v1beta1/table_spec.prot" - + "o\032#google/longrunning/operations.proto\032 " - + "google/protobuf/field_mask.proto\032\027google" - + "/api/client.proto\"]\n\024CreateDatasetReques" - + "t\022\016\n\006parent\030\001 \001(\t\0225\n\007dataset\030\002 \001(\0132$.goo" - + "gle.cloud.automl.v1beta1.Dataset\"!\n\021GetD" - + "atasetRequest\022\014\n\004name\030\001 \001(\t\"\\\n\023ListDatas" - + "etsRequest\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\"g\n\024ListDatasetsResponse\0226\n\010datasets\030\001 " - + "\003(\0132$.google.cloud.automl.v1beta1.Datase" - + "t\022\027\n\017next_page_token\030\002 \001(\t\"~\n\024UpdateData" - + "setRequest\0225\n\007dataset\030\001 \001(\0132$.google.clo" - + "ud.automl.v1beta1.Dataset\022/\n\013update_mask" - + "\030\002 \001(\0132\032.google.protobuf.FieldMask\"$\n\024De" - + "leteDatasetRequest\022\014\n\004name\030\001 \001(\t\"a\n\021Impo" - + "rtDataRequest\022\014\n\004name\030\001 \001(\t\022>\n\014input_con" - + "fig\030\003 \001(\0132(.google.cloud.automl.v1beta1." - + "InputConfig\"c\n\021ExportDataRequest\022\014\n\004name" - + "\030\001 \001(\t\022@\n\routput_config\030\003 \001(\0132).google.c" - + "loud.automl.v1beta1.OutputConfig\"(\n\030GetA" - + "nnotationSpecRequest\022\014\n\004name\030\001 \001(\t\"S\n\023Ge" - + "tTableSpecRequest\022\014\n\004name\030\001 \001(\t\022.\n\nfield" - + "_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"" - + "\216\001\n\025ListTableSpecsRequest\022\016\n\006parent\030\001 \001(" - + "\t\022.\n\nfield_mask\030\002 \001(\0132\032.google.protobuf." - + "FieldMask\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\n\026ListTableSpe" - + "csResponse\022;\n\013table_specs\030\001 \003(\0132&.google" - + ".cloud.automl.v1beta1.TableSpec\022\027\n\017next_" - + "page_token\030\002 \001(\t\"\205\001\n\026UpdateTableSpecRequ" - + "est\022:\n\ntable_spec\030\001 \001(\0132&.google.cloud.a" - + "utoml.v1beta1.TableSpec\022/\n\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMask\"T\n\024GetC" - + "olumnSpecRequest\022\014\n\004name\030\001 \001(\t\022.\n\nfield_" - + "mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"\217" - + "\001\n\026ListColumnSpecsRequest\022\016\n\006parent\030\001 \001(" - + "\t\022.\n\nfield_mask\030\002 \001(\0132\032.google.protobuf." - + "FieldMask\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\"q\n\027ListColumnSp" - + "ecsResponse\022=\n\014column_specs\030\001 \003(\0132\'.goog" - + "le.cloud.automl.v1beta1.ColumnSpec\022\027\n\017ne" - + "xt_page_token\030\002 \001(\t\"\210\001\n\027UpdateColumnSpec" - + "Request\022<\n\013column_spec\030\001 \001(\0132\'.google.cl" - + "oud.automl.v1beta1.ColumnSpec\022/\n\013update_" - + "mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"W" - + "\n\022CreateModelRequest\022\016\n\006parent\030\001 \001(\t\0221\n\005" - + "model\030\004 \001(\0132\".google.cloud.automl.v1beta" - + "1.Model\"\037\n\017GetModelRequest\022\014\n\004name\030\001 \001(\t" - + "\"Z\n\021ListModelsRequest\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\"`\n\022ListModelsResponse\0221\n\005mo" - + "del\030\001 \003(\0132\".google.cloud.automl.v1beta1." - + "Model\022\027\n\017next_page_token\030\002 \001(\t\"\"\n\022Delete" - + "ModelRequest\022\014\n\004name\030\001 \001(\t\"\312\002\n\022DeployMod" - + "elRequest\022\204\001\n0image_object_detection_mod" - + "el_deployment_metadata\030\002 \001(\0132H.google.cl" - + "oud.automl.v1beta1.ImageObjectDetectionM" - + "odelDeploymentMetadataH\000\022\201\001\n.image_class" - + "ification_model_deployment_metadata\030\004 \001(" - + "\0132G.google.cloud.automl.v1beta1.ImageCla" - + "ssificationModelDeploymentMetadataH\000\022\014\n\004" - + "name\030\001 \001(\tB\033\n\031model_deployment_metadata\"" - + "$\n\024UndeployModelRequest\022\014\n\004name\030\001 \001(\t\"o\n" - + "\022ExportModelRequest\022\014\n\004name\030\001 \001(\t\022K\n\rout" - + "put_config\030\003 \001(\01324.google.cloud.automl.v" - + "1beta1.ModelExportOutputConfig\"\207\001\n\036Expor" - + "tEvaluatedExamplesRequest\022\014\n\004name\030\001 \001(\t\022" - + "W\n\routput_config\030\003 \001(\0132@.google.cloud.au" - + "toml.v1beta1.ExportEvaluatedExamplesOutp" - + "utConfig\")\n\031GetModelEvaluationRequest\022\014\n" - + "\004name\030\001 \001(\t\"d\n\033ListModelEvaluationsReque" - + "st\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030\003 \001(\t\022\021\n\tpa" - + "ge_size\030\004 \001(\005\022\022\n\npage_token\030\006 \001(\t\"\177\n\034Lis" - + "tModelEvaluationsResponse\022F\n\020model_evalu" - + "ation\030\001 \003(\0132,.google.cloud.automl.v1beta" - + "1.ModelEvaluation\022\027\n\017next_page_token\030\002 \001" - + "(\t2\331\"\n\006AutoMl\022\254\001\n\rCreateDataset\0221.google" - + ".cloud.automl.v1beta1.CreateDatasetReque" - + "st\032$.google.cloud.automl.v1beta1.Dataset" - + "\"B\202\323\344\223\002<\"1/v1beta1/{parent=projects/*/lo" - + "cations/*}/datasets:\007dataset\022\235\001\n\nGetData" - + "set\022..google.cloud.automl.v1beta1.GetDat" - + "asetRequest\032$.google.cloud.automl.v1beta" - + "1.Dataset\"9\202\323\344\223\0023\0221/v1beta1/{name=projec" - + "ts/*/locations/*/datasets/*}\022\256\001\n\014ListDat" - + "asets\0220.google.cloud.automl.v1beta1.List" - + "DatasetsRequest\0321.google.cloud.automl.v1" - + "beta1.ListDatasetsResponse\"9\202\323\344\223\0023\0221/v1b" - + "eta1/{parent=projects/*/locations/*}/dat" - + "asets\022\264\001\n\rUpdateDataset\0221.google.cloud.a" - + "utoml.v1beta1.UpdateDatasetRequest\032$.goo" - + "gle.cloud.automl.v1beta1.Dataset\"J\202\323\344\223\002D" - + "29/v1beta1/{dataset.name=projects/*/loca" - + "tions/*/datasets/*}:\007dataset\022\234\001\n\rDeleteD" + + "/api/annotations.proto\032\027google/api/clien" + + "t.proto\032\037google/api/field_behavior.proto" + + "\032\031google/api/resource.proto\0324google/clou" + + "d/automl/v1beta1/annotation_payload.prot" + + "o\0321google/cloud/automl/v1beta1/annotatio" + + "n_spec.proto\032-google/cloud/automl/v1beta" + + "1/column_spec.proto\032)google/cloud/automl" + + "/v1beta1/dataset.proto\032\'google/cloud/aut" + + "oml/v1beta1/image.proto\032$google/cloud/au" + + "toml/v1beta1/io.proto\032\'google/cloud/auto" + + "ml/v1beta1/model.proto\0322google/cloud/aut" + + "oml/v1beta1/model_evaluation.proto\032,goog" + + "le/cloud/automl/v1beta1/operations.proto" + + "\032,google/cloud/automl/v1beta1/table_spec" + + ".proto\032#google/longrunning/operations.pr" + + "oto\032 google/protobuf/field_mask.proto\"\215\001" + + "\n\024CreateDatasetRequest\0229\n\006parent\030\001 \001(\tB)" + + "\340A\002\372A#\n!locations.googleapis.com/Locatio" + + "n\022:\n\007dataset\030\002 \001(\0132$.google.cloud.automl" + + ".v1beta1.DatasetB\003\340A\002\"H\n\021GetDatasetReque" + + "st\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035automl.googlea" + + "pis.com/Dataset\"\207\001\n\023ListDatasetsRequest\022" + + "9\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googl" + + "eapis.com/Location\022\016\n\006filter\030\003 \001(\t\022\021\n\tpa" + + "ge_size\030\004 \001(\005\022\022\n\npage_token\030\006 \001(\t\"g\n\024Lis" + + "tDatasetsResponse\0226\n\010datasets\030\001 \003(\0132$.go" + + "ogle.cloud.automl.v1beta1.Dataset\022\027\n\017nex" + + "t_page_token\030\002 \001(\t\"\203\001\n\024UpdateDatasetRequ" + + "est\022:\n\007dataset\030\001 \001(\0132$.google.cloud.auto" + + "ml.v1beta1.DatasetB\003\340A\002\022/\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMask\"K\n\024Dele" + + "teDatasetRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035" + + "automl.googleapis.com/Dataset\"\215\001\n\021Import" + + "DataRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035autom" + + "l.googleapis.com/Dataset\022C\n\014input_config" + + "\030\003 \001(\0132(.google.cloud.automl.v1beta1.Inp" + + "utConfigB\003\340A\002\"\217\001\n\021ExportDataRequest\0223\n\004n" + + "ame\030\001 \001(\tB%\340A\002\372A\037\n\035automl.googleapis.com" + + "/Dataset\022E\n\routput_config\030\003 \001(\0132).google" + + ".cloud.automl.v1beta1.OutputConfigB\003\340A\002\"" + + "V\n\030GetAnnotationSpecRequest\022:\n\004name\030\001 \001(" + + "\tB,\340A\002\372A&\n$automl.googleapis.com/Annotat" + + "ionSpec\"|\n\023GetTableSpecRequest\0225\n\004name\030\001" + + " \001(\tB\'\340A\002\372A!\n\037automl.googleapis.com/Tabl" + + "eSpec\022.\n\nfield_mask\030\002 \001(\0132\032.google.proto" + + "buf.FieldMask\"\265\001\n\025ListTableSpecsRequest\022" + + "5\n\006parent\030\001 \001(\tB%\340A\002\372A\037\n\035automl.googleap" + + "is.com/Dataset\022.\n\nfield_mask\030\002 \001(\0132\032.goo" + + "gle.protobuf.FieldMask\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\n" + + "\026ListTableSpecsResponse\022;\n\013table_specs\030\001" + + " \003(\0132&.google.cloud.automl.v1beta1.Table" + + "Spec\022\027\n\017next_page_token\030\002 \001(\t\"\212\001\n\026Update" + + "TableSpecRequest\022?\n\ntable_spec\030\001 \001(\0132&.g" + + "oogle.cloud.automl.v1beta1.TableSpecB\003\340A" + + "\002\022/\n\013update_mask\030\002 \001(\0132\032.google.protobuf" + + ".FieldMask\"~\n\024GetColumnSpecRequest\0226\n\004na" + + "me\030\001 \001(\tB(\340A\002\372A\"\n automl.googleapis.com/" + + "ColumnSpec\022.\n\nfield_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMask\"\270\001\n\026ListColumnSpecsRe" + + "quest\0227\n\006parent\030\001 \001(\tB\'\340A\002\372A!\n\037automl.go" + + "ogleapis.com/TableSpec\022.\n\nfield_mask\030\002 \001" + + "(\0132\032.google.protobuf.FieldMask\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\"q\n\027ListColumnSpecsResponse\022=\n\014colu" + + "mn_specs\030\001 \003(\0132\'.google.cloud.automl.v1b" + + "eta1.ColumnSpec\022\027\n\017next_page_token\030\002 \001(\t" + + "\"\215\001\n\027UpdateColumnSpecRequest\022A\n\013column_s" + + "pec\030\001 \001(\0132\'.google.cloud.automl.v1beta1." + + "ColumnSpecB\003\340A\002\022/\n\013update_mask\030\002 \001(\0132\032.g" + + "oogle.protobuf.FieldMask\"\207\001\n\022CreateModel" + + "Request\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locatio" + + "ns.googleapis.com/Location\0226\n\005model\030\004 \001(" + + "\0132\".google.cloud.automl.v1beta1.ModelB\003\340" + + "A\002\"D\n\017GetModelRequest\0221\n\004name\030\001 \001(\tB#\340A\002" + + "\372A\035\n\033automl.googleapis.com/Model\"\205\001\n\021Lis" + + "tModelsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!" + + "locations.googleapis.com/Location\022\016\n\006fil" + + "ter\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\npage_tok" + + "en\030\006 \001(\t\"`\n\022ListModelsResponse\0221\n\005model\030" + + "\001 \003(\0132\".google.cloud.automl.v1beta1.Mode" + + "l\022\027\n\017next_page_token\030\002 \001(\t\"G\n\022DeleteMode" + + "lRequest\0221\n\004name\030\001 \001(\tB#\340A\002\372A\035\n\033automl.g" + + "oogleapis.com/Model\"\357\002\n\022DeployModelReque" + + "st\022\204\001\n0image_object_detection_model_depl" + + "oyment_metadata\030\002 \001(\0132H.google.cloud.aut" + + "oml.v1beta1.ImageObjectDetectionModelDep" + + "loymentMetadataH\000\022\201\001\n.image_classificati" + + "on_model_deployment_metadata\030\004 \001(\0132G.goo" + + "gle.cloud.automl.v1beta1.ImageClassifica" + + "tionModelDeploymentMetadataH\000\0221\n\004name\030\001 " + + "\001(\tB#\340A\002\372A\035\n\033automl.googleapis.com/Model" + + "B\033\n\031model_deployment_metadata\"I\n\024Undeplo" + + "yModelRequest\0221\n\004name\030\001 \001(\tB#\340A\002\372A\035\n\033aut" + + "oml.googleapis.com/Model\"\231\001\n\022ExportModel" + + "Request\0221\n\004name\030\001 \001(\tB#\340A\002\372A\035\n\033automl.go" + + "ogleapis.com/Model\022P\n\routput_config\030\003 \001(" + + "\01324.google.cloud.automl.v1beta1.ModelExp" + + "ortOutputConfigB\003\340A\002\"\261\001\n\036ExportEvaluated" + + "ExamplesRequest\0221\n\004name\030\001 \001(\tB#\340A\002\372A\035\n\033a" + + "utoml.googleapis.com/Model\022\\\n\routput_con" + + "fig\030\003 \001(\0132@.google.cloud.automl.v1beta1." + + "ExportEvaluatedExamplesOutputConfigB\003\340A\002" + + "\"X\n\031GetModelEvaluationRequest\022;\n\004name\030\001 " + + "\001(\tB-\340A\002\372A\'\n%automl.googleapis.com/Model" + + "Evaluation\"\211\001\n\033ListModelEvaluationsReque" + + "st\0223\n\006parent\030\001 \001(\tB#\340A\002\372A\035\n\033automl.googl" + + "eapis.com/Model\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\"\177\n\034ListMo" + + "delEvaluationsResponse\022F\n\020model_evaluati" + + "on\030\001 \003(\0132,.google.cloud.automl.v1beta1.M" + + "odelEvaluation\022\027\n\017next_page_token\030\002 \001(\t2" + + "\355\'\n\006AutoMl\022\275\001\n\rCreateDataset\0221.google.cl" + + "oud.automl.v1beta1.CreateDatasetRequest\032" + + "$.google.cloud.automl.v1beta1.Dataset\"S\202" + + "\323\344\223\002<\"1/v1beta1/{parent=projects/*/locat" + + "ions/*}/datasets:\007dataset\332A\016parent,datas" + + "et\022\244\001\n\nGetDataset\022..google.cloud.automl." + + "v1beta1.GetDatasetRequest\032$.google.cloud" + + ".automl.v1beta1.Dataset\"@\202\323\344\223\0023\0221/v1beta" + + "1/{name=projects/*/locations/*/datasets/" + + "*}\332A\004name\022\267\001\n\014ListDatasets\0220.google.clou" + + "d.automl.v1beta1.ListDatasetsRequest\0321.g" + + "oogle.cloud.automl.v1beta1.ListDatasetsR" + + "esponse\"B\202\323\344\223\0023\0221/v1beta1/{parent=projec" + + "ts/*/locations/*}/datasets\332A\006parent\022\276\001\n\r" + + "UpdateDataset\0221.google.cloud.automl.v1be" + + "ta1.UpdateDatasetRequest\032$.google.cloud." + + "automl.v1beta1.Dataset\"T\202\323\344\223\002D29/v1beta1" + + "/{dataset.name=projects/*/locations/*/da" + + "tasets/*}:\007dataset\332A\007dataset\022\320\001\n\rDeleteD" + "ataset\0221.google.cloud.automl.v1beta1.Del" + "eteDatasetRequest\032\035.google.longrunning.O" - + "peration\"9\202\323\344\223\0023*1/v1beta1/{name=project" - + "s/*/locations/*/datasets/*}\022\244\001\n\nImportDa" - + "ta\022..google.cloud.automl.v1beta1.ImportD" - + "ataRequest\032\035.google.longrunning.Operatio" - + "n\"G\202\323\344\223\002A\"/v1" - + "beta1/{name=projects/*/locations/*/datas" - + "ets/*/tableSpecs/*}\022\301\001\n\016ListTableSpecs\0222" - + ".google.cloud.automl.v1beta1.ListTableSp" - + "ecsRequest\0323.google.cloud.automl.v1beta1" - + ".ListTableSpecsResponse\"F\202\323\344\223\002@\022>/v1beta" - + "1/{parent=projects/*/locations/*/dataset" - + "s/*}/tableSpecs\022\315\001\n\017UpdateTableSpec\0223.go" - + "ogle.cloud.automl.v1beta1.UpdateTableSpe" - + "cRequest\032&.google.cloud.automl.v1beta1.T" - + "ableSpec\"]\202\323\344\223\002W2I/v1beta1/{table_spec.n" + + "peration\"m\202\323\344\223\0023*1/v1beta1/{name=project" + + "s/*/locations/*/datasets/*}\332A\004name\312A*\n\025g" + + "oogle.protobuf.Empty\022\021OperationMetadata\022" + + "\346\001\n\nImportData\022..google.cloud.automl.v1b" + + "eta1.ImportDataRequest\032\035.google.longrunn" + + "ing.Operation\"\210\001\202\323\344\223\002A\"/v1beta1/{n" + "ame=projects/*/locations/*/datasets/*/ta" - + "bleSpecs/*}:\ntable_spec\022\301\001\n\rGetColumnSpe" - + "c\0221.google.cloud.automl.v1beta1.GetColum" - + "nSpecRequest\032\'.google.cloud.automl.v1bet" - + "a1.ColumnSpec\"T\202\323\344\223\002N\022L/v1beta1/{name=pr" - + "ojects/*/locations/*/datasets/*/tableSpe" - + "cs/*/columnSpecs/*}\022\322\001\n\017ListColumnSpecs\022" - + "3.google.cloud.automl.v1beta1.ListColumn" - + "SpecsRequest\0324.google.cloud.automl.v1bet" - + "a1.ListColumnSpecsResponse\"T\202\323\344\223\002N\022L/v1b" - + "eta1/{parent=projects/*/locations/*/data" - + "sets/*/tableSpecs/*}/columnSpecs\022\340\001\n\020Upd" - + "ateColumnSpec\0224.google.cloud.automl.v1be" - + "ta1.UpdateColumnSpecRequest\032\'.google.clo" - + "ud.automl.v1beta1.ColumnSpec\"m\202\323\344\223\002g2X/v" - + "1beta1/{column_spec.name=projects/*/loca" - + "tions/*/datasets/*/tableSpecs/*/columnSp" - + "ecs/*}:\013column_spec\022\235\001\n\013CreateModel\022/.go" - + "ogle.cloud.automl.v1beta1.CreateModelReq" - + "uest\032\035.google.longrunning.Operation\">\202\323\344" - + "\223\0028\"//v1beta1/{parent=projects/*/locatio" - + "ns/*}/models:\005model\022\225\001\n\010GetModel\022,.googl" - + "e.cloud.automl.v1beta1.GetModelRequest\032\"" - + ".google.cloud.automl.v1beta1.Model\"7\202\323\344\223" - + "\0021\022//v1beta1/{name=projects/*/locations/" - + "*/models/*}\022\246\001\n\nListModels\022..google.clou" - + "d.automl.v1beta1.ListModelsRequest\032/.goo" - + "gle.cloud.automl.v1beta1.ListModelsRespo" - + "nse\"7\202\323\344\223\0021\022//v1beta1/{parent=projects/*" - + "/locations/*}/models\022\226\001\n\013DeleteModel\022/.g" - + "oogle.cloud.automl.v1beta1.DeleteModelRe" - + "quest\032\035.google.longrunning.Operation\"7\202\323" - + "\344\223\0021*//v1beta1/{name=projects/*/location" - + "s/*/models/*}\022\240\001\n\013DeployModel\022/.google.c" - + "loud.automl.v1beta1.DeployModelRequest\032\035" - + ".google.longrunning.Operation\"A\202\323\344\223\002;\"6/" + + "bleSpecs/*}\332A\004name\022\312\001\n\016ListTableSpecs\0222." + + "google.cloud.automl.v1beta1.ListTableSpe" + + "csRequest\0323.google.cloud.automl.v1beta1." + + "ListTableSpecsResponse\"O\202\323\344\223\002@\022>/v1beta1" + + "/{parent=projects/*/locations/*/datasets" + + "/*}/tableSpecs\332A\006parent\022\332\001\n\017UpdateTableS" + + "pec\0223.google.cloud.automl.v1beta1.Update" + + "TableSpecRequest\032&.google.cloud.automl.v" + + "1beta1.TableSpec\"j\202\323\344\223\002W2I/v1beta1/{tabl" + + "e_spec.name=projects/*/locations/*/datas" + + "ets/*/tableSpecs/*}:\ntable_spec\332A\ntable_" + + "spec\022\310\001\n\rGetColumnSpec\0221.google.cloud.au" + + "toml.v1beta1.GetColumnSpecRequest\032\'.goog" + + "le.cloud.automl.v1beta1.ColumnSpec\"[\202\323\344\223" + + "\002N\022L/v1beta1/{name=projects/*/locations/" + + "*/datasets/*/tableSpecs/*/columnSpecs/*}" + + "\332A\004name\022\333\001\n\017ListColumnSpecs\0223.google.clo" + + "ud.automl.v1beta1.ListColumnSpecsRequest" + + "\0324.google.cloud.automl.v1beta1.ListColum" + + "nSpecsResponse\"]\202\323\344\223\002N\022L/v1beta1/{parent" + + "=projects/*/locations/*/datasets/*/table" + + "Specs/*}/columnSpecs\332A\006parent\022\356\001\n\020Update" + + "ColumnSpec\0224.google.cloud.automl.v1beta1" + + ".UpdateColumnSpecRequest\032\'.google.cloud." + + "automl.v1beta1.ColumnSpec\"{\202\323\344\223\002g2X/v1be" + + "ta1/{column_spec.name=projects/*/locatio" + + "ns/*/datasets/*/tableSpecs/*/columnSpecs" + + "/*}:\013column_spec\332A\013column_spec\022\311\001\n\013Creat" + + "eModel\022/.google.cloud.automl.v1beta1.Cre" + + "ateModelRequest\032\035.google.longrunning.Ope" + + "ration\"j\202\323\344\223\0028\"//v1beta1/{parent=project" + + "s/*/locations/*}/models:\005model\332A\014parent," + + "model\312A\032\n\005Model\022\021OperationMetadata\022\234\001\n\010G" + + "etModel\022,.google.cloud.automl.v1beta1.Ge" + + "tModelRequest\032\".google.cloud.automl.v1be" + + "ta1.Model\">\202\323\344\223\0021\022//v1beta1/{name=projec" + + "ts/*/locations/*/models/*}\332A\004name\022\257\001\n\nLi" + + "stModels\022..google.cloud.automl.v1beta1.L" + + "istModelsRequest\032/.google.cloud.automl.v" + + "1beta1.ListModelsResponse\"@\202\323\344\223\0021\022//v1be" + + "ta1/{parent=projects/*/locations/*}/mode" + + "ls\332A\006parent\022\312\001\n\013DeleteModel\022/.google.clo" + + "ud.automl.v1beta1.DeleteModelRequest\032\035.g" + + "oogle.longrunning.Operation\"k\202\323\344\223\0021*//v1" + + "beta1/{name=projects/*/locations/*/model" + + "s/*}\332A\004name\312A*\n\025google.protobuf.Empty\022\021O" + + "perationMetadata\022\324\001\n\013DeployModel\022/.googl" + + "e.cloud.automl.v1beta1.DeployModelReques" + + "t\032\035.google.longrunning.Operation\"u\202\323\344\223\002;" + + "\"6/v1beta1/{name=projects/*/locations/*/" + + "models/*}:deploy:\001*\332A\004name\312A*\n\025google.pr" + + "otobuf.Empty\022\021OperationMetadata\022\332\001\n\rUnde" + + "ployModel\0221.google.cloud.automl.v1beta1." + + "UndeployModelRequest\032\035.google.longrunnin" + + "g.Operation\"w\202\323\344\223\002=\"8/v1beta1/{name=proj" + + "ects/*/locations/*/models/*}:undeploy:\001*" + + "\332A\004name\312A*\n\025google.protobuf.Empty\022\021Opera" + + "tionMetadata\022\343\001\n\013ExportModel\022/.google.cl" + + "oud.automl.v1beta1.ExportModelRequest\032\035." + + "google.longrunning.Operation\"\203\001\202\323\344\223\002;\"6/" + "v1beta1/{name=projects/*/locations/*/mod" - + "els/*}:deploy:\001*\022\246\001\n\rUndeployModel\0221.goo" - + "gle.cloud.automl.v1beta1.UndeployModelRe" - + "quest\032\035.google.longrunning.Operation\"C\202\323" - + "\344\223\002=\"8/v1beta1/{name=projects/*/location" - + "s/*/models/*}:undeploy:\001*\022\240\001\n\013ExportMode" - + "l\022/.google.cloud.automl.v1beta1.ExportMo" - + "delRequest\032\035.google.longrunning.Operatio" - + "n\"A\202\323\344\223\002;\"6/v1beta1/{name=projects/*/loc" - + "ations/*/models/*}:export:\001*\022\311\001\n\027ExportE" - + "valuatedExamples\022;.google.cloud.automl.v" - + "1beta1.ExportEvaluatedExamplesRequest\032\035." - + "google.longrunning.Operation\"R\202\323\344\223\002L\"G/v" - + "1beta1/{name=projects/*/locations/*/mode" - + "ls/*}:exportEvaluatedExamples:\001*\022\306\001\n\022Get" - + "ModelEvaluation\0226.google.cloud.automl.v1" - + "beta1.GetModelEvaluationRequest\032,.google" - + ".cloud.automl.v1beta1.ModelEvaluation\"J\202" - + "\323\344\223\002D\022B/v1beta1/{name=projects/*/locatio" - + "ns/*/models/*/modelEvaluations/*}\022\327\001\n\024Li" - + "stModelEvaluations\0228.google.cloud.automl" - + ".v1beta1.ListModelEvaluationsRequest\0329.g" - + "oogle.cloud.automl.v1beta1.ListModelEval" - + "uationsResponse\"J\202\323\344\223\002D\022B/v1beta1/{paren" - + "t=projects/*/locations/*/models/*}/model" - + "Evaluations\032I\312A\025automl.googleapis.com\322A." - + "https://www.googleapis.com/auth/cloud-pl" - + "atformB\262\001\n\037com.google.cloud.automl.v1bet" - + "a1B\013AutoMlProtoP\001ZAgoogle.golang.org/gen" - + "proto/googleapis/cloud/automl/v1beta1;au" - + "toml\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Goo" - + "gle::Cloud::AutoML::V1beta1b\006proto3" + + "els/*}:export:\001*\332A\022name,output_config\312A*" + + "\n\025google.protobuf.Empty\022\021OperationMetada" + + "ta\022\214\002\n\027ExportEvaluatedExamples\022;.google." + + "cloud.automl.v1beta1.ExportEvaluatedExam" + + "plesRequest\032\035.google.longrunning.Operati" + + "on\"\224\001\202\323\344\223\002L\"G/v1beta1/{name=projects/*/l" + + "ocations/*/models/*}:exportEvaluatedExam" + + "ples:\001*\332A\022name,output_config\312A*\n\025google." + + "protobuf.Empty\022\021OperationMetadata\022\315\001\n\022Ge" + + "tModelEvaluation\0226.google.cloud.automl.v" + + "1beta1.GetModelEvaluationRequest\032,.googl" + + "e.cloud.automl.v1beta1.ModelEvaluation\"Q" + + "\202\323\344\223\002D\022B/v1beta1/{name=projects/*/locati" + + "ons/*/models/*/modelEvaluations/*}\332A\004nam" + + "e\022\340\001\n\024ListModelEvaluations\0228.google.clou" + + "d.automl.v1beta1.ListModelEvaluationsReq" + + "uest\0329.google.cloud.automl.v1beta1.ListM" + + "odelEvaluationsResponse\"S\202\323\344\223\002D\022B/v1beta" + + "1/{parent=projects/*/locations/*/models/" + + "*}/modelEvaluations\332A\006parent\032I\312A\025automl." + + "googleapis.com\322A.https://www.googleapis." + + "com/auth/cloud-platformB\262\001\n\037com.google.c" + + "loud.automl.v1beta1B\013AutoMlProtoP\001ZAgoog" + + "le.golang.org/genproto/googleapis/cloud/" + + "automl/v1beta1;automl\312\002\033Google\\Cloud\\Aut" + + "oMl\\V1beta1\352\002\036Google::Cloud::AutoML::V1b" + + "eta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.cloud.automl.v1beta1.AnnotationPayloadOuterClass.getDescriptor(), com.google.cloud.automl.v1beta1.AnnotationSpecOuterClass.getDescriptor(), com.google.cloud.automl.v1beta1.ColumnSpecOuterClass.getDescriptor(), @@ -376,7 +420,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.automl.v1beta1.TableSpecOuterClass.getDescriptor(), com.google.longrunning.OperationsProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), }); internal_static_google_cloud_automl_v1beta1_CreateDatasetRequest_descriptor = getDescriptor().getMessageTypes().get(0); @@ -616,11 +659,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(com.google.api.ClientProto.defaultHost); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); registry.add(com.google.api.AnnotationsProto.http); + registry.add(com.google.api.ClientProto.methodSignature); registry.add(com.google.api.ClientProto.oauthScopes); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.cloud.automl.v1beta1.AnnotationPayloadOuterClass.getDescriptor(); com.google.cloud.automl.v1beta1.AnnotationSpecOuterClass.getDescriptor(); com.google.cloud.automl.v1beta1.ColumnSpecOuterClass.getDescriptor(); @@ -633,7 +683,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.automl.v1beta1.TableSpecOuterClass.getDescriptor(); com.google.longrunning.OperationsProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequest.java index 663e3f627..222a30dea 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict].
+ * Request message for [PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict].
  * 
* * Protobuf type {@code google.cloud.automl.v1beta1.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.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.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.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The inputConfig. */ @@ -257,7 +264,9 @@ public com.google.cloud.automl.v1beta1.BatchPredictInputConfig getInputConfig() * Required. The input configuration for batch prediction. *
* - * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.BatchPredictInputConfigOrBuilder getInputConfigOrBuilder() { @@ -274,7 +283,9 @@ public com.google.cloud.automl.v1beta1.BatchPredictInputConfig getInputConfig() * be written. *
* - * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the outputConfig field is set. */ @@ -289,7 +300,9 @@ public boolean hasOutputConfig() { * be written. * * - * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -306,7 +319,9 @@ public com.google.cloud.automl.v1beta1.BatchPredictOutputConfig getOutputConfig( * be written. * * - * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.BatchPredictOutputConfigOrBuilder getOutputConfigOrBuilder() { @@ -342,7 +357,7 @@ public int getParamsCount() { * * *
-   * Additional domain-specific parameters for the predictions, any string must
+   * Required. 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
@@ -386,6 +401,10 @@ public int getParamsCount() {
    *        type, the quality of it depends on training data, but there are no
    *        metrics provided to describe that quality. The default is
    *        "false".
+   * *  For Tables:
+   *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+   *        should be populated in the returned TablesAnnotations. The
+   *        default is false.
    * *  For Video Object Tracking:
    *    `score_threshold` - (float) When Model detects objects on video frames,
    *        it will only produce bounding boxes which have at least this
@@ -398,7 +417,7 @@ public int getParamsCount() {
    *      returned. Value in 0 to 1 range. Default is 0.
    * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ public boolean containsParams(java.lang.String key) { if (key == null) { @@ -415,7 +434,7 @@ public java.util.Map getParams() { * * *
-   * Additional domain-specific parameters for the predictions, any string must
+   * Required. 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
@@ -459,6 +478,10 @@ public java.util.Map getParams() {
    *        type, the quality of it depends on training data, but there are no
    *        metrics provided to describe that quality. The default is
    *        "false".
+   * *  For Tables:
+   *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+   *        should be populated in the returned TablesAnnotations. The
+   *        default is false.
    * *  For Video Object Tracking:
    *    `score_threshold` - (float) When Model detects objects on video frames,
    *        it will only produce bounding boxes which have at least this
@@ -471,7 +494,7 @@ public java.util.Map getParams() {
    *      returned. Value in 0 to 1 range. Default is 0.
    * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.Map getParamsMap() { return internalGetParams().getMap(); @@ -480,7 +503,7 @@ public java.util.Map getParamsMap() { * * *
-   * Additional domain-specific parameters for the predictions, any string must
+   * Required. 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
@@ -524,6 +547,10 @@ public java.util.Map getParamsMap() {
    *        type, the quality of it depends on training data, but there are no
    *        metrics provided to describe that quality. The default is
    *        "false".
+   * *  For Tables:
+   *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+   *        should be populated in the returned TablesAnnotations. The
+   *        default is false.
    * *  For Video Object Tracking:
    *    `score_threshold` - (float) When Model detects objects on video frames,
    *        it will only produce bounding boxes which have at least this
@@ -536,7 +563,7 @@ public java.util.Map getParamsMap() {
    *      returned. Value in 0 to 1 range. Default is 0.
    * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ public java.lang.String getParamsOrDefault(java.lang.String key, java.lang.String defaultValue) { if (key == null) { @@ -549,7 +576,7 @@ public java.lang.String getParamsOrDefault(java.lang.String key, java.lang.Strin * * *
-   * Additional domain-specific parameters for the predictions, any string must
+   * Required. 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
@@ -593,6 +620,10 @@ public java.lang.String getParamsOrDefault(java.lang.String key, java.lang.Strin
    *        type, the quality of it depends on training data, but there are no
    *        metrics provided to describe that quality. The default is
    *        "false".
+   * *  For Tables:
+   *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+   *        should be populated in the returned TablesAnnotations. The
+   *        default is false.
    * *  For Video Object Tracking:
    *    `score_threshold` - (float) When Model detects objects on video frames,
    *        it will only produce bounding boxes which have at least this
@@ -605,7 +636,7 @@ public java.lang.String getParamsOrDefault(java.lang.String key, java.lang.Strin
    *      returned. Value in 0 to 1 range. Default is 0.
    * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ public java.lang.String getParamsOrThrow(java.lang.String key) { if (key == null) { @@ -826,8 +857,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict].
+   * Request message for [PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict].
    * 
* * Protobuf type {@code google.cloud.automl.v1beta1.BatchPredictRequest} @@ -1042,10 +1072,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. */ @@ -1064,10 +1096,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. */ @@ -1086,10 +1120,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. @@ -1107,10 +1143,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. */ @@ -1124,10 +1162,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. @@ -1156,7 +1196,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the inputConfig field is set. */ @@ -1170,7 +1212,9 @@ public boolean hasInputConfig() { * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The inputConfig. */ @@ -1190,7 +1234,9 @@ public com.google.cloud.automl.v1beta1.BatchPredictInputConfig getInputConfig() * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInputConfig(com.google.cloud.automl.v1beta1.BatchPredictInputConfig value) { if (inputConfigBuilder_ == null) { @@ -1212,7 +1258,9 @@ public Builder setInputConfig(com.google.cloud.automl.v1beta1.BatchPredictInputC * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInputConfig( com.google.cloud.automl.v1beta1.BatchPredictInputConfig.Builder builderForValue) { @@ -1232,7 +1280,9 @@ public Builder setInputConfig( * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInputConfig(com.google.cloud.automl.v1beta1.BatchPredictInputConfig value) { if (inputConfigBuilder_ == null) { @@ -1258,7 +1308,9 @@ public Builder mergeInputConfig(com.google.cloud.automl.v1beta1.BatchPredictInpu * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInputConfig() { if (inputConfigBuilder_ == null) { @@ -1278,7 +1330,9 @@ public Builder clearInputConfig() { * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.BatchPredictInputConfig.Builder getInputConfigBuilder() { @@ -1292,7 +1346,9 @@ public com.google.cloud.automl.v1beta1.BatchPredictInputConfig.Builder getInputC * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.BatchPredictInputConfigOrBuilder getInputConfigOrBuilder() { @@ -1311,7 +1367,9 @@ public com.google.cloud.automl.v1beta1.BatchPredictInputConfig.Builder getInputC * Required. The input configuration for batch prediction. * * - * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1beta1.BatchPredictInputConfig, @@ -1344,7 +1402,9 @@ public com.google.cloud.automl.v1beta1.BatchPredictInputConfig.Builder getInputC * be written. * * - * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the outputConfig field is set. */ @@ -1359,7 +1419,9 @@ public boolean hasOutputConfig() { * be written. * * - * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -1380,7 +1442,9 @@ public com.google.cloud.automl.v1beta1.BatchPredictOutputConfig getOutputConfig( * be written. * * - * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig(com.google.cloud.automl.v1beta1.BatchPredictOutputConfig value) { if (outputConfigBuilder_ == null) { @@ -1403,7 +1467,9 @@ public Builder setOutputConfig(com.google.cloud.automl.v1beta1.BatchPredictOutpu * be written. * * - * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig( com.google.cloud.automl.v1beta1.BatchPredictOutputConfig.Builder builderForValue) { @@ -1424,7 +1490,9 @@ public Builder setOutputConfig( * be written. * * - * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOutputConfig( com.google.cloud.automl.v1beta1.BatchPredictOutputConfig value) { @@ -1452,7 +1520,9 @@ public Builder mergeOutputConfig( * be written. * * - * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -1473,7 +1543,9 @@ public Builder clearOutputConfig() { * be written. * * - * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.BatchPredictOutputConfig.Builder getOutputConfigBuilder() { @@ -1489,7 +1561,9 @@ public Builder clearOutputConfig() { * be written. * * - * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.BatchPredictOutputConfigOrBuilder getOutputConfigOrBuilder() { @@ -1509,7 +1583,9 @@ public Builder clearOutputConfig() { * be written. * * - * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1beta1.BatchPredictOutputConfig, @@ -1557,7 +1633,7 @@ public int getParamsCount() { * * *
-     * Additional domain-specific parameters for the predictions, any string must
+     * Required. 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
@@ -1601,6 +1677,10 @@ public int getParamsCount() {
      *        type, the quality of it depends on training data, but there are no
      *        metrics provided to describe that quality. The default is
      *        "false".
+     * *  For Tables:
+     *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+     *        should be populated in the returned TablesAnnotations. The
+     *        default is false.
      * *  For Video Object Tracking:
      *    `score_threshold` - (float) When Model detects objects on video frames,
      *        it will only produce bounding boxes which have at least this
@@ -1613,7 +1693,7 @@ public int getParamsCount() {
      *      returned. Value in 0 to 1 range. Default is 0.
      * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ public boolean containsParams(java.lang.String key) { if (key == null) { @@ -1630,7 +1710,7 @@ public java.util.Map getParams() { * * *
-     * Additional domain-specific parameters for the predictions, any string must
+     * Required. 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
@@ -1674,6 +1754,10 @@ public java.util.Map getParams() {
      *        type, the quality of it depends on training data, but there are no
      *        metrics provided to describe that quality. The default is
      *        "false".
+     * *  For Tables:
+     *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+     *        should be populated in the returned TablesAnnotations. The
+     *        default is false.
      * *  For Video Object Tracking:
      *    `score_threshold` - (float) When Model detects objects on video frames,
      *        it will only produce bounding boxes which have at least this
@@ -1686,7 +1770,7 @@ public java.util.Map getParams() {
      *      returned. Value in 0 to 1 range. Default is 0.
      * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.Map getParamsMap() { return internalGetParams().getMap(); @@ -1695,7 +1779,7 @@ public java.util.Map getParamsMap() { * * *
-     * Additional domain-specific parameters for the predictions, any string must
+     * Required. 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
@@ -1739,6 +1823,10 @@ public java.util.Map getParamsMap() {
      *        type, the quality of it depends on training data, but there are no
      *        metrics provided to describe that quality. The default is
      *        "false".
+     * *  For Tables:
+     *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+     *        should be populated in the returned TablesAnnotations. The
+     *        default is false.
      * *  For Video Object Tracking:
      *    `score_threshold` - (float) When Model detects objects on video frames,
      *        it will only produce bounding boxes which have at least this
@@ -1751,7 +1839,7 @@ public java.util.Map getParamsMap() {
      *      returned. Value in 0 to 1 range. Default is 0.
      * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ public java.lang.String getParamsOrDefault( java.lang.String key, java.lang.String defaultValue) { @@ -1765,7 +1853,7 @@ public java.lang.String getParamsOrDefault( * * *
-     * Additional domain-specific parameters for the predictions, any string must
+     * Required. 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
@@ -1809,6 +1897,10 @@ public java.lang.String getParamsOrDefault(
      *        type, the quality of it depends on training data, but there are no
      *        metrics provided to describe that quality. The default is
      *        "false".
+     * *  For Tables:
+     *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+     *        should be populated in the returned TablesAnnotations. The
+     *        default is false.
      * *  For Video Object Tracking:
      *    `score_threshold` - (float) When Model detects objects on video frames,
      *        it will only produce bounding boxes which have at least this
@@ -1821,7 +1913,7 @@ public java.lang.String getParamsOrDefault(
      *      returned. Value in 0 to 1 range. Default is 0.
      * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ public java.lang.String getParamsOrThrow(java.lang.String key) { if (key == null) { @@ -1842,7 +1934,7 @@ public Builder clearParams() { * * *
-     * Additional domain-specific parameters for the predictions, any string must
+     * Required. 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
@@ -1886,6 +1978,10 @@ public Builder clearParams() {
      *        type, the quality of it depends on training data, but there are no
      *        metrics provided to describe that quality. The default is
      *        "false".
+     * *  For Tables:
+     *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+     *        should be populated in the returned TablesAnnotations. The
+     *        default is false.
      * *  For Video Object Tracking:
      *    `score_threshold` - (float) When Model detects objects on video frames,
      *        it will only produce bounding boxes which have at least this
@@ -1898,7 +1994,7 @@ public Builder clearParams() {
      *      returned. Value in 0 to 1 range. Default is 0.
      * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeParams(java.lang.String key) { if (key == null) { @@ -1916,7 +2012,7 @@ public java.util.Map getMutableParams() { * * *
-     * Additional domain-specific parameters for the predictions, any string must
+     * Required. 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
@@ -1960,6 +2056,10 @@ public java.util.Map getMutableParams() {
      *        type, the quality of it depends on training data, but there are no
      *        metrics provided to describe that quality. The default is
      *        "false".
+     * *  For Tables:
+     *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+     *        should be populated in the returned TablesAnnotations. The
+     *        default is false.
      * *  For Video Object Tracking:
      *    `score_threshold` - (float) When Model detects objects on video frames,
      *        it will only produce bounding boxes which have at least this
@@ -1972,7 +2072,7 @@ public java.util.Map getMutableParams() {
      *      returned. Value in 0 to 1 range. Default is 0.
      * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder putParams(java.lang.String key, java.lang.String value) { if (key == null) { @@ -1988,7 +2088,7 @@ public Builder putParams(java.lang.String key, java.lang.String value) { * * *
-     * Additional domain-specific parameters for the predictions, any string must
+     * Required. 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
@@ -2032,6 +2132,10 @@ public Builder putParams(java.lang.String key, java.lang.String value) {
      *        type, the quality of it depends on training data, but there are no
      *        metrics provided to describe that quality. The default is
      *        "false".
+     * *  For Tables:
+     *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+     *        should be populated in the returned TablesAnnotations. The
+     *        default is false.
      * *  For Video Object Tracking:
      *    `score_threshold` - (float) When Model detects objects on video frames,
      *        it will only produce bounding boxes which have at least this
@@ -2044,7 +2148,7 @@ public Builder putParams(java.lang.String key, java.lang.String value) {
      *      returned. Value in 0 to 1 range. Default is 0.
      * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ public Builder putAllParams(java.util.Map values) { internalGetMutableParams().getMutableMap().putAll(values); diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequestOrBuilder.java index edd87895f..360898b56 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.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.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.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.v1beta1.BatchPredictInputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.BatchPredictInputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1beta1.BatchPredictInputConfigOrBuilder getInputConfigOrBuilder(); @@ -91,7 +101,9 @@ public interface BatchPredictRequestOrBuilder * be written. * * - * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.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.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -117,7 +131,9 @@ public interface BatchPredictRequestOrBuilder * be written. * * - * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4; + * + * .google.cloud.automl.v1beta1.BatchPredictOutputConfig output_config = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1beta1.BatchPredictOutputConfigOrBuilder getOutputConfigOrBuilder(); @@ -125,7 +141,7 @@ public interface BatchPredictRequestOrBuilder * * *
-   * Additional domain-specific parameters for the predictions, any string must
+   * Required. 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
@@ -169,6 +185,10 @@ public interface BatchPredictRequestOrBuilder
    *        type, the quality of it depends on training data, but there are no
    *        metrics provided to describe that quality. The default is
    *        "false".
+   * *  For Tables:
+   *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+   *        should be populated in the returned TablesAnnotations. The
+   *        default is false.
    * *  For Video Object Tracking:
    *    `score_threshold` - (float) When Model detects objects on video frames,
    *        it will only produce bounding boxes which have at least this
@@ -181,14 +201,14 @@ public interface BatchPredictRequestOrBuilder
    *      returned. Value in 0 to 1 range. Default is 0.
    * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ int getParamsCount(); /** * * *
-   * Additional domain-specific parameters for the predictions, any string must
+   * Required. 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
@@ -232,6 +252,10 @@ public interface BatchPredictRequestOrBuilder
    *        type, the quality of it depends on training data, but there are no
    *        metrics provided to describe that quality. The default is
    *        "false".
+   * *  For Tables:
+   *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+   *        should be populated in the returned TablesAnnotations. The
+   *        default is false.
    * *  For Video Object Tracking:
    *    `score_threshold` - (float) When Model detects objects on video frames,
    *        it will only produce bounding boxes which have at least this
@@ -244,7 +268,7 @@ public interface BatchPredictRequestOrBuilder
    *      returned. Value in 0 to 1 range. Default is 0.
    * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ boolean containsParams(java.lang.String key); /** Use {@link #getParamsMap()} instead. */ @@ -254,7 +278,7 @@ public interface BatchPredictRequestOrBuilder * * *
-   * Additional domain-specific parameters for the predictions, any string must
+   * Required. 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
@@ -298,6 +322,10 @@ public interface BatchPredictRequestOrBuilder
    *        type, the quality of it depends on training data, but there are no
    *        metrics provided to describe that quality. The default is
    *        "false".
+   * *  For Tables:
+   *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+   *        should be populated in the returned TablesAnnotations. The
+   *        default is false.
    * *  For Video Object Tracking:
    *    `score_threshold` - (float) When Model detects objects on video frames,
    *        it will only produce bounding boxes which have at least this
@@ -310,14 +338,14 @@ public interface BatchPredictRequestOrBuilder
    *      returned. Value in 0 to 1 range. Default is 0.
    * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ java.util.Map getParamsMap(); /** * * *
-   * Additional domain-specific parameters for the predictions, any string must
+   * Required. 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
@@ -361,6 +389,10 @@ public interface BatchPredictRequestOrBuilder
    *        type, the quality of it depends on training data, but there are no
    *        metrics provided to describe that quality. The default is
    *        "false".
+   * *  For Tables:
+   *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+   *        should be populated in the returned TablesAnnotations. The
+   *        default is false.
    * *  For Video Object Tracking:
    *    `score_threshold` - (float) When Model detects objects on video frames,
    *        it will only produce bounding boxes which have at least this
@@ -373,14 +405,14 @@ public interface BatchPredictRequestOrBuilder
    *      returned. Value in 0 to 1 range. Default is 0.
    * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ java.lang.String getParamsOrDefault(java.lang.String key, java.lang.String defaultValue); /** * * *
-   * Additional domain-specific parameters for the predictions, any string must
+   * Required. 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
@@ -424,6 +456,10 @@ public interface BatchPredictRequestOrBuilder
    *        type, the quality of it depends on training data, but there are no
    *        metrics provided to describe that quality. The default is
    *        "false".
+   * *  For Tables:
+   *    feature_imp<span>ortan</span>ce - (boolean) Whether feature importance
+   *        should be populated in the returned TablesAnnotations. The
+   *        default is false.
    * *  For Video Object Tracking:
    *    `score_threshold` - (float) When Model detects objects on video frames,
    *        it will only produce bounding boxes which have at least this
@@ -436,7 +472,7 @@ public interface BatchPredictRequestOrBuilder
    *      returned. Value in 0 to 1 range. Default is 0.
    * 
* - * map<string, string> params = 5; + * map<string, string> params = 5 [(.google.api.field_behavior) = REQUIRED]; */ java.lang.String getParamsOrThrow(java.lang.String key); } diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictResult.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictResult.java index b66475f2d..421cd06e1 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictResult.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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.v1beta1.PredictionService.BatchPredict].
+ * by the [PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict].
  * 
* * Protobuf type {@code google.cloud.automl.v1beta1.BatchPredictResult} @@ -423,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.v1beta1.PredictionService.BatchPredict].
+   * by the [PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict].
    * 
* * Protobuf type {@code google.cloud.automl.v1beta1.BatchPredictResult} diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ClassificationProto.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ClassificationProto.java index 9388b29e5..3ab78f262 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ClassificationProto.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ClassificationProto.java @@ -2883,10 +2883,7 @@ public interface ConfidenceMetricsEntryOrBuilder * * *
-       * Output only. The harmonic mean of
-       * [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1]
-       * and
-       * [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
+       * Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
        * 
* * float f1_score_at1 = 7; @@ -3278,10 +3275,7 @@ public float getFalsePositiveRateAt1() { * * *
-       * Output only. The harmonic mean of
-       * [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1]
-       * and
-       * [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
+       * Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
        * 
* * float f1_score_at1 = 7; @@ -4444,10 +4438,7 @@ public Builder clearFalsePositiveRateAt1() { * * *
-         * Output only. The harmonic mean of
-         * [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1]
-         * and
-         * [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
+         * Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
          * 
* * float f1_score_at1 = 7; @@ -4461,10 +4452,7 @@ public float getF1ScoreAt1() { * * *
-         * Output only. The harmonic mean of
-         * [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1]
-         * and
-         * [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
+         * Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
          * 
* * float f1_score_at1 = 7; @@ -4482,10 +4470,7 @@ public Builder setF1ScoreAt1(float value) { * * *
-         * Output only. The harmonic mean of
-         * [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1]
-         * and
-         * [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
+         * Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1].
          * 
* * float f1_score_at1 = 7; @@ -5156,9 +5141,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.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -5173,9 +5156,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.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -5190,9 +5171,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.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -5329,9 +5308,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.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -5348,9 +5325,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.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -5367,9 +5342,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.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -5816,9 +5789,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.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -5837,9 +5808,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.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -5856,9 +5825,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.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -5876,9 +5843,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.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -5900,9 +5865,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.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -5923,9 +5886,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.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -5947,9 +5908,7 @@ public Builder addAllExampleCount( * 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.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - * field. + * populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. * * * repeated int32 example_count = 1; @@ -9913,8 +9872,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n0google/cloud/automl/v1beta1/classifica" + "tion.proto\022\033google.cloud.automl.v1beta1\032" - + "\034google/api/annotations.proto\032*google/cl" - + "oud/automl/v1beta1/temporal.proto\")\n\030Cla" + + "*google/cloud/automl/v1beta1/temporal.pr" + + "oto\032\034google/api/annotations.proto\")\n\030Cla" + "ssificationAnnotation\022\r\n\005score\030\001 \001(\002\"\307\001\n" + "\035VideoClassificationAnnotation\022\014\n\004type\030\001" + " \001(\t\022X\n\031classification_annotation\030\002 \001(\0132" @@ -9957,8 +9916,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.v1beta1.Temporal.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_automl_v1beta1_ClassificationAnnotation_descriptor = getDescriptor().getMessageTypes().get(0); @@ -10033,8 +9992,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ExampleCount", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.cloud.automl.v1beta1.Temporal.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpecOuterClass.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpecOuterClass.java index dd2f51540..a8bac9cf2 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpecOuterClass.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpecOuterClass.java @@ -45,30 +45,35 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n-google/cloud/automl/v1beta1/column_spe" - + "c.proto\022\033google.cloud.automl.v1beta1\032,go" - + "ogle/cloud/automl/v1beta1/data_stats.pro" - + "to\032,google/cloud/automl/v1beta1/data_typ" - + "es.proto\032\034google/api/annotations.proto\"\204" - + "\003\n\nColumnSpec\022\014\n\004name\030\001 \001(\t\0228\n\tdata_type" - + "\030\002 \001(\0132%.google.cloud.automl.v1beta1.Dat" - + "aType\022\024\n\014display_name\030\003 \001(\t\022:\n\ndata_stat" - + "s\030\004 \001(\0132&.google.cloud.automl.v1beta1.Da" - + "taStats\022X\n\026top_correlated_columns\030\005 \003(\0132" - + "8.google.cloud.automl.v1beta1.ColumnSpec" - + ".CorrelatedColumn\022\014\n\004etag\030\006 \001(\t\032t\n\020Corre" - + "latedColumn\022\026\n\016column_spec_id\030\001 \001(\t\022H\n\021c" - + "orrelation_stats\030\002 \001(\0132-.google.cloud.au" - + "toml.v1beta1.CorrelationStatsB\245\001\n\037com.go" - + "ogle.cloud.automl.v1beta1P\001ZAgoogle.gola" - + "ng.org/genproto/googleapis/cloud/automl/" - + "v1beta1;automl\312\002\033Google\\Cloud\\AutoMl\\V1b" - + "eta1\352\002\036Google::Cloud::AutoML::V1beta1b\006p" - + "roto3" + + "c.proto\022\033google.cloud.automl.v1beta1\032\031go" + + "ogle/api/resource.proto\032,google/cloud/au" + + "toml/v1beta1/data_stats.proto\032,google/cl" + + "oud/automl/v1beta1/data_types.proto\032\034goo" + + "gle/api/annotations.proto\"\233\004\n\nColumnSpec" + + "\022\014\n\004name\030\001 \001(\t\0228\n\tdata_type\030\002 \001(\0132%.goog" + + "le.cloud.automl.v1beta1.DataType\022\024\n\014disp" + + "lay_name\030\003 \001(\t\022:\n\ndata_stats\030\004 \001(\0132&.goo" + + "gle.cloud.automl.v1beta1.DataStats\022X\n\026to" + + "p_correlated_columns\030\005 \003(\01328.google.clou" + + "d.automl.v1beta1.ColumnSpec.CorrelatedCo" + + "lumn\022\014\n\004etag\030\006 \001(\t\032t\n\020CorrelatedColumn\022\026" + + "\n\016column_spec_id\030\001 \001(\t\022H\n\021correlation_st" + + "ats\030\002 \001(\0132-.google.cloud.automl.v1beta1." + + "CorrelationStats:\224\001\352A\220\001\n automl.googleap" + + "is.com/ColumnSpec\022lprojects/{project}/lo" + + "cations/{location}/datasets/{dataset}/ta" + + "bleSpecs/{table_spec}/columnSpecs/{colum" + + "n_spec}B\245\001\n\037com.google.cloud.automl.v1be" + + "ta1P\001ZAgoogle.golang.org/genproto/google" + + "apis/cloud/automl/v1beta1;automl\312\002\033Googl" + + "e\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud::" + + "AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), com.google.cloud.automl.v1beta1.DataStatsOuterClass.getDescriptor(), com.google.cloud.automl.v1beta1.DataTypes.getDescriptor(), com.google.api.AnnotationsProto.getDescriptor(), @@ -89,6 +94,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "ColumnSpecId", "CorrelationStats", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); com.google.cloud.automl.v1beta1.DataStatsOuterClass.getDescriptor(); com.google.cloud.automl.v1beta1.DataTypes.getDescriptor(); com.google.api.AnnotationsProto.getDescriptor(); diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/CreateDatasetRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/CreateDatasetRequest.java index 4e29d040d..5256cbe2e 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/CreateDatasetRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/CreateDatasetRequest.java @@ -133,10 +133,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 +157,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 +184,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The dataset to create.
+   * Required. The dataset to create.
    * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the dataset field is set. */ @@ -194,10 +200,12 @@ public boolean hasDataset() { * * *
-   * The dataset to create.
+   * Required. The dataset to create.
    * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The dataset. */ @@ -210,10 +218,12 @@ public com.google.cloud.automl.v1beta1.Dataset getDataset() { * * *
-   * The dataset to create.
+   * Required. The dataset to create.
    * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.DatasetOrBuilder getDatasetOrBuilder() { return getDataset(); @@ -570,10 +580,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. */ @@ -592,10 +604,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. */ @@ -614,10 +628,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. @@ -635,10 +651,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. */ @@ -652,10 +670,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. @@ -681,10 +701,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the dataset field is set. */ @@ -695,10 +717,12 @@ public boolean hasDataset() { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The dataset. */ @@ -715,10 +739,12 @@ public com.google.cloud.automl.v1beta1.Dataset getDataset() { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataset(com.google.cloud.automl.v1beta1.Dataset value) { if (datasetBuilder_ == null) { @@ -737,10 +763,12 @@ public Builder setDataset(com.google.cloud.automl.v1beta1.Dataset value) { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataset(com.google.cloud.automl.v1beta1.Dataset.Builder builderForValue) { if (datasetBuilder_ == null) { @@ -756,10 +784,12 @@ public Builder setDataset(com.google.cloud.automl.v1beta1.Dataset.Builder builde * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDataset(com.google.cloud.automl.v1beta1.Dataset value) { if (datasetBuilder_ == null) { @@ -782,10 +812,12 @@ public Builder mergeDataset(com.google.cloud.automl.v1beta1.Dataset value) { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataset() { if (datasetBuilder_ == null) { @@ -802,10 +834,12 @@ public Builder clearDataset() { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.Dataset.Builder getDatasetBuilder() { @@ -816,10 +850,12 @@ public com.google.cloud.automl.v1beta1.Dataset.Builder getDatasetBuilder() { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.DatasetOrBuilder getDatasetOrBuilder() { if (datasetBuilder_ != null) { @@ -834,10 +870,12 @@ public com.google.cloud.automl.v1beta1.DatasetOrBuilder getDatasetOrBuilder() { * * *
-     * The dataset to create.
+     * Required. The dataset to create.
      * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1beta1.Dataset, diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/CreateDatasetRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/CreateDatasetRequestOrBuilder.java index 0c6a4f64a..bad2a23f5 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/CreateDatasetRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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,12 @@ public interface CreateDatasetRequestOrBuilder * * *
-   * The dataset to create.
+   * Required. The dataset to create.
    * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the dataset field is set. */ @@ -64,10 +70,12 @@ public interface CreateDatasetRequestOrBuilder * * *
-   * The dataset to create.
+   * Required. The dataset to create.
    * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The dataset. */ @@ -76,10 +84,12 @@ public interface CreateDatasetRequestOrBuilder * * *
-   * The dataset to create.
+   * Required. The dataset to create.
    * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 2; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1beta1.DatasetOrBuilder getDatasetOrBuilder(); } diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/CreateModelRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/CreateModelRequest.java index ac9d759bf..e8d6f2ec7 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/CreateModelRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/CreateModelRequest.java @@ -133,10 +133,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 +157,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 +184,11 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The model to create.
+   * Required. The model to create.
    * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the model field is set. */ @@ -194,10 +199,11 @@ public boolean hasModel() { * * *
-   * The model to create.
+   * Required. The model to create.
    * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The model. */ @@ -208,10 +214,11 @@ public com.google.cloud.automl.v1beta1.Model getModel() { * * *
-   * The model to create.
+   * Required. The model to create.
    * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.ModelOrBuilder getModelOrBuilder() { return getModel(); @@ -568,10 +575,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. */ @@ -590,10 +599,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. */ @@ -612,10 +623,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. @@ -633,10 +646,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. */ @@ -650,10 +665,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. @@ -679,10 +696,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the model field is set. */ @@ -693,10 +711,11 @@ public boolean hasModel() { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The model. */ @@ -711,10 +730,11 @@ public com.google.cloud.automl.v1beta1.Model getModel() { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setModel(com.google.cloud.automl.v1beta1.Model value) { if (modelBuilder_ == null) { @@ -733,10 +753,11 @@ public Builder setModel(com.google.cloud.automl.v1beta1.Model value) { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setModel(com.google.cloud.automl.v1beta1.Model.Builder builderForValue) { if (modelBuilder_ == null) { @@ -752,10 +773,11 @@ public Builder setModel(com.google.cloud.automl.v1beta1.Model.Builder builderFor * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeModel(com.google.cloud.automl.v1beta1.Model value) { if (modelBuilder_ == null) { @@ -778,10 +800,11 @@ public Builder mergeModel(com.google.cloud.automl.v1beta1.Model value) { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearModel() { if (modelBuilder_ == null) { @@ -798,10 +821,11 @@ public Builder clearModel() { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.Model.Builder getModelBuilder() { @@ -812,10 +836,11 @@ public com.google.cloud.automl.v1beta1.Model.Builder getModelBuilder() { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.ModelOrBuilder getModelOrBuilder() { if (modelBuilder_ != null) { @@ -828,10 +853,11 @@ public com.google.cloud.automl.v1beta1.ModelOrBuilder getModelOrBuilder() { * * *
-     * The model to create.
+     * Required. The model to create.
      * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1beta1.Model, diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/CreateModelRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/CreateModelRequestOrBuilder.java index 9e0dba487..ac81a5dc9 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/CreateModelRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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,11 @@ public interface CreateModelRequestOrBuilder * * *
-   * The model to create.
+   * Required. The model to create.
    * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the model field is set. */ @@ -64,10 +69,11 @@ public interface CreateModelRequestOrBuilder * * *
-   * The model to create.
+   * Required. The model to create.
    * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The model. */ @@ -76,10 +82,11 @@ public interface CreateModelRequestOrBuilder * * *
-   * The model to create.
+   * Required. The model to create.
    * 
* - * .google.cloud.automl.v1beta1.Model model = 4; + * .google.cloud.automl.v1beta1.Model model = 4 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1beta1.ModelOrBuilder getModelOrBuilder(); } diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataItems.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataItems.java index 2833d07f6..6a543997e 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataItems.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataItems.java @@ -65,68 +65,70 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n,google/cloud/automl/v1beta1/data_items" - + ".proto\022\033google.cloud.automl.v1beta1\032\034goo" - + "gle/api/annotations.proto\032*google/cloud/" - + "automl/v1beta1/geometry.proto\032$google/cl" - + "oud/automl/v1beta1/io.proto\032.google/clou" - + "d/automl/v1beta1/text_segment.proto\032\031goo" - + "gle/protobuf/any.proto\032\036google/protobuf/" - + "duration.proto\032\034google/protobuf/struct.p" - + "roto\"\177\n\005Image\022\025\n\013image_bytes\030\001 \001(\014H\000\022@\n\014" - + "input_config\030\006 \001(\0132(.google.cloud.automl" - + ".v1beta1.InputConfigH\000\022\025\n\rthumbnail_uri\030" - + "\004 \001(\tB\006\n\004data\"F\n\013TextSnippet\022\017\n\007content\030" - + "\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\022\023\n\013content_uri\030" - + "\004 \001(\t\"\357\001\n\022DocumentDimensions\022S\n\004unit\030\001 \001" - + "(\0162E.google.cloud.automl.v1beta1.Documen" - + "tDimensions.DocumentDimensionUnit\022\r\n\005wid" - + "th\030\002 \001(\002\022\016\n\006height\030\003 \001(\002\"e\n\025DocumentDime" - + "nsionUnit\022\'\n#DOCUMENT_DIMENSION_UNIT_UNS" - + "PECIFIED\020\000\022\010\n\004INCH\020\001\022\016\n\nCENTIMETER\020\002\022\t\n\005" - + "POINT\020\003\"\371\005\n\010Document\022F\n\014input_config\030\001 \001" - + "(\01320.google.cloud.automl.v1beta1.Documen" - + "tInputConfig\022?\n\rdocument_text\030\002 \001(\0132(.go" - + "ogle.cloud.automl.v1beta1.TextSnippet\022<\n" - + "\006layout\030\003 \003(\0132,.google.cloud.automl.v1be" - + "ta1.Document.Layout\022L\n\023document_dimensio" - + "ns\030\004 \001(\0132/.google.cloud.automl.v1beta1.D" - + "ocumentDimensions\022\022\n\npage_count\030\005 \001(\005\032\303\003" - + "\n\006Layout\022>\n\014text_segment\030\001 \001(\0132(.google." - + "cloud.automl.v1beta1.TextSegment\022\023\n\013page" - + "_number\030\002 \001(\005\022@\n\rbounding_poly\030\003 \001(\0132).g" - + "oogle.cloud.automl.v1beta1.BoundingPoly\022" - + "W\n\021text_segment_type\030\004 \001(\0162<.google.clou" - + "d.automl.v1beta1.Document.Layout.TextSeg" - + "mentType\"\310\001\n\017TextSegmentType\022!\n\035TEXT_SEG" - + "MENT_TYPE_UNSPECIFIED\020\000\022\t\n\005TOKEN\020\001\022\r\n\tPA" - + "RAGRAPH\020\002\022\016\n\nFORM_FIELD\020\003\022\023\n\017FORM_FIELD_" - + "NAME\020\004\022\027\n\023FORM_FIELD_CONTENTS\020\005\022\t\n\005TABLE" - + "\020\006\022\020\n\014TABLE_HEADER\020\007\022\r\n\tTABLE_ROW\020\010\022\016\n\nT" - + "ABLE_CELL\020\t\"F\n\003Row\022\027\n\017column_spec_ids\030\002 " - + "\003(\t\022&\n\006values\030\003 \003(\0132\026.google.protobuf.Va" - + "lue\"\376\001\n\016ExamplePayload\0223\n\005image\030\001 \001(\0132\"." - + "google.cloud.automl.v1beta1.ImageH\000\022@\n\014t" - + "ext_snippet\030\002 \001(\0132(.google.cloud.automl." - + "v1beta1.TextSnippetH\000\0229\n\010document\030\004 \001(\0132" - + "%.google.cloud.automl.v1beta1.DocumentH\000" - + "\022/\n\003row\030\003 \001(\0132 .google.cloud.automl.v1be" - + "ta1.RowH\000B\t\n\007payloadB\245\001\n\037com.google.clou" - + "d.automl.v1beta1P\001ZAgoogle.golang.org/ge" - + "nproto/googleapis/cloud/automl/v1beta1;a" - + "utoml\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Go" - + "ogle::Cloud::AutoML::V1beta1b\006proto3" + + ".proto\022\033google.cloud.automl.v1beta1\032*goo" + + "gle/cloud/automl/v1beta1/geometry.proto\032" + + "$google/cloud/automl/v1beta1/io.proto\032*g" + + "oogle/cloud/automl/v1beta1/temporal.prot" + + "o\032.google/cloud/automl/v1beta1/text_segm" + + "ent.proto\032\031google/protobuf/any.proto\032\036go" + + "ogle/protobuf/duration.proto\032\034google/pro" + + "tobuf/struct.proto\032\034google/api/annotatio" + + "ns.proto\"\177\n\005Image\022\025\n\013image_bytes\030\001 \001(\014H\000" + + "\022@\n\014input_config\030\006 \001(\0132(.google.cloud.au" + + "toml.v1beta1.InputConfigH\000\022\025\n\rthumbnail_" + + "uri\030\004 \001(\tB\006\n\004data\"F\n\013TextSnippet\022\017\n\007cont" + + "ent\030\001 \001(\t\022\021\n\tmime_type\030\002 \001(\t\022\023\n\013content_" + + "uri\030\004 \001(\t\"\357\001\n\022DocumentDimensions\022S\n\004unit" + + "\030\001 \001(\0162E.google.cloud.automl.v1beta1.Doc" + + "umentDimensions.DocumentDimensionUnit\022\r\n" + + "\005width\030\002 \001(\002\022\016\n\006height\030\003 \001(\002\"e\n\025Document" + + "DimensionUnit\022\'\n#DOCUMENT_DIMENSION_UNIT" + + "_UNSPECIFIED\020\000\022\010\n\004INCH\020\001\022\016\n\nCENTIMETER\020\002" + + "\022\t\n\005POINT\020\003\"\371\005\n\010Document\022F\n\014input_config" + + "\030\001 \001(\01320.google.cloud.automl.v1beta1.Doc" + + "umentInputConfig\022?\n\rdocument_text\030\002 \001(\0132" + + "(.google.cloud.automl.v1beta1.TextSnippe" + + "t\022<\n\006layout\030\003 \003(\0132,.google.cloud.automl." + + "v1beta1.Document.Layout\022L\n\023document_dime" + + "nsions\030\004 \001(\0132/.google.cloud.automl.v1bet" + + "a1.DocumentDimensions\022\022\n\npage_count\030\005 \001(" + + "\005\032\303\003\n\006Layout\022>\n\014text_segment\030\001 \001(\0132(.goo" + + "gle.cloud.automl.v1beta1.TextSegment\022\023\n\013" + + "page_number\030\002 \001(\005\022@\n\rbounding_poly\030\003 \001(\013" + + "2).google.cloud.automl.v1beta1.BoundingP" + + "oly\022W\n\021text_segment_type\030\004 \001(\0162<.google." + + "cloud.automl.v1beta1.Document.Layout.Tex" + + "tSegmentType\"\310\001\n\017TextSegmentType\022!\n\035TEXT" + + "_SEGMENT_TYPE_UNSPECIFIED\020\000\022\t\n\005TOKEN\020\001\022\r" + + "\n\tPARAGRAPH\020\002\022\016\n\nFORM_FIELD\020\003\022\023\n\017FORM_FI" + + "ELD_NAME\020\004\022\027\n\023FORM_FIELD_CONTENTS\020\005\022\t\n\005T" + + "ABLE\020\006\022\020\n\014TABLE_HEADER\020\007\022\r\n\tTABLE_ROW\020\010\022" + + "\016\n\nTABLE_CELL\020\t\"F\n\003Row\022\027\n\017column_spec_id" + + "s\030\002 \003(\t\022&\n\006values\030\003 \003(\0132\026.google.protobu" + + "f.Value\"\376\001\n\016ExamplePayload\0223\n\005image\030\001 \001(" + + "\0132\".google.cloud.automl.v1beta1.ImageH\000\022" + + "@\n\014text_snippet\030\002 \001(\0132(.google.cloud.aut" + + "oml.v1beta1.TextSnippetH\000\0229\n\010document\030\004 " + + "\001(\0132%.google.cloud.automl.v1beta1.Docume" + + "ntH\000\022/\n\003row\030\003 \001(\0132 .google.cloud.automl." + + "v1beta1.RowH\000B\t\n\007payloadB\245\001\n\037com.google." + + "cloud.automl.v1beta1P\001ZAgoogle.golang.or" + + "g/genproto/googleapis/cloud/automl/v1bet" + + "a1;automl\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352" + + "\002\036Google::Cloud::AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.cloud.automl.v1beta1.Geometry.getDescriptor(), com.google.cloud.automl.v1beta1.Io.getDescriptor(), + com.google.cloud.automl.v1beta1.Temporal.getDescriptor(), com.google.cloud.automl.v1beta1.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_v1beta1_Image_descriptor = getDescriptor().getMessageTypes().get(0); @@ -184,13 +186,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "Image", "TextSnippet", "Document", "Row", "Payload", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.cloud.automl.v1beta1.Geometry.getDescriptor(); com.google.cloud.automl.v1beta1.Io.getDescriptor(); + com.google.cloud.automl.v1beta1.Temporal.getDescriptor(); com.google.cloud.automl.v1beta1.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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DatasetOuterClass.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DatasetOuterClass.java index 9b75b7469..fa5f11186 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DatasetOuterClass.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DatasetOuterClass.java @@ -41,52 +41,56 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n)google/cloud/automl/v1beta1/dataset.pr" - + "oto\022\033google.cloud.automl.v1beta1\032\'google" - + "/cloud/automl/v1beta1/image.proto\032(googl" - + "e/cloud/automl/v1beta1/tables.proto\032&goo" - + "gle/cloud/automl/v1beta1/text.proto\032-goo" - + "gle/cloud/automl/v1beta1/translation.pro" - + "to\032\'google/cloud/automl/v1beta1/video.pr" - + "oto\032\037google/protobuf/timestamp.proto\032\034go" - + "ogle/api/annotations.proto\"\356\010\n\007Dataset\022_" - + "\n\034translation_dataset_metadata\030\027 \001(\01327.g" - + "oogle.cloud.automl.v1beta1.TranslationDa" - + "tasetMetadataH\000\022p\n%image_classification_" - + "dataset_metadata\030\030 \001(\0132?.google.cloud.au" - + "toml.v1beta1.ImageClassificationDatasetM" - + "etadataH\000\022n\n$text_classification_dataset" - + "_metadata\030\031 \001(\0132>.google.cloud.automl.v1" - + "beta1.TextClassificationDatasetMetadataH" - + "\000\022s\n\'image_object_detection_dataset_meta" - + "data\030\032 \001(\0132@.google.cloud.automl.v1beta1" - + ".ImageObjectDetectionDatasetMetadataH\000\022p" - + "\n%video_classification_dataset_metadata\030" - + "\037 \001(\0132?.google.cloud.automl.v1beta1.Vide" - + "oClassificationDatasetMetadataH\000\022q\n&vide" - + "o_object_tracking_dataset_metadata\030\035 \001(\013" - + "2?.google.cloud.automl.v1beta1.VideoObje" - + "ctTrackingDatasetMetadataH\000\022f\n text_extr" - + "action_dataset_metadata\030\034 \001(\0132:.google.c" - + "loud.automl.v1beta1.TextExtractionDatase" - + "tMetadataH\000\022d\n\037text_sentiment_dataset_me" - + "tadata\030\036 \001(\01329.google.cloud.automl.v1bet" - + "a1.TextSentimentDatasetMetadataH\000\022U\n\027tab" - + "les_dataset_metadata\030! \001(\01322.google.clou" - + "d.automl.v1beta1.TablesDatasetMetadataH\000" - + "\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013" - + "description\030\003 \001(\t\022\025\n\rexample_count\030\025 \001(\005" - + "\022/\n\013create_time\030\016 \001(\0132\032.google.protobuf." - + "Timestamp\022\014\n\004etag\030\021 \001(\tB\022\n\020dataset_metad" - + "ataB\245\001\n\037com.google.cloud.automl.v1beta1P" - + "\001ZAgoogle.golang.org/genproto/googleapis" - + "/cloud/automl/v1beta1;automl\312\002\033Google\\Cl" - + "oud\\AutoMl\\V1beta1\352\002\036Google::Cloud::Auto" - + "ML::V1beta1b\006proto3" + + "oto\022\033google.cloud.automl.v1beta1\032\031google" + + "/api/resource.proto\032\'google/cloud/automl" + + "/v1beta1/image.proto\032(google/cloud/autom" + + "l/v1beta1/tables.proto\032&google/cloud/aut" + + "oml/v1beta1/text.proto\032-google/cloud/aut" + + "oml/v1beta1/translation.proto\032\'google/cl" + + "oud/automl/v1beta1/video.proto\032\037google/p" + + "rotobuf/timestamp.proto\032\034google/api/anno" + + "tations.proto\"\316\t\n\007Dataset\022_\n\034translation" + + "_dataset_metadata\030\027 \001(\01327.google.cloud.a" + + "utoml.v1beta1.TranslationDatasetMetadata" + + "H\000\022p\n%image_classification_dataset_metad" + + "ata\030\030 \001(\0132?.google.cloud.automl.v1beta1." + + "ImageClassificationDatasetMetadataH\000\022n\n$" + + "text_classification_dataset_metadata\030\031 \001" + + "(\0132>.google.cloud.automl.v1beta1.TextCla" + + "ssificationDatasetMetadataH\000\022s\n\'image_ob" + + "ject_detection_dataset_metadata\030\032 \001(\0132@." + + "google.cloud.automl.v1beta1.ImageObjectD" + + "etectionDatasetMetadataH\000\022p\n%video_class" + + "ification_dataset_metadata\030\037 \001(\0132?.googl" + + "e.cloud.automl.v1beta1.VideoClassificati" + + "onDatasetMetadataH\000\022q\n&video_object_trac" + + "king_dataset_metadata\030\035 \001(\0132?.google.clo" + + "ud.automl.v1beta1.VideoObjectTrackingDat" + + "asetMetadataH\000\022f\n text_extraction_datase" + + "t_metadata\030\034 \001(\0132:.google.cloud.automl.v" + + "1beta1.TextExtractionDatasetMetadataH\000\022d" + + "\n\037text_sentiment_dataset_metadata\030\036 \001(\0132" + + "9.google.cloud.automl.v1beta1.TextSentim" + + "entDatasetMetadataH\000\022U\n\027tables_dataset_m" + + "etadata\030! \001(\01322.google.cloud.automl.v1be" + + "ta1.TablesDatasetMetadataH\000\022\014\n\004name\030\001 \001(" + + "\t\022\024\n\014display_name\030\002 \001(\t\022\023\n\013description\030\003" + + " \001(\t\022\025\n\rexample_count\030\025 \001(\005\022/\n\013create_ti" + + "me\030\016 \001(\0132\032.google.protobuf.Timestamp\022\014\n\004" + + "etag\030\021 \001(\t:^\352A[\n\035automl.googleapis.com/D" + + "ataset\022:projects/{project}/locations/{lo" + + "cation}/datasets/{dataset}B\022\n\020dataset_me" + + "tadataB\245\001\n\037com.google.cloud.automl.v1bet" + + "a1P\001ZAgoogle.golang.org/genproto/googlea" + + "pis/cloud/automl/v1beta1;automl\312\002\033Google" + + "\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud::A" + + "utoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), com.google.cloud.automl.v1beta1.ImageProto.getDescriptor(), com.google.cloud.automl.v1beta1.Tables.getDescriptor(), com.google.cloud.automl.v1beta1.TextProto.getDescriptor(), @@ -118,6 +122,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Etag", "DatasetMetadata", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); com.google.cloud.automl.v1beta1.ImageProto.getDescriptor(); com.google.cloud.automl.v1beta1.Tables.getDescriptor(); com.google.cloud.automl.v1beta1.TextProto.getDescriptor(); diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeleteDatasetRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeleteDatasetRequest.java index d75132dd3..67790dbae 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeleteDatasetRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeleteDatasetRequest.java @@ -117,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. */ @@ -139,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. */ @@ -481,10 +485,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. */ @@ -503,10 +509,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. */ @@ -525,10 +533,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. @@ -546,10 +556,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. */ @@ -563,10 +575,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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeleteDatasetRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeleteDatasetRequestOrBuilder.java index 0159b5b86..ae1b89874 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeleteDatasetRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeleteModelRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeleteModelRequest.java index 28b17cfbc..886ce3561 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeleteModelRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeleteModelRequest.java @@ -117,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. */ @@ -139,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. */ @@ -481,10 +485,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 +509,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 +533,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 +556,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 +575,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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeleteModelRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeleteModelRequestOrBuilder.java index e783f6a0a..3e0f039f4 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeleteModelRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeployModelRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeployModelRequest.java index a1d4164d6..31805c95b 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeployModelRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeployModelRequest.java @@ -332,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. */ @@ -354,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. */ @@ -1286,10 +1290,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. */ @@ -1308,10 +1314,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. */ @@ -1330,10 +1338,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. @@ -1351,10 +1361,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. */ @@ -1368,10 +1380,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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeployModelRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeployModelRequestOrBuilder.java index 761e3b8f0..3394982ce 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DeployModelRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Document.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Document.java index 3256e0d45..5849bb023 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Document.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Document.java @@ -222,9 +222,8 @@ public interface LayoutOrBuilder * * *
-     * Page number of the
-     * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-     * in the original document, starts from 1.
+     * Page number of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the original document, starts
+     * from 1.
      * 
* * int32 page_number = 2; @@ -237,9 +236,8 @@ public interface LayoutOrBuilder * * *
-     * The position of the
-     * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-     * in the page. Contains exactly 4
+     * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+     * Contains exactly 4
      * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
      * and they are connected by edges in the order provided, which will
      * represent a rectangle parallel to the frame. The
@@ -257,9 +255,8 @@ public interface LayoutOrBuilder
      *
      *
      * 
-     * The position of the
-     * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-     * in the page. Contains exactly 4
+     * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+     * Contains exactly 4
      * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
      * and they are connected by edges in the order provided, which will
      * represent a rectangle parallel to the frame. The
@@ -277,9 +274,8 @@ public interface LayoutOrBuilder
      *
      *
      * 
-     * The position of the
-     * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-     * in the page. Contains exactly 4
+     * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+     * Contains exactly 4
      * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
      * and they are connected by edges in the order provided, which will
      * represent a rectangle parallel to the frame. The
@@ -296,9 +292,7 @@ public interface LayoutOrBuilder
      *
      *
      * 
-     * The type of the
-     * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-     * in document.
+     * The type of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in document.
      * 
* * .google.cloud.automl.v1beta1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -311,9 +305,7 @@ public interface LayoutOrBuilder * * *
-     * The type of the
-     * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-     * in document.
+     * The type of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in document.
      * 
* * .google.cloud.automl.v1beta1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -327,9 +319,7 @@ public interface LayoutOrBuilder * * *
-   * Describes the layout information of a
-   * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in
-   * the document.
+   * Describes the layout information of a [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the document.
    * 
* * Protobuf type {@code google.cloud.automl.v1beta1.Document.Layout} @@ -841,9 +831,8 @@ public com.google.cloud.automl.v1beta1.TextSegmentOrBuilder getTextSegmentOrBuil * * *
-     * Page number of the
-     * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-     * in the original document, starts from 1.
+     * Page number of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the original document, starts
+     * from 1.
      * 
* * int32 page_number = 2; @@ -860,9 +849,8 @@ public int getPageNumber() { * * *
-     * The position of the
-     * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-     * in the page. Contains exactly 4
+     * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+     * Contains exactly 4
      * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
      * and they are connected by edges in the order provided, which will
      * represent a rectangle parallel to the frame. The
@@ -882,9 +870,8 @@ public boolean hasBoundingPoly() {
      *
      *
      * 
-     * The position of the
-     * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-     * in the page. Contains exactly 4
+     * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+     * Contains exactly 4
      * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
      * and they are connected by edges in the order provided, which will
      * represent a rectangle parallel to the frame. The
@@ -906,9 +893,8 @@ public com.google.cloud.automl.v1beta1.BoundingPoly getBoundingPoly() {
      *
      *
      * 
-     * The position of the
-     * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-     * in the page. Contains exactly 4
+     * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+     * Contains exactly 4
      * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
      * and they are connected by edges in the order provided, which will
      * represent a rectangle parallel to the frame. The
@@ -929,9 +915,7 @@ public com.google.cloud.automl.v1beta1.BoundingPolyOrBuilder getBoundingPolyOrBu
      *
      *
      * 
-     * The type of the
-     * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-     * in document.
+     * The type of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in document.
      * 
* * .google.cloud.automl.v1beta1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -946,9 +930,7 @@ public int getTextSegmentTypeValue() { * * *
-     * The type of the
-     * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-     * in document.
+     * The type of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in document.
      * 
* * .google.cloud.automl.v1beta1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -1172,9 +1154,7 @@ protected Builder newBuilderForType( * * *
-     * Describes the layout information of a
-     * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in
-     * the document.
+     * Describes the layout information of a [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the document.
      * 
* * Protobuf type {@code google.cloud.automl.v1beta1.Document.Layout} @@ -1565,9 +1545,8 @@ public com.google.cloud.automl.v1beta1.TextSegmentOrBuilder getTextSegmentOrBuil * * *
-       * Page number of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in the original document, starts from 1.
+       * Page number of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the original document, starts
+       * from 1.
        * 
* * int32 page_number = 2; @@ -1581,9 +1560,8 @@ public int getPageNumber() { * * *
-       * Page number of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in the original document, starts from 1.
+       * Page number of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the original document, starts
+       * from 1.
        * 
* * int32 page_number = 2; @@ -1601,9 +1579,8 @@ public Builder setPageNumber(int value) { * * *
-       * Page number of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in the original document, starts from 1.
+       * Page number of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the original document, starts
+       * from 1.
        * 
* * int32 page_number = 2; @@ -1627,9 +1604,8 @@ public Builder clearPageNumber() { * * *
-       * The position of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in the page. Contains exactly 4
+       * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
        * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
@@ -1649,9 +1625,8 @@ public boolean hasBoundingPoly() {
        *
        *
        * 
-       * The position of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in the page. Contains exactly 4
+       * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
        * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
@@ -1677,9 +1652,8 @@ public com.google.cloud.automl.v1beta1.BoundingPoly getBoundingPoly() {
        *
        *
        * 
-       * The position of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in the page. Contains exactly 4
+       * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
        * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
@@ -1707,9 +1681,8 @@ public Builder setBoundingPoly(com.google.cloud.automl.v1beta1.BoundingPoly valu
        *
        *
        * 
-       * The position of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in the page. Contains exactly 4
+       * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
        * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
@@ -1735,9 +1708,8 @@ public Builder setBoundingPoly(
        *
        *
        * 
-       * The position of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in the page. Contains exactly 4
+       * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
        * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
@@ -1769,9 +1741,8 @@ public Builder mergeBoundingPoly(com.google.cloud.automl.v1beta1.BoundingPoly va
        *
        *
        * 
-       * The position of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in the page. Contains exactly 4
+       * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
        * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
@@ -1797,9 +1768,8 @@ public Builder clearBoundingPoly() {
        *
        *
        * 
-       * The position of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in the page. Contains exactly 4
+       * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
        * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
@@ -1819,9 +1789,8 @@ public com.google.cloud.automl.v1beta1.BoundingPoly.Builder getBoundingPolyBuild
        *
        *
        * 
-       * The position of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in the page. Contains exactly 4
+       * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
        * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
@@ -1845,9 +1814,8 @@ public com.google.cloud.automl.v1beta1.BoundingPolyOrBuilder getBoundingPolyOrBu
        *
        *
        * 
-       * The position of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in the page. Contains exactly 4
+       * The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page.
+       * Contains exactly 4
        * [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices]
        * and they are connected by edges in the order provided, which will
        * represent a rectangle parallel to the frame. The
@@ -1880,9 +1848,7 @@ public com.google.cloud.automl.v1beta1.BoundingPolyOrBuilder getBoundingPolyOrBu
        *
        *
        * 
-       * The type of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in document.
+       * The type of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in document.
        * 
* * .google.cloud.automl.v1beta1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -1897,9 +1863,7 @@ public int getTextSegmentTypeValue() { * * *
-       * The type of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in document.
+       * The type of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in document.
        * 
* * .google.cloud.automl.v1beta1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -1917,9 +1881,7 @@ public Builder setTextSegmentTypeValue(int value) { * * *
-       * The type of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in document.
+       * The type of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in document.
        * 
* * .google.cloud.automl.v1beta1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -1940,9 +1902,7 @@ public com.google.cloud.automl.v1beta1.Document.Layout.TextSegmentType getTextSe * * *
-       * The type of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in document.
+       * The type of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in document.
        * 
* * .google.cloud.automl.v1beta1.Document.Layout.TextSegmentType text_segment_type = 4; @@ -1965,9 +1925,7 @@ public Builder setTextSegmentType( * * *
-       * The type of the
-       * [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment]
-       * in document.
+       * The type of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in document.
        * 
* * .google.cloud.automl.v1beta1.Document.Layout.TextSegmentType text_segment_type = 4; diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportDataRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportDataRequest.java index fc9e577aa..11724c53b 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportDataRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportDataRequest.java @@ -136,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. */ @@ -158,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. */ @@ -183,7 +187,9 @@ public com.google.protobuf.ByteString getNameBytes() { * Required. The desired output location. *
* - * .google.cloud.automl.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the outputConfig field is set. */ @@ -197,7 +203,9 @@ public boolean hasOutputConfig() { * Required. The desired output location. *
* - * .google.cloud.automl.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -213,7 +221,9 @@ public com.google.cloud.automl.v1beta1.OutputConfig getOutputConfig() { * Required. The desired output location. *
* - * .google.cloud.automl.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.OutputConfigOrBuilder getOutputConfigOrBuilder() { return getOutputConfig(); @@ -573,7 +583,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 +607,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 +631,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 +654,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 +673,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 +704,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * Required. The desired output location. *
* - * .google.cloud.automl.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the outputConfig field is set. */ @@ -698,7 +720,9 @@ public boolean hasOutputConfig() { * Required. The desired output location. *
* - * .google.cloud.automl.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -718,7 +742,9 @@ public com.google.cloud.automl.v1beta1.OutputConfig getOutputConfig() { * Required. The desired output location. *
* - * .google.cloud.automl.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig(com.google.cloud.automl.v1beta1.OutputConfig value) { if (outputConfigBuilder_ == null) { @@ -740,7 +766,9 @@ public Builder setOutputConfig(com.google.cloud.automl.v1beta1.OutputConfig valu * Required. The desired output location. *
* - * .google.cloud.automl.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig( com.google.cloud.automl.v1beta1.OutputConfig.Builder builderForValue) { @@ -760,7 +788,9 @@ public Builder setOutputConfig( * Required. The desired output location. *
* - * .google.cloud.automl.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOutputConfig(com.google.cloud.automl.v1beta1.OutputConfig value) { if (outputConfigBuilder_ == null) { @@ -786,7 +816,9 @@ public Builder mergeOutputConfig(com.google.cloud.automl.v1beta1.OutputConfig va * Required. The desired output location. * * - * .google.cloud.automl.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -806,7 +838,9 @@ public Builder clearOutputConfig() { * Required. The desired output location. * * - * .google.cloud.automl.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.OutputConfig.Builder getOutputConfigBuilder() { @@ -820,7 +854,9 @@ public com.google.cloud.automl.v1beta1.OutputConfig.Builder getOutputConfigBuild * Required. The desired output location. * * - * .google.cloud.automl.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.OutputConfigOrBuilder getOutputConfigOrBuilder() { if (outputConfigBuilder_ != null) { @@ -838,7 +874,9 @@ public com.google.cloud.automl.v1beta1.OutputConfigOrBuilder getOutputConfigOrBu * Required. The desired output location. * * - * .google.cloud.automl.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1beta1.OutputConfig, diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportDataRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportDataRequestOrBuilder.java index 5af81291b..2b3880ab4 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportDataRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.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.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.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.v1beta1.OutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1beta1.OutputConfigOrBuilder getOutputConfigOrBuilder(); } diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportEvaluatedExamplesRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportEvaluatedExamplesRequest.java index 38d798a19..32248f205 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportEvaluatedExamplesRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportEvaluatedExamplesRequest.java @@ -140,7 +140,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * be exported. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -163,7 +165,9 @@ public java.lang.String getName() { * be exported. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -188,7 +192,8 @@ public com.google.protobuf.ByteString getNameBytes() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the outputConfig field is set. @@ -203,7 +208,8 @@ public boolean hasOutputConfig() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * * * @return The outputConfig. @@ -220,7 +226,8 @@ public com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig getOu * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfigOrBuilder @@ -587,7 +594,9 @@ public Builder mergeFrom( * be exported. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -610,7 +619,9 @@ public java.lang.String getName() { * be exported. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -633,7 +644,9 @@ public com.google.protobuf.ByteString getNameBytes() { * be exported. * * - * 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. @@ -655,7 +668,9 @@ public Builder setName(java.lang.String value) { * be exported. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -673,7 +688,9 @@ public Builder clearName() { * be exported. * * - * 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. @@ -702,7 +719,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the outputConfig field is set. @@ -717,7 +735,8 @@ public boolean hasOutputConfig() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * * * @return The outputConfig. @@ -739,7 +758,8 @@ public com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig getOu * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder setOutputConfig( @@ -763,7 +783,8 @@ public Builder setOutputConfig( * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder setOutputConfig( @@ -785,7 +806,8 @@ public Builder setOutputConfig( * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder mergeOutputConfig( @@ -814,7 +836,8 @@ public Builder mergeOutputConfig( * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * */ public Builder clearOutputConfig() { @@ -835,7 +858,8 @@ public Builder clearOutputConfig() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig.Builder @@ -851,7 +875,8 @@ public Builder clearOutputConfig() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * */ public com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfigOrBuilder @@ -872,7 +897,8 @@ public Builder clearOutputConfig() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * */ private com.google.protobuf.SingleFieldBuilderV3< diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportEvaluatedExamplesRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportEvaluatedExamplesRequestOrBuilder.java index e9f25f317..ad8a02cb8 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportEvaluatedExamplesRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportEvaluatedExamplesRequestOrBuilder.java @@ -31,7 +31,9 @@ public interface ExportEvaluatedExamplesRequestOrBuilder * be exported. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -44,7 +46,9 @@ public interface ExportEvaluatedExamplesRequestOrBuilder * be exported. * * - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -57,7 +61,8 @@ public interface ExportEvaluatedExamplesRequestOrBuilder * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * * * @return Whether the outputConfig field is set. @@ -70,7 +75,8 @@ public interface ExportEvaluatedExamplesRequestOrBuilder * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * * * @return The outputConfig. @@ -83,7 +89,8 @@ public interface ExportEvaluatedExamplesRequestOrBuilder * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; * */ com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfigOrBuilder diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportModelRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportModelRequest.java index 95c371d96..6b37ed75a 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportModelRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportModelRequest.java @@ -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.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.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.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -216,7 +224,9 @@ public com.google.cloud.automl.v1beta1.ModelExportOutputConfig getOutputConfig() * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.ModelExportOutputConfigOrBuilder getOutputConfigOrBuilder() { @@ -579,7 +589,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. */ @@ -601,7 +613,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. */ @@ -623,7 +637,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. @@ -644,7 +660,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. */ @@ -661,7 +679,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. @@ -690,7 +710,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the outputConfig field is set. */ @@ -704,7 +726,9 @@ public boolean hasOutputConfig() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The outputConfig. */ @@ -724,7 +748,9 @@ public com.google.cloud.automl.v1beta1.ModelExportOutputConfig getOutputConfig() * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig(com.google.cloud.automl.v1beta1.ModelExportOutputConfig value) { if (outputConfigBuilder_ == null) { @@ -746,7 +772,9 @@ public Builder setOutputConfig(com.google.cloud.automl.v1beta1.ModelExportOutput * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setOutputConfig( com.google.cloud.automl.v1beta1.ModelExportOutputConfig.Builder builderForValue) { @@ -766,7 +794,9 @@ public Builder setOutputConfig( * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeOutputConfig( com.google.cloud.automl.v1beta1.ModelExportOutputConfig value) { @@ -793,7 +823,9 @@ public Builder mergeOutputConfig( * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearOutputConfig() { if (outputConfigBuilder_ == null) { @@ -813,7 +845,9 @@ public Builder clearOutputConfig() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.ModelExportOutputConfig.Builder getOutputConfigBuilder() { @@ -828,7 +862,9 @@ public Builder clearOutputConfig() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.ModelExportOutputConfigOrBuilder getOutputConfigOrBuilder() { @@ -847,7 +883,9 @@ public Builder clearOutputConfig() { * Required. The desired output location and configuration. * * - * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1beta1.ModelExportOutputConfig, diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportModelRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportModelRequestOrBuilder.java index 8ba465770..dfff31450 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportModelRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.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.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.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.v1beta1.ModelExportOutputConfig output_config = 3; + * + * .google.cloud.automl.v1beta1.ModelExportOutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1beta1.ModelExportOutputConfigOrBuilder getOutputConfigOrBuilder(); } diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetAnnotationSpecRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetAnnotationSpecRequest.java index 69e7849bc..c79c44e7e 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetAnnotationSpecRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetAnnotationSpecRequest.java @@ -117,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. */ @@ -139,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. */ @@ -482,10 +486,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. */ @@ -504,10 +510,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. */ @@ -526,10 +534,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. @@ -547,10 +557,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. */ @@ -564,10 +576,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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetAnnotationSpecRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetAnnotationSpecRequestOrBuilder.java index 524ea0627..580d815e0 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetAnnotationSpecRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetColumnSpecRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetColumnSpecRequest.java index 928b5ff05..26b17b047 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetColumnSpecRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetColumnSpecRequest.java @@ -132,10 +132,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the column spec to retrieve.
+   * Required. The resource name of the column spec to retrieve.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -154,10 +156,12 @@ public java.lang.String getName() { * * *
-   * The resource name of the column spec to retrieve.
+   * Required. The resource name of the column spec to retrieve.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -567,10 +571,12 @@ public Builder mergeFrom( * * *
-     * The resource name of the column spec to retrieve.
+     * Required. The resource name of the column spec to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -589,10 +595,12 @@ public java.lang.String getName() { * * *
-     * The resource name of the column spec to retrieve.
+     * Required. The resource name of the column spec to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -611,10 +619,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the column spec to retrieve.
+     * Required. The resource name of the column 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. @@ -632,10 +642,12 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the column spec to retrieve.
+     * Required. The resource name of the column spec to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -649,10 +661,12 @@ public Builder clearName() { * * *
-     * The resource name of the column spec to retrieve.
+     * Required. The resource name of the column 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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetColumnSpecRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetColumnSpecRequestOrBuilder.java index c6437544a..69ed101ba 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetColumnSpecRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetColumnSpecRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface GetColumnSpecRequestOrBuilder * * *
-   * The resource name of the column spec to retrieve.
+   * Required. The resource name of the column 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 GetColumnSpecRequestOrBuilder * * *
-   * The resource name of the column spec to retrieve.
+   * Required. The resource name of the column 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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetDatasetRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetDatasetRequest.java index 0ab23f64a..6b7211808 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetDatasetRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetDatasetRequest.java @@ -117,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. */ @@ -139,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. */ @@ -481,10 +485,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 +509,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 +533,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 +556,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 +575,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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetDatasetRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetDatasetRequestOrBuilder.java index 19e4ca21b..01ff1b52c 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetDatasetRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetModelEvaluationRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetModelEvaluationRequest.java index a1d23d3da..b385dac79 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetModelEvaluationRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetModelEvaluationRequest.java @@ -117,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. */ @@ -139,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. */ @@ -482,10 +486,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. */ @@ -504,10 +510,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. */ @@ -526,10 +534,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. @@ -547,10 +557,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. */ @@ -564,10 +576,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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetModelEvaluationRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetModelEvaluationRequestOrBuilder.java index de864b5dd..81798b30a 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetModelEvaluationRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetModelRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetModelRequest.java index 1851c4062..983621061 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetModelRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetModelRequest.java @@ -117,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. */ @@ -139,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. */ @@ -480,10 +484,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. */ @@ -502,10 +508,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. */ @@ -524,10 +532,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. @@ -545,10 +555,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. */ @@ -562,10 +574,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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetModelRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetModelRequestOrBuilder.java index 11250e926..92e67a6df 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetModelRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetTableSpecRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetTableSpecRequest.java index 57dea16f5..59dfc01e6 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetTableSpecRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetTableSpecRequest.java @@ -132,10 +132,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the table spec to retrieve.
+   * Required. The resource name of the table spec to retrieve.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -154,10 +156,12 @@ public java.lang.String getName() { * * *
-   * The resource name of the table spec to retrieve.
+   * Required. The resource name of the table spec to retrieve.
    * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -567,10 +571,12 @@ public Builder mergeFrom( * * *
-     * The resource name of the table spec to retrieve.
+     * Required. The resource name of the table spec to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The name. */ @@ -589,10 +595,12 @@ public java.lang.String getName() { * * *
-     * The resource name of the table spec to retrieve.
+     * Required. The resource name of the table spec to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for name. */ @@ -611,10 +619,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * The resource name of the table spec to retrieve.
+     * Required. The resource name of the table 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. @@ -632,10 +642,12 @@ public Builder setName(java.lang.String value) { * * *
-     * The resource name of the table spec to retrieve.
+     * Required. The resource name of the table spec to retrieve.
      * 
* - * string name = 1; + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -649,10 +661,12 @@ public Builder clearName() { * * *
-     * The resource name of the table spec to retrieve.
+     * Required. The resource name of the table 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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetTableSpecRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetTableSpecRequestOrBuilder.java index da1f42ef2..602d954d1 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetTableSpecRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/GetTableSpecRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface GetTableSpecRequestOrBuilder * * *
-   * The resource name of the table spec to retrieve.
+   * Required. The resource name of the table 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 GetTableSpecRequestOrBuilder * * *
-   * The resource name of the table spec to retrieve.
+   * Required. The resource name of the table 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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationModelMetadata.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationModelMetadata.java index 1d75f0072..df7cebd9d 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationModelMetadata.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationModelMetadata.java @@ -300,38 +300,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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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; @@ -358,38 +354,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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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; @@ -1222,38 +1214,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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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; @@ -1280,38 +1268,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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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; @@ -1338,38 +1322,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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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; @@ -1395,38 +1375,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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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; @@ -1448,38 +1424,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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationModelMetadataOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationModelMetadataOrBuilder.java index 569477d00..747152091 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationModelMetadataOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageClassificationModelMetadataOrBuilder.java @@ -121,38 +121,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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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; @@ -169,38 +165,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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile or edge device with TensorFlow - * afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - * and used on a mobile device with Core ML afterwards. + * [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionModelMetadata.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionModelMetadata.java index ab18160f3..90046ca97 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionModelMetadata.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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; @@ -755,6 +785,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.v1beta1.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.v1beta1.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.v1beta1.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; @@ -784,6 +829,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.v1beta1.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.v1beta1.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.v1beta1.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; @@ -813,6 +873,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.v1beta1.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.v1beta1.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.v1beta1.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; @@ -841,6 +916,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.v1beta1.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.v1beta1.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.v1beta1.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; @@ -865,6 +955,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.v1beta1.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.v1beta1.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.v1beta1.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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionModelMetadataOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionModelMetadataOrBuilder.java index dc300e890..f65f5db9b 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionModelMetadataOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageProto.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageProto.java index 79a16e40c..e12717b18 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageProto.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageProto.java @@ -61,42 +61,43 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\'google/cloud/automl/v1beta1/image.prot" - + "o\022\033google.cloud.automl.v1beta1\032\034google/a" - + "pi/annotations.proto\0321google/cloud/autom" - + "l/v1beta1/annotation_spec.proto\0320google/" - + "cloud/automl/v1beta1/classification.prot" - + "o\032\037google/protobuf/timestamp.proto\"r\n\"Im" - + "ageClassificationDatasetMetadata\022L\n\023clas" - + "sification_type\030\001 \001(\0162/.google.cloud.aut" - + "oml.v1beta1.ClassificationType\"%\n#ImageO" - + "bjectDetectionDatasetMetadata\"\262\001\n ImageC" - + "lassificationModelMetadata\022\025\n\rbase_model" - + "_id\030\001 \001(\t\022\024\n\014train_budget\030\002 \001(\003\022\022\n\ntrain" - + "_cost\030\003 \001(\003\022\023\n\013stop_reason\030\005 \001(\t\022\022\n\nmode" - + "l_type\030\007 \001(\t\022\020\n\010node_qps\030\r \001(\001\022\022\n\nnode_c" - + "ount\030\016 \001(\003\"\276\001\n!ImageObjectDetectionModel" - + "Metadata\022\022\n\nmodel_type\030\001 \001(\t\022\022\n\nnode_cou" - + "nt\030\003 \001(\003\022\020\n\010node_qps\030\004 \001(\001\022\023\n\013stop_reaso" - + "n\030\005 \001(\t\022%\n\035train_budget_milli_node_hours" - + "\030\006 \001(\003\022#\n\033train_cost_milli_node_hours\030\007 " - + "\001(\003\"@\n*ImageClassificationModelDeploymen" - + "tMetadata\022\022\n\nnode_count\030\001 \001(\003\"A\n+ImageOb" - + "jectDetectionModelDeploymentMetadata\022\022\n\n" - + "node_count\030\001 \001(\003B\261\001\n\037com.google.cloud.au" - + "toml.v1beta1B\nImageProtoP\001ZAgoogle.golan" - + "g.org/genproto/googleapis/cloud/automl/v" - + "1beta1;automl\312\002\033Google\\Cloud\\AutoMl\\V1be" - + "ta1\352\002\036Google::Cloud::AutoML::V1beta1b\006pr" - + "oto3" + + "o\022\033google.cloud.automl.v1beta1\032\031google/a" + + "pi/resource.proto\0321google/cloud/automl/v" + + "1beta1/annotation_spec.proto\0320google/clo" + + "ud/automl/v1beta1/classification.proto\032\037" + + "google/protobuf/timestamp.proto\032\034google/" + + "api/annotations.proto\"r\n\"ImageClassifica" + + "tionDatasetMetadata\022L\n\023classification_ty" + + "pe\030\001 \001(\0162/.google.cloud.automl.v1beta1.C" + + "lassificationType\"%\n#ImageObjectDetectio" + + "nDatasetMetadata\"\262\001\n ImageClassification" + + "ModelMetadata\022\025\n\rbase_model_id\030\001 \001(\t\022\024\n\014" + + "train_budget\030\002 \001(\003\022\022\n\ntrain_cost\030\003 \001(\003\022\023" + + "\n\013stop_reason\030\005 \001(\t\022\022\n\nmodel_type\030\007 \001(\t\022" + + "\020\n\010node_qps\030\r \001(\001\022\022\n\nnode_count\030\016 \001(\003\"\276\001" + + "\n!ImageObjectDetectionModelMetadata\022\022\n\nm" + + "odel_type\030\001 \001(\t\022\022\n\nnode_count\030\003 \001(\003\022\020\n\010n" + + "ode_qps\030\004 \001(\001\022\023\n\013stop_reason\030\005 \001(\t\022%\n\035tr" + + "ain_budget_milli_node_hours\030\006 \001(\003\022#\n\033tra" + + "in_cost_milli_node_hours\030\007 \001(\003\"@\n*ImageC" + + "lassificationModelDeploymentMetadata\022\022\n\n" + + "node_count\030\001 \001(\003\"A\n+ImageObjectDetection" + + "ModelDeploymentMetadata\022\022\n\nnode_count\030\001 " + + "\001(\003B\261\001\n\037com.google.cloud.automl.v1beta1B" + + "\nImageProtoP\001ZAgoogle.golang.org/genprot" + + "o/googleapis/cloud/automl/v1beta1;automl" + + "\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Google:" + + ":Cloud::AutoML::V1beta1b\006proto3" }; descriptor = 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.v1beta1.AnnotationSpecOuterClass.getDescriptor(), com.google.cloud.automl.v1beta1.ClassificationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_automl_v1beta1_ImageClassificationDatasetMetadata_descriptor = getDescriptor().getMessageTypes().get(0); @@ -155,10 +156,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.v1beta1.AnnotationSpecOuterClass.getDescriptor(); com.google.cloud.automl.v1beta1.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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImportDataRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImportDataRequest.java index ab728592a..9467d480a 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImportDataRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImportDataRequest.java @@ -137,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. */ @@ -160,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. */ @@ -186,7 +190,9 @@ public com.google.protobuf.ByteString getNameBytes() { * if any. * * - * .google.cloud.automl.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the inputConfig field is set. */ @@ -201,7 +207,9 @@ public boolean hasInputConfig() { * if any. * * - * .google.cloud.automl.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The inputConfig. */ @@ -218,7 +226,9 @@ public com.google.cloud.automl.v1beta1.InputConfig getInputConfig() { * if any. * * - * .google.cloud.automl.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.InputConfigOrBuilder getInputConfigOrBuilder() { return getInputConfig(); @@ -579,7 +589,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 +614,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 +639,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 +663,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 +683,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 +715,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * if any. * * - * .google.cloud.automl.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the inputConfig field is set. */ @@ -710,7 +732,9 @@ public boolean hasInputConfig() { * if any. * * - * .google.cloud.automl.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The inputConfig. */ @@ -731,7 +755,9 @@ public com.google.cloud.automl.v1beta1.InputConfig getInputConfig() { * if any. * * - * .google.cloud.automl.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInputConfig(com.google.cloud.automl.v1beta1.InputConfig value) { if (inputConfigBuilder_ == null) { @@ -754,7 +780,9 @@ public Builder setInputConfig(com.google.cloud.automl.v1beta1.InputConfig value) * if any. * * - * .google.cloud.automl.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setInputConfig( com.google.cloud.automl.v1beta1.InputConfig.Builder builderForValue) { @@ -775,7 +803,9 @@ public Builder setInputConfig( * if any. * * - * .google.cloud.automl.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeInputConfig(com.google.cloud.automl.v1beta1.InputConfig value) { if (inputConfigBuilder_ == null) { @@ -802,7 +832,9 @@ public Builder mergeInputConfig(com.google.cloud.automl.v1beta1.InputConfig valu * if any. * * - * .google.cloud.automl.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearInputConfig() { if (inputConfigBuilder_ == null) { @@ -823,7 +855,9 @@ public Builder clearInputConfig() { * if any. * * - * .google.cloud.automl.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.InputConfig.Builder getInputConfigBuilder() { @@ -838,7 +872,9 @@ public com.google.cloud.automl.v1beta1.InputConfig.Builder getInputConfigBuilder * if any. * * - * .google.cloud.automl.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.InputConfigOrBuilder getInputConfigOrBuilder() { if (inputConfigBuilder_ != null) { @@ -857,7 +893,9 @@ public com.google.cloud.automl.v1beta1.InputConfigOrBuilder getInputConfigOrBuil * if any. * * - * .google.cloud.automl.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1beta1.InputConfig, diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImportDataRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImportDataRequestOrBuilder.java index 25e4f3064..3cdc3fbe0 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImportDataRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.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.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The inputConfig. */ @@ -84,7 +92,9 @@ public interface ImportDataRequestOrBuilder * if any. * * - * .google.cloud.automl.v1beta1.InputConfig input_config = 3; + * + * .google.cloud.automl.v1beta1.InputConfig input_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1beta1.InputConfigOrBuilder getInputConfigOrBuilder(); } diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListColumnSpecsRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListColumnSpecsRequest.java index 82b90b088..2a470a8a1 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListColumnSpecsRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListColumnSpecsRequest.java @@ -153,10 +153,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the table spec to list column specs from.
+   * Required. The resource name of the table spec to list column specs from.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -175,10 +177,12 @@ public java.lang.String getParent() { * * *
-   * The resource name of the table spec to list column specs from.
+   * Required. The resource name of the table spec to list column specs from.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -754,10 +758,12 @@ public Builder mergeFrom( * * *
-     * The resource name of the table spec to list column specs from.
+     * Required. The resource name of the table spec to list column specs from.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -776,10 +782,12 @@ public java.lang.String getParent() { * * *
-     * The resource name of the table spec to list column specs from.
+     * Required. The resource name of the table spec to list column specs from.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -798,10 +806,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The resource name of the table spec to list column specs from.
+     * Required. The resource name of the table spec to list column specs from.
      * 
* - * 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. @@ -819,10 +829,12 @@ public Builder setParent(java.lang.String value) { * * *
-     * The resource name of the table spec to list column specs from.
+     * Required. The resource name of the table spec to list column specs from.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -836,10 +848,12 @@ public Builder clearParent() { * * *
-     * The resource name of the table spec to list column specs from.
+     * Required. The resource name of the table spec to list column specs from.
      * 
* - * 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. diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListColumnSpecsRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListColumnSpecsRequestOrBuilder.java index 2b24233e1..b8510abc7 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListColumnSpecsRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListColumnSpecsRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface ListColumnSpecsRequestOrBuilder * * *
-   * The resource name of the table spec to list column specs from.
+   * Required. The resource name of the table spec to list column specs from.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -39,10 +41,12 @@ public interface ListColumnSpecsRequestOrBuilder * * *
-   * The resource name of the table spec to list column specs from.
+   * Required. The resource name of the table spec to list column specs from.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListDatasetsRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListDatasetsRequest.java index 1f8d7241d..c2ac6238b 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListDatasetsRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListDatasetsRequest.java @@ -138,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. */ @@ -160,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. */ @@ -675,10 +679,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. */ @@ -697,10 +703,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. */ @@ -719,10 +727,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. @@ -740,10 +750,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. */ @@ -757,10 +769,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. diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListDatasetsRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListDatasetsRequestOrBuilder.java index bc94b9675..e39a8aead 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListDatasetsRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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. */ diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListModelEvaluationsRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListModelEvaluationsRequest.java index 6d42eca5c..51269a141 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListModelEvaluationsRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListModelEvaluationsRequest.java @@ -138,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. */ @@ -162,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. */ @@ -685,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. */ @@ -709,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. */ @@ -733,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. @@ -756,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. */ @@ -775,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. diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListModelEvaluationsRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListModelEvaluationsRequestOrBuilder.java index 678d04850..f51b6851c 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListModelEvaluationsRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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. */ diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListModelsRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListModelsRequest.java index a8ebf97a8..bc2b7abc3 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListModelsRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListModelsRequest.java @@ -138,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. */ @@ -160,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. */ @@ -678,10 +682,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. */ @@ -700,10 +706,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. */ @@ -722,10 +730,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. @@ -743,10 +753,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. */ @@ -760,10 +772,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. diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListModelsRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListModelsRequestOrBuilder.java index a3ad4585e..873c691f9 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListModelsRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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. */ diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListTableSpecsRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListTableSpecsRequest.java index 5f861f1a4..1b5526138 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListTableSpecsRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListTableSpecsRequest.java @@ -153,10 +153,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The resource name of the dataset to list table specs from.
+   * Required. The resource name of the dataset to list table specs from.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -175,10 +177,12 @@ public java.lang.String getParent() { * * *
-   * The resource name of the dataset to list table specs from.
+   * Required. The resource name of the dataset to list table specs from.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -754,10 +758,12 @@ public Builder mergeFrom( * * *
-     * The resource name of the dataset to list table specs from.
+     * Required. The resource name of the dataset to list table specs from.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -776,10 +782,12 @@ public java.lang.String getParent() { * * *
-     * The resource name of the dataset to list table specs from.
+     * Required. The resource name of the dataset to list table specs from.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ @@ -798,10 +806,12 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * The resource name of the dataset to list table specs from.
+     * Required. The resource name of the dataset to list table specs from.
      * 
* - * 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. @@ -819,10 +829,12 @@ public Builder setParent(java.lang.String value) { * * *
-     * The resource name of the dataset to list table specs from.
+     * Required. The resource name of the dataset to list table specs from.
      * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return This builder for chaining. */ @@ -836,10 +848,12 @@ public Builder clearParent() { * * *
-     * The resource name of the dataset to list table specs from.
+     * Required. The resource name of the dataset to list table specs from.
      * 
* - * 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. diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListTableSpecsRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListTableSpecsRequestOrBuilder.java index fec6c82f2..f98028520 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListTableSpecsRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ListTableSpecsRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface ListTableSpecsRequestOrBuilder * * *
-   * The resource name of the dataset to list table specs from.
+   * Required. The resource name of the dataset to list table specs from.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The parent. */ @@ -39,10 +41,12 @@ public interface ListTableSpecsRequestOrBuilder * * *
-   * The resource name of the dataset to list table specs from.
+   * Required. The resource name of the dataset to list table specs from.
    * 
* - * string parent = 1; + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * * * @return The bytes for parent. */ diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluationOuterClass.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluationOuterClass.java index 42ef38c34..c86e09bb8 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluationOuterClass.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluationOuterClass.java @@ -42,49 +42,54 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n2google/cloud/automl/v1beta1/model_eval" + "uation.proto\022\033google.cloud.automl.v1beta" - + "1\0320google/cloud/automl/v1beta1/classific" - + "ation.proto\032+google/cloud/automl/v1beta1" - + "/detection.proto\032,google/cloud/automl/v1" - + "beta1/regression.proto\032(google/cloud/aut" - + "oml/v1beta1/tables.proto\0321google/cloud/a" - + "utoml/v1beta1/text_extraction.proto\0320goo" - + "gle/cloud/automl/v1beta1/text_sentiment." - + "proto\032-google/cloud/automl/v1beta1/trans" - + "lation.proto\032\037google/protobuf/timestamp." - + "proto\032\034google/api/annotations.proto\"\247\007\n\017" - + "ModelEvaluation\022i\n!classification_evalua" - + "tion_metrics\030\010 \001(\0132<.google.cloud.automl" - + ".v1beta1.ClassificationEvaluationMetrics" - + "H\000\022a\n\035regression_evaluation_metrics\030\030 \001(" - + "\01328.google.cloud.automl.v1beta1.Regressi" - + "onEvaluationMetricsH\000\022c\n\036translation_eva" - + "luation_metrics\030\t \001(\01329.google.cloud.aut" - + "oml.v1beta1.TranslationEvaluationMetrics" - + "H\000\022w\n)image_object_detection_evaluation_" - + "metrics\030\014 \001(\0132B.google.cloud.automl.v1be" - + "ta1.ImageObjectDetectionEvaluationMetric" - + "sH\000\022u\n(video_object_tracking_evaluation_" - + "metrics\030\016 \001(\0132A.google.cloud.automl.v1be" - + "ta1.VideoObjectTrackingEvaluationMetrics" - + "H\000\022h\n!text_sentiment_evaluation_metrics\030" - + "\013 \001(\0132;.google.cloud.automl.v1beta1.Text" - + "SentimentEvaluationMetricsH\000\022j\n\"text_ext" - + "raction_evaluation_metrics\030\r \001(\0132<.googl" - + "e.cloud.automl.v1beta1.TextExtractionEva" - + "luationMetricsH\000\022\014\n\004name\030\001 \001(\t\022\032\n\022annota" - + "tion_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\027evaluated_example_count\030\006 \001" - + "(\005B\t\n\007metricsB\245\001\n\037com.google.cloud.autom" - + "l.v1beta1P\001ZAgoogle.golang.org/genproto/" - + "googleapis/cloud/automl/v1beta1;automl\312\002" - + "\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Google::C" - + "loud::AutoML::V1beta1b\006proto3" + + "1\032\031google/api/resource.proto\0320google/clo" + + "ud/automl/v1beta1/classification.proto\032+" + + "google/cloud/automl/v1beta1/detection.pr" + + "oto\032,google/cloud/automl/v1beta1/regress" + + "ion.proto\032(google/cloud/automl/v1beta1/t" + + "ables.proto\0321google/cloud/automl/v1beta1" + + "/text_extraction.proto\0320google/cloud/aut" + + "oml/v1beta1/text_sentiment.proto\032-google" + + "/cloud/automl/v1beta1/translation.proto\032" + + "\037google/protobuf/timestamp.proto\032\034google" + + "/api/annotations.proto\"\261\010\n\017ModelEvaluati" + + "on\022i\n!classification_evaluation_metrics\030" + + "\010 \001(\0132<.google.cloud.automl.v1beta1.Clas" + + "sificationEvaluationMetricsH\000\022a\n\035regress" + + "ion_evaluation_metrics\030\030 \001(\01328.google.cl" + + "oud.automl.v1beta1.RegressionEvaluationM" + + "etricsH\000\022c\n\036translation_evaluation_metri" + + "cs\030\t \001(\01329.google.cloud.automl.v1beta1.T" + + "ranslationEvaluationMetricsH\000\022w\n)image_o" + + "bject_detection_evaluation_metrics\030\014 \001(\013" + + "2B.google.cloud.automl.v1beta1.ImageObje" + + "ctDetectionEvaluationMetricsH\000\022u\n(video_" + + "object_tracking_evaluation_metrics\030\016 \001(\013" + + "2A.google.cloud.automl.v1beta1.VideoObje" + + "ctTrackingEvaluationMetricsH\000\022h\n!text_se" + + "ntiment_evaluation_metrics\030\013 \001(\0132;.googl" + + "e.cloud.automl.v1beta1.TextSentimentEval" + + "uationMetricsH\000\022j\n\"text_extraction_evalu" + + "ation_metrics\030\r \001(\0132<.google.cloud.autom" + + "l.v1beta1.TextExtractionEvaluationMetric" + + "sH\000\022\014\n\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_ti" + + "me\030\005 \001(\0132\032.google.protobuf.Timestamp\022\037\n\027" + + "evaluated_example_count\030\006 \001(\005:\207\001\352A\203\001\n%au" + + "toml.googleapis.com/ModelEvaluation\022Zpro" + + "jects/{project}/locations/{location}/mod" + + "els/{model}/modelEvaluations/{model_eval" + + "uation}B\t\n\007metricsB\245\001\n\037com.google.cloud." + + "automl.v1beta1P\001ZAgoogle.golang.org/genp" + + "roto/googleapis/cloud/automl/v1beta1;aut" + + "oml\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Goog" + + "le::Cloud::AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), com.google.cloud.automl.v1beta1.ClassificationProto.getDescriptor(), com.google.cloud.automl.v1beta1.Detection.getDescriptor(), com.google.cloud.automl.v1beta1.RegressionProto.getDescriptor(), @@ -115,6 +120,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "EvaluatedExampleCount", "Metrics", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); com.google.cloud.automl.v1beta1.ClassificationProto.getDescriptor(); com.google.cloud.automl.v1beta1.Detection.getDescriptor(); com.google.cloud.automl.v1beta1.RegressionProto.getDescriptor(); diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelOuterClass.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelOuterClass.java index d520615d5..5fa242df7 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelOuterClass.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelOuterClass.java @@ -41,55 +41,59 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\'google/cloud/automl/v1beta1/model.prot" - + "o\022\033google.cloud.automl.v1beta1\032\'google/c" - + "loud/automl/v1beta1/image.proto\032(google/" - + "cloud/automl/v1beta1/tables.proto\032&googl" - + "e/cloud/automl/v1beta1/text.proto\032-googl" - + "e/cloud/automl/v1beta1/translation.proto" - + "\032\'google/cloud/automl/v1beta1/video.prot" - + "o\032\037google/protobuf/timestamp.proto\032\034goog" - + "le/api/annotations.proto\"\362\t\n\005Model\022[\n\032tr" - + "anslation_model_metadata\030\017 \001(\01325.google." - + "cloud.automl.v1beta1.TranslationModelMet" - + "adataH\000\022l\n#image_classification_model_me" - + "tadata\030\r \001(\0132=.google.cloud.automl.v1bet" - + "a1.ImageClassificationModelMetadataH\000\022j\n" - + "\"text_classification_model_metadata\030\016 \001(" - + "\0132<.google.cloud.automl.v1beta1.TextClas" - + "sificationModelMetadataH\000\022o\n%image_objec" - + "t_detection_model_metadata\030\024 \001(\0132>.googl" - + "e.cloud.automl.v1beta1.ImageObjectDetect" - + "ionModelMetadataH\000\022l\n#video_classificati" - + "on_model_metadata\030\027 \001(\0132=.google.cloud.a" - + "utoml.v1beta1.VideoClassificationModelMe" - + "tadataH\000\022m\n$video_object_tracking_model_" - + "metadata\030\025 \001(\0132=.google.cloud.automl.v1b" - + "eta1.VideoObjectTrackingModelMetadataH\000\022" - + "b\n\036text_extraction_model_metadata\030\023 \001(\0132" - + "8.google.cloud.automl.v1beta1.TextExtrac" - + "tionModelMetadataH\000\022Q\n\025tables_model_meta" - + "data\030\030 \001(\01320.google.cloud.automl.v1beta1" - + ".TablesModelMetadataH\000\022`\n\035text_sentiment" - + "_model_metadata\030\026 \001(\01327.google.cloud.aut" - + "oml.v1beta1.TextSentimentModelMetadataH\000" - + "\022\014\n\004name\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022\022\n\n" - + "dataset_id\030\003 \001(\t\022/\n\013create_time\030\007 \001(\0132\032." - + "google.protobuf.Timestamp\022/\n\013update_time" - + "\030\013 \001(\0132\032.google.protobuf.Timestamp\022L\n\020de" - + "ployment_state\030\010 \001(\01622.google.cloud.auto" - + "ml.v1beta1.Model.DeploymentState\"Q\n\017Depl" - + "oymentState\022 \n\034DEPLOYMENT_STATE_UNSPECIF" - + "IED\020\000\022\014\n\010DEPLOYED\020\001\022\016\n\nUNDEPLOYED\020\002B\020\n\016m" - + "odel_metadataB\245\001\n\037com.google.cloud.autom" - + "l.v1beta1P\001ZAgoogle.golang.org/genproto/" - + "googleapis/cloud/automl/v1beta1;automl\312\002" - + "\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Google::C" - + "loud::AutoML::V1beta1b\006proto3" + + "o\022\033google.cloud.automl.v1beta1\032\031google/a" + + "pi/resource.proto\032\'google/cloud/automl/v" + + "1beta1/image.proto\032(google/cloud/automl/" + + "v1beta1/tables.proto\032&google/cloud/autom" + + "l/v1beta1/text.proto\032-google/cloud/autom" + + "l/v1beta1/translation.proto\032\'google/clou" + + "d/automl/v1beta1/video.proto\032\037google/pro" + + "tobuf/timestamp.proto\032\034google/api/annota" + + "tions.proto\"\314\n\n\005Model\022[\n\032translation_mod" + + "el_metadata\030\017 \001(\01325.google.cloud.automl." + + "v1beta1.TranslationModelMetadataH\000\022l\n#im" + + "age_classification_model_metadata\030\r \001(\0132" + + "=.google.cloud.automl.v1beta1.ImageClass" + + "ificationModelMetadataH\000\022j\n\"text_classif" + + "ication_model_metadata\030\016 \001(\0132<.google.cl" + + "oud.automl.v1beta1.TextClassificationMod" + + "elMetadataH\000\022o\n%image_object_detection_m" + + "odel_metadata\030\024 \001(\0132>.google.cloud.autom" + + "l.v1beta1.ImageObjectDetectionModelMetad" + + "ataH\000\022l\n#video_classification_model_meta" + + "data\030\027 \001(\0132=.google.cloud.automl.v1beta1" + + ".VideoClassificationModelMetadataH\000\022m\n$v" + + "ideo_object_tracking_model_metadata\030\025 \001(" + + "\0132=.google.cloud.automl.v1beta1.VideoObj" + + "ectTrackingModelMetadataH\000\022b\n\036text_extra" + + "ction_model_metadata\030\023 \001(\01328.google.clou" + + "d.automl.v1beta1.TextExtractionModelMeta" + + "dataH\000\022Q\n\025tables_model_metadata\030\030 \001(\01320." + + "google.cloud.automl.v1beta1.TablesModelM" + + "etadataH\000\022`\n\035text_sentiment_model_metada" + + "ta\030\026 \001(\01327.google.cloud.automl.v1beta1.T" + + "extSentimentModelMetadataH\000\022\014\n\004name\030\001 \001(" + + "\t\022\024\n\014display_name\030\002 \001(\t\022\022\n\ndataset_id\030\003 " + + "\001(\t\022/\n\013create_time\030\007 \001(\0132\032.google.protob" + + "uf.Timestamp\022/\n\013update_time\030\013 \001(\0132\032.goog" + + "le.protobuf.Timestamp\022L\n\020deployment_stat" + + "e\030\010 \001(\01622.google.cloud.automl.v1beta1.Mo" + + "del.DeploymentState\"Q\n\017DeploymentState\022 " + + "\n\034DEPLOYMENT_STATE_UNSPECIFIED\020\000\022\014\n\010DEPL" + + "OYED\020\001\022\016\n\nUNDEPLOYED\020\002:X\352AU\n\033automl.goog" + + "leapis.com/Model\0226projects/{project}/loc" + + "ations/{location}/models/{model}B\020\n\016mode" + + "l_metadataB\245\001\n\037com.google.cloud.automl.v" + + "1beta1P\001ZAgoogle.golang.org/genproto/goo" + + "gleapis/cloud/automl/v1beta1;automl\312\002\033Go" + + "ogle\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Clou" + + "d::AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), com.google.cloud.automl.v1beta1.ImageProto.getDescriptor(), com.google.cloud.automl.v1beta1.Tables.getDescriptor(), com.google.cloud.automl.v1beta1.TextProto.getDescriptor(), @@ -121,6 +125,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DeploymentState", "ModelMetadata", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); com.google.cloud.automl.v1beta1.ImageProto.getDescriptor(); com.google.cloud.automl.v1beta1.Tables.getDescriptor(); com.google.cloud.automl.v1beta1.TextProto.getDescriptor(); diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Operations.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Operations.java index 7a89427d1..ed65a2044 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Operations.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Operations.java @@ -93,79 +93,85 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n,google/cloud/automl/v1beta1/operations" - + ".proto\022\033google.cloud.automl.v1beta1\032\034goo" - + "gle/api/annotations.proto\032$google/cloud/" - + "automl/v1beta1/io.proto\032\037google/protobuf" - + "/timestamp.proto\032\027google/rpc/status.prot" - + "o\"\213\010\n\021OperationMetadata\022N\n\016delete_detail" - + "s\030\010 \001(\01324.google.cloud.automl.v1beta1.De" - + "leteOperationMetadataH\000\022Y\n\024deploy_model_" - + "details\030\030 \001(\01329.google.cloud.automl.v1be" - + "ta1.DeployModelOperationMetadataH\000\022]\n\026un" - + "deploy_model_details\030\031 \001(\0132;.google.clou" - + "d.automl.v1beta1.UndeployModelOperationM" - + "etadataH\000\022Y\n\024create_model_details\030\n \001(\0132" - + "9.google.cloud.automl.v1beta1.CreateMode" - + "lOperationMetadataH\000\022W\n\023import_data_deta" - + "ils\030\017 \001(\01328.google.cloud.automl.v1beta1." - + "ImportDataOperationMetadataH\000\022[\n\025batch_p" - + "redict_details\030\020 \001(\0132:.google.cloud.auto" - + "ml.v1beta1.BatchPredictOperationMetadata" - + "H\000\022W\n\023export_data_details\030\025 \001(\01328.google" - + ".cloud.automl.v1beta1.ExportDataOperatio" - + "nMetadataH\000\022Y\n\024export_model_details\030\026 \001(" - + "\01329.google.cloud.automl.v1beta1.ExportMo" - + "delOperationMetadataH\000\022r\n!export_evaluat" - + "ed_examples_details\030\032 \001(\0132E.google.cloud" - + ".automl.v1beta1.ExportEvaluatedExamplesO" - + "perationMetadataH\000\022\030\n\020progress_percent\030\r" - + " \001(\005\022,\n\020partial_failures\030\002 \003(\0132\022.google." - + "rpc.Status\022/\n\013create_time\030\003 \001(\0132\032.google" - + ".protobuf.Timestamp\022/\n\013update_time\030\004 \001(\013" - + "2\032.google.protobuf.TimestampB\t\n\007details\"" - + "\031\n\027DeleteOperationMetadata\"\036\n\034DeployMode" - + "lOperationMetadata\" \n\036UndeployModelOpera" - + "tionMetadata\"\036\n\034CreateModelOperationMeta" - + "data\"\035\n\033ImportDataOperationMetadata\"\357\001\n\033" - + "ExportDataOperationMetadata\022b\n\013output_in" - + "fo\030\001 \001(\0132M.google.cloud.automl.v1beta1.E" - + "xportDataOperationMetadata.ExportDataOut" - + "putInfo\032l\n\024ExportDataOutputInfo\022\036\n\024gcs_o" - + "utput_directory\030\001 \001(\tH\000\022!\n\027bigquery_outp" - + "ut_dataset\030\002 \001(\tH\000B\021\n\017output_location\"\303\002" - + "\n\035BatchPredictOperationMetadata\022J\n\014input" - + "_config\030\001 \001(\01324.google.cloud.automl.v1be" - + "ta1.BatchPredictInputConfig\022f\n\013output_in" - + "fo\030\002 \001(\0132Q.google.cloud.automl.v1beta1.B" - + "atchPredictOperationMetadata.BatchPredic" - + "tOutputInfo\032n\n\026BatchPredictOutputInfo\022\036\n" - + "\024gcs_output_directory\030\001 \001(\tH\000\022!\n\027bigquer" - + "y_output_dataset\030\002 \001(\tH\000B\021\n\017output_locat" - + "ion\"\273\001\n\034ExportModelOperationMetadata\022d\n\013" - + "output_info\030\002 \001(\0132O.google.cloud.automl." - + "v1beta1.ExportModelOperationMetadata.Exp" - + "ortModelOutputInfo\0325\n\025ExportModelOutputI" - + "nfo\022\034\n\024gcs_output_directory\030\001 \001(\t\"\356\001\n(Ex" - + "portEvaluatedExamplesOperationMetadata\022|" - + "\n\013output_info\030\002 \001(\0132g.google.cloud.autom" - + "l.v1beta1.ExportEvaluatedExamplesOperati" - + "onMetadata.ExportEvaluatedExamplesOutput" - + "Info\032D\n!ExportEvaluatedExamplesOutputInf" - + "o\022\037\n\027bigquery_output_dataset\030\002 \001(\tB\245\001\n\037c" - + "om.google.cloud.automl.v1beta1P\001ZAgoogle" - + ".golang.org/genproto/googleapis/cloud/au" - + "toml/v1beta1;automl\312\002\033Google\\Cloud\\AutoM" - + "l\\V1beta1\352\002\036Google::Cloud::AutoML::V1bet" - + "a1b\006proto3" + + ".proto\022\033google.cloud.automl.v1beta1\032$goo" + + "gle/cloud/automl/v1beta1/io.proto\032\'googl" + + "e/cloud/automl/v1beta1/model.proto\0322goog" + + "le/cloud/automl/v1beta1/model_evaluation" + + ".proto\032\033google/protobuf/empty.proto\032\037goo" + + "gle/protobuf/timestamp.proto\032\027google/rpc" + + "/status.proto\032\034google/api/annotations.pr" + + "oto\"\213\010\n\021OperationMetadata\022N\n\016delete_deta" + + "ils\030\010 \001(\01324.google.cloud.automl.v1beta1." + + "DeleteOperationMetadataH\000\022Y\n\024deploy_mode" + + "l_details\030\030 \001(\01329.google.cloud.automl.v1" + + "beta1.DeployModelOperationMetadataH\000\022]\n\026" + + "undeploy_model_details\030\031 \001(\0132;.google.cl" + + "oud.automl.v1beta1.UndeployModelOperatio" + + "nMetadataH\000\022Y\n\024create_model_details\030\n \001(" + + "\01329.google.cloud.automl.v1beta1.CreateMo" + + "delOperationMetadataH\000\022W\n\023import_data_de" + + "tails\030\017 \001(\01328.google.cloud.automl.v1beta" + + "1.ImportDataOperationMetadataH\000\022[\n\025batch" + + "_predict_details\030\020 \001(\0132:.google.cloud.au" + + "toml.v1beta1.BatchPredictOperationMetada" + + "taH\000\022W\n\023export_data_details\030\025 \001(\01328.goog" + + "le.cloud.automl.v1beta1.ExportDataOperat" + + "ionMetadataH\000\022Y\n\024export_model_details\030\026 " + + "\001(\01329.google.cloud.automl.v1beta1.Export" + + "ModelOperationMetadataH\000\022r\n!export_evalu" + + "ated_examples_details\030\032 \001(\0132E.google.clo" + + "ud.automl.v1beta1.ExportEvaluatedExample" + + "sOperationMetadataH\000\022\030\n\020progress_percent" + + "\030\r \001(\005\022,\n\020partial_failures\030\002 \003(\0132\022.googl" + + "e.rpc.Status\022/\n\013create_time\030\003 \001(\0132\032.goog" + + "le.protobuf.Timestamp\022/\n\013update_time\030\004 \001" + + "(\0132\032.google.protobuf.TimestampB\t\n\007detail" + + "s\"\031\n\027DeleteOperationMetadata\"\036\n\034DeployMo" + + "delOperationMetadata\" \n\036UndeployModelOpe" + + "rationMetadata\"\036\n\034CreateModelOperationMe" + + "tadata\"\035\n\033ImportDataOperationMetadata\"\357\001" + + "\n\033ExportDataOperationMetadata\022b\n\013output_" + + "info\030\001 \001(\0132M.google.cloud.automl.v1beta1" + + ".ExportDataOperationMetadata.ExportDataO" + + "utputInfo\032l\n\024ExportDataOutputInfo\022\036\n\024gcs" + + "_output_directory\030\001 \001(\tH\000\022!\n\027bigquery_ou" + + "tput_dataset\030\002 \001(\tH\000B\021\n\017output_location\"" + + "\303\002\n\035BatchPredictOperationMetadata\022J\n\014inp" + + "ut_config\030\001 \001(\01324.google.cloud.automl.v1" + + "beta1.BatchPredictInputConfig\022f\n\013output_" + + "info\030\002 \001(\0132Q.google.cloud.automl.v1beta1" + + ".BatchPredictOperationMetadata.BatchPred" + + "ictOutputInfo\032n\n\026BatchPredictOutputInfo\022" + + "\036\n\024gcs_output_directory\030\001 \001(\tH\000\022!\n\027bigqu" + + "ery_output_dataset\030\002 \001(\tH\000B\021\n\017output_loc" + + "ation\"\273\001\n\034ExportModelOperationMetadata\022d" + + "\n\013output_info\030\002 \001(\0132O.google.cloud.autom" + + "l.v1beta1.ExportModelOperationMetadata.E" + + "xportModelOutputInfo\0325\n\025ExportModelOutpu" + + "tInfo\022\034\n\024gcs_output_directory\030\001 \001(\t\"\356\001\n(" + + "ExportEvaluatedExamplesOperationMetadata" + + "\022|\n\013output_info\030\002 \001(\0132g.google.cloud.aut" + + "oml.v1beta1.ExportEvaluatedExamplesOpera" + + "tionMetadata.ExportEvaluatedExamplesOutp" + + "utInfo\032D\n!ExportEvaluatedExamplesOutputI" + + "nfo\022\037\n\027bigquery_output_dataset\030\002 \001(\tB\245\001\n" + + "\037com.google.cloud.automl.v1beta1P\001ZAgoog" + + "le.golang.org/genproto/googleapis/cloud/" + + "automl/v1beta1;automl\312\002\033Google\\Cloud\\Aut" + + "oMl\\V1beta1\352\002\036Google::Cloud::AutoML::V1b" + + "eta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.cloud.automl.v1beta1.Io.getDescriptor(), + com.google.cloud.automl.v1beta1.ModelOuterClass.getDescriptor(), + com.google.cloud.automl.v1beta1.ModelEvaluationOuterClass.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.rpc.StatusProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_automl_v1beta1_OperationMetadata_descriptor = getDescriptor().getMessageTypes().get(0); @@ -290,10 +296,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "BigqueryOutputDataset", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.cloud.automl.v1beta1.Io.getDescriptor(); + com.google.cloud.automl.v1beta1.ModelOuterClass.getDescriptor(); + com.google.cloud.automl.v1beta1.ModelEvaluationOuterClass.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.rpc.StatusProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequest.java index 6c4e9f61d..2d451c300 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequest.java @@ -22,8 +22,7 @@ * * *
- * Request message for
- * [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict].
+ * Request message for [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict].
  * 
* * Protobuf type {@code google.cloud.automl.v1beta1.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.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.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.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The payload. */ @@ -242,7 +249,9 @@ public com.google.cloud.automl.v1beta1.ExamplePayload getPayload() { * problem type that the model was trained to solve. * * - * .google.cloud.automl.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.ExamplePayloadOrBuilder getPayloadOrBuilder() { return getPayload(); @@ -291,10 +300,8 @@ public int getParamsCount() { * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * @@ -329,10 +336,8 @@ public java.util.Map getParams() { * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * @@ -359,10 +364,8 @@ public java.util.Map getParamsMap() { * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * @@ -393,10 +396,8 @@ public java.lang.String getParamsOrDefault(java.lang.String key, java.lang.Strin * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * @@ -607,8 +608,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict].
+   * Request message for [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict].
    * 
* * Protobuf type {@code google.cloud.automl.v1beta1.PredictRequest} @@ -807,10 +807,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. */ @@ -829,10 +831,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. */ @@ -851,10 +855,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. @@ -872,10 +878,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. */ @@ -889,10 +897,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. @@ -922,7 +932,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * problem type that the model was trained to solve. * * - * .google.cloud.automl.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the payload field is set. */ @@ -937,7 +949,9 @@ public boolean hasPayload() { * problem type that the model was trained to solve. * * - * .google.cloud.automl.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The payload. */ @@ -958,7 +972,9 @@ public com.google.cloud.automl.v1beta1.ExamplePayload getPayload() { * problem type that the model was trained to solve. * * - * .google.cloud.automl.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPayload(com.google.cloud.automl.v1beta1.ExamplePayload value) { if (payloadBuilder_ == null) { @@ -981,7 +997,9 @@ public Builder setPayload(com.google.cloud.automl.v1beta1.ExamplePayload value) * problem type that the model was trained to solve. * * - * .google.cloud.automl.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setPayload( com.google.cloud.automl.v1beta1.ExamplePayload.Builder builderForValue) { @@ -1002,7 +1020,9 @@ public Builder setPayload( * problem type that the model was trained to solve. * * - * .google.cloud.automl.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergePayload(com.google.cloud.automl.v1beta1.ExamplePayload value) { if (payloadBuilder_ == null) { @@ -1029,7 +1049,9 @@ public Builder mergePayload(com.google.cloud.automl.v1beta1.ExamplePayload value * problem type that the model was trained to solve. * * - * .google.cloud.automl.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearPayload() { if (payloadBuilder_ == null) { @@ -1050,7 +1072,9 @@ public Builder clearPayload() { * problem type that the model was trained to solve. * * - * .google.cloud.automl.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.ExamplePayload.Builder getPayloadBuilder() { @@ -1065,7 +1089,9 @@ public com.google.cloud.automl.v1beta1.ExamplePayload.Builder getPayloadBuilder( * problem type that the model was trained to solve. * * - * .google.cloud.automl.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.ExamplePayloadOrBuilder getPayloadOrBuilder() { if (payloadBuilder_ != null) { @@ -1084,7 +1110,9 @@ public com.google.cloud.automl.v1beta1.ExamplePayloadOrBuilder getPayloadOrBuild * problem type that the model was trained to solve. * * - * .google.cloud.automl.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1beta1.ExamplePayload, @@ -1146,10 +1174,8 @@ public int getParamsCount() { * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * @@ -1184,10 +1210,8 @@ public java.util.Map getParams() { * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * @@ -1214,10 +1238,8 @@ public java.util.Map getParamsMap() { * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * @@ -1249,10 +1271,8 @@ public java.lang.String getParamsOrDefault( * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * @@ -1291,10 +1311,8 @@ public Builder clearParams() { * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * @@ -1330,10 +1348,8 @@ public java.util.Map getMutableParams() { * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * @@ -1367,10 +1383,8 @@ public Builder putParams(java.lang.String key, java.lang.String value) { * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequestOrBuilder.java index 9e8b8d4ff..f1641e9d1 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.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.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.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.v1beta1.ExamplePayload payload = 2; + * + * .google.cloud.automl.v1beta1.ExamplePayload payload = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1beta1.ExamplePayloadOrBuilder getPayloadOrBuilder(); @@ -104,10 +114,8 @@ public interface PredictRequestOrBuilder * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * @@ -132,10 +140,8 @@ public interface PredictRequestOrBuilder * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * @@ -163,10 +169,8 @@ public interface PredictRequestOrBuilder * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * @@ -191,10 +195,8 @@ public interface PredictRequestOrBuilder * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * @@ -219,10 +221,8 @@ public interface PredictRequestOrBuilder * boxes will be returned in the response. Default is 100, the * requested value may be limited by server. * * For Tables: - * `feature_importance` - (boolean) Whether - * [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - * should be populated in the returned - * [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + * feature_imp<span>ortan</span>ce - (boolean) Whether feature importance + * should be populated in the returned TablesAnnotation. * The default is false. * * diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictResponse.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictResponse.java index b9d657bde..c568dc9b0 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictResponse.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictResponse.java @@ -22,8 +22,7 @@ * * *
- * Response message for
- * [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict].
+ * Response message for [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict].
  * 
* * Protobuf type {@code google.cloud.automl.v1beta1.PredictResponse} @@ -628,8 +627,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for
-   * [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict].
+   * Response message for [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict].
    * 
* * Protobuf type {@code google.cloud.automl.v1beta1.PredictResponse} diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceProto.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceProto.java index 861208c7e..6e6131562 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceProto.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceProto.java @@ -71,53 +71,59 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "\n4google/cloud/automl/v1beta1/prediction" + "_service.proto\022\033google.cloud.automl.v1be" + "ta1\032\034google/api/annotations.proto\032\027googl" - + "e/api/client.proto\0324google/cloud/automl/" - + "v1beta1/annotation_payload.proto\032,google" - + "/cloud/automl/v1beta1/data_items.proto\032$" - + "google/cloud/automl/v1beta1/io.proto\032,go" - + "ogle/cloud/automl/v1beta1/operations.pro" - + "to\032#google/longrunning/operations.proto\"" - + "\324\001\n\016PredictRequest\022\014\n\004name\030\001 \001(\t\022<\n\007payl" - + "oad\030\002 \001(\0132+.google.cloud.automl.v1beta1." - + "ExamplePayload\022G\n\006params\030\003 \003(\01327.google." - + "cloud.automl.v1beta1.PredictRequest.Para" - + "msEntry\032-\n\013ParamsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005v" - + "alue\030\002 \001(\t:\0028\001\"\232\002\n\017PredictResponse\022?\n\007pa" - + "yload\030\001 \003(\0132..google.cloud.automl.v1beta" - + "1.AnnotationPayload\022G\n\022preprocessed_inpu" - + "t\030\003 \001(\0132+.google.cloud.automl.v1beta1.Ex" - + "amplePayload\022L\n\010metadata\030\002 \003(\0132:.google." - + "cloud.automl.v1beta1.PredictResponse.Met" - + "adataEntry\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t" - + "\022\r\n\005value\030\002 \001(\t:\0028\001\"\272\002\n\023BatchPredictRequ" - + "est\022\014\n\004name\030\001 \001(\t\022J\n\014input_config\030\003 \001(\0132" - + "4.google.cloud.automl.v1beta1.BatchPredi" - + "ctInputConfig\022L\n\routput_config\030\004 \001(\01325.g" - + "oogle.cloud.automl.v1beta1.BatchPredictO" - + "utputConfig\022L\n\006params\030\005 \003(\0132<.google.clo" - + "ud.automl.v1beta1.BatchPredictRequest.Pa" - + "ramsEntry\032-\n\013ParamsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" - + "\005value\030\002 \001(\t:\0028\001\"\226\001\n\022BatchPredictResult\022" - + "O\n\010metadata\030\001 \003(\0132=.google.cloud.automl." - + "v1beta1.BatchPredictResult.MetadataEntry" - + "\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" - + "\002 \001(\t:\0028\0012\264\003\n\021PredictionService\022\250\001\n\007Pred" - + "ict\022+.google.cloud.automl.v1beta1.Predic" - + "tRequest\032,.google.cloud.automl.v1beta1.P" - + "redictResponse\"B\202\323\344\223\002<\"7/v1beta1/{name=p" - + "rojects/*/locations/*/models/*}:predict:" - + "\001*\022\250\001\n\014BatchPredict\0220.google.cloud.autom" - + "l.v1beta1.BatchPredictRequest\032\035.google.l" - + "ongrunning.Operation\"G\202\323\344\223\002A\" + * Output only. Stores the prediction score for the baseline example, which + * is defined as the example with all values set to their baseline values. + * This is used as part of the Sampled Shapley explanation of the model's + * prediction. This field is populated only when feature importance is + * requested. For regression models, this holds the baseline prediction for + * the baseline example. For classification models, this holds the baseline + * prediction for the baseline example for the argmax class. + * + * + * float baseline_score = 5; + * + * @return The baselineScore. + */ + public float getBaselineScore() { + return baselineScore_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -423,6 +451,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (predictionInterval_ != null) { output.writeMessage(4, getPredictionInterval()); } + if (baselineScore_ != 0F) { + output.writeFloat(5, baselineScore_); + } unknownFields.writeTo(output); } @@ -446,6 +477,9 @@ public int getSerializedSize() { if (predictionInterval_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getPredictionInterval()); } + if (baselineScore_ != 0F) { + size += com.google.protobuf.CodedOutputStream.computeFloatSize(5, baselineScore_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -473,6 +507,8 @@ public boolean equals(final java.lang.Object obj) { if (!getValue().equals(other.getValue())) return false; } if (!getTablesModelColumnInfoList().equals(other.getTablesModelColumnInfoList())) return false; + if (java.lang.Float.floatToIntBits(getBaselineScore()) + != java.lang.Float.floatToIntBits(other.getBaselineScore())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -498,6 +534,8 @@ public int hashCode() { hash = (37 * hash) + TABLES_MODEL_COLUMN_INFO_FIELD_NUMBER; hash = (53 * hash) + getTablesModelColumnInfoList().hashCode(); } + hash = (37 * hash) + BASELINE_SCORE_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits(getBaselineScore()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -665,6 +703,8 @@ public Builder clear() { } else { tablesModelColumnInfoBuilder_.clear(); } + baselineScore_ = 0F; + return this; } @@ -713,6 +753,7 @@ public com.google.cloud.automl.v1beta1.TablesAnnotation buildPartial() { } else { result.tablesModelColumnInfo_ = tablesModelColumnInfoBuilder_.build(); } + result.baselineScore_ = baselineScore_; onBuilt(); return result; } @@ -799,6 +840,9 @@ public Builder mergeFrom(com.google.cloud.automl.v1beta1.TablesAnnotation other) } } } + if (other.getBaselineScore() != 0F) { + setBaselineScore(other.getBaselineScore()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1856,6 +1900,75 @@ public Builder removeTablesModelColumnInfo(int index) { return tablesModelColumnInfoBuilder_; } + private float baselineScore_; + /** + * + * + *
+     * Output only. Stores the prediction score for the baseline example, which
+     * is defined as the example with all values set to their baseline values.
+     * This is used as part of the Sampled Shapley explanation of the model's
+     * prediction. This field is populated only when feature importance is
+     * requested. For regression models, this holds the baseline prediction for
+     * the baseline example. For classification models, this holds the baseline
+     * prediction for the baseline example for the argmax class.
+     * 
+ * + * float baseline_score = 5; + * + * @return The baselineScore. + */ + public float getBaselineScore() { + return baselineScore_; + } + /** + * + * + *
+     * Output only. Stores the prediction score for the baseline example, which
+     * is defined as the example with all values set to their baseline values.
+     * This is used as part of the Sampled Shapley explanation of the model's
+     * prediction. This field is populated only when feature importance is
+     * requested. For regression models, this holds the baseline prediction for
+     * the baseline example. For classification models, this holds the baseline
+     * prediction for the baseline example for the argmax class.
+     * 
+ * + * float baseline_score = 5; + * + * @param value The baselineScore to set. + * @return This builder for chaining. + */ + public Builder setBaselineScore(float value) { + + baselineScore_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Output only. Stores the prediction score for the baseline example, which
+     * is defined as the example with all values set to their baseline values.
+     * This is used as part of the Sampled Shapley explanation of the model's
+     * prediction. This field is populated only when feature importance is
+     * requested. For regression models, this holds the baseline prediction for
+     * the baseline example. For classification models, this holds the baseline
+     * prediction for the baseline example for the argmax class.
+     * 
+ * + * float baseline_score = 5; + * + * @return This builder for chaining. + */ + public Builder clearBaselineScore() { + + baselineScore_ = 0F; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesAnnotationOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesAnnotationOrBuilder.java index a7042c29c..674df0db9 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesAnnotationOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesAnnotationOrBuilder.java @@ -227,4 +227,23 @@ public interface TablesAnnotationOrBuilder */ com.google.cloud.automl.v1beta1.TablesModelColumnInfoOrBuilder getTablesModelColumnInfoOrBuilder( int index); + + /** + * + * + *
+   * Output only. Stores the prediction score for the baseline example, which
+   * is defined as the example with all values set to their baseline values.
+   * This is used as part of the Sampled Shapley explanation of the model's
+   * prediction. This field is populated only when feature importance is
+   * requested. For regression models, this holds the baseline prediction for
+   * the baseline example. For classification models, this holds the baseline
+   * prediction for the baseline example for the argmax class.
+   * 
+ * + * float baseline_score = 5; + * + * @return The baselineScore. + */ + float getBaselineScore(); } diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextProto.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextProto.java index 14149f727..bee55a1c9 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextProto.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextProto.java @@ -61,9 +61,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n&google/cloud/automl/v1beta1/text.proto" - + "\022\033google.cloud.automl.v1beta1\032\034google/ap" - + "i/annotations.proto\0320google/cloud/automl" - + "/v1beta1/classification.proto\"q\n!TextCla" + + "\022\033google.cloud.automl.v1beta1\0320google/cl" + + "oud/automl/v1beta1/classification.proto\032" + + "\034google/api/annotations.proto\"q\n!TextCla" + "ssificationDatasetMetadata\022L\n\023classifica" + "tion_type\030\001 \001(\0162/.google.cloud.automl.v1" + "beta1.ClassificationType\"o\n\037TextClassifi" @@ -83,8 +83,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.v1beta1.ClassificationProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }); internal_static_google_cloud_automl_v1beta1_TextClassificationDatasetMetadata_descriptor = getDescriptor().getMessageTypes().get(0); @@ -128,8 +128,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_automl_v1beta1_TextSentimentModelMetadata_descriptor, new java.lang.String[] {}); - com.google.api.AnnotationsProto.getDescriptor(); com.google.cloud.automl.v1beta1.ClassificationProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentDatasetMetadata.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentDatasetMetadata.java index d8caf22d8..c84d477e6 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentDatasetMetadata.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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; @@ -453,11 +454,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; @@ -471,11 +473,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; @@ -493,11 +496,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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentDatasetMetadataOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentDatasetMetadataOrBuilder.java index b28f2c07e..e6e98f5c3 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentDatasetMetadataOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippet.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippet.java index fc7cf869b..56caa8ad1 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippet.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippet.java @@ -182,11 +182,9 @@ public com.google.protobuf.ByteString getContentBytes() { * * *
-   * Optional. The format of
-   * [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
+   * Optional. The format of [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
    * 
* * string mime_type = 2; @@ -208,11 +206,9 @@ public java.lang.String getMimeType() { * * *
-   * Optional. The format of
-   * [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
+   * Optional. The format of [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
    * 
* * string mime_type = 2; @@ -742,11 +738,9 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. The format of
-     * [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
+     * Optional. The format of [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
      * 
* * string mime_type = 2; @@ -768,11 +762,9 @@ public java.lang.String getMimeType() { * * *
-     * Optional. The format of
-     * [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
+     * Optional. The format of [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
      * 
* * string mime_type = 2; @@ -794,11 +786,9 @@ public com.google.protobuf.ByteString getMimeTypeBytes() { * * *
-     * Optional. The format of
-     * [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
+     * Optional. The format of [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
      * 
* * string mime_type = 2; @@ -819,11 +809,9 @@ public Builder setMimeType(java.lang.String value) { * * *
-     * Optional. The format of
-     * [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
+     * Optional. The format of [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
      * 
* * string mime_type = 2; @@ -840,11 +828,9 @@ public Builder clearMimeType() { * * *
-     * Optional. The format of
-     * [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
+     * Optional. The format of [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
      * 
* * string mime_type = 2; diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippetOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippetOrBuilder.java index 4a4a9be54..8dfa8873e 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippetOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippetOrBuilder.java @@ -54,11 +54,9 @@ public interface TextSnippetOrBuilder * * *
-   * Optional. The format of
-   * [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
+   * Optional. The format of [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
    * 
* * string mime_type = 2; @@ -70,11 +68,9 @@ public interface TextSnippetOrBuilder * * *
-   * Optional. The format of
-   * [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
+   * Optional. The format of [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content].
    * 
* * string mime_type = 2; diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationDatasetMetadata.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationDatasetMetadata.java index 1b0692298..eb27ec188 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationDatasetMetadata.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationDatasetMetadata.java @@ -128,7 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * Required. The BCP-47 language code of the source language. * * - * string source_language_code = 1; + * string source_language_code = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The sourceLanguageCode. */ @@ -150,7 +150,7 @@ public java.lang.String getSourceLanguageCode() { * Required. The BCP-47 language code of the source language. * * - * string source_language_code = 1; + * string source_language_code = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for sourceLanguageCode. */ @@ -175,7 +175,7 @@ public com.google.protobuf.ByteString getSourceLanguageCodeBytes() { * Required. The BCP-47 language code of the target language. * * - * string target_language_code = 2; + * string target_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The targetLanguageCode. */ @@ -197,7 +197,7 @@ public java.lang.String getTargetLanguageCode() { * Required. The BCP-47 language code of the target language. * * - * string target_language_code = 2; + * string target_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for targetLanguageCode. */ @@ -556,7 +556,7 @@ public Builder mergeFrom( * Required. The BCP-47 language code of the source language. * * - * string source_language_code = 1; + * string source_language_code = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The sourceLanguageCode. */ @@ -578,7 +578,7 @@ public java.lang.String getSourceLanguageCode() { * Required. The BCP-47 language code of the source language. * * - * string source_language_code = 1; + * string source_language_code = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for sourceLanguageCode. */ @@ -600,7 +600,7 @@ public com.google.protobuf.ByteString getSourceLanguageCodeBytes() { * Required. The BCP-47 language code of the source language. * * - * string source_language_code = 1; + * string source_language_code = 1 [(.google.api.field_behavior) = REQUIRED]; * * @param value The sourceLanguageCode to set. * @return This builder for chaining. @@ -621,7 +621,7 @@ public Builder setSourceLanguageCode(java.lang.String value) { * Required. The BCP-47 language code of the source language. * * - * string source_language_code = 1; + * string source_language_code = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -638,7 +638,7 @@ public Builder clearSourceLanguageCode() { * Required. The BCP-47 language code of the source language. * * - * string source_language_code = 1; + * string source_language_code = 1 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for sourceLanguageCode to set. * @return This builder for chaining. @@ -662,7 +662,7 @@ public Builder setSourceLanguageCodeBytes(com.google.protobuf.ByteString value) * Required. The BCP-47 language code of the target language. * * - * string target_language_code = 2; + * string target_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The targetLanguageCode. */ @@ -684,7 +684,7 @@ public java.lang.String getTargetLanguageCode() { * Required. The BCP-47 language code of the target language. * * - * string target_language_code = 2; + * string target_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for targetLanguageCode. */ @@ -706,7 +706,7 @@ public com.google.protobuf.ByteString getTargetLanguageCodeBytes() { * Required. The BCP-47 language code of the target language. * * - * string target_language_code = 2; + * string target_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The targetLanguageCode to set. * @return This builder for chaining. @@ -727,7 +727,7 @@ public Builder setTargetLanguageCode(java.lang.String value) { * Required. The BCP-47 language code of the target language. * * - * string target_language_code = 2; + * string target_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return This builder for chaining. */ @@ -744,7 +744,7 @@ public Builder clearTargetLanguageCode() { * Required. The BCP-47 language code of the target language. * * - * string target_language_code = 2; + * string target_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @param value The bytes for targetLanguageCode to set. * @return This builder for chaining. diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationDatasetMetadataOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationDatasetMetadataOrBuilder.java index eff391bb4..edbdb4c32 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationDatasetMetadataOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationDatasetMetadataOrBuilder.java @@ -30,7 +30,7 @@ public interface TranslationDatasetMetadataOrBuilder * Required. The BCP-47 language code of the source language. * * - * string source_language_code = 1; + * string source_language_code = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The sourceLanguageCode. */ @@ -42,7 +42,7 @@ public interface TranslationDatasetMetadataOrBuilder * Required. The BCP-47 language code of the source language. * * - * string source_language_code = 1; + * string source_language_code = 1 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for sourceLanguageCode. */ @@ -55,7 +55,7 @@ public interface TranslationDatasetMetadataOrBuilder * Required. The BCP-47 language code of the target language. * * - * string target_language_code = 2; + * string target_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The targetLanguageCode. */ @@ -67,7 +67,7 @@ public interface TranslationDatasetMetadataOrBuilder * Required. The BCP-47 language code of the target language. * * - * string target_language_code = 2; + * string target_language_code = 2 [(.google.api.field_behavior) = REQUIRED]; * * @return The bytes for targetLanguageCode. */ diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationProto.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationProto.java index 860182595..d31470471 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationProto.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TranslationProto.java @@ -53,28 +53,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n-google/cloud/automl/v1beta1/translatio" - + "n.proto\022\033google.cloud.automl.v1beta1\032,go" - + "ogle/cloud/automl/v1beta1/data_items.pro" - + "to\032\034google/api/annotations.proto\"X\n\032Tran" - + "slationDatasetMetadata\022\034\n\024source_languag" - + "e_code\030\001 \001(\t\022\034\n\024target_language_code\030\002 \001" - + "(\t\"K\n\034TranslationEvaluationMetrics\022\022\n\nbl" - + "eu_score\030\001 \001(\001\022\027\n\017base_bleu_score\030\002 \001(\001\"" - + "j\n\030TranslationModelMetadata\022\022\n\nbase_mode" - + "l\030\001 \001(\t\022\034\n\024source_language_code\030\002 \001(\t\022\034\n" - + "\024target_language_code\030\003 \001(\t\"]\n\025Translati" - + "onAnnotation\022D\n\022translated_content\030\001 \001(\013" - + "2(.google.cloud.automl.v1beta1.TextSnipp" - + "etB\267\001\n\037com.google.cloud.automl.v1beta1B\020" - + "TranslationProtoP\001ZAgoogle.golang.org/ge" - + "nproto/googleapis/cloud/automl/v1beta1;a" - + "utoml\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002\036Go" - + "ogle::Cloud::AutoML::V1beta1b\006proto3" + + "n.proto\022\033google.cloud.automl.v1beta1\032\037go" + + "ogle/api/field_behavior.proto\032,google/cl" + + "oud/automl/v1beta1/data_items.proto\032\034goo" + + "gle/api/annotations.proto\"b\n\032Translation" + + "DatasetMetadata\022!\n\024source_language_code\030" + + "\001 \001(\tB\003\340A\002\022!\n\024target_language_code\030\002 \001(\t" + + "B\003\340A\002\"K\n\034TranslationEvaluationMetrics\022\022\n" + + "\nbleu_score\030\001 \001(\001\022\027\n\017base_bleu_score\030\002 \001" + + "(\001\"j\n\030TranslationModelMetadata\022\022\n\nbase_m" + + "odel\030\001 \001(\t\022\034\n\024source_language_code\030\002 \001(\t" + + "\022\034\n\024target_language_code\030\003 \001(\t\"]\n\025Transl" + + "ationAnnotation\022D\n\022translated_content\030\001 " + + "\001(\0132(.google.cloud.automl.v1beta1.TextSn" + + "ippetB\267\001\n\037com.google.cloud.automl.v1beta" + + "1B\020TranslationProtoP\001ZAgoogle.golang.org" + + "/genproto/googleapis/cloud/automl/v1beta" + + "1;automl\312\002\033Google\\Cloud\\AutoMl\\V1beta1\352\002" + + "\036Google::Cloud::AutoML::V1beta1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), com.google.cloud.automl.v1beta1.DataItems.getDescriptor(), com.google.api.AnnotationsProto.getDescriptor(), }); @@ -110,6 +112,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new java.lang.String[] { "TranslatedContent", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); com.google.cloud.automl.v1beta1.DataItems.getDescriptor(); com.google.api.AnnotationsProto.getDescriptor(); } diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UndeployModelRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UndeployModelRequest.java index ccee4989a..231e48187 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UndeployModelRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UndeployModelRequest.java @@ -117,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. */ @@ -139,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. */ @@ -481,10 +485,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. */ @@ -503,10 +509,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. */ @@ -525,10 +533,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. @@ -546,10 +556,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. */ @@ -563,10 +575,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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UndeployModelRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UndeployModelRequestOrBuilder.java index 92b63b375..6ae823272 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UndeployModelRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/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-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequest.java index 8bf53c236..ce7feca69 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequest.java @@ -139,10 +139,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The column spec which replaces the resource on the server.
+   * Required. The column spec which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the columnSpec field is set. */ @@ -153,10 +155,12 @@ public boolean hasColumnSpec() { * * *
-   * The column spec which replaces the resource on the server.
+   * Required. The column spec which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The columnSpec. */ @@ -169,10 +173,12 @@ public com.google.cloud.automl.v1beta1.ColumnSpec getColumnSpec() { * * *
-   * The column spec which replaces the resource on the server.
+   * Required. The column spec which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder getColumnSpecOrBuilder() { return getColumnSpec(); @@ -590,10 +596,12 @@ public Builder mergeFrom( * * *
-     * The column spec which replaces the resource on the server.
+     * Required. The column spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the columnSpec field is set. */ @@ -604,10 +612,12 @@ public boolean hasColumnSpec() { * * *
-     * The column spec which replaces the resource on the server.
+     * Required. The column spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The columnSpec. */ @@ -624,10 +634,12 @@ public com.google.cloud.automl.v1beta1.ColumnSpec getColumnSpec() { * * *
-     * The column spec which replaces the resource on the server.
+     * Required. The column spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setColumnSpec(com.google.cloud.automl.v1beta1.ColumnSpec value) { if (columnSpecBuilder_ == null) { @@ -646,10 +658,12 @@ public Builder setColumnSpec(com.google.cloud.automl.v1beta1.ColumnSpec value) { * * *
-     * The column spec which replaces the resource on the server.
+     * Required. The column spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setColumnSpec( com.google.cloud.automl.v1beta1.ColumnSpec.Builder builderForValue) { @@ -666,10 +680,12 @@ public Builder setColumnSpec( * * *
-     * The column spec which replaces the resource on the server.
+     * Required. The column spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeColumnSpec(com.google.cloud.automl.v1beta1.ColumnSpec value) { if (columnSpecBuilder_ == null) { @@ -692,10 +708,12 @@ public Builder mergeColumnSpec(com.google.cloud.automl.v1beta1.ColumnSpec value) * * *
-     * The column spec which replaces the resource on the server.
+     * Required. The column spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearColumnSpec() { if (columnSpecBuilder_ == null) { @@ -712,10 +730,12 @@ public Builder clearColumnSpec() { * * *
-     * The column spec which replaces the resource on the server.
+     * Required. The column spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.ColumnSpec.Builder getColumnSpecBuilder() { @@ -726,10 +746,12 @@ public com.google.cloud.automl.v1beta1.ColumnSpec.Builder getColumnSpecBuilder() * * *
-     * The column spec which replaces the resource on the server.
+     * Required. The column spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder getColumnSpecOrBuilder() { if (columnSpecBuilder_ != null) { @@ -744,10 +766,12 @@ public com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder getColumnSpecOrBuilde * * *
-     * The column spec which replaces the resource on the server.
+     * Required. The column spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1beta1.ColumnSpec, diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequestOrBuilder.java index de29c8989..1b174356b 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface UpdateColumnSpecRequestOrBuilder * * *
-   * The column spec which replaces the resource on the server.
+   * Required. The column spec which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the columnSpec field is set. */ @@ -39,10 +41,12 @@ public interface UpdateColumnSpecRequestOrBuilder * * *
-   * The column spec which replaces the resource on the server.
+   * Required. The column spec which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The columnSpec. */ @@ -51,10 +55,12 @@ public interface UpdateColumnSpecRequestOrBuilder * * *
-   * The column spec which replaces the resource on the server.
+   * Required. The column spec which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1; + * + * .google.cloud.automl.v1beta1.ColumnSpec column_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder getColumnSpecOrBuilder(); diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequest.java index 5b4ebbd06..df62c3a29 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequest.java @@ -139,10 +139,12 @@ 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.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the dataset field is set. */ @@ -153,10 +155,12 @@ 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.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The dataset. */ @@ -169,10 +173,12 @@ public com.google.cloud.automl.v1beta1.Dataset getDataset() { * * *
-   * The dataset which replaces the resource on the server.
+   * Required. The dataset which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.DatasetOrBuilder getDatasetOrBuilder() { return getDataset(); @@ -589,10 +595,12 @@ 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.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the dataset field is set. */ @@ -603,10 +611,12 @@ 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.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The dataset. */ @@ -623,10 +633,12 @@ public com.google.cloud.automl.v1beta1.Dataset getDataset() { * * *
-     * The dataset which replaces the resource on the server.
+     * Required. The dataset which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataset(com.google.cloud.automl.v1beta1.Dataset value) { if (datasetBuilder_ == null) { @@ -645,10 +657,12 @@ public Builder setDataset(com.google.cloud.automl.v1beta1.Dataset value) { * * *
-     * The dataset which replaces the resource on the server.
+     * Required. The dataset which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDataset(com.google.cloud.automl.v1beta1.Dataset.Builder builderForValue) { if (datasetBuilder_ == null) { @@ -664,10 +678,12 @@ public Builder setDataset(com.google.cloud.automl.v1beta1.Dataset.Builder builde * * *
-     * The dataset which replaces the resource on the server.
+     * Required. The dataset which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeDataset(com.google.cloud.automl.v1beta1.Dataset value) { if (datasetBuilder_ == null) { @@ -690,10 +706,12 @@ public Builder mergeDataset(com.google.cloud.automl.v1beta1.Dataset value) { * * *
-     * The dataset which replaces the resource on the server.
+     * Required. The dataset which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDataset() { if (datasetBuilder_ == null) { @@ -710,10 +728,12 @@ 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.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.Dataset.Builder getDatasetBuilder() { @@ -724,10 +744,12 @@ public com.google.cloud.automl.v1beta1.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.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.DatasetOrBuilder getDatasetOrBuilder() { if (datasetBuilder_ != null) { @@ -742,10 +764,12 @@ public com.google.cloud.automl.v1beta1.DatasetOrBuilder getDatasetOrBuilder() { * * *
-     * The dataset which replaces the resource on the server.
+     * Required. The dataset which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1beta1.Dataset, diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequestOrBuilder.java index f706798ed..9919af6b5 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequestOrBuilder.java @@ -27,10 +27,12 @@ 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.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the dataset field is set. */ @@ -39,10 +41,12 @@ 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.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The dataset. */ @@ -51,10 +55,12 @@ 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.v1beta1.Dataset dataset = 1; + * + * .google.cloud.automl.v1beta1.Dataset dataset = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1beta1.DatasetOrBuilder getDatasetOrBuilder(); diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequest.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequest.java index 4aebf9644..1d190a333 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequest.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequest.java @@ -139,10 +139,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The table spec which replaces the resource on the server.
+   * Required. The table spec which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the tableSpec field is set. */ @@ -153,10 +155,12 @@ public boolean hasTableSpec() { * * *
-   * The table spec which replaces the resource on the server.
+   * Required. The table spec which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The tableSpec. */ @@ -169,10 +173,12 @@ public com.google.cloud.automl.v1beta1.TableSpec getTableSpec() { * * *
-   * The table spec which replaces the resource on the server.
+   * Required. The table spec which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.TableSpecOrBuilder getTableSpecOrBuilder() { return getTableSpec(); @@ -590,10 +596,12 @@ public Builder mergeFrom( * * *
-     * The table spec which replaces the resource on the server.
+     * Required. The table spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the tableSpec field is set. */ @@ -604,10 +612,12 @@ public boolean hasTableSpec() { * * *
-     * The table spec which replaces the resource on the server.
+     * Required. The table spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The tableSpec. */ @@ -624,10 +634,12 @@ public com.google.cloud.automl.v1beta1.TableSpec getTableSpec() { * * *
-     * The table spec which replaces the resource on the server.
+     * Required. The table spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTableSpec(com.google.cloud.automl.v1beta1.TableSpec value) { if (tableSpecBuilder_ == null) { @@ -646,10 +658,12 @@ public Builder setTableSpec(com.google.cloud.automl.v1beta1.TableSpec value) { * * *
-     * The table spec which replaces the resource on the server.
+     * Required. The table spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setTableSpec(com.google.cloud.automl.v1beta1.TableSpec.Builder builderForValue) { if (tableSpecBuilder_ == null) { @@ -665,10 +679,12 @@ public Builder setTableSpec(com.google.cloud.automl.v1beta1.TableSpec.Builder bu * * *
-     * The table spec which replaces the resource on the server.
+     * Required. The table spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeTableSpec(com.google.cloud.automl.v1beta1.TableSpec value) { if (tableSpecBuilder_ == null) { @@ -691,10 +707,12 @@ public Builder mergeTableSpec(com.google.cloud.automl.v1beta1.TableSpec value) { * * *
-     * The table spec which replaces the resource on the server.
+     * Required. The table spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearTableSpec() { if (tableSpecBuilder_ == null) { @@ -711,10 +729,12 @@ public Builder clearTableSpec() { * * *
-     * The table spec which replaces the resource on the server.
+     * Required. The table spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.TableSpec.Builder getTableSpecBuilder() { @@ -725,10 +745,12 @@ public com.google.cloud.automl.v1beta1.TableSpec.Builder getTableSpecBuilder() { * * *
-     * The table spec which replaces the resource on the server.
+     * Required. The table spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.automl.v1beta1.TableSpecOrBuilder getTableSpecOrBuilder() { if (tableSpecBuilder_ != null) { @@ -743,10 +765,12 @@ public com.google.cloud.automl.v1beta1.TableSpecOrBuilder getTableSpecOrBuilder( * * *
-     * The table spec which replaces the resource on the server.
+     * Required. The table spec which replaces the resource on the server.
      * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.automl.v1beta1.TableSpec, diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequestOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequestOrBuilder.java index dd415a5d9..bd28582e1 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequestOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface UpdateTableSpecRequestOrBuilder * * *
-   * The table spec which replaces the resource on the server.
+   * Required. The table spec which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return Whether the tableSpec field is set. */ @@ -39,10 +41,12 @@ public interface UpdateTableSpecRequestOrBuilder * * *
-   * The table spec which replaces the resource on the server.
+   * Required. The table spec which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * * * @return The tableSpec. */ @@ -51,10 +55,12 @@ public interface UpdateTableSpecRequestOrBuilder * * *
-   * The table spec which replaces the resource on the server.
+   * Required. The table spec which replaces the resource on the server.
    * 
* - * .google.cloud.automl.v1beta1.TableSpec table_spec = 1; + * + * .google.cloud.automl.v1beta1.TableSpec table_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.automl.v1beta1.TableSpecOrBuilder getTableSpecOrBuilder(); diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/annotation_payload.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/annotation_payload.proto index 7cc2860f1..f62bb269e 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/annotation_payload.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/annotation_spec.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/annotation_spec.proto index 483792b66..d9df07ee3 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/annotation_spec.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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.v1beta1; +import "google/api/resource.proto"; import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; @@ -27,16 +27,19 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1"; // 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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/classification.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/classification.proto index c8475542a..0594d01e6 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/classification.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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,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.v1beta1; -import "google/api/annotations.proto"; import "google/cloud/automl/v1beta1/temporal.proto"; +import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_outer_classname = "ClassificationProto"; @@ -126,10 +125,7 @@ message ClassificationEvaluationMetrics { // for each example. float false_positive_rate_at1 = 9; - // Output only. The harmonic mean of - // [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] - // and - // [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1]. + // Output only. The harmonic mean of [recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1] and [precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1]. float f1_score_at1 = 7; // Output only. The number of model created labels that match a ground truth @@ -156,9 +152,7 @@ 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.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] - // field. + // populated, length of the [display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name] field. repeated int32 example_count = 1; } diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/column_spec.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/column_spec.proto index b8f437f79..03389b8a4 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/column_spec.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/column_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.v1beta1; +import "google/api/resource.proto"; import "google/cloud/automl/v1beta1/data_stats.proto"; import "google/cloud/automl/v1beta1/data_types.proto"; import "google/api/annotations.proto"; @@ -32,6 +32,11 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1"; // Used by: // * Tables message ColumnSpec { + option (google.api.resource) = { + type: "automl.googleapis.com/ColumnSpec" + pattern: "projects/{project}/locations/{location}/datasets/{dataset}/tableSpecs/{table_spec}/columnSpecs/{column_spec}" + }; + // Identifies the table's column, and its correlation with the column this // ColumnSpec describes. message CorrelatedColumn { diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_items.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_items.proto index 424a0c64f..9b9187ad3 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_items.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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,19 @@ // 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.v1beta1; -import "google/api/annotations.proto"; import "google/cloud/automl/v1beta1/geometry.proto"; import "google/cloud/automl/v1beta1/io.proto"; +import "google/cloud/automl/v1beta1/temporal.proto"; import "google/cloud/automl/v1beta1/text_segment.proto"; import "google/protobuf/any.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/struct.proto"; +import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_multiple_files = true; @@ -35,11 +35,9 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1"; // 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.v1beta1.Image.image_bytes] must be set, - // as other options are not currently supported by prediction API. You can - // read the contents of an uploaded image by using the - // [content_uri][google.cloud.automl.v1beta1.Image.content_uri] field. + // For Predict calls [image_bytes][google.cloud.automl.v1beta1.Image.image_bytes] must be set, as other options are not + // currently supported by prediction API. You can read the contents of an + // uploaded image by using the [content_uri][google.cloud.automl.v1beta1.Image.content_uri] field. oneof data { // Image content represented as a stream of bytes. // Note: As with all `bytes` fields, protobuffers use a pure binary @@ -60,11 +58,9 @@ message TextSnippet { // characters long. string content = 1; - // Optional. The format of - // [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content]. + // Optional. The format of [content][google.cloud.automl.v1beta1.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.v1beta1.TextSnippet.content]. string mime_type = 2; // Output only. HTTP URI where you can download the content. @@ -100,9 +96,7 @@ message DocumentDimensions { // A structured text document e.g. a PDF. message Document { - // Describes the layout information of a - // [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in - // the document. + // Describes the layout information of a [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the document. message Layout { // The type of TextSegment in the context of the original document. enum TextSegmentType { @@ -151,14 +145,12 @@ message Document { // [document_text][google.cloud.automl.v1beta1.Document.document_text]. TextSegment text_segment = 1; - // Page number of the - // [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] - // in the original document, starts from 1. + // Page number of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the original document, starts + // from 1. int32 page_number = 2; - // The position of the - // [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] - // in the page. Contains exactly 4 + // The position of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in the page. + // Contains exactly 4 // // [normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices] // and they are connected by edges in the order provided, which will @@ -168,9 +160,7 @@ message Document { // Coordinates are based on top-left as point (0,0). BoundingPoly bounding_poly = 3; - // The type of the - // [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] - // in document. + // The type of the [text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment] in document. TextSegmentType text_segment_type = 4; } diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_stats.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_stats.proto index 5d941a5ba..c13a5d451 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_stats.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_stats.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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_types.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_types.proto index 086e96e32..6f77f56b9 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_types.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_types.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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/dataset.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/dataset.proto index e07b17841..8d1b8d937 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/dataset.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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,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.v1beta1; +import "google/api/resource.proto"; import "google/cloud/automl/v1beta1/image.proto"; import "google/cloud/automl/v1beta1/tables.proto"; import "google/cloud/automl/v1beta1/text.proto"; @@ -34,6 +34,11 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1"; // 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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/detection.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/detection.proto index 99761fd52..c5864e209 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/detection.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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,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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/geometry.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/geometry.proto index e5379ab14..d5654aaca 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/geometry.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/image.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/image.proto index 5995efc6e..960eaeb01 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/image.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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,16 +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.v1beta1; -import "google/api/annotations.proto"; +import "google/api/resource.proto"; import "google/cloud/automl/v1beta1/annotation_spec.proto"; import "google/cloud/automl/v1beta1/classification.proto"; import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_multiple_files = true; @@ -36,7 +36,9 @@ message ImageClassificationDatasetMetadata { } // Dataset metadata specific to image object detection. -message ImageObjectDetectionDatasetMetadata {} +message ImageObjectDetectionDatasetMetadata { + +} // Model metadata for image classification. message ImageClassificationModelMetadata { @@ -65,38 +67,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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - // and used on a mobile or edge device with TensorFlow - // afterwards. + // [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.AutoMl.ExportModel]) - // and used on a mobile device with Core ML afterwards. + // [AutoMl.ExportModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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 @@ -119,6 +117,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.v1beta1.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.v1beta1.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.v1beta1.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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto index 5cc61c5ea..a99793830 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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,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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model.proto index 8c53d9b58..2b2e8d73f 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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,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.v1beta1; +import "google/api/resource.proto"; import "google/cloud/automl/v1beta1/image.proto"; import "google/cloud/automl/v1beta1/tables.proto"; import "google/cloud/automl/v1beta1/text.proto"; @@ -33,6 +33,11 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1"; // API proto representing a trained machine learning model. message Model { + option (google.api.resource) = { + type: "automl.googleapis.com/Model" + pattern: "projects/{project}/locations/{location}/models/{model}" + }; + // Deployment state of the model. enum DeploymentState { // Should not be used, an un-set enum has this value by default. diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model_evaluation.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model_evaluation.proto index ce2db614a..d5633fcdf 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model_evaluation.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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,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.v1beta1; +import "google/api/resource.proto"; import "google/cloud/automl/v1beta1/classification.proto"; import "google/cloud/automl/v1beta1/detection.proto"; import "google/cloud/automl/v1beta1/regression.proto"; @@ -35,6 +35,11 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1"; // 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, video and tables diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/operations.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/operations.proto index 460321ccc..cce3fedc5 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/operations.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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,16 +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.v1beta1; -import "google/api/annotations.proto"; import "google/cloud/automl/v1beta1/io.proto"; +import "google/cloud/automl/v1beta1/model.proto"; +import "google/cloud/automl/v1beta1/model_evaluation.proto"; +import "google/protobuf/empty.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; +import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_multiple_files = true; @@ -58,8 +60,7 @@ message OperationMetadata { ExportModelOperationMetadata export_model_details = 22; // Details of ExportEvaluatedExamples operation. - ExportEvaluatedExamplesOperationMetadata export_evaluated_examples_details = - 26; + ExportEvaluatedExamplesOperationMetadata export_evaluated_examples_details = 26; } // Output only. Progress of operation. Range: [0, 100]. @@ -80,19 +81,29 @@ message OperationMetadata { } // Details of operations that perform deletes of any entities. -message DeleteOperationMetadata {} +message DeleteOperationMetadata { + +} // Details of DeployModel operation. -message DeployModelOperationMetadata {} +message DeployModelOperationMetadata { + +} // Details of UndeployModel operation. -message UndeployModelOperationMetadata {} +message UndeployModelOperationMetadata { + +} // Details of CreateModel operation. -message CreateModelOperationMetadata {} +message CreateModelOperationMetadata { + +} // Details of ImportData operation. -message ImportDataOperationMetadata {} +message ImportDataOperationMetadata { + +} // Details of ExportData operation. message ExportDataOperationMetadata { diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/prediction_service.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/prediction_service.proto index 57f1b794e..0bcf685e0 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/prediction_service.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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,8 @@ package google.cloud.automl.v1beta1; 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/v1beta1/annotation_payload.proto"; import "google/cloud/automl/v1beta1/data_items.proto"; import "google/cloud/automl/v1beta1/io.proto"; @@ -38,8 +39,7 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1"; // 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 // returned in the response. @@ -65,16 +65,15 @@ service PredictionService { post: "/v1beta1/{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.v1beta1.PredictionService.Predict], batch + // Perform a batch prediction. Unlike the online [Predict][google.cloud.automl.v1beta1.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.v1beta1.BatchPredictResult] is - // returned in the [response][google.longrunning.Operation.response] field. + // method. Once the operation is done, [BatchPredictResult][google.cloud.automl.v1beta1.BatchPredictResult] is returned in + // the [response][google.longrunning.Operation.response] field. // Available for following ML problems: // * Image Classification // * Image Object Detection @@ -86,18 +85,27 @@ service PredictionService { post: "/v1beta1/{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.v1beta1.PredictionService.Predict]. +// Request message for [PredictionService.Predict][google.cloud.automl.v1beta1.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. @@ -116,18 +124,13 @@ message PredictRequest { // boxes will be returned in the response. Default is 100, the // requested value may be limited by server. // * For Tables: - // `feature_importance` - (boolean) Whether - // - // [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance] - // should be populated in the returned - // - // [TablesAnnotation(-s)][[google.cloud.automl.v1beta1.TablesAnnotation]. + // feature_importance - (boolean) Whether feature importance + // should be populated in the returned TablesAnnotation. // The default is false. map params = 3; } -// Response message for -// [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict]. +// Response message for [PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict]. message PredictResponse { // Prediction result. // Translation and Text Sentiment will return precisely one payload. @@ -158,20 +161,24 @@ message PredictResponse { map metadata = 2; } -// Request message for -// [PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict]. +// Request message for [PredictionService.BatchPredict][google.cloud.automl.v1beta1.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 + // Required. Additional domain-specific parameters for the predictions, any string must // be up to 25000 characters long. // // * For Text Classification: @@ -196,6 +203,7 @@ message BatchPredictRequest { // requested value may be limited by server. // // * For Video 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. @@ -223,7 +231,14 @@ message BatchPredictRequest { // metrics provided to describe that quality. The default is // "false". // + // * For Tables: + // + // feature_importance - (boolean) Whether feature importance + // should be populated in the returned TablesAnnotations. The + // default is false. + // // * For Video 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. @@ -233,14 +248,12 @@ message BatchPredictRequest { // `min_bounding_box_size` - (float) Only bounding boxes with shortest edge // at least that long as a relative value of video frame size will be // returned. Value in 0 to 1 range. Default is 0. - // - map params = 5; + map params = 5 [(google.api.field_behavior) = REQUIRED]; } // 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.v1beta1.PredictionService.BatchPredict]. +// by the [PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict]. message BatchPredictResult { // Additional domain-specific prediction response metadata. // diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/ranges.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/ranges.proto index 6a1d66fa0..89572bb05 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/ranges.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/ranges.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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/regression.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/regression.proto index d2b96af13..1286d3d80 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/regression.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/regression.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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/service.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/service.proto index d05ac4ad6..a421ece14 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/service.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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,13 +11,15 @@ // 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.v1beta1; 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/v1beta1/annotation_payload.proto"; import "google/cloud/automl/v1beta1/annotation_spec.proto"; import "google/cloud/automl/v1beta1/column_spec.proto"; @@ -30,7 +32,6 @@ import "google/cloud/automl/v1beta1/operations.proto"; import "google/cloud/automl/v1beta1/table_spec.proto"; import "google/longrunning/operations.proto"; import "google/protobuf/field_mask.proto"; -import "google/api/client.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_multiple_files = true; @@ -63,6 +64,7 @@ service AutoMl { post: "/v1beta1/{parent=projects/*/locations/*}/datasets" body: "dataset" }; + option (google.api.method_signature) = "parent,dataset"; } // Gets a dataset. @@ -70,6 +72,7 @@ service AutoMl { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/datasets/*}" }; + option (google.api.method_signature) = "name"; } // Lists datasets in a project. @@ -77,6 +80,7 @@ service AutoMl { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*}/datasets" }; + option (google.api.method_signature) = "parent"; } // Updates a dataset. @@ -85,6 +89,7 @@ service AutoMl { patch: "/v1beta1/{dataset.name=projects/*/locations/*/datasets/*}" body: "dataset" }; + option (google.api.method_signature) = "dataset"; } // Deletes a dataset and all of its contents. @@ -96,6 +101,11 @@ service AutoMl { option (google.api.http) = { delete: "/v1beta1/{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. @@ -112,6 +122,11 @@ service AutoMl { post: "/v1beta1/{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. @@ -122,6 +137,11 @@ service AutoMl { post: "/v1beta1/{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. @@ -129,6 +149,7 @@ service AutoMl { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}" }; + option (google.api.method_signature) = "name"; } // Gets a table spec. @@ -136,6 +157,7 @@ service AutoMl { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/datasets/*/tableSpecs/*}" }; + option (google.api.method_signature) = "name"; } // Lists table specs in a dataset. @@ -143,6 +165,7 @@ service AutoMl { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*/datasets/*}/tableSpecs" }; + option (google.api.method_signature) = "parent"; } // Updates a table spec. @@ -151,6 +174,7 @@ service AutoMl { patch: "/v1beta1/{table_spec.name=projects/*/locations/*/datasets/*/tableSpecs/*}" body: "table_spec" }; + option (google.api.method_signature) = "table_spec"; } // Gets a column spec. @@ -158,6 +182,7 @@ service AutoMl { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/datasets/*/tableSpecs/*/columnSpecs/*}" }; + option (google.api.method_signature) = "name"; } // Lists column specs in a table spec. @@ -165,6 +190,7 @@ service AutoMl { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*/datasets/*/tableSpecs/*}/columnSpecs" }; + option (google.api.method_signature) = "parent"; } // Updates a column spec. @@ -173,6 +199,7 @@ service AutoMl { patch: "/v1beta1/{column_spec.name=projects/*/locations/*/datasets/*/tableSpecs/*/columnSpecs/*}" body: "column_spec" }; + option (google.api.method_signature) = "column_spec"; } // Creates a model. @@ -185,6 +212,11 @@ service AutoMl { post: "/v1beta1/{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. @@ -192,6 +224,7 @@ service AutoMl { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/models/*}" }; + option (google.api.method_signature) = "name"; } // Lists models. @@ -199,6 +232,7 @@ service AutoMl { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*}/models" }; + option (google.api.method_signature) = "parent"; } // Deletes a model. @@ -210,6 +244,11 @@ service AutoMl { option (google.api.http) = { delete: "/v1beta1/{name=projects/*/locations/*/models/*}" }; + option (google.api.method_signature) = "name"; + option (google.longrunning.operation_info) = { + response_type: "google.protobuf.Empty" + metadata_type: "OperationMetadata" + }; } // Deploys a model. If a model is already deployed, deploying it with the @@ -219,7 +258,8 @@ service AutoMl { // [node_number][google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata.node_number]) // will reset the deployment state without pausing the model's availability. // - // Only applicable for Text Classification, Image Object Detection and Tables; 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. @@ -228,6 +268,11 @@ service AutoMl { post: "/v1beta1/{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. @@ -242,6 +287,11 @@ service AutoMl { post: "/v1beta1/{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 @@ -257,6 +307,11 @@ service AutoMl { post: "/v1beta1/{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" + }; } // Exports examples on which the model was evaluated (i.e. which were in the @@ -278,6 +333,11 @@ service AutoMl { post: "/v1beta1/{name=projects/*/locations/*/models/*}:exportEvaluatedExamples" 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. @@ -285,6 +345,7 @@ service AutoMl { option (google.api.http) = { get: "/v1beta1/{name=projects/*/locations/*/models/*/modelEvaluations/*}" }; + option (google.api.method_signature) = "name"; } // Lists model evaluations. @@ -292,28 +353,44 @@ service AutoMl { option (google.api.http) = { get: "/v1beta1/{parent=projects/*/locations/*/models/*}/modelEvaluations" }; + option (google.api.method_signature) = "parent"; } } // Request message for [AutoMl.CreateDataset][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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. // @@ -347,8 +424,8 @@ message ListDatasetsResponse { // Request message for [AutoMl.UpdateDataset][google.cloud.automl.v1beta1.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]; // The update mask applies to the resource. google.protobuf.FieldMask update_mask = 2; @@ -356,40 +433,65 @@ message UpdateDatasetRequest { // Request message for [AutoMl.DeleteDataset][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.GetTableSpec][google.cloud.automl.v1beta1.AutoMl.GetTableSpec]. message GetTableSpecRequest { - // The resource name of the table spec to retrieve. - string name = 1; + // Required. The resource name of the table spec to retrieve. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/TableSpec" + } + ]; // Mask specifying which fields to read. google.protobuf.FieldMask field_mask = 2; @@ -397,8 +499,13 @@ message GetTableSpecRequest { // Request message for [AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs]. message ListTableSpecsRequest { - // The resource name of the dataset to list table specs from. - string parent = 1; + // Required. The resource name of the dataset to list table specs from. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/Dataset" + } + ]; // Mask specifying which fields to read. google.protobuf.FieldMask field_mask = 2; @@ -429,8 +536,8 @@ message ListTableSpecsResponse { // Request message for [AutoMl.UpdateTableSpec][google.cloud.automl.v1beta1.AutoMl.UpdateTableSpec] message UpdateTableSpecRequest { - // The table spec which replaces the resource on the server. - TableSpec table_spec = 1; + // Required. The table spec which replaces the resource on the server. + TableSpec table_spec = 1 [(google.api.field_behavior) = REQUIRED]; // The update mask applies to the resource. google.protobuf.FieldMask update_mask = 2; @@ -438,8 +545,13 @@ message UpdateTableSpecRequest { // Request message for [AutoMl.GetColumnSpec][google.cloud.automl.v1beta1.AutoMl.GetColumnSpec]. message GetColumnSpecRequest { - // The resource name of the column spec to retrieve. - string name = 1; + // Required. The resource name of the column spec to retrieve. + string name = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/ColumnSpec" + } + ]; // Mask specifying which fields to read. google.protobuf.FieldMask field_mask = 2; @@ -447,8 +559,13 @@ message GetColumnSpecRequest { // Request message for [AutoMl.ListColumnSpecs][google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs]. message ListColumnSpecsRequest { - // The resource name of the table spec to list column specs from. - string parent = 1; + // Required. The resource name of the table spec to list column specs from. + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/TableSpec" + } + ]; // Mask specifying which fields to read. google.protobuf.FieldMask field_mask = 2; @@ -479,8 +596,8 @@ message ListColumnSpecsResponse { // Request message for [AutoMl.UpdateColumnSpec][google.cloud.automl.v1beta1.AutoMl.UpdateColumnSpec] message UpdateColumnSpecRequest { - // The column spec which replaces the resource on the server. - ColumnSpec column_spec = 1; + // Required. The column spec which replaces the resource on the server. + ColumnSpec column_spec = 1 [(google.api.field_behavior) = REQUIRED]; // The update mask applies to the resource. google.protobuf.FieldMask update_mask = 2; @@ -488,23 +605,38 @@ message UpdateColumnSpecRequest { // Request message for [AutoMl.CreateModel][google.cloud.automl.v1beta1.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.v1beta1.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.v1beta1.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. // @@ -539,8 +671,13 @@ message ListModelsResponse { // Request message for [AutoMl.DeleteModel][google.cloud.automl.v1beta1.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.DeployModel][google.cloud.automl.v1beta1.AutoMl.DeployModel]. @@ -549,18 +686,29 @@ message DeployModelRequest { oneof model_deployment_metadata { // Model deployment metadata specific to Image Object Detection. ImageObjectDetectionModelDeploymentMetadata image_object_detection_model_deployment_metadata = 2; + // Model deployment metadata specific to Image Classification. 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.v1beta1.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.v1beta1.AutoMl.ExportModel]. @@ -568,34 +716,54 @@ message UndeployModelRequest { // 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.ExportEvaluatedExamples][google.cloud.automl.v1beta1.AutoMl.ExportEvaluatedExamples]. message ExportEvaluatedExamplesRequest { // Required. The resource name of the model whose evaluated examples are to // be exported. - 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. - ExportEvaluatedExamplesOutputConfig output_config = 3; + ExportEvaluatedExamplesOutputConfig output_config = 3 [(google.api.field_behavior) = REQUIRED]; } // Request message for [AutoMl.GetModelEvaluation][google.cloud.automl.v1beta1.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.v1beta1.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; + string parent = 1 [ + (google.api.field_behavior) = REQUIRED, + (google.api.resource_reference) = { + type: "automl.googleapis.com/Model" + } + ]; // An expression for filtering the results of the request. // diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/table_spec.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/table_spec.proto index 4475617ae..bc3fc7440 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/table_spec.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/table_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.v1beta1; +import "google/api/resource.proto"; import "google/cloud/automl/v1beta1/io.proto"; import "google/api/annotations.proto"; @@ -36,6 +36,11 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1"; // Used by: // * Tables message TableSpec { + option (google.api.resource) = { + type: "automl.googleapis.com/TableSpec" + pattern: "projects/{project}/locations/{location}/datasets/{dataset}/tableSpecs/{table_spec}" + }; + // Output only. The resource name of the table spec. // Form: // diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto index 5b786c9f1..5327f5e78 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.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,21 +11,21 @@ // 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.v1beta1; -import "google/api/annotations.proto"; import "google/cloud/automl/v1beta1/classification.proto"; import "google/cloud/automl/v1beta1/column_spec.proto"; import "google/cloud/automl/v1beta1/data_items.proto"; import "google/cloud/automl/v1beta1/data_stats.proto"; import "google/cloud/automl/v1beta1/ranges.proto"; +import "google/cloud/automl/v1beta1/regression.proto"; import "google/cloud/automl/v1beta1/temporal.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_multiple_files = true; @@ -249,6 +249,15 @@ message TablesAnnotation { // [column_display_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_display_name] // would be populated, then this whole field is not. repeated TablesModelColumnInfo tables_model_column_info = 3; + + // Output only. Stores the prediction score for the baseline example, which + // is defined as the example with all values set to their baseline values. + // This is used as part of the Sampled Shapley explanation of the model's + // prediction. This field is populated only when feature importance is + // requested. For regression models, this holds the baseline prediction for + // the baseline example. For classification models, this holds the baseline + // prediction for the baseline example for the argmax class. + float baseline_score = 5; } // An information specific to given column and Tables Model, in context diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/temporal.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/temporal.proto index 84874d99f..76db8887c 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/temporal.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/temporal.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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto index ca722e07c..f6f33185c 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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.v1beta1; -import "google/api/annotations.proto"; import "google/cloud/automl/v1beta1/classification.proto"; +import "google/api/annotations.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/automl/v1beta1;automl"; option java_multiple_files = true; @@ -40,20 +39,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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_extraction.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_extraction.proto index 07f0dda81..cfb0e0b37 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_extraction.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_segment.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_segment.proto index 41b8be1cc..94b17d930 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_segment.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_sentiment.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_sentiment.proto index 978acb0f9..5444c52b9 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text_sentiment.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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,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-v1beta1/src/main/proto/google/cloud/automl/v1beta1/translation.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/translation.proto index ed02b2af5..8585bd410 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/translation.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/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,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.v1beta1; +import "google/api/field_behavior.proto"; import "google/cloud/automl/v1beta1/data_items.proto"; import "google/api/annotations.proto"; @@ -30,10 +30,10 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1"; // Dataset metadata that is specific to translation. message TranslationDatasetMetadata { // Required. The BCP-47 language code of the source language. - string source_language_code = 1; + string source_language_code = 1 [(google.api.field_behavior) = REQUIRED]; // Required. The BCP-47 language code of the target language. - string target_language_code = 2; + string target_language_code = 2 [(google.api.field_behavior) = REQUIRED]; } // Evaluation metrics for the dataset. diff --git a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/video.proto b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/video.proto index b7c7325bc..268ae2a8c 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/video.proto +++ b/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/video.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/synth.metadata b/synth.metadata index 6a7b92d0f..aa15a2560 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,20 +1,20 @@ { - "updateTime": "2020-02-28T19:59:11.697957Z", + "updateTime": "2020-03-03T09:41:38.477427Z", "sources": [ { "generator": { "name": "artman", - "version": "0.46.0", - "dockerImage": "googleapis/artman@sha256:6248a21fba8f0d618c3b032669cec2618e684b66922bb70391fe08c41b05f6ee" + "version": "0.47.0", + "dockerImage": "googleapis/artman@sha256:b3e50d6b8de03920b9f065bbc3d210e2ca93a043446f1fa16cdf567393c09678" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "e9e90a787703ec5d388902e2cb796aaed3a385b4", - "internalRef": "297671458", - "log": "e9e90a787703ec5d388902e2cb796aaed3a385b4\nDialogflow weekly v2/v2beta1 library update:\n - adding get validation result\n - adding field mask override control for output audio config\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 297671458\n\n1a2b05cc3541a5f7714529c665aecc3ea042c646\nAdding .yaml and .json config files.\n\nPiperOrigin-RevId: 297570622\n\ndfe1cf7be44dee31d78f78e485d8c95430981d6e\nPublish `QueryOptions` proto.\n\nIntroduced a `query_options` input in `ExecuteSqlRequest`.\n\nPiperOrigin-RevId: 297497710\n\ndafc905f71e5d46f500b41ed715aad585be062c3\npubsub: revert pull init_rpc_timeout & max_rpc_timeout back to 25 seconds and reset multiplier to 1.0\n\nPiperOrigin-RevId: 297486523\n\nf077632ba7fee588922d9e8717ee272039be126d\nfirestore: add update_transform\n\nPiperOrigin-RevId: 297405063\n\n0aba1900ffef672ec5f0da677cf590ee5686e13b\ncluster: use square brace for cross-reference\n\nPiperOrigin-RevId: 297204568\n\n5dac2da18f6325cbaed54603c43f0667ecd50247\nRestore retry params in gapic config because securitycenter has non-standard default retry params.\nRestore a few retry codes for some idempotent methods.\n\nPiperOrigin-RevId: 297196720\n\n1eb61455530252bba8b2c8d4bc9832960e5a56f6\npubsub: v1 replace IAM HTTP rules\n\nPiperOrigin-RevId: 297188590\n\n80b2d25f8d43d9d47024ff06ead7f7166548a7ba\nDialogflow weekly v2/v2beta1 library update:\n - updates to mega agent api\n - adding field mask override control for output audio config\nImportant updates are also posted at:\nhttps://cloud.google.com/dialogflow/docs/release-notes\n\nPiperOrigin-RevId: 297187629\n\n0b1876b35e98f560f9c9ca9797955f020238a092\nUse an older version of protoc-docs-plugin that is compatible with the specified gapic-generator and protobuf versions.\n\nprotoc-docs-plugin >=0.4.0 (see commit https://github.com/googleapis/protoc-docs-plugin/commit/979f03ede6678c487337f3d7e88bae58df5207af) is incompatible with protobuf 3.9.1.\n\nPiperOrigin-RevId: 296986742\n\n" + "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" } }, {