diff --git a/google-api-grpc/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlGrpc.java b/google-api-grpc/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlGrpc.java index 7e4f43d52bc9..c6230758f508 100644 --- a/google-api-grpc/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlGrpc.java +++ b/google-api-grpc/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/AutoMlGrpc.java @@ -1666,8 +1666,7 @@ 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 and Tables; all other domains manage deployment automatically. * Returns an empty response in the * [response][google.longrunning.Operation.response] field when it completes. * @@ -2276,8 +2275,7 @@ 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 and Tables; all other domains manage deployment automatically. * Returns an empty response in the * [response][google.longrunning.Operation.response] field when it completes. * @@ -2687,8 +2685,7 @@ 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 and Tables; all other domains manage deployment automatically. * Returns an empty response in the * [response][google.longrunning.Operation.response] field when it completes. * @@ -3090,8 +3087,7 @@ 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 and Tables; all other domains manage deployment automatically. * Returns an empty response in the * [response][google.longrunning.Operation.response] field when it completes. * diff --git a/google-api-grpc/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceGrpc.java b/google-api-grpc/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceGrpc.java index 2f122a430199..40dbf4f7fc2b 100644 --- a/google-api-grpc/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceGrpc.java +++ b/google-api-grpc/grpc-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceGrpc.java @@ -183,6 +183,8 @@ public abstract static class PredictionServiceImplBase implements io.grpc.Bindab * * Tables - Row, with column values matching the columns of the model, * up to 5MB. Not available for FORECASTING * [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]. + * * Text Sentiment - TextSnippet, content up 500 characters, UTF-8 + * encoded. * */ public void predict( @@ -203,9 +205,10 @@ public void predict( * 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 * * Video Classification - * * Video Object Tracking - * * Text Extraction + * * Video Object Tracking * Text Extraction * * Tables * */ @@ -279,6 +282,8 @@ protected PredictionServiceStub build( * * Tables - Row, with column values matching the columns of the model, * up to 5MB. Not available for FORECASTING * [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]. + * * Text Sentiment - TextSnippet, content up 500 characters, UTF-8 + * encoded. * */ public void predict( @@ -302,9 +307,10 @@ public void predict( * 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 * * Video Classification - * * Video Object Tracking - * * Text Extraction + * * Video Object Tracking * Text Extraction * * Tables * */ @@ -364,6 +370,8 @@ protected PredictionServiceBlockingStub build( * * Tables - Row, with column values matching the columns of the model, * up to 5MB. Not available for FORECASTING * [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]. + * * Text Sentiment - TextSnippet, content up 500 characters, UTF-8 + * encoded. * */ public com.google.cloud.automl.v1beta1.PredictResponse predict( @@ -382,9 +390,10 @@ public com.google.cloud.automl.v1beta1.PredictResponse predict( * 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 * * Video Classification - * * Video Object Tracking - * * Text Extraction + * * Video Object Tracking * Text Extraction * * Tables * */ @@ -440,6 +449,8 @@ protected PredictionServiceFutureStub build( * * Tables - Row, with column values matching the columns of the model, * up to 5MB. Not available for FORECASTING * [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]. + * * Text Sentiment - TextSnippet, content up 500 characters, UTF-8 + * encoded. * */ public com.google.common.util.concurrent.ListenableFuture< @@ -460,9 +471,10 @@ protected PredictionServiceFutureStub build( * 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 * * Video Classification - * * Video Object Tracking - * * Text Extraction + * * Video Object Tracking * Text Extraction * * Tables * */ diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictInputConfig.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictInputConfig.java index 225318cf2734..93f945048fae 100644 --- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictInputConfig.java +++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictInputConfig.java @@ -15,6 +15,26 @@ * The formats are represented in EBNF with commas being literal and with * non-terminal symbols defined near the end of this comment. The formats * are: + * * For Image Classification: + * CSV file(s) with each line having just a single column: + * GCS_FILE_PATH + * which leads to image of up to 30MB in size. Supported + * extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in + * the Batch predict output. + * Three sample rows: + * gs://folder/image1.jpeg + * gs://folder/image2.gif + * gs://folder/image3.png + * * For Image Object Detection: + * CSV file(s) with each line having just a single column: + * GCS_FILE_PATH + * which leads to image of up to 30MB in size. Supported + * extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in + * the Batch predict output. + * Three sample rows: + * gs://folder/image1.jpeg + * gs://folder/image2.gif + * gs://folder/image3.png * * For Video Classification: * CSV file(s) with each line in format: * GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END @@ -37,6 +57,26 @@ * gs://folder/video1.mp4,10,240 * gs://folder/video1.mp4,300,360 * gs://folder/vid2.mov,0,inf + * * For Text Classification: + * CSV file(s) with each line having just a single column: + * GCS_FILE_PATH | TEXT_SNIPPET + * Any given text file can have size upto 128kB. + * Any given text snippet content must have 60,000 characters or less. + * Three sample rows: + * gs://folder/text1.txt + * "Some text content to predict" + * gs://folder/text3.pdf + * Supported file extensions: .txt, .pdf + * * For Text Sentiment: + * CSV file(s) with each line having just a single column: + * GCS_FILE_PATH | TEXT_SNIPPET + * Any given text file can have size upto 128kB. + * Any given text snippet content must have 500 characters or less. + * Three sample rows: + * gs://folder/text1.txt + * "Some text content to predict" + * gs://folder/text3.pdf + * Supported file extensions: .txt, .pdf * * For Text Extraction * .JSONL (i.e. JSON Lines) file(s) which either provide text in-line or * as documents (for a single BatchPredict call only one of the these @@ -107,79 +147,40 @@ * 100GB or smaller, where first file must have a header containing * column names. If the first row of a subsequent file is the same as * the header, then it is also treated as a header. All other rows - * contain values for the corresponding columns. For all - * CLASSIFICATION and REGRESSION - * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: - * The column names must contain the model's + * contain values for the corresponding columns. + * The column names must contain the model's * [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] * [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] - * (order doesn't matter). The columns corresponding to the model's - * input feature column specs must contain values compatible with - * the column spec's data types. Prediction on all the rows, i.e. - * the CSV lines, will be attempted. First three sample rows of a - * CSV file: + * (order doesn't matter). The columns corresponding to the model's + * input feature column specs must contain values compatible with the + * column spec's data types. Prediction on all the rows, i.e. the CSV + * lines, will be attempted. For FORECASTING + * [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: + * all columns having + * [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType] + * type will be ignored. + * First three sample rows of a CSV file: * "First Name","Last Name","Dob","Addresses" * "John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]" * "Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]} - * For FORECASTING - * [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: - * The column names must contain the union of the model's - * [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] - * [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] - * and - * [target_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] - * [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name] - * (order doesn't matter), with values compatible with these column - * specs data types, except as specified below. - * The input rows must contain not only the to-be-predicted rows - * but also the historical data rows, even if they would be - * identical as the ones on which the model has been trained. - * The historical rows must have non-NULL target column - * values. The to-be-predicted rows must have NULL values in the - * target column and all columns having - * [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType.KEY] - * type, regardless if these columns are - * [nullable][google.cloud.automl.v1beta1.DataType.nullable]. - * Prediction only on the to-be-predicted rows will be attempted. - * First four sample rows of a CSV file: - * "Year","City","OlympicsThatYear","Population","WaterUsedGigaGallons" - * "2000","NYC","true","8008278","452.7" - * "2001","NYC","false","8024963","432.2" - * "2002","NYC","true","","" * BigQuery case: * An URI of a BigQuery table. The user data size of the BigQuery * table must be 100GB or smaller. - * For all CLASSIFICATION and REGRESSION - * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: - * The column names must contain the model's + * The column names must contain the model's * [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] * [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] - * (order doesn't matter). The columns corresponding to the model's - * input feature column specs must contain values compatible with - * the column spec's data types. Prediction on all the rows of the - * table will be attempted. - * For FORECASTING + * (order doesn't matter). The columns corresponding to the model's + * input feature column specs must contain values compatible with the + * column spec's data types. Prediction on all the rows of the table + * will be attempted. For FORECASTING * [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: - * The column names must contain the union of the model's - * [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] - * [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] - * and - * [target_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] - * [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name] - * (order doesn't matter), with values compatible with these column - * specs data types, except as specified below. - * The table's rows must contain not only the to-be-predicted rows - * but also the historical data rows, even if they would be - * identical as the ones on which the model has been trained. - * The historical rows must have non-NULL target column values. - * The to-be-predicted rows must have NULL values in the - * target column and all columns having - * [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType.KEY] - * type, regardless if these columns are - * [nullable][google.cloud.automl.v1beta1.DataType.nullable]. - * Prediction only on the to-be-predicted rows will be attempted. + * all columns having + * [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType] + * type will be ignored. * Definitions: * GCS_FILE_PATH = A path to file on GCS, e.g. "gs://folder/video.avi". + * TEXT_SNIPPET = A content of a text snippet, UTF-8 encoded, enclosed within + * double quotes ("") * TIME_SEGMENT_START = TIME_OFFSET * Expresses a beginning, inclusive, of a time segment * within an @@ -633,6 +634,26 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * The formats are represented in EBNF with commas being literal and with * non-terminal symbols defined near the end of this comment. The formats * are: + * * For Image Classification: + * CSV file(s) with each line having just a single column: + * GCS_FILE_PATH + * which leads to image of up to 30MB in size. Supported + * extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in + * the Batch predict output. + * Three sample rows: + * gs://folder/image1.jpeg + * gs://folder/image2.gif + * gs://folder/image3.png + * * For Image Object Detection: + * CSV file(s) with each line having just a single column: + * GCS_FILE_PATH + * which leads to image of up to 30MB in size. Supported + * extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in + * the Batch predict output. + * Three sample rows: + * gs://folder/image1.jpeg + * gs://folder/image2.gif + * gs://folder/image3.png * * For Video Classification: * CSV file(s) with each line in format: * GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END @@ -655,6 +676,26 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * gs://folder/video1.mp4,10,240 * gs://folder/video1.mp4,300,360 * gs://folder/vid2.mov,0,inf + * * For Text Classification: + * CSV file(s) with each line having just a single column: + * GCS_FILE_PATH | TEXT_SNIPPET + * Any given text file can have size upto 128kB. + * Any given text snippet content must have 60,000 characters or less. + * Three sample rows: + * gs://folder/text1.txt + * "Some text content to predict" + * gs://folder/text3.pdf + * Supported file extensions: .txt, .pdf + * * For Text Sentiment: + * CSV file(s) with each line having just a single column: + * GCS_FILE_PATH | TEXT_SNIPPET + * Any given text file can have size upto 128kB. + * Any given text snippet content must have 500 characters or less. + * Three sample rows: + * gs://folder/text1.txt + * "Some text content to predict" + * gs://folder/text3.pdf + * Supported file extensions: .txt, .pdf * * For Text Extraction * .JSONL (i.e. JSON Lines) file(s) which either provide text in-line or * as documents (for a single BatchPredict call only one of the these @@ -725,79 +766,40 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * 100GB or smaller, where first file must have a header containing * column names. If the first row of a subsequent file is the same as * the header, then it is also treated as a header. All other rows - * contain values for the corresponding columns. For all - * CLASSIFICATION and REGRESSION - * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: - * The column names must contain the model's + * contain values for the corresponding columns. + * The column names must contain the model's * [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] * [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] - * (order doesn't matter). The columns corresponding to the model's - * input feature column specs must contain values compatible with - * the column spec's data types. Prediction on all the rows, i.e. - * the CSV lines, will be attempted. First three sample rows of a - * CSV file: + * (order doesn't matter). The columns corresponding to the model's + * input feature column specs must contain values compatible with the + * column spec's data types. Prediction on all the rows, i.e. the CSV + * lines, will be attempted. For FORECASTING + * [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: + * all columns having + * [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType] + * type will be ignored. + * First three sample rows of a CSV file: * "First Name","Last Name","Dob","Addresses" * "John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]" * "Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]} - * For FORECASTING - * [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: - * The column names must contain the union of the model's - * [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] - * [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] - * and - * [target_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] - * [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name] - * (order doesn't matter), with values compatible with these column - * specs data types, except as specified below. - * The input rows must contain not only the to-be-predicted rows - * but also the historical data rows, even if they would be - * identical as the ones on which the model has been trained. - * The historical rows must have non-NULL target column - * values. The to-be-predicted rows must have NULL values in the - * target column and all columns having - * [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType.KEY] - * type, regardless if these columns are - * [nullable][google.cloud.automl.v1beta1.DataType.nullable]. - * Prediction only on the to-be-predicted rows will be attempted. - * First four sample rows of a CSV file: - * "Year","City","OlympicsThatYear","Population","WaterUsedGigaGallons" - * "2000","NYC","true","8008278","452.7" - * "2001","NYC","false","8024963","432.2" - * "2002","NYC","true","","" * BigQuery case: * An URI of a BigQuery table. The user data size of the BigQuery * table must be 100GB or smaller. - * For all CLASSIFICATION and REGRESSION - * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: - * The column names must contain the model's + * The column names must contain the model's * [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] * [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] - * (order doesn't matter). The columns corresponding to the model's - * input feature column specs must contain values compatible with - * the column spec's data types. Prediction on all the rows of the - * table will be attempted. - * For FORECASTING + * (order doesn't matter). The columns corresponding to the model's + * input feature column specs must contain values compatible with the + * column spec's data types. Prediction on all the rows of the table + * will be attempted. For FORECASTING * [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]: - * The column names must contain the union of the model's - * [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs] - * [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name] - * and - * [target_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec] - * [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name] - * (order doesn't matter), with values compatible with these column - * specs data types, except as specified below. - * The table's rows must contain not only the to-be-predicted rows - * but also the historical data rows, even if they would be - * identical as the ones on which the model has been trained. - * The historical rows must have non-NULL target column values. - * The to-be-predicted rows must have NULL values in the - * target column and all columns having - * [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType.KEY] - * type, regardless if these columns are - * [nullable][google.cloud.automl.v1beta1.DataType.nullable]. - * Prediction only on the to-be-predicted rows will be attempted. + * all columns having + * [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType] + * type will be ignored. * Definitions: * GCS_FILE_PATH = A path to file on GCS, e.g. "gs://folder/video.avi". + * TEXT_SNIPPET = A content of a text snippet, UTF-8 encoded, enclosed within + * double quotes ("") * TIME_SEGMENT_START = TIME_OFFSET * Expresses a beginning, inclusive, of a time segment * within an diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictOutputConfig.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictOutputConfig.java index 982a1094ba35..d46ba73781ca 100644 --- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictOutputConfig.java +++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictOutputConfig.java @@ -11,11 +11,51 @@ * As destination the * [gcs_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.gcs_destination] * must be set unless specified otherwise for a domain. If gcs_destination is - * set then in the given directory a new directory will be created. Its name + * set then in the given directory a new directory is created. Its name * will be * "prediction-<model-display-name>-<timestamp-of-prediction-call>", * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents * of it depends on the ML problem the predictions are made for. + * * For Image Classification: + * In the created directory files `image_classification_1.jsonl`, + * `image_classification_2.jsonl`,...,`image_classification_N.jsonl` + * will be created, where N may be 1, and depends on the + * total number of the successfully predicted images and annotations. + * A single image will be listed only once with all its annotations, + * and its annotations will never be split across files. + * Each .JSONL file will contain, per line, a JSON representation of a + * proto that wraps image's "ID" : "<id_value>" followed by a list of + * zero or more AnnotationPayload protos (called annotations), which + * have classification detail populated. + * If prediction for any image failed (partially or completely), then an + * additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` + * files will be created (N depends on total number of failed + * predictions). These files will have a JSON representation of a proto + * that wraps the same "ID" : "<id_value>" but here followed by + * exactly one + * [`google.rpc.Status`](https: + * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) + * containing only `code` and `message`fields. + * * For Image Object Detection: + * In the created directory files `image_object_detection_1.jsonl`, + * `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl` + * will be created, where N may be 1, and depends on the + * total number of the successfully predicted images and annotations. + * Each .JSONL file will contain, per line, a JSON representation of a + * proto that wraps image's "ID" : "<id_value>" followed by a list of + * zero or more AnnotationPayload protos (called annotations), which + * have image_object_detection detail populated. A single image will + * be listed only once with all its annotations, and its annotations + * will never be split across files. + * If prediction for any image failed (partially or completely), then + * additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` + * files will be created (N depends on total number of failed + * predictions). These files will have a JSON representation of a proto + * that wraps the same "ID" : "<id_value>" but here followed by + * exactly one + * [`google.rpc.Status`](https: + * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) + * containing only `code` and `message`fields. * * For Video Classification: * In the created directory a video_classification.csv file, and a .JSON * file per each video classification requested in the input (i.e. each @@ -61,6 +101,46 @@ * for each frame of the video time segment the file is assigned to in * video_object_tracking.csv. All AnnotationPayload protos will have * video_object_tracking field set. + * * For Text Classification: + * In the created directory files `text_classification_1.jsonl`, + * `text_classification_2.jsonl`,...,`text_classification_N.jsonl` + * will be created, where N may be 1, and depends on the + * total number of inputs and annotations found. + * Each .JSONL file will contain, per line, a JSON representation of a + * proto that wraps input text snippet or input text file and a list of + * zero or more AnnotationPayload protos (called annotations), which + * have classification detail populated. A single text snippet or file + * will be listed only once with all its annotations, and its + * annotations will never be split across files. + * If prediction for any text snippet or file failed (partially or + * completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., + * `errors_N.jsonl` files will be created (N depends on total number of + * failed predictions). These files will have a JSON representation of a + * proto that wraps input text snippet or input text file followed by + * exactly one + * [`google.rpc.Status`](https: + * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) + * containing only `code` and `message`. + * * For Text Sentiment: + * In the created directory files `text_sentiment_1.jsonl`, + * `text_sentiment_2.jsonl`,...,`text_sentiment_N.jsonl` + * will be created, where N may be 1, and depends on the + * total number of inputs and annotations found. + * Each .JSONL file will contain, per line, a JSON representation of a + * proto that wraps input text snippet or input text file and a list of + * zero or more AnnotationPayload protos (called annotations), which + * have text_sentiment detail populated. A single text snippet or file + * will be listed only once with all its annotations, and its + * annotations will never be split across files. + * If prediction for any text snippet or file failed (partially or + * completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., + * `errors_N.jsonl` files will be created (N depends on total number of + * failed predictions). These files will have a JSON representation of a + * proto that wraps input text snippet or input text file followed by + * exactly one + * [`google.rpc.Status`](https: + * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) + * containing only `code` and `message`. * * For Text Extraction: * In the created directory files `text_extraction_1.jsonl`, * `text_extraction_2.jsonl`,...,`text_extraction_N.jsonl` @@ -70,7 +150,8 @@ * used inline text, or documents. * If input was inline, then each .JSONL file will contain, per line, * a JSON representation of a proto that wraps given in request text - * snippet's "id" : "<id_value>" followed by a list of zero or more + * snippet's "id" (if specified), followed by input text snippet, + * and a list of zero or more * AnnotationPayload protos (called annotations), which have * text_extraction detail populated. A single text snippet will be * listed only once with all its annotations, and its annotations will @@ -608,11 +689,51 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * As destination the * [gcs_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.gcs_destination] * must be set unless specified otherwise for a domain. If gcs_destination is - * set then in the given directory a new directory will be created. Its name + * set then in the given directory a new directory is created. Its name * will be * "prediction-<model-display-name>-<timestamp-of-prediction-call>", * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents * of it depends on the ML problem the predictions are made for. + * * For Image Classification: + * In the created directory files `image_classification_1.jsonl`, + * `image_classification_2.jsonl`,...,`image_classification_N.jsonl` + * will be created, where N may be 1, and depends on the + * total number of the successfully predicted images and annotations. + * A single image will be listed only once with all its annotations, + * and its annotations will never be split across files. + * Each .JSONL file will contain, per line, a JSON representation of a + * proto that wraps image's "ID" : "<id_value>" followed by a list of + * zero or more AnnotationPayload protos (called annotations), which + * have classification detail populated. + * If prediction for any image failed (partially or completely), then an + * additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` + * files will be created (N depends on total number of failed + * predictions). These files will have a JSON representation of a proto + * that wraps the same "ID" : "<id_value>" but here followed by + * exactly one + * [`google.rpc.Status`](https: + * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) + * containing only `code` and `message`fields. + * * For Image Object Detection: + * In the created directory files `image_object_detection_1.jsonl`, + * `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl` + * will be created, where N may be 1, and depends on the + * total number of the successfully predicted images and annotations. + * Each .JSONL file will contain, per line, a JSON representation of a + * proto that wraps image's "ID" : "<id_value>" followed by a list of + * zero or more AnnotationPayload protos (called annotations), which + * have image_object_detection detail populated. A single image will + * be listed only once with all its annotations, and its annotations + * will never be split across files. + * If prediction for any image failed (partially or completely), then + * additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl` + * files will be created (N depends on total number of failed + * predictions). These files will have a JSON representation of a proto + * that wraps the same "ID" : "<id_value>" but here followed by + * exactly one + * [`google.rpc.Status`](https: + * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) + * containing only `code` and `message`fields. * * For Video Classification: * In the created directory a video_classification.csv file, and a .JSON * file per each video classification requested in the input (i.e. each @@ -658,6 +779,46 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * for each frame of the video time segment the file is assigned to in * video_object_tracking.csv. All AnnotationPayload protos will have * video_object_tracking field set. + * * For Text Classification: + * In the created directory files `text_classification_1.jsonl`, + * `text_classification_2.jsonl`,...,`text_classification_N.jsonl` + * will be created, where N may be 1, and depends on the + * total number of inputs and annotations found. + * Each .JSONL file will contain, per line, a JSON representation of a + * proto that wraps input text snippet or input text file and a list of + * zero or more AnnotationPayload protos (called annotations), which + * have classification detail populated. A single text snippet or file + * will be listed only once with all its annotations, and its + * annotations will never be split across files. + * If prediction for any text snippet or file failed (partially or + * completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., + * `errors_N.jsonl` files will be created (N depends on total number of + * failed predictions). These files will have a JSON representation of a + * proto that wraps input text snippet or input text file followed by + * exactly one + * [`google.rpc.Status`](https: + * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) + * containing only `code` and `message`. + * * For Text Sentiment: + * In the created directory files `text_sentiment_1.jsonl`, + * `text_sentiment_2.jsonl`,...,`text_sentiment_N.jsonl` + * will be created, where N may be 1, and depends on the + * total number of inputs and annotations found. + * Each .JSONL file will contain, per line, a JSON representation of a + * proto that wraps input text snippet or input text file and a list of + * zero or more AnnotationPayload protos (called annotations), which + * have text_sentiment detail populated. A single text snippet or file + * will be listed only once with all its annotations, and its + * annotations will never be split across files. + * If prediction for any text snippet or file failed (partially or + * completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,..., + * `errors_N.jsonl` files will be created (N depends on total number of + * failed predictions). These files will have a JSON representation of a + * proto that wraps input text snippet or input text file followed by + * exactly one + * [`google.rpc.Status`](https: + * //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) + * containing only `code` and `message`. * * For Text Extraction: * In the created directory files `text_extraction_1.jsonl`, * `text_extraction_2.jsonl`,...,`text_extraction_N.jsonl` @@ -667,7 +828,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * used inline text, or documents. * If input was inline, then each .JSONL file will contain, per line, * a JSON representation of a proto that wraps given in request text - * snippet's "id" : "<id_value>" followed by a list of zero or more + * snippet's "id" (if specified), followed by input text snippet, + * and a list of zero or more * AnnotationPayload protos (called annotations), which have * text_extraction detail populated. A single text snippet will be * listed only once with all its annotations, and its annotations will diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequest.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequest.java index a9e75b5e77a5..d919f82ac05c 100644 --- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequest.java +++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequest.java @@ -311,6 +311,21 @@ public int getParamsCount() { *
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
@@ -369,6 +384,21 @@ public java.util.Map getParams() {
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
@@ -419,6 +449,21 @@ public java.util.Map getParamsMap() {
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
@@ -473,6 +518,21 @@ public java.lang.String getParamsOrDefault(java.lang.String key, java.lang.Strin
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
@@ -1447,6 +1507,21 @@ public int getParamsCount() {
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
@@ -1505,6 +1580,21 @@ public java.util.Map getParams() {
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
@@ -1555,6 +1645,21 @@ public java.util.Map getParamsMap() {
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
@@ -1610,6 +1715,21 @@ public java.lang.String getParamsOrDefault(
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
@@ -1672,6 +1792,21 @@ public Builder clearParams() {
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
@@ -1731,6 +1866,21 @@ public java.util.Map getMutableParams() {
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
@@ -1788,6 +1938,21 @@ public Builder putParams(java.lang.String key, java.lang.String value) {
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequestOrBuilder.java
index e06a8d9dd303..d2ffc3952691 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictRequestOrBuilder.java
@@ -100,6 +100,21 @@ public interface BatchPredictRequestOrBuilder
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
@@ -148,6 +163,21 @@ public interface BatchPredictRequestOrBuilder
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
@@ -199,6 +229,21 @@ public interface BatchPredictRequestOrBuilder
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
@@ -247,6 +292,21 @@ public interface BatchPredictRequestOrBuilder
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
@@ -295,6 +355,21 @@ public interface BatchPredictRequestOrBuilder
*
* Additional domain-specific parameters for the predictions, any string must
* be up to 25000 characters long.
+ * * For Text Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for a text snippet, it will only produce results
+ * that have at least this confidence score. The default is 0.5.
+ * * For Image Classification:
+ * `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ * makes predictions for an image, it will only produce results that
+ * have at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the
+ * requested value may be limited by server.
* * 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
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictResult.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictResult.java
index 60eb2423a2df..87e8a97dbf7a 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictResult.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictResult.java
@@ -39,6 +39,7 @@ private BatchPredictResult(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
+ int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -49,6 +50,21 @@ private BatchPredictResult(
case 0:
done = true;
break;
+ case 10:
+ {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+ metadata_ =
+ com.google.protobuf.MapField.newMapField(
+ MetadataDefaultEntryHolder.defaultEntry);
+ mutable_bitField0_ |= 0x00000001;
+ }
+ com.google.protobuf.MapEntry metadata__ =
+ input.readMessage(
+ MetadataDefaultEntryHolder.defaultEntry.getParserForType(),
+ extensionRegistry);
+ metadata_.getMutableMap().put(metadata__.getKey(), metadata__.getValue());
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -73,6 +89,17 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.internal_static_google_cloud_automl_v1beta1_BatchPredictResult_descriptor;
}
+ @SuppressWarnings({"rawtypes"})
+ @java.lang.Override
+ protected com.google.protobuf.MapField internalGetMapField(int number) {
+ switch (number) {
+ case 1:
+ return internalGetMetadata();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
@@ -83,6 +110,124 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.cloud.automl.v1beta1.BatchPredictResult.Builder.class);
}
+ public static final int METADATA_FIELD_NUMBER = 1;
+
+ private static final class MetadataDefaultEntryHolder {
+ static final com.google.protobuf.MapEntry defaultEntry =
+ com.google.protobuf.MapEntry.newDefaultInstance(
+ com.google.cloud.automl.v1beta1.PredictionServiceProto
+ .internal_static_google_cloud_automl_v1beta1_BatchPredictResult_MetadataEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "");
+ }
+
+ private com.google.protobuf.MapField metadata_;
+
+ private com.google.protobuf.MapField internalGetMetadata() {
+ if (metadata_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry);
+ }
+ return metadata_;
+ }
+
+ public int getMetadataCount() {
+ return internalGetMetadata().getMap().size();
+ }
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ public boolean containsMetadata(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ return internalGetMetadata().getMap().containsKey(key);
+ }
+ /** Use {@link #getMetadataMap()} instead. */
+ @java.lang.Deprecated
+ public java.util.Map getMetadata() {
+ return getMetadataMap();
+ }
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ public java.util.Map getMetadataMap() {
+ return internalGetMetadata().getMap();
+ }
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ public java.lang.String getMetadataOrDefault(
+ java.lang.String key, java.lang.String defaultValue) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map map = internalGetMetadata().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ public java.lang.String getMetadataOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map map = internalGetMetadata().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -97,6 +242,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+ output, internalGetMetadata(), MetadataDefaultEntryHolder.defaultEntry, 1);
unknownFields.writeTo(output);
}
@@ -106,6 +253,16 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
+ for (java.util.Map.Entry entry :
+ internalGetMetadata().getMap().entrySet()) {
+ com.google.protobuf.MapEntry metadata__ =
+ MetadataDefaultEntryHolder.defaultEntry
+ .newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, metadata__);
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -122,6 +279,7 @@ public boolean equals(final java.lang.Object obj) {
com.google.cloud.automl.v1beta1.BatchPredictResult other =
(com.google.cloud.automl.v1beta1.BatchPredictResult) obj;
+ if (!internalGetMetadata().equals(other.internalGetMetadata())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -133,6 +291,10 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
+ if (!internalGetMetadata().getMap().isEmpty()) {
+ hash = (37 * hash) + METADATA_FIELD_NUMBER;
+ hash = (53 * hash) + internalGetMetadata().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -253,6 +415,26 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
.internal_static_google_cloud_automl_v1beta1_BatchPredictResult_descriptor;
}
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapField internalGetMapField(int number) {
+ switch (number) {
+ case 1:
+ return internalGetMetadata();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
+ @SuppressWarnings({"rawtypes"})
+ protected com.google.protobuf.MapField internalGetMutableMapField(int number) {
+ switch (number) {
+ case 1:
+ return internalGetMutableMetadata();
+ default:
+ throw new RuntimeException("Invalid map field number: " + number);
+ }
+ }
+
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
@@ -280,6 +462,7 @@ private void maybeForceBuilderInitialization() {
@java.lang.Override
public Builder clear() {
super.clear();
+ internalGetMutableMetadata().clear();
return this;
}
@@ -307,6 +490,9 @@ public com.google.cloud.automl.v1beta1.BatchPredictResult build() {
public com.google.cloud.automl.v1beta1.BatchPredictResult buildPartial() {
com.google.cloud.automl.v1beta1.BatchPredictResult result =
new com.google.cloud.automl.v1beta1.BatchPredictResult(this);
+ int from_bitField0_ = bitField0_;
+ result.metadata_ = internalGetMetadata();
+ result.metadata_.makeImmutable();
onBuilt();
return result;
}
@@ -357,6 +543,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
public Builder mergeFrom(com.google.cloud.automl.v1beta1.BatchPredictResult other) {
if (other == com.google.cloud.automl.v1beta1.BatchPredictResult.getDefaultInstance())
return this;
+ internalGetMutableMetadata().mergeFrom(other.internalGetMetadata());
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -387,6 +574,203 @@ public Builder mergeFrom(
return this;
}
+ private int bitField0_;
+
+ private com.google.protobuf.MapField metadata_;
+
+ private com.google.protobuf.MapField internalGetMetadata() {
+ if (metadata_ == null) {
+ return com.google.protobuf.MapField.emptyMapField(MetadataDefaultEntryHolder.defaultEntry);
+ }
+ return metadata_;
+ }
+
+ private com.google.protobuf.MapField
+ internalGetMutableMetadata() {
+ onChanged();
+ ;
+ if (metadata_ == null) {
+ metadata_ =
+ com.google.protobuf.MapField.newMapField(MetadataDefaultEntryHolder.defaultEntry);
+ }
+ if (!metadata_.isMutable()) {
+ metadata_ = metadata_.copy();
+ }
+ return metadata_;
+ }
+
+ public int getMetadataCount() {
+ return internalGetMetadata().getMap().size();
+ }
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ public boolean containsMetadata(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ return internalGetMetadata().getMap().containsKey(key);
+ }
+ /** Use {@link #getMetadataMap()} instead. */
+ @java.lang.Deprecated
+ public java.util.Map getMetadata() {
+ return getMetadataMap();
+ }
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ public java.util.Map getMetadataMap() {
+ return internalGetMetadata().getMap();
+ }
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ public java.lang.String getMetadataOrDefault(
+ java.lang.String key, java.lang.String defaultValue) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map map = internalGetMetadata().getMap();
+ return map.containsKey(key) ? map.get(key) : defaultValue;
+ }
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ public java.lang.String getMetadataOrThrow(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ java.util.Map map = internalGetMetadata().getMap();
+ if (!map.containsKey(key)) {
+ throw new java.lang.IllegalArgumentException();
+ }
+ return map.get(key);
+ }
+
+ public Builder clearMetadata() {
+ internalGetMutableMetadata().getMutableMap().clear();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ public Builder removeMetadata(java.lang.String key) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ internalGetMutableMetadata().getMutableMap().remove(key);
+ return this;
+ }
+ /** Use alternate mutation accessors instead. */
+ @java.lang.Deprecated
+ public java.util.Map getMutableMetadata() {
+ return internalGetMutableMetadata().getMutableMap();
+ }
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ public Builder putMetadata(java.lang.String key, java.lang.String value) {
+ if (key == null) {
+ throw new java.lang.NullPointerException();
+ }
+ if (value == null) {
+ throw new java.lang.NullPointerException();
+ }
+ internalGetMutableMetadata().getMutableMap().put(key, value);
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ public Builder putAllMetadata(java.util.Map values) {
+ internalGetMutableMetadata().getMutableMap().putAll(values);
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictResultOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictResultOrBuilder.java
index fac4a053aff9..3e2c587a0250 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictResultOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictResultOrBuilder.java
@@ -6,4 +6,89 @@
public interface BatchPredictResultOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.automl.v1beta1.BatchPredictResult)
- com.google.protobuf.MessageOrBuilder {}
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ int getMetadataCount();
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ boolean containsMetadata(java.lang.String key);
+ /** Use {@link #getMetadataMap()} instead. */
+ @java.lang.Deprecated
+ java.util.Map getMetadata();
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ java.util.Map getMetadataMap();
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ java.lang.String getMetadataOrDefault(java.lang.String key, java.lang.String defaultValue);
+ /**
+ *
+ *
+ *
+ * Additional domain-specific prediction response metadata.
+ * * For Image Object Detection:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * image could have been returned.
+ * * For Video Object Tracking:
+ * `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ * frame could have been returned.
+ *
+ *
+ * map<string, string> metadata = 1;
+ */
+ java.lang.String getMetadataOrThrow(java.lang.String key);
+}
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ClassificationProto.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ClassificationProto.java
index 005bfce13ac8..fffd21d331c9 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ClassificationProto.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ClassificationProto.java
@@ -4543,6 +4543,67 @@ public interface ConfusionMatrixOrBuilder
*/
com.google.protobuf.ByteString getAnnotationSpecIdBytes(int index);
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ java.util.List getDisplayNameList();
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ int getDisplayNameCount();
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ java.lang.String getDisplayName(int index);
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ com.google.protobuf.ByteString getDisplayNameBytes(int index);
+
/**
*
*
@@ -4657,6 +4718,7 @@ private ConfusionMatrix(com.google.protobuf.GeneratedMessageV3.Builder> builde
private ConfusionMatrix() {
annotationSpecId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ displayName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
row_ = java.util.Collections.emptyList();
}
@@ -4696,12 +4758,12 @@ private ConfusionMatrix(
}
case 18:
{
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000004) != 0)) {
row_ =
new java.util.ArrayList<
com.google.cloud.automl.v1beta1.ClassificationProto
.ClassificationEvaluationMetrics.ConfusionMatrix.Row>();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000004;
}
row_.add(
input.readMessage(
@@ -4710,6 +4772,16 @@ private ConfusionMatrix(
extensionRegistry));
break;
}
+ case 26:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ displayName_ = new com.google.protobuf.LazyStringArrayList();
+ mutable_bitField0_ |= 0x00000002;
+ }
+ displayName_.add(s);
+ break;
+ }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -4728,9 +4800,12 @@ private ConfusionMatrix(
if (((mutable_bitField0_ & 0x00000001) != 0)) {
annotationSpecId_ = annotationSpecId_.getUnmodifiableView();
}
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000004) != 0)) {
row_ = java.util.Collections.unmodifiableList(row_);
}
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ displayName_ = displayName_.getUnmodifiableView();
+ }
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
@@ -5630,6 +5705,77 @@ public com.google.protobuf.ByteString getAnnotationSpecIdBytes(int index) {
return annotationSpecId_.getByteString(index);
}
+ public static final int DISPLAY_NAME_FIELD_NUMBER = 3;
+ private com.google.protobuf.LazyStringList displayName_;
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ public com.google.protobuf.ProtocolStringList getDisplayNameList() {
+ return displayName_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ public int getDisplayNameCount() {
+ return displayName_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ public java.lang.String getDisplayName(int index) {
+ return displayName_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ public com.google.protobuf.ByteString getDisplayNameBytes(int index) {
+ return displayName_.getByteString(index);
+ }
+
public static final int ROW_FIELD_NUMBER = 2;
private java.util.List<
com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationEvaluationMetrics
@@ -5758,6 +5904,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < row_.size(); i++) {
output.writeMessage(2, row_.get(i));
}
+ for (int i = 0; i < displayName_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, displayName_.getRaw(i));
+ }
unknownFields.writeTo(output);
}
@@ -5778,6 +5927,14 @@ public int getSerializedSize() {
for (int i = 0; i < row_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, row_.get(i));
}
+ {
+ int dataSize = 0;
+ for (int i = 0; i < displayName_.size(); i++) {
+ dataSize += computeStringSizeNoTag(displayName_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getDisplayNameList().size();
+ }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -5802,6 +5959,7 @@ public boolean equals(final java.lang.Object obj) {
obj;
if (!getAnnotationSpecIdList().equals(other.getAnnotationSpecIdList())) return false;
+ if (!getDisplayNameList().equals(other.getDisplayNameList())) return false;
if (!getRowList().equals(other.getRowList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
@@ -5818,6 +5976,10 @@ public int hashCode() {
hash = (37 * hash) + ANNOTATION_SPEC_ID_FIELD_NUMBER;
hash = (53 * hash) + getAnnotationSpecIdList().hashCode();
}
+ if (getDisplayNameCount() > 0) {
+ hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getDisplayNameList().hashCode();
+ }
if (getRowCount() > 0) {
hash = (37 * hash) + ROW_FIELD_NUMBER;
hash = (53 * hash) + getRowList().hashCode();
@@ -6001,9 +6163,11 @@ public Builder clear() {
super.clear();
annotationSpecId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
+ displayName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000002);
if (rowBuilder_ == null) {
row_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
rowBuilder_.clear();
}
@@ -6052,10 +6216,15 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
bitField0_ = (bitField0_ & ~0x00000001);
}
result.annotationSpecId_ = annotationSpecId_;
+ if (((bitField0_ & 0x00000002) != 0)) {
+ displayName_ = displayName_.getUnmodifiableView();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.displayName_ = displayName_;
if (rowBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
row_ = java.util.Collections.unmodifiableList(row_);
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
}
result.row_ = row_;
} else {
@@ -6133,11 +6302,21 @@ public Builder mergeFrom(
}
onChanged();
}
+ if (!other.displayName_.isEmpty()) {
+ if (displayName_.isEmpty()) {
+ displayName_ = other.displayName_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureDisplayNameIsMutable();
+ displayName_.addAll(other.displayName_);
+ }
+ onChanged();
+ }
if (rowBuilder_ == null) {
if (!other.row_.isEmpty()) {
if (row_.isEmpty()) {
row_ = other.row_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureRowIsMutable();
row_.addAll(other.row_);
@@ -6150,7 +6329,7 @@ public Builder mergeFrom(
rowBuilder_.dispose();
rowBuilder_ = null;
row_ = other.row_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
rowBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getRowFieldBuilder()
@@ -6366,18 +6545,206 @@ public Builder addAnnotationSpecIdBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private com.google.protobuf.LazyStringList displayName_ =
+ com.google.protobuf.LazyStringArrayList.EMPTY;
+
+ private void ensureDisplayNameIsMutable() {
+ if (!((bitField0_ & 0x00000002) != 0)) {
+ displayName_ = new com.google.protobuf.LazyStringArrayList(displayName_);
+ bitField0_ |= 0x00000002;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ public com.google.protobuf.ProtocolStringList getDisplayNameList() {
+ return displayName_.getUnmodifiableView();
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ public int getDisplayNameCount() {
+ return displayName_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ public java.lang.String getDisplayName(int index) {
+ return displayName_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ public com.google.protobuf.ByteString getDisplayNameBytes(int index) {
+ return displayName_.getByteString(index);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ public Builder setDisplayName(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDisplayNameIsMutable();
+ displayName_.set(index, value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ public Builder addDisplayName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDisplayNameIsMutable();
+ displayName_.add(value);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ public Builder addAllDisplayName(java.lang.Iterable values) {
+ ensureDisplayNameIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, displayName_);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ public Builder clearDisplayName() {
+ displayName_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Display name of the annotation specs used in the confusion
+ * matrix, as they were at the moment of the evaluation. For Tables
+ * CLASSIFICATION
+ * [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ * distinct values of the target column at the moment of the model
+ * evaluation are populated here.
+ *
+ *
+ * repeated string display_name = 3;
+ */
+ public Builder addDisplayNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureDisplayNameIsMutable();
+ displayName_.add(value);
+ onChanged();
+ return this;
+ }
+
private java.util.List<
com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationEvaluationMetrics
.ConfusionMatrix.Row>
row_ = java.util.Collections.emptyList();
private void ensureRowIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000004) != 0)) {
row_ =
new java.util.ArrayList<
com.google.cloud.automl.v1beta1.ClassificationProto
.ClassificationEvaluationMetrics.ConfusionMatrix.Row>(row_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000004;
}
}
@@ -6690,7 +7057,7 @@ public Builder addAllRow(
public Builder clearRow() {
if (rowBuilder_ == null) {
row_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
rowBuilder_.clear();
@@ -6878,7 +7245,7 @@ public Builder removeRow(int index) {
.ClassificationEvaluationMetrics.ConfusionMatrix.Row.Builder,
com.google.cloud.automl.v1beta1.ClassificationProto
.ClassificationEvaluationMetrics.ConfusionMatrix.RowOrBuilder>(
- row_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+ row_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
row_ = null;
}
return rowBuilder_;
@@ -9026,7 +9393,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ " \001(\t\022X\n\031classification_annotation\030\002 \001(\0132"
+ "5.google.cloud.automl.v1beta1.Classifica"
+ "tionAnnotation\022>\n\014time_segment\030\003 \001(\0132(.g"
- + "oogle.cloud.automl.v1beta1.TimeSegment\"\223"
+ + "oogle.cloud.automl.v1beta1.TimeSegment\"\251"
+ "\007\n\037ClassificationEvaluationMetrics\022\016\n\006au"
+ "_prc\030\001 \001(\002\022\027\n\013base_au_prc\030\002 \001(\002B\002\030\001\022\016\n\006a"
+ "u_roc\030\006 \001(\002\022\020\n\010log_loss\030\007 \001(\002\022u\n\030confide"
@@ -9045,19 +9412,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\001(\002\022\024\n\014f1_score_at1\030\007 \001(\002\022\033\n\023true_positi"
+ "ve_count\030\n \001(\003\022\034\n\024false_positive_count\030\013"
+ " \001(\003\022\034\n\024false_negative_count\030\014 \001(\003\022\033\n\023tr"
- + "ue_negative_count\030\r \001(\003\032\252\001\n\017ConfusionMat"
- + "rix\022\032\n\022annotation_spec_id\030\001 \003(\t\022]\n\003row\030\002"
- + " \003(\0132P.google.cloud.automl.v1beta1.Class"
- + "ificationEvaluationMetrics.ConfusionMatr"
- + "ix.Row\032\034\n\003Row\022\025\n\rexample_count\030\001 \003(\005*Y\n\022"
- + "ClassificationType\022#\n\037CLASSIFICATION_TYP"
- + "E_UNSPECIFIED\020\000\022\016\n\nMULTICLASS\020\001\022\016\n\nMULTI"
- + "LABEL\020\002B\270\001\n\037com.google.cloud.automl.v1be"
- + "ta1B\023ClassificationProtoZAgoogle.golang."
- + "org/genproto/googleapis/cloud/automl/v1b"
- + "eta1;automl\312\002\033Google\\Cloud\\AutoMl\\V1beta"
- + "1\352\002\036Google::Cloud::AutoML::V1beta1b\006prot"
- + "o3"
+ + "ue_negative_count\030\r \001(\003\032\300\001\n\017ConfusionMat"
+ + "rix\022\032\n\022annotation_spec_id\030\001 \003(\t\022\024\n\014displ"
+ + "ay_name\030\003 \003(\t\022]\n\003row\030\002 \003(\0132P.google.clou"
+ + "d.automl.v1beta1.ClassificationEvaluatio"
+ + "nMetrics.ConfusionMatrix.Row\032\034\n\003Row\022\025\n\re"
+ + "xample_count\030\001 \003(\005*Y\n\022ClassificationType"
+ + "\022#\n\037CLASSIFICATION_TYPE_UNSPECIFIED\020\000\022\016\n"
+ + "\nMULTICLASS\020\001\022\016\n\nMULTILABEL\020\002B\270\001\n\037com.go"
+ + "ogle.cloud.automl.v1beta1B\023Classificatio"
+ + "nProtoZAgoogle.golang.org/genproto/googl"
+ + "eapis/cloud/automl/v1beta1;automl\312\002\033Goog"
+ + "le\\Cloud\\AutoMl\\V1beta1\352\002\036Google::Cloud:"
+ + ":AutoML::V1beta1b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -9135,7 +9502,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_automl_v1beta1_ClassificationEvaluationMetrics_ConfusionMatrix_descriptor,
new java.lang.String[] {
- "AnnotationSpecId", "Row",
+ "AnnotationSpecId", "DisplayName", "Row",
});
internal_static_google_cloud_automl_v1beta1_ClassificationEvaluationMetrics_ConfusionMatrix_Row_descriptor =
internal_static_google_cloud_automl_v1beta1_ClassificationEvaluationMetrics_ConfusionMatrix_descriptor
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpec.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpec.java
index f780e6b95f11..d6441d36b5e1 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpec.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpec.java
@@ -1297,12 +1297,7 @@ public com.google.cloud.automl.v1beta1.DataStatsOrBuilder getDataStatsOrBuilder(
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -1317,12 +1312,7 @@ public com.google.cloud.automl.v1beta1.DataStatsOrBuilder getDataStatsOrBuilder(
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -1338,12 +1328,7 @@ public com.google.cloud.automl.v1beta1.DataStatsOrBuilder getDataStatsOrBuilder(
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -1357,12 +1342,7 @@ public int getTopCorrelatedColumnsCount() {
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -1377,12 +1357,7 @@ public com.google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn getTopCorrela
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2531,12 +2506,7 @@ private void ensureTopCorrelatedColumnsIsMutable() {
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2555,12 +2525,7 @@ private void ensureTopCorrelatedColumnsIsMutable() {
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2578,12 +2543,7 @@ public int getTopCorrelatedColumnsCount() {
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2602,12 +2562,7 @@ public com.google.cloud.automl.v1beta1.ColumnSpec.CorrelatedColumn getTopCorrela
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2632,12 +2587,7 @@ public Builder setTopCorrelatedColumns(
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2660,12 +2610,7 @@ public Builder setTopCorrelatedColumns(
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2690,12 +2635,7 @@ public Builder addTopCorrelatedColumns(
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2720,12 +2660,7 @@ public Builder addTopCorrelatedColumns(
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2747,12 +2682,7 @@ public Builder addTopCorrelatedColumns(
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2775,12 +2705,7 @@ public Builder addTopCorrelatedColumns(
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2803,12 +2728,7 @@ public Builder addAllTopCorrelatedColumns(
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2829,12 +2749,7 @@ public Builder clearTopCorrelatedColumns() {
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2855,12 +2770,7 @@ public Builder removeTopCorrelatedColumns(int index) {
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2875,12 +2785,7 @@ public Builder removeTopCorrelatedColumns(int index) {
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2899,12 +2804,7 @@ public Builder removeTopCorrelatedColumns(int index) {
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2924,12 +2824,7 @@ public Builder removeTopCorrelatedColumns(int index) {
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2946,12 +2841,7 @@ public Builder removeTopCorrelatedColumns(int index) {
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -2969,12 +2859,7 @@ public Builder removeTopCorrelatedColumns(int index) {
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpecOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpecOrBuilder.java
index a6fcd49ac442..a7fca8947af7 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpecOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ColumnSpecOrBuilder.java
@@ -135,12 +135,7 @@ public interface ColumnSpecOrBuilder
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -153,12 +148,7 @@ public interface ColumnSpecOrBuilder
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -170,12 +160,7 @@ public interface ColumnSpecOrBuilder
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -187,12 +172,7 @@ public interface ColumnSpecOrBuilder
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
@@ -205,12 +185,7 @@ public interface ColumnSpecOrBuilder
*
*
*
- * Output only. Top 10 most correlated with this column columns of the table,
- * ordered by
- * [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- * This field may be stale, see the ancestor's
- * Dataset.tables_dataset_metadata.stats_update_time field
- * for the timestamp at which these stats were last updated.
+ * Deprecated.
*
*
*
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionAnnotation.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionAnnotation.java
index ab3a72a18e92..f37d497236e0 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionAnnotation.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionAnnotation.java
@@ -110,8 +110,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -123,8 +122,7 @@ public boolean hasBoundingBox() {
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -138,8 +136,7 @@ public com.google.cloud.automl.v1beta1.BoundingPoly getBoundingBox() {
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -154,8 +151,7 @@ public com.google.cloud.automl.v1beta1.BoundingPolyOrBuilder getBoundingBoxOrBui
*
*
*
- * Output only.
- * The confidence that this annotation is positive for the parent example,
+ * Output only. The confidence that this annotation is positive for the parent example,
* value in [0, 1], higher means higher positivity confidence.
*
*
@@ -525,8 +521,7 @@ public Builder mergeFrom(
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -538,8 +533,7 @@ public boolean hasBoundingBox() {
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -557,8 +551,7 @@ public com.google.cloud.automl.v1beta1.BoundingPoly getBoundingBox() {
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -580,8 +573,7 @@ public Builder setBoundingBox(com.google.cloud.automl.v1beta1.BoundingPoly value
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -601,8 +593,7 @@ public Builder setBoundingBox(
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -628,8 +619,7 @@ public Builder mergeBoundingBox(com.google.cloud.automl.v1beta1.BoundingPoly val
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -649,8 +639,7 @@ public Builder clearBoundingBox() {
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -664,8 +653,7 @@ public com.google.cloud.automl.v1beta1.BoundingPoly.Builder getBoundingBoxBuilde
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -683,8 +671,7 @@ public com.google.cloud.automl.v1beta1.BoundingPolyOrBuilder getBoundingBoxOrBui
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -711,8 +698,7 @@ public com.google.cloud.automl.v1beta1.BoundingPolyOrBuilder getBoundingBoxOrBui
*
*
*
- * Output only.
- * The confidence that this annotation is positive for the parent example,
+ * Output only. The confidence that this annotation is positive for the parent example,
* value in [0, 1], higher means higher positivity confidence.
*
*
@@ -725,8 +711,7 @@ public float getScore() {
*
*
*
- * Output only.
- * The confidence that this annotation is positive for the parent example,
+ * Output only. The confidence that this annotation is positive for the parent example,
* value in [0, 1], higher means higher positivity confidence.
*
*
@@ -742,8 +727,7 @@ public Builder setScore(float value) {
*
*
*
- * Output only.
- * The confidence that this annotation is positive for the parent example,
+ * Output only. The confidence that this annotation is positive for the parent example,
* value in [0, 1], higher means higher positivity confidence.
*
*
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionAnnotationOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionAnnotationOrBuilder.java
index 8d21213b82e1..216fcf4482d2 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionAnnotationOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionAnnotationOrBuilder.java
@@ -12,8 +12,7 @@ public interface ImageObjectDetectionAnnotationOrBuilder
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -23,8 +22,7 @@ public interface ImageObjectDetectionAnnotationOrBuilder
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -34,8 +32,7 @@ public interface ImageObjectDetectionAnnotationOrBuilder
*
*
*
- * Output only.
- * The rectangle representing the object location.
+ * Output only. The rectangle representing the object location.
*
*
* .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 1;
@@ -46,8 +43,7 @@ public interface ImageObjectDetectionAnnotationOrBuilder
*
*
*
- * Output only.
- * The confidence that this annotation is positive for the parent example,
+ * Output only. The confidence that this annotation is positive for the parent example,
* value in [0, 1], higher means higher positivity confidence.
*
*
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionModelMetadata.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionModelMetadata.java
index 2b46022a6364..9105bb90018e 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionModelMetadata.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionModelMetadata.java
@@ -266,9 +266,16 @@ public com.google.protobuf.ByteString getStopReasonBytes() {
* `train_cost` will be equal or less than this value. If further model
* training ceases to provide any improvements, it will stop without using
* full budget and the stop_reason will be `MODEL_CONVERGED`.
- * Note, node_hour = actual_hour * number_of_nodes_invovled. The train budget
- * must be between 20,000 and 2,000,000 milli node hours, inclusive. The
- * default value is 216, 000 which represents one day in wall time.
+ * Note, node_hour = actual_hour * number_of_nodes_invovled.
+ * For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`,
+ * the train budget must be between 20,000 and 2,000,000 milli node hours,
+ * inclusive. The default value is 216, 000 which represents one day in
+ * wall time.
+ * For model type `mobile-low-latency-1`, `mobile-versatile-1`,
+ * `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`,
+ * `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train
+ * budget must be between 1,000 and 100,000 milli node hours, inclusive.
+ * The default value is 24, 000 which represents one day in wall time.
*
*
* int64 train_budget_milli_node_hours = 6;
@@ -1034,9 +1041,16 @@ public Builder setStopReasonBytes(com.google.protobuf.ByteString value) {
* `train_cost` will be equal or less than this value. If further model
* training ceases to provide any improvements, it will stop without using
* full budget and the stop_reason will be `MODEL_CONVERGED`.
- * Note, node_hour = actual_hour * number_of_nodes_invovled. The train budget
- * must be between 20,000 and 2,000,000 milli node hours, inclusive. The
- * default value is 216, 000 which represents one day in wall time.
+ * Note, node_hour = actual_hour * number_of_nodes_invovled.
+ * For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`,
+ * the train budget must be between 20,000 and 2,000,000 milli node hours,
+ * inclusive. The default value is 216, 000 which represents one day in
+ * wall time.
+ * For model type `mobile-low-latency-1`, `mobile-versatile-1`,
+ * `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`,
+ * `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train
+ * budget must be between 1,000 and 100,000 milli node hours, inclusive.
+ * The default value is 24, 000 which represents one day in wall time.
*
*
* int64 train_budget_milli_node_hours = 6;
@@ -1053,9 +1067,16 @@ public long getTrainBudgetMilliNodeHours() {
* `train_cost` will be equal or less than this value. If further model
* training ceases to provide any improvements, it will stop without using
* full budget and the stop_reason will be `MODEL_CONVERGED`.
- * Note, node_hour = actual_hour * number_of_nodes_invovled. The train budget
- * must be between 20,000 and 2,000,000 milli node hours, inclusive. The
- * default value is 216, 000 which represents one day in wall time.
+ * Note, node_hour = actual_hour * number_of_nodes_invovled.
+ * For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`,
+ * the train budget must be between 20,000 and 2,000,000 milli node hours,
+ * inclusive. The default value is 216, 000 which represents one day in
+ * wall time.
+ * For model type `mobile-low-latency-1`, `mobile-versatile-1`,
+ * `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`,
+ * `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train
+ * budget must be between 1,000 and 100,000 milli node hours, inclusive.
+ * The default value is 24, 000 which represents one day in wall time.
*
*
* int64 train_budget_milli_node_hours = 6;
@@ -1075,9 +1096,16 @@ public Builder setTrainBudgetMilliNodeHours(long value) {
* `train_cost` will be equal or less than this value. If further model
* training ceases to provide any improvements, it will stop without using
* full budget and the stop_reason will be `MODEL_CONVERGED`.
- * Note, node_hour = actual_hour * number_of_nodes_invovled. The train budget
- * must be between 20,000 and 2,000,000 milli node hours, inclusive. The
- * default value is 216, 000 which represents one day in wall time.
+ * Note, node_hour = actual_hour * number_of_nodes_invovled.
+ * For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`,
+ * the train budget must be between 20,000 and 2,000,000 milli node hours,
+ * inclusive. The default value is 216, 000 which represents one day in
+ * wall time.
+ * For model type `mobile-low-latency-1`, `mobile-versatile-1`,
+ * `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`,
+ * `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train
+ * budget must be between 1,000 and 100,000 milli node hours, inclusive.
+ * The default value is 24, 000 which represents one day in wall time.
*
*
* int64 train_budget_milli_node_hours = 6;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionModelMetadataOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionModelMetadataOrBuilder.java
index 4d6cbb02db0e..5368bca53008 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionModelMetadataOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageObjectDetectionModelMetadataOrBuilder.java
@@ -100,9 +100,16 @@ public interface ImageObjectDetectionModelMetadataOrBuilder
* `train_cost` will be equal or less than this value. If further model
* training ceases to provide any improvements, it will stop without using
* full budget and the stop_reason will be `MODEL_CONVERGED`.
- * Note, node_hour = actual_hour * number_of_nodes_invovled. The train budget
- * must be between 20,000 and 2,000,000 milli node hours, inclusive. The
- * default value is 216, 000 which represents one day in wall time.
+ * Note, node_hour = actual_hour * number_of_nodes_invovled.
+ * For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`,
+ * the train budget must be between 20,000 and 2,000,000 milli node hours,
+ * inclusive. The default value is 216, 000 which represents one day in
+ * wall time.
+ * For model type `mobile-low-latency-1`, `mobile-versatile-1`,
+ * `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`,
+ * `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train
+ * budget must be between 1,000 and 100,000 milli node hours, inclusive.
+ * The default value is 24, 000 which represents one day in wall time.
*
*
* int64 train_budget_milli_node_hours = 6;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/InputConfig.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/InputConfig.java
index f91059464b7d..8616ea0f3e9b 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/InputConfig.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/InputConfig.java
@@ -13,10 +13,10 @@
* [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source]
* is expected, unless specified otherwise. Additionally any input .CSV file
* by itself must be 100MB or smaller, unless specified otherwise.
- * If an "example" file (i.e. image, video etc.) with identical content
+ * If an "example" file (that is, image, video etc.) with identical content
* (even if it had different GCS_FILE_PATH) is mentioned multiple times, then
* its label, bounding boxes etc. are appended. The same file should be always
- * provided with the same ML_USE and GCS_FILE_PATH, if it is not then
+ * provided with the same ML_USE and GCS_FILE_PATH, if it is not, then
* these values are nondeterministically selected from the given ones.
* The formats are represented in EBNF with commas being literal and with
* non-terminal symbols defined near the end of this comment. The formats are:
@@ -43,12 +43,16 @@
* BOUNDING_BOX-es per image are allowed (one BOUNDING_BOX is defined
* per line). If an image has not yet been labeled, then it should be
* mentioned just once with no LABEL and the ",,,,,,," in place of the
+ * BOUNDING_BOX. For images which are known to not contain any
+ * bounding boxes, they should be labelled explictly as
+ * "NEGATIVE_IMAGE", followed by ",,,,,,," in place of the
* BOUNDING_BOX.
- * Four sample rows:
+ * Sample rows:
* TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,,
* TRAIN,gs://folder/image1.png,bike,.7,.6,,,.8,.9,,
* UNASSIGNED,gs://folder/im2.png,car,0.1,0.1,0.2,0.1,0.2,0.3,0.1,0.3
* TEST,gs://folder/im3.png,,,,,,,,,
+ * TRAIN,gs://folder/im4.png,NEGATIVE_IMAGE,,,,,,,,,
* * For Video Classification:
* CSV file(s) with each line in format:
* ML_USE,GCS_FILE_PATH
@@ -111,21 +115,21 @@
* * For Text Extraction:
* CSV file(s) with each line in format:
* ML_USE,GCS_FILE_PATH
- * GCS_FILE_PATH leads to a .JSONL (i.e. JSON Lines) file which either
- * imports text in-line or as documents.
+ * GCS_FILE_PATH leads to a .JSONL (that is, JSON Lines) file which
+ * either imports text in-line or as documents.
* The in-line .JSONL file contains, per line, a proto that wraps a
- * TextSnippet proto (in json representation) followed by one or
- * more AnnotationPayload protos (called annotations), which have
- * display_name and text_extraction detail populated.
- * The given text is expected to be annotated exhaustively, e.g. if
- * you look for animals and text contains "dolphin" that is not
- * labeled, then "dolphin" will be assumed to not be an animal. Any
- * given text snippet content must have 30,000 characters or less,
- * and also be UTF-8 NFC encoded (ASCII already is). The document .JSONL file contains, per line, a proto that wraps a
- * Document proto with input_config set. Only PDF documents are
- * supported now, and each document may be up to 2MB large.
- * Currently annotations on documents cannot be specified at import.
- * Any given .JSONL file must be 100MB or smaller.
+ * TextSnippet proto (in json representation) followed by one or more
+ * AnnotationPayload protos (called annotations), which have
+ * display_name and text_extraction detail populated. The given text
+ * is expected to be annotated exhaustively, for example, if you look
+ * for animals and text contains "dolphin" that is not labeled, then
+ * "dolphin" is assumed to not be an animal. Any given text snippet
+ * content must have 30,000 characters or less, and also be UTF-8 NFC
+ * encoded (ASCII already is). The document .JSONL file contains, per line, a proto that wraps a
+ * Document proto with input_config set. Only PDF documents are
+ * supported now, and each document may be up to 2MB large. Currently
+ * annotations on documents cannot be specified at import. Any given
+ * .JSONL file must be 100MB or smaller.
* Three sample CSV rows:
* TRAIN,gs://folder/file1.jsonl
* VALIDATE,gs://folder/file2.jsonl
@@ -194,41 +198,41 @@
* TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If
* the column content is a valid gcs file path, i.e. prefixed by
* "gs://", it will be treated as a GCS_FILE_PATH, else if the content
- * is enclosed within double quotes (""), it will
- * be treated as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path
- * must lead to a .txt file with UTF-8 encoding, e.g.
- * "gs://folder/content.txt", and the content in it will be extracted
+ * is enclosed within double quotes (""), it is
+ * treated as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path
+ * must lead to a .txt file with UTF-8 encoding, for example,
+ * "gs://folder/content.txt", and the content in it is extracted
* as a text snippet. In TEXT_SNIPPET case, the column content
- * excluding quotes will be treated as to be imported text snippet. In
+ * excluding quotes is treated as to be imported text snippet. In
* both cases, the text snippet/file size must be within 128kB.
* Maximum 100 unique labels are allowed per CSV row.
- * Four sample rows:
- * TRAIN,"They have bad food and very rude",RudeService,BadFood
- * TRAIN,gs://folder/content.txt,SlowService
- * TEST,"Typically always bad service there.",RudeService
- * VALIDATE,"Stomach ache to go.",BadFood
+ * Sample rows:
+ * TRAIN,"They have bad food and very rude",RudeService,BadFood
+ * TRAIN,gs://folder/content.txt,SlowService
+ * TEST,"Typically always bad service there.",RudeService
+ * VALIDATE,"Stomach ache to go.",BadFood
* * For Text Sentiment:
* CSV file(s) with each line in format:
* ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT
* TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If
- * the column content is a valid gcs file path, i.e. prefixed by
- * "gs://", it will be treated as a GCS_FILE_PATH, otherwise it will
- * be treated as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path
- * must lead to a .txt file with UTF-8 encoding, e.g.
- * "gs://folder/content.txt", and the content in it will be extracted
+ * the column content is a valid gcs file path, that is, prefixed by
+ * "gs://", it is treated as a GCS_FILE_PATH, otherwise it is treated
+ * as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path
+ * must lead to a .txt file with UTF-8 encoding, for example,
+ * "gs://folder/content.txt", and the content in it is extracted
* as a text snippet. In TEXT_SNIPPET case, the column content itself
- * will be treated as to be imported text snippet. In both cases, the
+ * is treated as to be imported text snippet. In both cases, the
* text snippet must be up to 500 characters long.
- * Four sample rows:
- * TRAIN,"@freewrytin God is way too good for Claritin",2
- * TRAIN,"I need Claritin so bad",3
- * TEST,"Thank god for Claritin.",4
- * VALIDATE,gs://folder/content.txt,2
+ * Sample rows:
+ * TRAIN,"@freewrytin this is way too good for your product",2
+ * TRAIN,"I need this product so bad",3
+ * TEST,"Thank you for this product.",4
+ * VALIDATE,gs://folder/content.txt,2
* * For Tables:
* Either
* [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] or
* [bigquery_source][google.cloud.automl.v1beta1.InputConfig.bigquery_source]
- * can be used. All inputs will be concatenated into a single
+ * can be used. All inputs is concatenated into a single
* [primary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_name]
* For gcs_source:
* CSV file(s), where the first row of the first file is the header,
@@ -305,7 +309,7 @@
* If any of the provided CSV files can't be parsed or if more than certain
* percent of CSV rows cannot be processed then the operation fails and
* nothing is imported. Regardless of overall success or failure the per-row
- * failures, up to a certain count cap, will be listed in
+ * failures, up to a certain count cap, is listed in
* Operation.metadata.partial_failures.
*
*
@@ -909,10 +913,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source]
* is expected, unless specified otherwise. Additionally any input .CSV file
* by itself must be 100MB or smaller, unless specified otherwise.
- * If an "example" file (i.e. image, video etc.) with identical content
+ * If an "example" file (that is, image, video etc.) with identical content
* (even if it had different GCS_FILE_PATH) is mentioned multiple times, then
* its label, bounding boxes etc. are appended. The same file should be always
- * provided with the same ML_USE and GCS_FILE_PATH, if it is not then
+ * provided with the same ML_USE and GCS_FILE_PATH, if it is not, then
* these values are nondeterministically selected from the given ones.
* The formats are represented in EBNF with commas being literal and with
* non-terminal symbols defined near the end of this comment. The formats are:
@@ -939,12 +943,16 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* BOUNDING_BOX-es per image are allowed (one BOUNDING_BOX is defined
* per line). If an image has not yet been labeled, then it should be
* mentioned just once with no LABEL and the ",,,,,,," in place of the
+ * BOUNDING_BOX. For images which are known to not contain any
+ * bounding boxes, they should be labelled explictly as
+ * "NEGATIVE_IMAGE", followed by ",,,,,,," in place of the
* BOUNDING_BOX.
- * Four sample rows:
+ * Sample rows:
* TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,,
* TRAIN,gs://folder/image1.png,bike,.7,.6,,,.8,.9,,
* UNASSIGNED,gs://folder/im2.png,car,0.1,0.1,0.2,0.1,0.2,0.3,0.1,0.3
* TEST,gs://folder/im3.png,,,,,,,,,
+ * TRAIN,gs://folder/im4.png,NEGATIVE_IMAGE,,,,,,,,,
* * For Video Classification:
* CSV file(s) with each line in format:
* ML_USE,GCS_FILE_PATH
@@ -1007,21 +1015,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* * For Text Extraction:
* CSV file(s) with each line in format:
* ML_USE,GCS_FILE_PATH
- * GCS_FILE_PATH leads to a .JSONL (i.e. JSON Lines) file which either
- * imports text in-line or as documents.
+ * GCS_FILE_PATH leads to a .JSONL (that is, JSON Lines) file which
+ * either imports text in-line or as documents.
* The in-line .JSONL file contains, per line, a proto that wraps a
- * TextSnippet proto (in json representation) followed by one or
- * more AnnotationPayload protos (called annotations), which have
- * display_name and text_extraction detail populated.
- * The given text is expected to be annotated exhaustively, e.g. if
- * you look for animals and text contains "dolphin" that is not
- * labeled, then "dolphin" will be assumed to not be an animal. Any
- * given text snippet content must have 30,000 characters or less,
- * and also be UTF-8 NFC encoded (ASCII already is). The document .JSONL file contains, per line, a proto that wraps a
- * Document proto with input_config set. Only PDF documents are
- * supported now, and each document may be up to 2MB large.
- * Currently annotations on documents cannot be specified at import.
- * Any given .JSONL file must be 100MB or smaller.
+ * TextSnippet proto (in json representation) followed by one or more
+ * AnnotationPayload protos (called annotations), which have
+ * display_name and text_extraction detail populated. The given text
+ * is expected to be annotated exhaustively, for example, if you look
+ * for animals and text contains "dolphin" that is not labeled, then
+ * "dolphin" is assumed to not be an animal. Any given text snippet
+ * content must have 30,000 characters or less, and also be UTF-8 NFC
+ * encoded (ASCII already is). The document .JSONL file contains, per line, a proto that wraps a
+ * Document proto with input_config set. Only PDF documents are
+ * supported now, and each document may be up to 2MB large. Currently
+ * annotations on documents cannot be specified at import. Any given
+ * .JSONL file must be 100MB or smaller.
* Three sample CSV rows:
* TRAIN,gs://folder/file1.jsonl
* VALIDATE,gs://folder/file2.jsonl
@@ -1090,41 +1098,41 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If
* the column content is a valid gcs file path, i.e. prefixed by
* "gs://", it will be treated as a GCS_FILE_PATH, else if the content
- * is enclosed within double quotes (""), it will
- * be treated as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path
- * must lead to a .txt file with UTF-8 encoding, e.g.
- * "gs://folder/content.txt", and the content in it will be extracted
+ * is enclosed within double quotes (""), it is
+ * treated as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path
+ * must lead to a .txt file with UTF-8 encoding, for example,
+ * "gs://folder/content.txt", and the content in it is extracted
* as a text snippet. In TEXT_SNIPPET case, the column content
- * excluding quotes will be treated as to be imported text snippet. In
+ * excluding quotes is treated as to be imported text snippet. In
* both cases, the text snippet/file size must be within 128kB.
* Maximum 100 unique labels are allowed per CSV row.
- * Four sample rows:
- * TRAIN,"They have bad food and very rude",RudeService,BadFood
- * TRAIN,gs://folder/content.txt,SlowService
- * TEST,"Typically always bad service there.",RudeService
- * VALIDATE,"Stomach ache to go.",BadFood
+ * Sample rows:
+ * TRAIN,"They have bad food and very rude",RudeService,BadFood
+ * TRAIN,gs://folder/content.txt,SlowService
+ * TEST,"Typically always bad service there.",RudeService
+ * VALIDATE,"Stomach ache to go.",BadFood
* * For Text Sentiment:
* CSV file(s) with each line in format:
* ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT
* TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If
- * the column content is a valid gcs file path, i.e. prefixed by
- * "gs://", it will be treated as a GCS_FILE_PATH, otherwise it will
- * be treated as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path
- * must lead to a .txt file with UTF-8 encoding, e.g.
- * "gs://folder/content.txt", and the content in it will be extracted
+ * the column content is a valid gcs file path, that is, prefixed by
+ * "gs://", it is treated as a GCS_FILE_PATH, otherwise it is treated
+ * as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path
+ * must lead to a .txt file with UTF-8 encoding, for example,
+ * "gs://folder/content.txt", and the content in it is extracted
* as a text snippet. In TEXT_SNIPPET case, the column content itself
- * will be treated as to be imported text snippet. In both cases, the
+ * is treated as to be imported text snippet. In both cases, the
* text snippet must be up to 500 characters long.
- * Four sample rows:
- * TRAIN,"@freewrytin God is way too good for Claritin",2
- * TRAIN,"I need Claritin so bad",3
- * TEST,"Thank god for Claritin.",4
- * VALIDATE,gs://folder/content.txt,2
+ * Sample rows:
+ * TRAIN,"@freewrytin this is way too good for your product",2
+ * TRAIN,"I need this product so bad",3
+ * TEST,"Thank you for this product.",4
+ * VALIDATE,gs://folder/content.txt,2
* * For Tables:
* Either
* [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] or
* [bigquery_source][google.cloud.automl.v1beta1.InputConfig.bigquery_source]
- * can be used. All inputs will be concatenated into a single
+ * can be used. All inputs is concatenated into a single
* [primary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_name]
* For gcs_source:
* CSV file(s), where the first row of the first file is the header,
@@ -1201,7 +1209,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* If any of the provided CSV files can't be parsed or if more than certain
* percent of CSV rows cannot be processed then the operation fails and
* nothing is imported. Regardless of overall success or failure the per-row
- * failures, up to a certain count cap, will be listed in
+ * failures, up to a certain count cap, is listed in
* Operation.metadata.partial_failures.
*
*
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Model.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Model.java
index cdeed7dfc8cb..142e50dabf67 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Model.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Model.java
@@ -1011,8 +1011,7 @@ public boolean hasTextSentimentModelMetadata() {
*
*
*
- * Output only.
- * Resource name of the model.
+ * Output only. Resource name of the model.
* Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
*
*
@@ -1033,8 +1032,7 @@ public java.lang.String getName() {
*
*
*
- * Output only.
- * Resource name of the model.
+ * Output only. Resource name of the model.
* Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
*
*
@@ -1107,8 +1105,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
*
- * Required.
- * The resource ID of the dataset used to create the model. The dataset must
+ * Required. The resource ID of the dataset used to create the model. The dataset must
* come from the same ancestor project and location.
*
*
@@ -1129,8 +1126,7 @@ public java.lang.String getDatasetId() {
*
*
*
- * Required.
- * The resource ID of the dataset used to create the model. The dataset must
+ * Required. The resource ID of the dataset used to create the model. The dataset must
* come from the same ancestor project and location.
*
*
@@ -1154,8 +1150,7 @@ public com.google.protobuf.ByteString getDatasetIdBytes() {
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -1167,8 +1162,7 @@ public boolean hasCreateTime() {
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -1180,8 +1174,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -1196,8 +1189,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
@@ -1209,8 +1201,7 @@ public boolean hasUpdateTime() {
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
@@ -1222,8 +1213,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
@@ -4025,8 +4015,7 @@ public Builder clearTextSentimentModelMetadata() {
*
*
*
- * Output only.
- * Resource name of the model.
+ * Output only. Resource name of the model.
* Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
*
*
@@ -4047,8 +4036,7 @@ public java.lang.String getName() {
*
*
*
- * Output only.
- * Resource name of the model.
+ * Output only. Resource name of the model.
* Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
*
*
@@ -4069,8 +4057,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Output only.
- * Resource name of the model.
+ * Output only. Resource name of the model.
* Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
*
*
@@ -4089,8 +4076,7 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Output only.
- * Resource name of the model.
+ * Output only. Resource name of the model.
* Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
*
*
@@ -4106,8 +4092,7 @@ public Builder clearName() {
*
*
*
- * Output only.
- * Resource name of the model.
+ * Output only. Resource name of the model.
* Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
*
*
@@ -4238,8 +4223,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Required.
- * The resource ID of the dataset used to create the model. The dataset must
+ * Required. The resource ID of the dataset used to create the model. The dataset must
* come from the same ancestor project and location.
*
*
@@ -4260,8 +4244,7 @@ public java.lang.String getDatasetId() {
*
*
*
- * Required.
- * The resource ID of the dataset used to create the model. The dataset must
+ * Required. The resource ID of the dataset used to create the model. The dataset must
* come from the same ancestor project and location.
*
*
@@ -4282,8 +4265,7 @@ public com.google.protobuf.ByteString getDatasetIdBytes() {
*
*
*
- * Required.
- * The resource ID of the dataset used to create the model. The dataset must
+ * Required. The resource ID of the dataset used to create the model. The dataset must
* come from the same ancestor project and location.
*
*
@@ -4302,8 +4284,7 @@ public Builder setDatasetId(java.lang.String value) {
*
*
*
- * Required.
- * The resource ID of the dataset used to create the model. The dataset must
+ * Required. The resource ID of the dataset used to create the model. The dataset must
* come from the same ancestor project and location.
*
*
@@ -4319,8 +4300,7 @@ public Builder clearDatasetId() {
*
*
*
- * Required.
- * The resource ID of the dataset used to create the model. The dataset must
+ * Required. The resource ID of the dataset used to create the model. The dataset must
* come from the same ancestor project and location.
*
*
@@ -4347,8 +4327,7 @@ public Builder setDatasetIdBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -4360,8 +4339,7 @@ public boolean hasCreateTime() {
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -4379,8 +4357,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -4402,8 +4379,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -4422,8 +4398,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -4447,8 +4422,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -4468,8 +4442,7 @@ public Builder clearCreateTime() {
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -4483,8 +4456,7 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -4502,8 +4474,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -4535,8 +4506,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
@@ -4548,8 +4518,7 @@ public boolean hasUpdateTime() {
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
@@ -4567,8 +4536,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
@@ -4590,8 +4558,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
@@ -4610,8 +4577,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
@@ -4635,8 +4601,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
@@ -4656,8 +4621,7 @@ public Builder clearUpdateTime() {
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
@@ -4671,8 +4635,7 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
@@ -4690,8 +4653,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluation.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluation.java
index 302b9a70b0e9..7b26be1edc57 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluation.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluation.java
@@ -749,8 +749,7 @@ public boolean hasTextExtractionEvaluationMetrics() {
*
*
*
- * Output only.
- * Resource name of the model evaluation.
+ * Output only. Resource name of the model evaluation.
* Format:
* `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
*
@@ -772,8 +771,7 @@ public java.lang.String getName() {
*
*
*
- * Output only.
- * Resource name of the model evaluation.
+ * Output only. Resource name of the model evaluation.
* Format:
* `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
*
@@ -798,8 +796,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Output only.
- * The ID of the annotation spec that the model evaluation applies to. The
+ * Output only. The ID of the annotation spec that the model evaluation applies to. The
* The ID is empty for the overall model evaluation.
* For Tables annotation specs in the dataset do not exist and this ID is
* always not set, but for CLASSIFICATION
@@ -826,8 +823,7 @@ public java.lang.String getAnnotationSpecId() {
*
*
*
- * Output only.
- * The ID of the annotation spec that the model evaluation applies to. The
+ * Output only. The ID of the annotation spec that the model evaluation applies to. The
* The ID is empty for the overall model evaluation.
* For Tables annotation specs in the dataset do not exist and this ID is
* always not set, but for CLASSIFICATION
@@ -858,7 +854,7 @@ public com.google.protobuf.ByteString getAnnotationSpecIdBytes() {
*
*
* Output only. The value of
- * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.dispay_name] at
+ * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at
* the moment when the model was trained. Because this field returns a value
* at model training time, for different models trained from the same dataset,
* the values may differ, since display names could had been changed between
@@ -888,7 +884,7 @@ public java.lang.String getDisplayName() {
*
*
* Output only. The value of
- * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.dispay_name] at
+ * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at
* the moment when the model was trained. Because this field returns a value
* at model training time, for different models trained from the same dataset,
* the values may differ, since display names could had been changed between
@@ -920,8 +916,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -933,8 +928,7 @@ public boolean hasCreateTime() {
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -946,8 +940,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -962,8 +955,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
*
- * Output only.
- * The number of examples used for model evaluation, i.e. for
+ * Output only. The number of examples used for model evaluation, i.e. for
* which ground truth from time of model creation is compared against the
* predicted annotations created by the model.
* For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is
@@ -3328,8 +3320,7 @@ public Builder clearTextExtractionEvaluationMetrics() {
*
*
*
- * Output only.
- * Resource name of the model evaluation.
+ * Output only. Resource name of the model evaluation.
* Format:
* `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
*
@@ -3351,8 +3342,7 @@ public java.lang.String getName() {
*
*
*
- * Output only.
- * Resource name of the model evaluation.
+ * Output only. Resource name of the model evaluation.
* Format:
* `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
*
@@ -3374,8 +3364,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Output only.
- * Resource name of the model evaluation.
+ * Output only. Resource name of the model evaluation.
* Format:
* `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
*
@@ -3395,8 +3384,7 @@ public Builder setName(java.lang.String value) {
*
*
*
- * Output only.
- * Resource name of the model evaluation.
+ * Output only. Resource name of the model evaluation.
* Format:
* `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
*
@@ -3413,8 +3401,7 @@ public Builder clearName() {
*
*
*
- * Output only.
- * Resource name of the model evaluation.
+ * Output only. Resource name of the model evaluation.
* Format:
* `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
*
@@ -3437,8 +3424,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Output only.
- * The ID of the annotation spec that the model evaluation applies to. The
+ * Output only. The ID of the annotation spec that the model evaluation applies to. The
* The ID is empty for the overall model evaluation.
* For Tables annotation specs in the dataset do not exist and this ID is
* always not set, but for CLASSIFICATION
@@ -3465,8 +3451,7 @@ public java.lang.String getAnnotationSpecId() {
*
*
*
- * Output only.
- * The ID of the annotation spec that the model evaluation applies to. The
+ * Output only. The ID of the annotation spec that the model evaluation applies to. The
* The ID is empty for the overall model evaluation.
* For Tables annotation specs in the dataset do not exist and this ID is
* always not set, but for CLASSIFICATION
@@ -3493,8 +3478,7 @@ public com.google.protobuf.ByteString getAnnotationSpecIdBytes() {
*
*
*
- * Output only.
- * The ID of the annotation spec that the model evaluation applies to. The
+ * Output only. The ID of the annotation spec that the model evaluation applies to. The
* The ID is empty for the overall model evaluation.
* For Tables annotation specs in the dataset do not exist and this ID is
* always not set, but for CLASSIFICATION
@@ -3519,8 +3503,7 @@ public Builder setAnnotationSpecId(java.lang.String value) {
*
*
*
- * Output only.
- * The ID of the annotation spec that the model evaluation applies to. The
+ * Output only. The ID of the annotation spec that the model evaluation applies to. The
* The ID is empty for the overall model evaluation.
* For Tables annotation specs in the dataset do not exist and this ID is
* always not set, but for CLASSIFICATION
@@ -3542,8 +3525,7 @@ public Builder clearAnnotationSpecId() {
*
*
*
- * Output only.
- * The ID of the annotation spec that the model evaluation applies to. The
+ * Output only. The ID of the annotation spec that the model evaluation applies to. The
* The ID is empty for the overall model evaluation.
* For Tables annotation specs in the dataset do not exist and this ID is
* always not set, but for CLASSIFICATION
@@ -3572,7 +3554,7 @@ public Builder setAnnotationSpecIdBytes(com.google.protobuf.ByteString value) {
*
*
* Output only. The value of
- * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.dispay_name] at
+ * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at
* the moment when the model was trained. Because this field returns a value
* at model training time, for different models trained from the same dataset,
* the values may differ, since display names could had been changed between
@@ -3602,7 +3584,7 @@ public java.lang.String getDisplayName() {
*
*
* Output only. The value of
- * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.dispay_name] at
+ * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at
* the moment when the model was trained. Because this field returns a value
* at model training time, for different models trained from the same dataset,
* the values may differ, since display names could had been changed between
@@ -3632,7 +3614,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() {
*
*
* Output only. The value of
- * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.dispay_name] at
+ * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at
* the moment when the model was trained. Because this field returns a value
* at model training time, for different models trained from the same dataset,
* the values may differ, since display names could had been changed between
@@ -3660,7 +3642,7 @@ public Builder setDisplayName(java.lang.String value) {
*
*
* Output only. The value of
- * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.dispay_name] at
+ * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at
* the moment when the model was trained. Because this field returns a value
* at model training time, for different models trained from the same dataset,
* the values may differ, since display names could had been changed between
@@ -3685,7 +3667,7 @@ public Builder clearDisplayName() {
*
*
* Output only. The value of
- * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.dispay_name] at
+ * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at
* the moment when the model was trained. Because this field returns a value
* at model training time, for different models trained from the same dataset,
* the values may differ, since display names could had been changed between
@@ -3720,8 +3702,7 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -3733,8 +3714,7 @@ public boolean hasCreateTime() {
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -3752,8 +3732,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -3775,8 +3754,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -3795,8 +3773,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -3820,8 +3797,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -3841,8 +3817,7 @@ public Builder clearCreateTime() {
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -3856,8 +3831,7 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -3875,8 +3849,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -3903,8 +3876,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
*
- * Output only.
- * The number of examples used for model evaluation, i.e. for
+ * Output only. The number of examples used for model evaluation, i.e. for
* which ground truth from time of model creation is compared against the
* predicted annotations created by the model.
* For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is
@@ -3923,8 +3895,7 @@ public int getEvaluatedExampleCount() {
*
*
*
- * Output only.
- * The number of examples used for model evaluation, i.e. for
+ * Output only. The number of examples used for model evaluation, i.e. for
* which ground truth from time of model creation is compared against the
* predicted annotations created by the model.
* For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is
@@ -3946,8 +3917,7 @@ public Builder setEvaluatedExampleCount(int value) {
*
*
*
- * Output only.
- * The number of examples used for model evaluation, i.e. for
+ * Output only. The number of examples used for model evaluation, i.e. for
* which ground truth from time of model creation is compared against the
* predicted annotations created by the model.
* For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluationOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluationOrBuilder.java
index 4ccd0341a1c8..5dd27a6910f4 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluationOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelEvaluationOrBuilder.java
@@ -299,8 +299,7 @@ public interface ModelEvaluationOrBuilder
*
*
*
- * Output only.
- * Resource name of the model evaluation.
+ * Output only. Resource name of the model evaluation.
* Format:
* `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
*
@@ -312,8 +311,7 @@ public interface ModelEvaluationOrBuilder
*
*
*
- * Output only.
- * Resource name of the model evaluation.
+ * Output only. Resource name of the model evaluation.
* Format:
* `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
*
@@ -326,8 +324,7 @@ public interface ModelEvaluationOrBuilder
*
*
*
- * Output only.
- * The ID of the annotation spec that the model evaluation applies to. The
+ * Output only. The ID of the annotation spec that the model evaluation applies to. The
* The ID is empty for the overall model evaluation.
* For Tables annotation specs in the dataset do not exist and this ID is
* always not set, but for CLASSIFICATION
@@ -344,8 +341,7 @@ public interface ModelEvaluationOrBuilder
*
*
*
- * Output only.
- * The ID of the annotation spec that the model evaluation applies to. The
+ * Output only. The ID of the annotation spec that the model evaluation applies to. The
* The ID is empty for the overall model evaluation.
* For Tables annotation specs in the dataset do not exist and this ID is
* always not set, but for CLASSIFICATION
@@ -364,7 +360,7 @@ public interface ModelEvaluationOrBuilder
*
*
* Output only. The value of
- * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.dispay_name] at
+ * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at
* the moment when the model was trained. Because this field returns a value
* at model training time, for different models trained from the same dataset,
* the values may differ, since display names could had been changed between
@@ -384,7 +380,7 @@ public interface ModelEvaluationOrBuilder
*
*
* Output only. The value of
- * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.dispay_name] at
+ * [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at
* the moment when the model was trained. Because this field returns a value
* at model training time, for different models trained from the same dataset,
* the values may differ, since display names could had been changed between
@@ -404,8 +400,7 @@ public interface ModelEvaluationOrBuilder
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -415,8 +410,7 @@ public interface ModelEvaluationOrBuilder
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -426,8 +420,7 @@ public interface ModelEvaluationOrBuilder
*
*
*
- * Output only.
- * Timestamp when this model evaluation was created.
+ * Output only. Timestamp when this model evaluation was created.
*
*
* .google.protobuf.Timestamp create_time = 5;
@@ -438,8 +431,7 @@ public interface ModelEvaluationOrBuilder
*
*
*
- * Output only.
- * The number of examples used for model evaluation, i.e. for
+ * Output only. The number of examples used for model evaluation, i.e. for
* which ground truth from time of model creation is compared against the
* predicted annotations created by the model.
* For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfig.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfig.java
index 282f32c93b0e..9d2eadac8df1 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfig.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfig.java
@@ -332,7 +332,9 @@ public com.google.cloud.automl.v1beta1.GcrDestinationOrBuilder getGcrDestination
* * docker - Used for Docker containers. Use the params field to customize
* the container. The container is verified to work correctly on
* ubuntu 16.04 operating system. See more at
- * [containers quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
+ * [containers
+ * quickstart](https:
+ * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
* * core_ml - Used for iOS mobile devices.
*
*
@@ -371,7 +373,9 @@ public java.lang.String getModelFormat() {
* * docker - Used for Docker containers. Use the params field to customize
* the container. The container is verified to work correctly on
* ubuntu 16.04 operating system. See more at
- * [containers quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
+ * [containers
+ * quickstart](https:
+ * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
* * core_ml - Used for iOS mobile devices.
*
*
@@ -1472,7 +1476,9 @@ public com.google.cloud.automl.v1beta1.GcrDestinationOrBuilder getGcrDestination
* * docker - Used for Docker containers. Use the params field to customize
* the container. The container is verified to work correctly on
* ubuntu 16.04 operating system. See more at
- * [containers quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
+ * [containers
+ * quickstart](https:
+ * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
* * core_ml - Used for iOS mobile devices.
*
*
@@ -1511,7 +1517,9 @@ public java.lang.String getModelFormat() {
* * docker - Used for Docker containers. Use the params field to customize
* the container. The container is verified to work correctly on
* ubuntu 16.04 operating system. See more at
- * [containers quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
+ * [containers
+ * quickstart](https:
+ * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
* * core_ml - Used for iOS mobile devices.
*
*
@@ -1550,7 +1558,9 @@ public com.google.protobuf.ByteString getModelFormatBytes() {
* * docker - Used for Docker containers. Use the params field to customize
* the container. The container is verified to work correctly on
* ubuntu 16.04 operating system. See more at
- * [containers quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
+ * [containers
+ * quickstart](https:
+ * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
* * core_ml - Used for iOS mobile devices.
*
*
@@ -1587,7 +1597,9 @@ public Builder setModelFormat(java.lang.String value) {
* * docker - Used for Docker containers. Use the params field to customize
* the container. The container is verified to work correctly on
* ubuntu 16.04 operating system. See more at
- * [containers quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
+ * [containers
+ * quickstart](https:
+ * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
* * core_ml - Used for iOS mobile devices.
*
*
@@ -1621,7 +1633,9 @@ public Builder clearModelFormat() {
* * docker - Used for Docker containers. Use the params field to customize
* the container. The container is verified to work correctly on
* ubuntu 16.04 operating system. See more at
- * [containers quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
+ * [containers
+ * quickstart](https:
+ * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
* * core_ml - Used for iOS mobile devices.
*
*
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfigOrBuilder.java
index 04e18c50b2f1..7b165d2da1cf 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfigOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelExportOutputConfigOrBuilder.java
@@ -122,7 +122,9 @@ public interface ModelExportOutputConfigOrBuilder
* * docker - Used for Docker containers. Use the params field to customize
* the container. The container is verified to work correctly on
* ubuntu 16.04 operating system. See more at
- * [containers quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
+ * [containers
+ * quickstart](https:
+ * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
* * core_ml - Used for iOS mobile devices.
*
*
@@ -151,7 +153,9 @@ public interface ModelExportOutputConfigOrBuilder
* * docker - Used for Docker containers. Use the params field to customize
* the container. The container is verified to work correctly on
* ubuntu 16.04 operating system. See more at
- * [containers quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
+ * [containers
+ * quickstart](https:
+ * //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
* * core_ml - Used for iOS mobile devices.
*
*
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelOrBuilder.java
index 3aaae2903d72..ad01b6d6ed2f 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ModelOrBuilder.java
@@ -349,8 +349,7 @@ public interface ModelOrBuilder
*
*
*
- * Output only.
- * Resource name of the model.
+ * Output only. Resource name of the model.
* Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
*
*
@@ -361,8 +360,7 @@ public interface ModelOrBuilder
*
*
*
- * Output only.
- * Resource name of the model.
+ * Output only. Resource name of the model.
* Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
*
*
@@ -401,8 +399,7 @@ public interface ModelOrBuilder
*
*
*
- * Required.
- * The resource ID of the dataset used to create the model. The dataset must
+ * Required. The resource ID of the dataset used to create the model. The dataset must
* come from the same ancestor project and location.
*
*
@@ -413,8 +410,7 @@ public interface ModelOrBuilder
*
*
*
- * Required.
- * The resource ID of the dataset used to create the model. The dataset must
+ * Required. The resource ID of the dataset used to create the model. The dataset must
* come from the same ancestor project and location.
*
*
@@ -426,8 +422,7 @@ public interface ModelOrBuilder
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -437,8 +432,7 @@ public interface ModelOrBuilder
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -448,8 +442,7 @@ public interface ModelOrBuilder
*
*
*
- * Output only.
- * Timestamp when the model training finished and can be used for prediction.
+ * Output only. Timestamp when the model training finished and can be used for prediction.
*
*
* .google.protobuf.Timestamp create_time = 7;
@@ -460,8 +453,7 @@ public interface ModelOrBuilder
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
@@ -471,8 +463,7 @@ public interface ModelOrBuilder
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
@@ -482,8 +473,7 @@ public interface ModelOrBuilder
*
*
*
- * Output only.
- * Timestamp when this model was last updated.
+ * Output only. Timestamp when this model was last updated.
*
*
* .google.protobuf.Timestamp update_time = 11;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequest.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequest.java
index a2ec3bdc11b2..dab002751cf8 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequest.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequest.java
@@ -181,8 +181,7 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -195,8 +194,7 @@ public boolean hasPayload() {
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -211,8 +209,7 @@ public com.google.cloud.automl.v1beta1.ExamplePayload getPayload() {
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -257,6 +254,13 @@ public int getParamsCount() {
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
@@ -288,6 +292,13 @@ public java.util.Map getParams() {
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
@@ -311,6 +322,13 @@ public java.util.Map getParamsMap() {
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
@@ -338,6 +356,13 @@ public java.lang.String getParamsOrDefault(java.lang.String key, java.lang.Strin
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
@@ -853,8 +878,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -867,8 +891,7 @@ public boolean hasPayload() {
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -887,8 +910,7 @@ public com.google.cloud.automl.v1beta1.ExamplePayload getPayload() {
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -911,8 +933,7 @@ public Builder setPayload(com.google.cloud.automl.v1beta1.ExamplePayload value)
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -933,8 +954,7 @@ public Builder setPayload(
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -961,8 +981,7 @@ public Builder mergePayload(com.google.cloud.automl.v1beta1.ExamplePayload value
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -983,8 +1002,7 @@ public Builder clearPayload() {
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -999,8 +1017,7 @@ public com.google.cloud.automl.v1beta1.ExamplePayload.Builder getPayloadBuilder(
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -1019,8 +1036,7 @@ public com.google.cloud.automl.v1beta1.ExamplePayloadOrBuilder getPayloadOrBuild
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -1078,6 +1094,13 @@ public int getParamsCount() {
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
@@ -1109,6 +1132,13 @@ public java.util.Map getParams() {
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
@@ -1132,6 +1162,13 @@ public java.util.Map getParamsMap() {
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
@@ -1160,6 +1197,13 @@ public java.lang.String getParamsOrDefault(
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
@@ -1195,6 +1239,13 @@ public Builder clearParams() {
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
@@ -1227,6 +1278,13 @@ public java.util.Map getMutableParams() {
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
@@ -1257,6 +1315,13 @@ public Builder putParams(java.lang.String key, java.lang.String value) {
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequestOrBuilder.java
index ec7ecfc831f2..7f01a99763d3 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictRequestOrBuilder.java
@@ -33,8 +33,7 @@ public interface PredictRequestOrBuilder
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -45,8 +44,7 @@ public interface PredictRequestOrBuilder
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -57,8 +55,7 @@ public interface PredictRequestOrBuilder
*
*
*
- * Required.
- * Payload to perform a prediction on. The payload must match the
+ * Required. Payload to perform a prediction on. The payload must match the
* problem type that the model was trained to solve.
*
*
@@ -76,6 +73,13 @@ public interface PredictRequestOrBuilder
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
@@ -97,6 +101,13 @@ public interface PredictRequestOrBuilder
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
@@ -121,6 +132,13 @@ public interface PredictRequestOrBuilder
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
@@ -142,6 +160,13 @@ public interface PredictRequestOrBuilder
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
@@ -163,6 +188,13 @@ public interface PredictRequestOrBuilder
* `score_threshold` - (float) A value from 0.0 to 1.0. When the model
* makes predictions for an image, it will only produce results that have
* at least this confidence score. The default is 0.5.
+ * * For Image Object Detection:
+ * `score_threshold` - (float) When Model detects objects on the image,
+ * it will only produce bounding boxes which have at least this
+ * confidence score. Value in 0 to 1 range, default is 0.5.
+ * `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server.
* * For Tables:
* `feature_importance` - (boolean) Whether
* [feature_importance][[google.cloud.automl.v1beta1.TablesModelColumnInfo.feature_importance]
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceProto.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceProto.java
index f33f51cd78c7..3629e484b030 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceProto.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceProto.java
@@ -40,6 +40,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_cloud_automl_v1beta1_BatchPredictResult_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_cloud_automl_v1beta1_BatchPredictResult_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_cloud_automl_v1beta1_BatchPredictResult_MetadataEntry_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_cloud_automl_v1beta1_BatchPredictResult_MetadataEntry_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -76,24 +80,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "redictOutputConfig\022L\n\006params\030\005 \003(\0132<.goo"
+ "gle.cloud.automl.v1beta1.BatchPredictReq"
+ "uest.ParamsEntry\032-\n\013ParamsEntry\022\013\n\003key\030\001"
- + " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\024\n\022BatchPredictR"
- + "esult2\264\003\n\021PredictionService\022\250\001\n\007Predict\022"
- + "+.google.cloud.automl.v1beta1.PredictReq"
- + "uest\032,.google.cloud.automl.v1beta1.Predi"
- + "ctResponse\"B\202\323\344\223\002<\"7/v1beta1/{name=proje"
- + "cts/*/locations/*/models/*}:predict:\001*\022\250"
- + "\001\n\014BatchPredict\0220.google.cloud.automl.v1"
- + "beta1.BatchPredictRequest\032\035.google.longr"
- + "unning.Operation\"G\202\323\344\223\002A\"
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -134,9 +134,9 @@ public com.google.protobuf.ProtocolStringList getColumnSpecIdsList() {
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -152,9 +152,9 @@ public int getColumnSpecIdsCount() {
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -170,9 +170,9 @@ public java.lang.String getColumnSpecIds(int index) {
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -191,9 +191,9 @@ public com.google.protobuf.ByteString getColumnSpecIdsBytes(int index) {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -207,9 +207,9 @@ public java.util.List getValuesList() {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -223,9 +223,9 @@ public java.util.List extends com.google.protobuf.ValueOrBuilder> getValuesOrB
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -239,9 +239,9 @@ public int getValuesCount() {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -255,9 +255,9 @@ public com.google.protobuf.Value getValues(int index) {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -669,9 +669,9 @@ private void ensureColumnSpecIdsIsMutable() {
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -687,9 +687,9 @@ public com.google.protobuf.ProtocolStringList getColumnSpecIdsList() {
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -705,9 +705,9 @@ public int getColumnSpecIdsCount() {
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -723,9 +723,9 @@ public java.lang.String getColumnSpecIds(int index) {
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -741,9 +741,9 @@ public com.google.protobuf.ByteString getColumnSpecIdsBytes(int index) {
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -765,9 +765,9 @@ public Builder setColumnSpecIds(int index, java.lang.String value) {
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -789,9 +789,9 @@ public Builder addColumnSpecIds(java.lang.String value) {
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -810,9 +810,9 @@ public Builder addAllColumnSpecIds(java.lang.Iterable values)
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -831,9 +831,9 @@ public Builder clearColumnSpecIds() {
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -872,9 +872,9 @@ private void ensureValuesIsMutable() {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -892,9 +892,9 @@ public java.util.List getValuesList() {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -912,9 +912,9 @@ public int getValuesCount() {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -932,9 +932,9 @@ public com.google.protobuf.Value getValues(int index) {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -958,9 +958,9 @@ public Builder setValues(int index, com.google.protobuf.Value value) {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -981,9 +981,9 @@ public Builder setValues(int index, com.google.protobuf.Value.Builder builderFor
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -1007,9 +1007,9 @@ public Builder addValues(com.google.protobuf.Value value) {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -1033,9 +1033,9 @@ public Builder addValues(int index, com.google.protobuf.Value value) {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -1056,9 +1056,9 @@ public Builder addValues(com.google.protobuf.Value.Builder builderForValue) {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -1079,9 +1079,9 @@ public Builder addValues(int index, com.google.protobuf.Value.Builder builderFor
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -1102,9 +1102,9 @@ public Builder addAllValues(java.lang.Iterable extends com.google.protobuf.Val
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -1125,9 +1125,9 @@ public Builder clearValues() {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -1148,9 +1148,9 @@ public Builder removeValues(int index) {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -1164,9 +1164,9 @@ public com.google.protobuf.Value.Builder getValuesBuilder(int index) {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -1184,9 +1184,9 @@ public com.google.protobuf.ValueOrBuilder getValuesOrBuilder(int index) {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -1204,9 +1204,9 @@ public java.util.List extends com.google.protobuf.ValueOrBuilder> getValuesOrB
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -1220,9 +1220,9 @@ public com.google.protobuf.Value.Builder addValuesBuilder() {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -1237,9 +1237,9 @@ public com.google.protobuf.Value.Builder addValuesBuilder(int index) {
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/RowOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/RowOrBuilder.java
index b47e3763b259..38ee2c4bb5a5 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/RowOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/RowOrBuilder.java
@@ -12,9 +12,9 @@ public interface RowOrBuilder
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -28,9 +28,9 @@ public interface RowOrBuilder
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -44,9 +44,9 @@ public interface RowOrBuilder
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -60,9 +60,9 @@ public interface RowOrBuilder
*
*
*
- * Input Only.
* The resource IDs of the column specs describing the columns of the row.
- * If set must contain, but possibly in a different order, all input feature
+ * If set must contain, but possibly in a different order, all input
+ * feature
* [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
* Note: The below `values` field must match order of this field, if this
@@ -77,9 +77,9 @@ public interface RowOrBuilder
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -91,9 +91,9 @@ public interface RowOrBuilder
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -105,9 +105,9 @@ public interface RowOrBuilder
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -119,9 +119,9 @@ public interface RowOrBuilder
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
@@ -133,9 +133,9 @@ public interface RowOrBuilder
*
*
*
- * Input Only.
- * The values of the row cells, given in the same order as the
- * column_spec_ids, or, if not set, then in the same order as input feature
+ * Required. The values of the row cells, given in the same order as the
+ * column_spec_ids, or, if not set, then in the same order as input
+ * feature
* [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
* of the Model this row is being passed to.
*
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpec.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpec.java
index 37c736e53535..5b8f9899791b 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpec.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpec.java
@@ -80,12 +80,17 @@ private TableSpec(
rowCount_ = input.readInt64();
break;
}
+ case 32:
+ {
+ validRowCount_ = input.readInt64();
+ break;
+ }
case 42:
{
- if (!((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000020) != 0)) {
inputConfigs_ =
new java.util.ArrayList();
- mutable_bitField0_ |= 0x00000010;
+ mutable_bitField0_ |= 0x00000020;
}
inputConfigs_.add(
input.readMessage(
@@ -118,7 +123,7 @@ private TableSpec(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000010) != 0)) {
+ if (((mutable_bitField0_ & 0x00000020) != 0)) {
inputConfigs_ = java.util.Collections.unmodifiableList(inputConfigs_);
}
this.unknownFields = unknownFields.build();
@@ -261,6 +266,22 @@ public long getRowCount() {
return rowCount_;
}
+ public static final int VALID_ROW_COUNT_FIELD_NUMBER = 4;
+ private long validRowCount_;
+ /**
+ *
+ *
+ *
+ * Output only. The number of valid rows (i.e. without values that don't match
+ * DataType-s of their columns).
+ *
+ *
+ * int64 valid_row_count = 4;
+ */
+ public long getValidRowCount() {
+ return validRowCount_;
+ }
+
public static final int COLUMN_COUNT_FIELD_NUMBER = 7;
private long columnCount_;
/**
@@ -414,6 +435,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (rowCount_ != 0L) {
output.writeInt64(3, rowCount_);
}
+ if (validRowCount_ != 0L) {
+ output.writeInt64(4, validRowCount_);
+ }
for (int i = 0; i < inputConfigs_.size(); i++) {
output.writeMessage(5, inputConfigs_.get(i));
}
@@ -441,6 +465,9 @@ public int getSerializedSize() {
if (rowCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, rowCount_);
}
+ if (validRowCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, validRowCount_);
+ }
for (int i = 0; i < inputConfigs_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, inputConfigs_.get(i));
}
@@ -469,6 +496,7 @@ public boolean equals(final java.lang.Object obj) {
if (!getName().equals(other.getName())) return false;
if (!getTimeColumnSpecId().equals(other.getTimeColumnSpecId())) return false;
if (getRowCount() != other.getRowCount()) return false;
+ if (getValidRowCount() != other.getValidRowCount()) return false;
if (getColumnCount() != other.getColumnCount()) return false;
if (!getInputConfigsList().equals(other.getInputConfigsList())) return false;
if (!getEtag().equals(other.getEtag())) return false;
@@ -489,6 +517,8 @@ public int hashCode() {
hash = (53 * hash) + getTimeColumnSpecId().hashCode();
hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRowCount());
+ hash = (37 * hash) + VALID_ROW_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getValidRowCount());
hash = (37 * hash) + COLUMN_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getColumnCount());
if (getInputConfigsCount() > 0) {
@@ -658,11 +688,13 @@ public Builder clear() {
rowCount_ = 0L;
+ validRowCount_ = 0L;
+
columnCount_ = 0L;
if (inputConfigsBuilder_ == null) {
inputConfigs_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
} else {
inputConfigsBuilder_.clear();
}
@@ -700,11 +732,12 @@ public com.google.cloud.automl.v1beta1.TableSpec buildPartial() {
result.name_ = name_;
result.timeColumnSpecId_ = timeColumnSpecId_;
result.rowCount_ = rowCount_;
+ result.validRowCount_ = validRowCount_;
result.columnCount_ = columnCount_;
if (inputConfigsBuilder_ == null) {
- if (((bitField0_ & 0x00000010) != 0)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
inputConfigs_ = java.util.Collections.unmodifiableList(inputConfigs_);
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
}
result.inputConfigs_ = inputConfigs_;
} else {
@@ -772,6 +805,9 @@ public Builder mergeFrom(com.google.cloud.automl.v1beta1.TableSpec other) {
if (other.getRowCount() != 0L) {
setRowCount(other.getRowCount());
}
+ if (other.getValidRowCount() != 0L) {
+ setValidRowCount(other.getValidRowCount());
+ }
if (other.getColumnCount() != 0L) {
setColumnCount(other.getColumnCount());
}
@@ -779,7 +815,7 @@ public Builder mergeFrom(com.google.cloud.automl.v1beta1.TableSpec other) {
if (!other.inputConfigs_.isEmpty()) {
if (inputConfigs_.isEmpty()) {
inputConfigs_ = other.inputConfigs_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureInputConfigsIsMutable();
inputConfigs_.addAll(other.inputConfigs_);
@@ -792,7 +828,7 @@ public Builder mergeFrom(com.google.cloud.automl.v1beta1.TableSpec other) {
inputConfigsBuilder_.dispose();
inputConfigsBuilder_ = null;
inputConfigs_ = other.inputConfigs_;
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
inputConfigsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getInputConfigsFieldBuilder()
@@ -1114,6 +1150,53 @@ public Builder clearRowCount() {
return this;
}
+ private long validRowCount_;
+ /**
+ *
+ *
+ *
+ * Output only. The number of valid rows (i.e. without values that don't match
+ * DataType-s of their columns).
+ *
+ *
+ * int64 valid_row_count = 4;
+ */
+ public long getValidRowCount() {
+ return validRowCount_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The number of valid rows (i.e. without values that don't match
+ * DataType-s of their columns).
+ *
+ *
+ * int64 valid_row_count = 4;
+ */
+ public Builder setValidRowCount(long value) {
+
+ validRowCount_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The number of valid rows (i.e. without values that don't match
+ * DataType-s of their columns).
+ *
+ *
+ * int64 valid_row_count = 4;
+ */
+ public Builder clearValidRowCount() {
+
+ validRowCount_ = 0L;
+ onChanged();
+ return this;
+ }
+
private long columnCount_;
/**
*
@@ -1165,10 +1248,10 @@ public Builder clearColumnCount() {
java.util.Collections.emptyList();
private void ensureInputConfigsIsMutable() {
- if (!((bitField0_ & 0x00000010) != 0)) {
+ if (!((bitField0_ & 0x00000020) != 0)) {
inputConfigs_ =
new java.util.ArrayList(inputConfigs_);
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000020;
}
}
@@ -1395,7 +1478,7 @@ public Builder addAllInputConfigs(
public Builder clearInputConfigs() {
if (inputConfigsBuilder_ == null) {
inputConfigs_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000020);
onChanged();
} else {
inputConfigsBuilder_.clear();
@@ -1525,7 +1608,7 @@ public com.google.cloud.automl.v1beta1.InputConfig.Builder addInputConfigsBuilde
com.google.cloud.automl.v1beta1.InputConfig,
com.google.cloud.automl.v1beta1.InputConfig.Builder,
com.google.cloud.automl.v1beta1.InputConfigOrBuilder>(
- inputConfigs_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
+ inputConfigs_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
inputConfigs_ = null;
}
return inputConfigsBuilder_;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpecOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpecOrBuilder.java
index bf3238710997..3d7f44e305e8 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpecOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpecOrBuilder.java
@@ -79,6 +79,18 @@ public interface TableSpecOrBuilder
*/
long getRowCount();
+ /**
+ *
+ *
+ *
+ * Output only. The number of valid rows (i.e. without values that don't match
+ * DataType-s of their columns).
+ *
+ *
+ * int64 valid_row_count = 4;
+ */
+ long getValidRowCount();
+
/**
*
*
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpecOuterClass.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpecOuterClass.java
index 0f7c19908f72..e93182b5bd88 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpecOuterClass.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TableSpecOuterClass.java
@@ -28,16 +28,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n,google/cloud/automl/v1beta1/table_spec"
+ ".proto\022\033google.cloud.automl.v1beta1\032$goo"
+ "gle/cloud/automl/v1beta1/io.proto\032\034googl"
- + "e/api/annotations.proto\"\256\001\n\tTableSpec\022\014\n"
+ + "e/api/annotations.proto\"\307\001\n\tTableSpec\022\014\n"
+ "\004name\030\001 \001(\t\022\033\n\023time_column_spec_id\030\002 \001(\t"
- + "\022\021\n\trow_count\030\003 \001(\003\022\024\n\014column_count\030\007 \001("
- + "\003\022?\n\rinput_configs\030\005 \003(\0132(.google.cloud."
- + "automl.v1beta1.InputConfig\022\014\n\004etag\030\006 \001(\t"
- + "B\245\001\n\037com.google.cloud.automl.v1beta1P\001ZA"
- + "google.golang.org/genproto/googleapis/cl"
- + "oud/automl/v1beta1;automl\312\002\033Google\\Cloud"
- + "\\AutoMl\\V1beta1\352\002\036Google::Cloud::AutoML:"
- + ":V1beta1b\006proto3"
+ + "\022\021\n\trow_count\030\003 \001(\003\022\027\n\017valid_row_count\030\004"
+ + " \001(\003\022\024\n\014column_count\030\007 \001(\003\022?\n\rinput_conf"
+ + "igs\030\005 \003(\0132(.google.cloud.automl.v1beta1."
+ + "InputConfig\022\014\n\004etag\030\006 \001(\tB\245\001\n\037com.google"
+ + ".cloud.automl.v1beta1P\001ZAgoogle.golang.o"
+ + "rg/genproto/googleapis/cloud/automl/v1be"
+ + "ta1;automl\312\002\033Google\\Cloud\\AutoMl\\V1beta1"
+ + "\352\002\036Google::Cloud::AutoML::V1beta1b\006proto"
+ + "3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -60,7 +61,13 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_cloud_automl_v1beta1_TableSpec_descriptor,
new java.lang.String[] {
- "Name", "TimeColumnSpecId", "RowCount", "ColumnCount", "InputConfigs", "Etag",
+ "Name",
+ "TimeColumnSpecId",
+ "RowCount",
+ "ValidRowCount",
+ "ColumnCount",
+ "InputConfigs",
+ "Etag",
});
com.google.cloud.automl.v1beta1.Io.getDescriptor();
com.google.api.AnnotationsProto.getDescriptor();
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Tables.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Tables.java
index 6f66bc9a263c..d5688682a187 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Tables.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Tables.java
@@ -62,34 +62,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ate_time\030\007 \001(\0132\032.google.protobuf.Timesta"
+ "mp\032n\n\035TargetColumnCorrelationsEntry\022\013\n\003k"
+ "ey\030\001 \001(\t\022<\n\005value\030\002 \001(\0132-.google.cloud.a"
- + "utoml.v1beta1.CorrelationStats:\0028\001\"\226\004\n\023T"
+ + "utoml.v1beta1.CorrelationStats:\0028\001\"\211\003\n\023T"
+ "ablesModelMetadata\022C\n\022target_column_spec"
+ "\030\002 \001(\0132\'.google.cloud.automl.v1beta1.Col"
+ "umnSpec\022K\n\032input_feature_column_specs\030\003 "
+ "\003(\0132\'.google.cloud.automl.v1beta1.Column"
- + "Spec\022\036\n\026optimization_objective\030\004 \001(\t\022-\n#"
- + "optimization_objective_recall_value\030\021 \001("
- + "\002H\000\0220\n&optimization_objective_precision_"
- + "value\030\022 \001(\002H\000\022T\n\030tables_model_column_inf"
- + "o\030\005 \003(\01322.google.cloud.automl.v1beta1.Ta"
- + "blesModelColumnInfo\022%\n\035train_budget_mill"
- + "i_node_hours\030\006 \001(\003\022#\n\033train_cost_milli_n"
- + "ode_hours\030\007 \001(\003\022\036\n\026disable_early_stoppin"
- + "g\030\014 \001(\010B*\n(additional_optimization_objec"
- + "tive_config\"\345\001\n\020TablesAnnotation\022\r\n\005scor"
- + "e\030\001 \001(\002\022E\n\023prediction_interval\030\004 \001(\0132(.g"
- + "oogle.cloud.automl.v1beta1.DoubleRange\022%"
- + "\n\005value\030\002 \001(\0132\026.google.protobuf.Value\022T\n"
- + "\030tables_model_column_info\030\003 \003(\01322.google"
- + ".cloud.automl.v1beta1.TablesModelColumnI"
- + "nfo\"j\n\025TablesModelColumnInfo\022\030\n\020column_s"
- + "pec_name\030\001 \001(\t\022\033\n\023column_display_name\030\002 "
- + "\001(\t\022\032\n\022feature_importance\030\003 \001(\002B\245\001\n\037com."
- + "google.cloud.automl.v1beta1P\001ZAgoogle.go"
- + "lang.org/genproto/googleapis/cloud/autom"
- + "l/v1beta1;automl\312\002\033Google\\Cloud\\AutoMl\\V"
- + "1beta1\352\002\036Google::Cloud::AutoML::V1beta1b"
- + "\006proto3"
+ + "Spec\022\036\n\026optimization_objective\030\004 \001(\t\022T\n\030"
+ + "tables_model_column_info\030\005 \003(\01322.google."
+ + "cloud.automl.v1beta1.TablesModelColumnIn"
+ + "fo\022%\n\035train_budget_milli_node_hours\030\006 \001("
+ + "\003\022#\n\033train_cost_milli_node_hours\030\007 \001(\003\022\036"
+ + "\n\026disable_early_stopping\030\014 \001(\010\"\345\001\n\020Table"
+ + "sAnnotation\022\r\n\005score\030\001 \001(\002\022E\n\023prediction"
+ + "_interval\030\004 \001(\0132(.google.cloud.automl.v1"
+ + "beta1.DoubleRange\022%\n\005value\030\002 \001(\0132\026.googl"
+ + "e.protobuf.Value\022T\n\030tables_model_column_"
+ + "info\030\003 \003(\01322.google.cloud.automl.v1beta1"
+ + ".TablesModelColumnInfo\"j\n\025TablesModelCol"
+ + "umnInfo\022\030\n\020column_spec_name\030\001 \001(\t\022\033\n\023col"
+ + "umn_display_name\030\002 \001(\t\022\032\n\022feature_import"
+ + "ance\030\003 \001(\002B\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"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
@@ -145,13 +141,10 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
"TargetColumnSpec",
"InputFeatureColumnSpecs",
"OptimizationObjective",
- "OptimizationObjectiveRecallValue",
- "OptimizationObjectivePrecisionValue",
"TablesModelColumnInfo",
"TrainBudgetMilliNodeHours",
"TrainCostMilliNodeHours",
"DisableEarlyStopping",
- "AdditionalOptimizationObjectiveConfig",
});
internal_static_google_cloud_automl_v1beta1_TablesAnnotation_descriptor =
getDescriptor().getMessageTypes().get(2);
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesAnnotation.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesAnnotation.java
index 3f019e322aee..1ab31b5ef41e 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesAnnotation.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesAnnotation.java
@@ -215,9 +215,9 @@ public com.google.cloud.automl.v1beta1.DoubleRangeOrBuilder getPredictionInterva
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
@@ -232,9 +232,9 @@ public boolean hasValue() {
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
@@ -249,9 +249,9 @@ public com.google.protobuf.Value getValue() {
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
@@ -1080,9 +1080,9 @@ public com.google.cloud.automl.v1beta1.DoubleRangeOrBuilder getPredictionInterva
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
@@ -1097,9 +1097,9 @@ public boolean hasValue() {
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
@@ -1118,9 +1118,9 @@ public com.google.protobuf.Value getValue() {
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
@@ -1145,9 +1145,9 @@ public Builder setValue(com.google.protobuf.Value value) {
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
@@ -1169,9 +1169,9 @@ public Builder setValue(com.google.protobuf.Value.Builder builderForValue) {
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
@@ -1197,9 +1197,9 @@ public Builder mergeValue(com.google.protobuf.Value value) {
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
@@ -1222,9 +1222,9 @@ public Builder clearValue() {
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
@@ -1241,9 +1241,9 @@ public com.google.protobuf.Value.Builder getValueBuilder() {
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
@@ -1262,9 +1262,9 @@ public com.google.protobuf.ValueOrBuilder getValueOrBuilder() {
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesAnnotationOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesAnnotationOrBuilder.java
index c718c834b848..432595520644 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesAnnotationOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesAnnotationOrBuilder.java
@@ -70,9 +70,9 @@ public interface TablesAnnotationOrBuilder
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
@@ -85,9 +85,9 @@ public interface TablesAnnotationOrBuilder
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
@@ -100,9 +100,9 @@ public interface TablesAnnotationOrBuilder
* The predicted value of the row's
* [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
* The value depends on the column's DataType:
- * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- * value.
- * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ * * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ * value.
+ * * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
*
*
* .google.protobuf.Value value = 2;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesDatasetMetadata.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesDatasetMetadata.java
index ad1037605bf6..9e288cdf71e0 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesDatasetMetadata.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesDatasetMetadata.java
@@ -217,7 +217,7 @@ public com.google.protobuf.ByteString getPrimaryTableSpecIdBytes() {
* (otherwise model creation will error):
* * CATEGORY
* * FLOAT64
- * Furthermore, if the type is CATEGORY , then only up to
+ * If the type is CATEGORY , only up to
* 100 unique values may exist in that column across all rows.
* NOTE: Updates of this field will instantly affect any other users
* concurrently working with the dataset.
@@ -246,7 +246,7 @@ public java.lang.String getTargetColumnSpecId() {
* (otherwise model creation will error):
* * CATEGORY
* * FLOAT64
- * Furthermore, if the type is CATEGORY , then only up to
+ * If the type is CATEGORY , only up to
* 100 unique values may exist in that column across all rows.
* NOTE: Updates of this field will instantly affect any other users
* concurrently working with the dataset.
@@ -542,11 +542,12 @@ public com.google.cloud.automl.v1beta1.CorrelationStats getTargetColumnCorrelati
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
@@ -558,11 +559,12 @@ public boolean hasStatsUpdateTime() {
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
@@ -576,11 +578,12 @@ public com.google.protobuf.Timestamp getStatsUpdateTime() {
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
@@ -1143,7 +1146,7 @@ public Builder setPrimaryTableSpecIdBytes(com.google.protobuf.ByteString value)
* (otherwise model creation will error):
* * CATEGORY
* * FLOAT64
- * Furthermore, if the type is CATEGORY , then only up to
+ * If the type is CATEGORY , only up to
* 100 unique values may exist in that column across all rows.
* NOTE: Updates of this field will instantly affect any other users
* concurrently working with the dataset.
@@ -1172,7 +1175,7 @@ public java.lang.String getTargetColumnSpecId() {
* (otherwise model creation will error):
* * CATEGORY
* * FLOAT64
- * Furthermore, if the type is CATEGORY , then only up to
+ * If the type is CATEGORY , only up to
* 100 unique values may exist in that column across all rows.
* NOTE: Updates of this field will instantly affect any other users
* concurrently working with the dataset.
@@ -1201,7 +1204,7 @@ public com.google.protobuf.ByteString getTargetColumnSpecIdBytes() {
* (otherwise model creation will error):
* * CATEGORY
* * FLOAT64
- * Furthermore, if the type is CATEGORY , then only up to
+ * If the type is CATEGORY , only up to
* 100 unique values may exist in that column across all rows.
* NOTE: Updates of this field will instantly affect any other users
* concurrently working with the dataset.
@@ -1228,7 +1231,7 @@ public Builder setTargetColumnSpecId(java.lang.String value) {
* (otherwise model creation will error):
* * CATEGORY
* * FLOAT64
- * Furthermore, if the type is CATEGORY , then only up to
+ * If the type is CATEGORY , only up to
* 100 unique values may exist in that column across all rows.
* NOTE: Updates of this field will instantly affect any other users
* concurrently working with the dataset.
@@ -1252,7 +1255,7 @@ public Builder clearTargetColumnSpecId() {
* (otherwise model creation will error):
* * CATEGORY
* * FLOAT64
- * Furthermore, if the type is CATEGORY , then only up to
+ * If the type is CATEGORY , only up to
* 100 unique values may exist in that column across all rows.
* NOTE: Updates of this field will instantly affect any other users
* concurrently working with the dataset.
@@ -1800,11 +1803,12 @@ public Builder putAllTargetColumnCorrelations(
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
@@ -1816,11 +1820,12 @@ public boolean hasStatsUpdateTime() {
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
@@ -1838,11 +1843,12 @@ public com.google.protobuf.Timestamp getStatsUpdateTime() {
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
@@ -1864,11 +1870,12 @@ public Builder setStatsUpdateTime(com.google.protobuf.Timestamp value) {
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
@@ -1887,11 +1894,12 @@ public Builder setStatsUpdateTime(com.google.protobuf.Timestamp.Builder builderF
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
@@ -1917,11 +1925,12 @@ public Builder mergeStatsUpdateTime(com.google.protobuf.Timestamp value) {
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
@@ -1941,11 +1950,12 @@ public Builder clearStatsUpdateTime() {
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
@@ -1959,11 +1969,12 @@ public com.google.protobuf.Timestamp.Builder getStatsUpdateTimeBuilder() {
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
@@ -1981,11 +1992,12 @@ public com.google.protobuf.TimestampOrBuilder getStatsUpdateTimeOrBuilder() {
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesDatasetMetadataOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesDatasetMetadataOrBuilder.java
index 33ad59ffbc22..1e1b2661f3f4 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesDatasetMetadataOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesDatasetMetadataOrBuilder.java
@@ -39,7 +39,7 @@ public interface TablesDatasetMetadataOrBuilder
* (otherwise model creation will error):
* * CATEGORY
* * FLOAT64
- * Furthermore, if the type is CATEGORY , then only up to
+ * If the type is CATEGORY , only up to
* 100 unique values may exist in that column across all rows.
* NOTE: Updates of this field will instantly affect any other users
* concurrently working with the dataset.
@@ -58,7 +58,7 @@ public interface TablesDatasetMetadataOrBuilder
* (otherwise model creation will error):
* * CATEGORY
* * FLOAT64
- * Furthermore, if the type is CATEGORY , then only up to
+ * If the type is CATEGORY , only up to
* 100 unique values may exist in that column across all rows.
* NOTE: Updates of this field will instantly affect any other users
* concurrently working with the dataset.
@@ -257,11 +257,12 @@ com.google.cloud.automl.v1beta1.CorrelationStats getTargetColumnCorrelationsOrTh
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
@@ -271,11 +272,12 @@ com.google.cloud.automl.v1beta1.CorrelationStats getTargetColumnCorrelationsOrTh
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
@@ -285,11 +287,12 @@ com.google.cloud.automl.v1beta1.CorrelationStats getTargetColumnCorrelationsOrTh
*
*
*
- * The most recent timestamp when target_column_correlations field and all
- * descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- * fields were last (re-)generated. Any changes that happened to the dataset
- * afterwards are not reflected in these fields values. The regeneration
- * happens in the background on a best effort basis.
+ * Output only. The most recent timestamp when target_column_correlations
+ * field and all descendant ColumnSpec.data_stats and
+ * ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ * changes that happened to the dataset afterwards are not reflected in these
+ * fields values. The regeneration happens in the background on a best effort
+ * basis.
*
*
* .google.protobuf.Timestamp stats_update_time = 7;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelColumnInfo.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelColumnInfo.java
index 5ad9a03ee56c..ba7e9988e0a5 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelColumnInfo.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelColumnInfo.java
@@ -201,8 +201,7 @@ public com.google.protobuf.ByteString getColumnDisplayNameBytes() {
*
*
*
- * Output only.
- * When given as part of a Model (always populated):
+ * Output only. When given as part of a Model (always populated):
* Measurement of how much model predictions correctness on the TEST data
* depend on values in this column. A value between 0 and 1, higher means
* higher influence. These values are normalized - for all input feature
@@ -780,8 +779,7 @@ public Builder setColumnDisplayNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Output only.
- * When given as part of a Model (always populated):
+ * Output only. When given as part of a Model (always populated):
* Measurement of how much model predictions correctness on the TEST data
* depend on values in this column. A value between 0 and 1, higher means
* higher influence. These values are normalized - for all input feature
@@ -807,8 +805,7 @@ public float getFeatureImportance() {
*
*
*
- * Output only.
- * When given as part of a Model (always populated):
+ * Output only. When given as part of a Model (always populated):
* Measurement of how much model predictions correctness on the TEST data
* depend on values in this column. A value between 0 and 1, higher means
* higher influence. These values are normalized - for all input feature
@@ -837,8 +834,7 @@ public Builder setFeatureImportance(float value) {
*
*
*
- * Output only.
- * When given as part of a Model (always populated):
+ * Output only. When given as part of a Model (always populated):
* Measurement of how much model predictions correctness on the TEST data
* depend on values in this column. A value between 0 and 1, higher means
* higher influence. These values are normalized - for all input feature
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelColumnInfoOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelColumnInfoOrBuilder.java
index 24fa6673095c..73f7b8f54b22 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelColumnInfoOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelColumnInfoOrBuilder.java
@@ -58,8 +58,7 @@ public interface TablesModelColumnInfoOrBuilder
*
*
*
- * Output only.
- * When given as part of a Model (always populated):
+ * Output only. When given as part of a Model (always populated):
* Measurement of how much model predictions correctness on the TEST data
* depend on values in this column. A value between 0 and 1, higher means
* higher influence. These values are normalized - for all input feature
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelMetadata.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelMetadata.java
index aa8324fd00ec..ae06625e7624 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelMetadata.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelMetadata.java
@@ -89,11 +89,11 @@ private TablesModelMetadata(
}
case 42:
{
- if (!((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000008) != 0)) {
tablesModelColumnInfo_ =
new java.util.ArrayList<
com.google.cloud.automl.v1beta1.TablesModelColumnInfo>();
- mutable_bitField0_ |= 0x00000020;
+ mutable_bitField0_ |= 0x00000008;
}
tablesModelColumnInfo_.add(
input.readMessage(
@@ -116,18 +116,6 @@ private TablesModelMetadata(
disableEarlyStopping_ = input.readBool();
break;
}
- case 141:
- {
- additionalOptimizationObjectiveConfigCase_ = 17;
- additionalOptimizationObjectiveConfig_ = input.readFloat();
- break;
- }
- case 149:
- {
- additionalOptimizationObjectiveConfigCase_ = 18;
- additionalOptimizationObjectiveConfig_ = input.readFloat();
- break;
- }
default:
{
if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
@@ -145,7 +133,7 @@ private TablesModelMetadata(
if (((mutable_bitField0_ & 0x00000002) != 0)) {
inputFeatureColumnSpecs_ = java.util.Collections.unmodifiableList(inputFeatureColumnSpecs_);
}
- if (((mutable_bitField0_ & 0x00000020) != 0)) {
+ if (((mutable_bitField0_ & 0x00000008) != 0)) {
tablesModelColumnInfo_ = java.util.Collections.unmodifiableList(tablesModelColumnInfo_);
}
this.unknownFields = unknownFields.build();
@@ -169,48 +157,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
private int bitField0_;
- private int additionalOptimizationObjectiveConfigCase_ = 0;
- private java.lang.Object additionalOptimizationObjectiveConfig_;
-
- public enum AdditionalOptimizationObjectiveConfigCase
- implements com.google.protobuf.Internal.EnumLite {
- OPTIMIZATION_OBJECTIVE_RECALL_VALUE(17),
- OPTIMIZATION_OBJECTIVE_PRECISION_VALUE(18),
- ADDITIONALOPTIMIZATIONOBJECTIVECONFIG_NOT_SET(0);
- private final int value;
-
- private AdditionalOptimizationObjectiveConfigCase(int value) {
- this.value = value;
- }
- /** @deprecated Use {@link #forNumber(int)} instead. */
- @java.lang.Deprecated
- public static AdditionalOptimizationObjectiveConfigCase valueOf(int value) {
- return forNumber(value);
- }
-
- public static AdditionalOptimizationObjectiveConfigCase forNumber(int value) {
- switch (value) {
- case 17:
- return OPTIMIZATION_OBJECTIVE_RECALL_VALUE;
- case 18:
- return OPTIMIZATION_OBJECTIVE_PRECISION_VALUE;
- case 0:
- return ADDITIONALOPTIMIZATIONOBJECTIVECONFIG_NOT_SET;
- default:
- return null;
- }
- }
-
- public int getNumber() {
- return this.value;
- }
- };
-
- public AdditionalOptimizationObjectiveConfigCase getAdditionalOptimizationObjectiveConfigCase() {
- return AdditionalOptimizationObjectiveConfigCase.forNumber(
- additionalOptimizationObjectiveConfigCase_);
- }
-
public static final int TARGET_COLUMN_SPEC_FIELD_NUMBER = 2;
private com.google.cloud.automl.v1beta1.ColumnSpec targetColumnSpec_;
/**
@@ -292,11 +238,11 @@ public com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder getTargetColumnSpecOr
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -319,11 +265,11 @@ public com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder getTargetColumnSpecOr
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -346,11 +292,11 @@ public com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder getTargetColumnSpecOr
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -372,11 +318,11 @@ public int getInputFeatureColumnSpecsCount() {
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -398,11 +344,11 @@ public com.google.cloud.automl.v1beta1.ColumnSpec getInputFeatureColumnSpecs(int
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -438,9 +384,6 @@ public com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder getInputFeatureColumn
* "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
* "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
* "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
- * FORECASTING:
- * "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
- * "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
*
*
* string optimization_objective = 4;
@@ -480,9 +423,6 @@ public java.lang.String getOptimizationObjective() {
* "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
* "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
* "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
- * FORECASTING:
- * "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
- * "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
*
*
* string optimization_objective = 4;
@@ -499,42 +439,6 @@ public com.google.protobuf.ByteString getOptimizationObjectiveBytes() {
}
}
- public static final int OPTIMIZATION_OBJECTIVE_RECALL_VALUE_FIELD_NUMBER = 17;
- /**
- *
- *
- *
- * Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL".
- * Must be between 0 and 1, inclusive.
- *
- *
- * float optimization_objective_recall_value = 17;
- */
- public float getOptimizationObjectiveRecallValue() {
- if (additionalOptimizationObjectiveConfigCase_ == 17) {
- return (java.lang.Float) additionalOptimizationObjectiveConfig_;
- }
- return 0F;
- }
-
- public static final int OPTIMIZATION_OBJECTIVE_PRECISION_VALUE_FIELD_NUMBER = 18;
- /**
- *
- *
- *
- * Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION".
- * Must be between 0 and 1, inclusive.
- *
- *
- * float optimization_objective_precision_value = 18;
- */
- public float getOptimizationObjectivePrecisionValue() {
- if (additionalOptimizationObjectiveConfigCase_ == 18) {
- return (java.lang.Float) additionalOptimizationObjectiveConfig_;
- }
- return 0F;
- }
-
public static final int TABLES_MODEL_COLUMN_INFO_FIELD_NUMBER = 5;
private java.util.List
tablesModelColumnInfo_;
@@ -706,12 +610,6 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (disableEarlyStopping_ != false) {
output.writeBool(12, disableEarlyStopping_);
}
- if (additionalOptimizationObjectiveConfigCase_ == 17) {
- output.writeFloat(17, (float) ((java.lang.Float) additionalOptimizationObjectiveConfig_));
- }
- if (additionalOptimizationObjectiveConfigCase_ == 18) {
- output.writeFloat(18, (float) ((java.lang.Float) additionalOptimizationObjectiveConfig_));
- }
unknownFields.writeTo(output);
}
@@ -746,16 +644,6 @@ public int getSerializedSize() {
if (disableEarlyStopping_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(12, disableEarlyStopping_);
}
- if (additionalOptimizationObjectiveConfigCase_ == 17) {
- size +=
- com.google.protobuf.CodedOutputStream.computeFloatSize(
- 17, (float) ((java.lang.Float) additionalOptimizationObjectiveConfig_));
- }
- if (additionalOptimizationObjectiveConfigCase_ == 18) {
- size +=
- com.google.protobuf.CodedOutputStream.computeFloatSize(
- 18, (float) ((java.lang.Float) additionalOptimizationObjectiveConfig_));
- }
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
@@ -783,22 +671,6 @@ public boolean equals(final java.lang.Object obj) {
if (getTrainBudgetMilliNodeHours() != other.getTrainBudgetMilliNodeHours()) return false;
if (getTrainCostMilliNodeHours() != other.getTrainCostMilliNodeHours()) return false;
if (getDisableEarlyStopping() != other.getDisableEarlyStopping()) return false;
- if (!getAdditionalOptimizationObjectiveConfigCase()
- .equals(other.getAdditionalOptimizationObjectiveConfigCase())) return false;
- switch (additionalOptimizationObjectiveConfigCase_) {
- case 17:
- if (java.lang.Float.floatToIntBits(getOptimizationObjectiveRecallValue())
- != java.lang.Float.floatToIntBits(other.getOptimizationObjectiveRecallValue()))
- return false;
- break;
- case 18:
- if (java.lang.Float.floatToIntBits(getOptimizationObjectivePrecisionValue())
- != java.lang.Float.floatToIntBits(other.getOptimizationObjectivePrecisionValue()))
- return false;
- break;
- case 0:
- default:
- }
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -830,19 +702,6 @@ public int hashCode() {
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getTrainCostMilliNodeHours());
hash = (37 * hash) + DISABLE_EARLY_STOPPING_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDisableEarlyStopping());
- switch (additionalOptimizationObjectiveConfigCase_) {
- case 17:
- hash = (37 * hash) + OPTIMIZATION_OBJECTIVE_RECALL_VALUE_FIELD_NUMBER;
- hash = (53 * hash) + java.lang.Float.floatToIntBits(getOptimizationObjectiveRecallValue());
- break;
- case 18:
- hash = (37 * hash) + OPTIMIZATION_OBJECTIVE_PRECISION_VALUE_FIELD_NUMBER;
- hash =
- (53 * hash) + java.lang.Float.floatToIntBits(getOptimizationObjectivePrecisionValue());
- break;
- case 0:
- default:
- }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -1007,7 +866,7 @@ public Builder clear() {
if (tablesModelColumnInfoBuilder_ == null) {
tablesModelColumnInfo_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000008);
} else {
tablesModelColumnInfoBuilder_.clear();
}
@@ -1017,8 +876,6 @@ public Builder clear() {
disableEarlyStopping_ = false;
- additionalOptimizationObjectiveConfigCase_ = 0;
- additionalOptimizationObjectiveConfig_ = null;
return this;
}
@@ -1064,16 +921,10 @@ public com.google.cloud.automl.v1beta1.TablesModelMetadata buildPartial() {
result.inputFeatureColumnSpecs_ = inputFeatureColumnSpecsBuilder_.build();
}
result.optimizationObjective_ = optimizationObjective_;
- if (additionalOptimizationObjectiveConfigCase_ == 17) {
- result.additionalOptimizationObjectiveConfig_ = additionalOptimizationObjectiveConfig_;
- }
- if (additionalOptimizationObjectiveConfigCase_ == 18) {
- result.additionalOptimizationObjectiveConfig_ = additionalOptimizationObjectiveConfig_;
- }
if (tablesModelColumnInfoBuilder_ == null) {
- if (((bitField0_ & 0x00000020) != 0)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
tablesModelColumnInfo_ = java.util.Collections.unmodifiableList(tablesModelColumnInfo_);
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000008);
}
result.tablesModelColumnInfo_ = tablesModelColumnInfo_;
} else {
@@ -1083,8 +934,6 @@ public com.google.cloud.automl.v1beta1.TablesModelMetadata buildPartial() {
result.trainCostMilliNodeHours_ = trainCostMilliNodeHours_;
result.disableEarlyStopping_ = disableEarlyStopping_;
result.bitField0_ = to_bitField0_;
- result.additionalOptimizationObjectiveConfigCase_ =
- additionalOptimizationObjectiveConfigCase_;
onBuilt();
return result;
}
@@ -1173,7 +1022,7 @@ public Builder mergeFrom(com.google.cloud.automl.v1beta1.TablesModelMetadata oth
if (!other.tablesModelColumnInfo_.isEmpty()) {
if (tablesModelColumnInfo_.isEmpty()) {
tablesModelColumnInfo_ = other.tablesModelColumnInfo_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTablesModelColumnInfoIsMutable();
tablesModelColumnInfo_.addAll(other.tablesModelColumnInfo_);
@@ -1186,7 +1035,7 @@ public Builder mergeFrom(com.google.cloud.automl.v1beta1.TablesModelMetadata oth
tablesModelColumnInfoBuilder_.dispose();
tablesModelColumnInfoBuilder_ = null;
tablesModelColumnInfo_ = other.tablesModelColumnInfo_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ = (bitField0_ & ~0x00000008);
tablesModelColumnInfoBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getTablesModelColumnInfoFieldBuilder()
@@ -1205,22 +1054,6 @@ public Builder mergeFrom(com.google.cloud.automl.v1beta1.TablesModelMetadata oth
if (other.getDisableEarlyStopping() != false) {
setDisableEarlyStopping(other.getDisableEarlyStopping());
}
- switch (other.getAdditionalOptimizationObjectiveConfigCase()) {
- case OPTIMIZATION_OBJECTIVE_RECALL_VALUE:
- {
- setOptimizationObjectiveRecallValue(other.getOptimizationObjectiveRecallValue());
- break;
- }
- case OPTIMIZATION_OBJECTIVE_PRECISION_VALUE:
- {
- setOptimizationObjectivePrecisionValue(other.getOptimizationObjectivePrecisionValue());
- break;
- }
- case ADDITIONALOPTIMIZATIONOBJECTIVECONFIG_NOT_SET:
- {
- break;
- }
- }
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
@@ -1251,22 +1084,6 @@ public Builder mergeFrom(
return this;
}
- private int additionalOptimizationObjectiveConfigCase_ = 0;
- private java.lang.Object additionalOptimizationObjectiveConfig_;
-
- public AdditionalOptimizationObjectiveConfigCase
- getAdditionalOptimizationObjectiveConfigCase() {
- return AdditionalOptimizationObjectiveConfigCase.forNumber(
- additionalOptimizationObjectiveConfigCase_);
- }
-
- public Builder clearAdditionalOptimizationObjectiveConfig() {
- additionalOptimizationObjectiveConfigCase_ = 0;
- additionalOptimizationObjectiveConfig_ = null;
- onChanged();
- return this;
- }
-
private int bitField0_;
private com.google.cloud.automl.v1beta1.ColumnSpec targetColumnSpec_;
@@ -1555,11 +1372,11 @@ private void ensureInputFeatureColumnSpecsIsMutable() {
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -1586,11 +1403,11 @@ private void ensureInputFeatureColumnSpecsIsMutable() {
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -1616,11 +1433,11 @@ public int getInputFeatureColumnSpecsCount() {
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -1646,11 +1463,11 @@ public com.google.cloud.automl.v1beta1.ColumnSpec getInputFeatureColumnSpecs(int
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -1683,11 +1500,11 @@ public Builder setInputFeatureColumnSpecs(
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -1717,11 +1534,11 @@ public Builder setInputFeatureColumnSpecs(
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -1753,11 +1570,11 @@ public Builder addInputFeatureColumnSpecs(com.google.cloud.automl.v1beta1.Column
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -1790,11 +1607,11 @@ public Builder addInputFeatureColumnSpecs(
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -1824,11 +1641,11 @@ public Builder addInputFeatureColumnSpecs(
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -1858,11 +1675,11 @@ public Builder addInputFeatureColumnSpecs(
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -1892,11 +1709,11 @@ public Builder addAllInputFeatureColumnSpecs(
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -1925,11 +1742,11 @@ public Builder clearInputFeatureColumnSpecs() {
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -1958,11 +1775,11 @@ public Builder removeInputFeatureColumnSpecs(int index) {
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -1985,11 +1802,11 @@ public com.google.cloud.automl.v1beta1.ColumnSpec.Builder getInputFeatureColumnS
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -2016,11 +1833,11 @@ public com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder getInputFeatureColumn
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -2047,11 +1864,11 @@ public com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder getInputFeatureColumn
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -2074,11 +1891,11 @@ public com.google.cloud.automl.v1beta1.ColumnSpec.Builder addInputFeatureColumnS
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -2102,11 +1919,11 @@ public com.google.cloud.automl.v1beta1.ColumnSpec.Builder addInputFeatureColumnS
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -2161,9 +1978,6 @@ public com.google.cloud.automl.v1beta1.ColumnSpec.Builder addInputFeatureColumnS
* "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
* "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
* "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
- * FORECASTING:
- * "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
- * "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
*
*
* string optimization_objective = 4;
@@ -2203,9 +2017,6 @@ public java.lang.String getOptimizationObjective() {
* "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
* "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
* "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
- * FORECASTING:
- * "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
- * "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
*
*
* string optimization_objective = 4;
@@ -2245,9 +2056,6 @@ public com.google.protobuf.ByteString getOptimizationObjectiveBytes() {
* "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
* "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
* "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
- * FORECASTING:
- * "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
- * "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
*
*
* string optimization_objective = 4;
@@ -2285,9 +2093,6 @@ public Builder setOptimizationObjective(java.lang.String value) {
* "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
* "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
* "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
- * FORECASTING:
- * "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
- * "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
*
*
* string optimization_objective = 4;
@@ -2322,9 +2127,6 @@ public Builder clearOptimizationObjective() {
* "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
* "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
* "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
- * FORECASTING:
- * "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
- * "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
*
*
* string optimization_objective = 4;
@@ -2340,117 +2142,15 @@ public Builder setOptimizationObjectiveBytes(com.google.protobuf.ByteString valu
return this;
}
- /**
- *
- *
- * - * Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL". - * Must be between 0 and 1, inclusive. - *- * - *
float optimization_objective_recall_value = 17;
- */
- public float getOptimizationObjectiveRecallValue() {
- if (additionalOptimizationObjectiveConfigCase_ == 17) {
- return (java.lang.Float) additionalOptimizationObjectiveConfig_;
- }
- return 0F;
- }
- /**
- *
- *
- * - * Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL". - * Must be between 0 and 1, inclusive. - *- * - *
float optimization_objective_recall_value = 17;
- */
- public Builder setOptimizationObjectiveRecallValue(float value) {
- additionalOptimizationObjectiveConfigCase_ = 17;
- additionalOptimizationObjectiveConfig_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL". - * Must be between 0 and 1, inclusive. - *- * - *
float optimization_objective_recall_value = 17;
- */
- public Builder clearOptimizationObjectiveRecallValue() {
- if (additionalOptimizationObjectiveConfigCase_ == 17) {
- additionalOptimizationObjectiveConfigCase_ = 0;
- additionalOptimizationObjectiveConfig_ = null;
- onChanged();
- }
- return this;
- }
-
- /**
- *
- *
- * - * Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION". - * Must be between 0 and 1, inclusive. - *- * - *
float optimization_objective_precision_value = 18;
- */
- public float getOptimizationObjectivePrecisionValue() {
- if (additionalOptimizationObjectiveConfigCase_ == 18) {
- return (java.lang.Float) additionalOptimizationObjectiveConfig_;
- }
- return 0F;
- }
- /**
- *
- *
- * - * Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION". - * Must be between 0 and 1, inclusive. - *- * - *
float optimization_objective_precision_value = 18;
- */
- public Builder setOptimizationObjectivePrecisionValue(float value) {
- additionalOptimizationObjectiveConfigCase_ = 18;
- additionalOptimizationObjectiveConfig_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION". - * Must be between 0 and 1, inclusive. - *- * - *
float optimization_objective_precision_value = 18;
- */
- public Builder clearOptimizationObjectivePrecisionValue() {
- if (additionalOptimizationObjectiveConfigCase_ == 18) {
- additionalOptimizationObjectiveConfigCase_ = 0;
- additionalOptimizationObjectiveConfig_ = null;
- onChanged();
- }
- return this;
- }
-
private java.util.Listrepeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -101,11 +101,11 @@ public interface TablesModelMetadataOrBuilder
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -125,11 +125,11 @@ public interface TablesModelMetadataOrBuilder
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -149,11 +149,11 @@ public interface TablesModelMetadataOrBuilder
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -174,11 +174,11 @@ public interface TablesModelMetadataOrBuilder
* [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
* must never be included here.
* Only 3 fields are used:
- * name - May be set on CreateModel, if set only the columns specified are
- * used, otherwise all primary table's columns (except the ones listed
- * above) are used for the training and prediction input.
- * display_name - Output only.
- * data_type - Output only.
+ * * name - May be set on CreateModel, if set only the columns specified are
+ * used, otherwise all primary table's columns (except the ones listed
+ * above) are used for the training and prediction input.
+ * * display_name - Output only.
+ * * data_type - Output only.
*
*
* repeated .google.cloud.automl.v1beta1.ColumnSpec input_feature_column_specs = 3;
@@ -210,9 +210,6 @@ com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder getInputFeatureColumnSpecsOr
* "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
* "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
* "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
- * FORECASTING:
- * "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
- * "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
*
*
* string optimization_objective = 4;
@@ -242,39 +239,12 @@ com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder getInputFeatureColumnSpecsOr
* "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
* "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
* "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
- * FORECASTING:
- * "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
- * "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
*
*
* string optimization_objective = 4;
*/
com.google.protobuf.ByteString getOptimizationObjectiveBytes();
- /**
- *
- *
- * - * Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL". - * Must be between 0 and 1, inclusive. - *- * - *
float optimization_objective_recall_value = 17;
- */
- float getOptimizationObjectiveRecallValue();
-
- /**
- *
- *
- * - * Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION". - * Must be between 0 and 1, inclusive. - *- * - *
float optimization_objective_precision_value = 18;
- */
- float getOptimizationObjectivePrecisionValue();
-
/**
*
*
@@ -385,8 +355,4 @@ com.google.cloud.automl.v1beta1.TablesModelColumnInfoOrBuilder getTablesModelCol
* bool disable_early_stopping = 12;
*/
boolean getDisableEarlyStopping();
-
- public com.google.cloud.automl.v1beta1.TablesModelMetadata
- .AdditionalOptimizationObjectiveConfigCase
- getAdditionalOptimizationObjectiveConfigCase();
}
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadata.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadata.java
index 12852b7fdc6f..ee40a27f5bbd 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadata.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadata.java
@@ -98,8 +98,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required.
- * Type of the classification problem.
+ * Required. Type of the classification problem.
*
*
* .google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
@@ -111,8 +110,7 @@ public int getClassificationTypeValue() {
*
*
*
- * Required.
- * Type of the classification problem.
+ * Required. Type of the classification problem.
*
*
* .google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
@@ -463,8 +461,7 @@ public Builder mergeFrom(
*
*
*
- * Required.
- * Type of the classification problem.
+ * Required. Type of the classification problem.
*
*
* .google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
@@ -476,8 +473,7 @@ public int getClassificationTypeValue() {
*
*
*
- * Required.
- * Type of the classification problem.
+ * Required. Type of the classification problem.
*
*
* .google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
@@ -491,8 +487,7 @@ public Builder setClassificationTypeValue(int value) {
*
*
*
- * Required.
- * Type of the classification problem.
+ * Required. Type of the classification problem.
*
*
* .google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
@@ -511,8 +506,7 @@ public Builder setClassificationTypeValue(int value) {
*
*
*
- * Required.
- * Type of the classification problem.
+ * Required. Type of the classification problem.
*
*
* .google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
@@ -531,8 +525,7 @@ public Builder setClassificationType(
*
*
*
- * Required.
- * Type of the classification problem.
+ * Required. Type of the classification problem.
*
*
* .google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadataOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadataOrBuilder.java
index a4f520dce91d..c2c9ad44213e 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadataOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextClassificationDatasetMetadataOrBuilder.java
@@ -12,8 +12,7 @@ public interface TextClassificationDatasetMetadataOrBuilder
*
*
*
- * Required.
- * Type of the classification problem.
+ * Required. Type of the classification problem.
*
*
* .google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
@@ -23,8 +22,7 @@ public interface TextClassificationDatasetMetadataOrBuilder
*
*
*
- * Required.
- * Type of the classification problem.
+ * Required. Type of the classification problem.
*
*
* .google.cloud.automl.v1beta1.ClassificationType classification_type = 1;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentDatasetMetadata.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentDatasetMetadata.java
index 674db0d3bc14..739cd07ec8b0 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentDatasetMetadata.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentDatasetMetadata.java
@@ -93,8 +93,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required.
- * A sentiment is expressed as an integer ordinal, where higher 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
@@ -433,8 +432,7 @@ public Builder mergeFrom(
*
*
*
- * Required.
- * A sentiment is expressed as an integer ordinal, where higher 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
@@ -451,8 +449,7 @@ public int getSentimentMax() {
*
*
*
- * Required.
- * A sentiment is expressed as an integer ordinal, where higher 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
@@ -472,8 +469,7 @@ public Builder setSentimentMax(int value) {
*
*
*
- * Required.
- * A sentiment is expressed as an integer ordinal, where higher 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
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentDatasetMetadataOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentDatasetMetadataOrBuilder.java
index 05263081f16f..5a9bad48708d 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentDatasetMetadataOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSentimentDatasetMetadataOrBuilder.java
@@ -12,8 +12,7 @@ public interface TextSentimentDatasetMetadataOrBuilder
*
*
*
- * Required.
- * A sentiment is expressed as an integer ordinal, where higher 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
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippet.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippet.java
index 498849cc8cdc..31a8da121a5e 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippet.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippet.java
@@ -158,9 +158,9 @@ public com.google.protobuf.ByteString getContentBytes() {
*
*
*
- * The format of the source text. 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.
+ * 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;
@@ -180,9 +180,9 @@ public java.lang.String getMimeType() {
*
*
*
- * The format of the source text. 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.
+ * 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;
@@ -694,9 +694,9 @@ public Builder setContentBytes(com.google.protobuf.ByteString value) {
*
*
*
- * The format of the source text. 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.
+ * 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;
@@ -716,9 +716,9 @@ public java.lang.String getMimeType() {
*
*
*
- * The format of the source text. 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.
+ * 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;
@@ -738,9 +738,9 @@ public com.google.protobuf.ByteString getMimeTypeBytes() {
*
*
*
- * The format of the source text. 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.
+ * 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;
@@ -758,9 +758,9 @@ public Builder setMimeType(java.lang.String value) {
*
*
*
- * The format of the source text. 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.
+ * 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;
@@ -775,9 +775,9 @@ public Builder clearMimeType() {
*
*
*
- * The format of the source text. 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.
+ * 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/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippetOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippetOrBuilder.java
index c2d4dd0095f0..1ef5984df35b 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippetOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TextSnippetOrBuilder.java
@@ -35,9 +35,9 @@ public interface TextSnippetOrBuilder
*
*
*
- * The format of the source text. 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.
+ * 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;
@@ -47,9 +47,9 @@ public interface TextSnippetOrBuilder
*
*
*
- * The format of the source text. 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.
+ * 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/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TypeCode.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TypeCode.java
index 7a4cf87e5dd0..7b0669235896 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TypeCode.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TypeCode.java
@@ -9,12 +9,6 @@
*
* `TypeCode` is used as a part of
* [DataType][google.cloud.automl.v1beta1.DataType].
- * Each legal value of a DataType can be encoded to or decoded from a JSON
- * value, using the encodings listed below, and definitions of which can be
- * found at
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#value.
*
*
* Protobuf enum {@code google.cloud.automl.v1beta1.TypeCode}
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequest.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequest.java
index b7633b904079..e70e7e094d9e 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequest.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequest.java
@@ -160,11 +160,7 @@ public com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder getColumnSpecOrBuilde
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -176,11 +172,7 @@ public boolean hasUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -192,11 +184,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -756,11 +744,7 @@ public com.google.cloud.automl.v1beta1.ColumnSpecOrBuilder getColumnSpecOrBuilde
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -772,11 +756,7 @@ public boolean hasUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -794,11 +774,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -820,11 +796,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -843,11 +815,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -871,11 +839,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -895,11 +859,7 @@ public Builder clearUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -913,11 +873,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -935,11 +891,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequestOrBuilder.java
index d529587f3dc2..9b0e3c3d1045 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateColumnSpecRequestOrBuilder.java
@@ -43,11 +43,7 @@ public interface UpdateColumnSpecRequestOrBuilder
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -57,11 +53,7 @@ public interface UpdateColumnSpecRequestOrBuilder
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -71,11 +63,7 @@ public interface UpdateColumnSpecRequestOrBuilder
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequest.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequest.java
index a37a497533f4..2f00aea2cae4 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequest.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequest.java
@@ -160,11 +160,7 @@ public com.google.cloud.automl.v1beta1.DatasetOrBuilder getDatasetOrBuilder() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -176,11 +172,7 @@ public boolean hasUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -192,11 +184,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -754,11 +742,7 @@ public com.google.cloud.automl.v1beta1.DatasetOrBuilder getDatasetOrBuilder() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -770,11 +754,7 @@ public boolean hasUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -792,11 +772,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -818,11 +794,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -841,11 +813,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -869,11 +837,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -893,11 +857,7 @@ public Builder clearUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -911,11 +871,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -933,11 +889,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequestOrBuilder.java
index 2dad2cc726f6..6f359da94ae3 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateDatasetRequestOrBuilder.java
@@ -43,11 +43,7 @@ public interface UpdateDatasetRequestOrBuilder
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -57,11 +53,7 @@ public interface UpdateDatasetRequestOrBuilder
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -71,11 +63,7 @@ public interface UpdateDatasetRequestOrBuilder
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequest.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequest.java
index ba57703777c6..f4255ed833b3 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequest.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequest.java
@@ -160,11 +160,7 @@ public com.google.cloud.automl.v1beta1.TableSpecOrBuilder getTableSpecOrBuilder(
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -176,11 +172,7 @@ public boolean hasUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -192,11 +184,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -755,11 +743,7 @@ public com.google.cloud.automl.v1beta1.TableSpecOrBuilder getTableSpecOrBuilder(
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -771,11 +755,7 @@ public boolean hasUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -793,11 +773,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -819,11 +795,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -842,11 +814,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -870,11 +838,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -894,11 +858,7 @@ public Builder clearUpdateMask() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -912,11 +872,7 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -934,11 +890,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequestOrBuilder.java
index 8f56fd59e8fa..bdb4c129e7e9 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequestOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/UpdateTableSpecRequestOrBuilder.java
@@ -43,11 +43,7 @@ public interface UpdateTableSpecRequestOrBuilder
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -57,11 +53,7 @@ public interface UpdateTableSpecRequestOrBuilder
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
@@ -71,11 +63,7 @@ public interface UpdateTableSpecRequestOrBuilder
*
*
*
- * The update mask applies to the resource. For the `FieldMask` definition,
- * see
- * https:
- * //developers.google.com/protocol-buffers
- * // /docs/reference/google.protobuf#fieldmask
+ * The update mask applies to the resource.
*
*
* .google.protobuf.FieldMask update_mask = 2;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/VideoObjectTrackingAnnotation.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/VideoObjectTrackingAnnotation.java
index 938a4410ca76..80d66232b9d9 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/VideoObjectTrackingAnnotation.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/VideoObjectTrackingAnnotation.java
@@ -133,8 +133,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Optional.
- * The instance of the object, expressed as a positive integer. Used to tell
+ * Optional. The instance of the object, expressed as a positive integer. Used to tell
* apart objects of the same type (i.e. AnnotationSpec) when multiple are
* present on a single example.
* NOTE: Instance ID prediction quality is not a part of model evaluation and
@@ -160,8 +159,7 @@ public java.lang.String getInstanceId() {
*
*
*
- * Optional.
- * The instance of the object, expressed as a positive integer. Used to tell
+ * Optional. The instance of the object, expressed as a positive integer. Used to tell
* apart objects of the same type (i.e. AnnotationSpec) when multiple are
* present on a single example.
* NOTE: Instance ID prediction quality is not a part of model evaluation and
@@ -276,8 +274,7 @@ public com.google.cloud.automl.v1beta1.BoundingPolyOrBuilder getBoundingBoxOrBui
*
*
*
- * Output only.
- * The confidence that this annotation is positive for the video at
+ * Output only. The confidence that this annotation is positive for the video at
* the time_offset, value in [0, 1], higher means higher positivity
* confidence. For annotations created by the user the score is 1. When
* user approves an annotation, the original float score is kept (and not
@@ -689,8 +686,7 @@ public Builder mergeFrom(
*
*
*
- * Optional.
- * The instance of the object, expressed as a positive integer. Used to tell
+ * Optional. The instance of the object, expressed as a positive integer. Used to tell
* apart objects of the same type (i.e. AnnotationSpec) when multiple are
* present on a single example.
* NOTE: Instance ID prediction quality is not a part of model evaluation and
@@ -716,8 +712,7 @@ public java.lang.String getInstanceId() {
*
*
*
- * Optional.
- * The instance of the object, expressed as a positive integer. Used to tell
+ * Optional. The instance of the object, expressed as a positive integer. Used to tell
* apart objects of the same type (i.e. AnnotationSpec) when multiple are
* present on a single example.
* NOTE: Instance ID prediction quality is not a part of model evaluation and
@@ -743,8 +738,7 @@ public com.google.protobuf.ByteString getInstanceIdBytes() {
*
*
*
- * Optional.
- * The instance of the object, expressed as a positive integer. Used to tell
+ * Optional. The instance of the object, expressed as a positive integer. Used to tell
* apart objects of the same type (i.e. AnnotationSpec) when multiple are
* present on a single example.
* NOTE: Instance ID prediction quality is not a part of model evaluation and
@@ -768,8 +762,7 @@ public Builder setInstanceId(java.lang.String value) {
*
*
*
- * Optional.
- * The instance of the object, expressed as a positive integer. Used to tell
+ * Optional. The instance of the object, expressed as a positive integer. Used to tell
* apart objects of the same type (i.e. AnnotationSpec) when multiple are
* present on a single example.
* NOTE: Instance ID prediction quality is not a part of model evaluation and
@@ -790,8 +783,7 @@ public Builder clearInstanceId() {
*
*
*
- * Optional.
- * The instance of the object, expressed as a positive integer. Used to tell
+ * Optional. The instance of the object, expressed as a positive integer. Used to tell
* apart objects of the same type (i.e. AnnotationSpec) when multiple are
* present on a single example.
* NOTE: Instance ID prediction quality is not a part of model evaluation and
@@ -1197,8 +1189,7 @@ public com.google.cloud.automl.v1beta1.BoundingPolyOrBuilder getBoundingBoxOrBui
*
*
*
- * Output only.
- * The confidence that this annotation is positive for the video at
+ * Output only. The confidence that this annotation is positive for the video at
* the time_offset, value in [0, 1], higher means higher positivity
* confidence. For annotations created by the user the score is 1. When
* user approves an annotation, the original float score is kept (and not
@@ -1214,8 +1205,7 @@ public float getScore() {
*
*
*
- * Output only.
- * The confidence that this annotation is positive for the video at
+ * Output only. The confidence that this annotation is positive for the video at
* the time_offset, value in [0, 1], higher means higher positivity
* confidence. For annotations created by the user the score is 1. When
* user approves an annotation, the original float score is kept (and not
@@ -1234,8 +1224,7 @@ public Builder setScore(float value) {
*
*
*
- * Output only.
- * The confidence that this annotation is positive for the video at
+ * Output only. The confidence that this annotation is positive for the video at
* the time_offset, value in [0, 1], higher means higher positivity
* confidence. For annotations created by the user the score is 1. When
* user approves an annotation, the original float score is kept (and not
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/VideoObjectTrackingAnnotationOrBuilder.java b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/VideoObjectTrackingAnnotationOrBuilder.java
index 2bba0b4d84c9..bbe88e381c87 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/VideoObjectTrackingAnnotationOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/VideoObjectTrackingAnnotationOrBuilder.java
@@ -12,8 +12,7 @@ public interface VideoObjectTrackingAnnotationOrBuilder
*
*
*
- * Optional.
- * The instance of the object, expressed as a positive integer. Used to tell
+ * Optional. The instance of the object, expressed as a positive integer. Used to tell
* apart objects of the same type (i.e. AnnotationSpec) when multiple are
* present on a single example.
* NOTE: Instance ID prediction quality is not a part of model evaluation and
@@ -29,8 +28,7 @@ public interface VideoObjectTrackingAnnotationOrBuilder
*
*
*
- * Optional.
- * The instance of the object, expressed as a positive integer. Used to tell
+ * Optional. The instance of the object, expressed as a positive integer. Used to tell
* apart objects of the same type (i.e. AnnotationSpec) when multiple are
* present on a single example.
* NOTE: Instance ID prediction quality is not a part of model evaluation and
@@ -115,8 +113,7 @@ public interface VideoObjectTrackingAnnotationOrBuilder
*
*
*
- * Output only.
- * The confidence that this annotation is positive for the video at
+ * Output only. The confidence that this annotation is positive for the video at
* the time_offset, value in [0, 1], higher means higher positivity
* confidence. For annotations created by the user the score is 1. When
* user approves an annotation, the original float score is kept (and not
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/classification.proto b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/classification.proto
index 9d588c152198..7e54238e0333 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/classification.proto
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/classification.proto
@@ -164,6 +164,15 @@ message ClassificationEvaluationMetrics {
// only list of [annotation_spec_display_name-s][] is populated.
repeated string annotation_spec_id = 1;
+ // Output only. Display name of the annotation specs used in the confusion
+ // matrix, as they were at the moment of the evaluation. For Tables
+ // CLASSIFICATION
+ //
+ // [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type],
+ // distinct values of the target column at the moment of the model
+ // evaluation are populated here.
+ repeated string display_name = 3;
+
// Output only. Rows in the confusion matrix. The number of rows is equal to
// the size of `annotation_spec_id`.
// `row[i].value[j]` is the number of examples that have ground truth of the
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/column_spec.proto b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/column_spec.proto
index 8a3b52110f24..b8f437f793ee 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/column_spec.proto
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/column_spec.proto
@@ -64,12 +64,7 @@ message ColumnSpec {
// for the timestamp at which these stats were last updated.
DataStats data_stats = 4;
- // Output only. Top 10 most correlated with this column columns of the table,
- // ordered by
- // [cramers_v][google.cloud.automl.v1beta1.CorrelationStats.cramers_v] metric.
- // This field may be stale, see the ancestor's
- // Dataset.tables_dataset_metadata.stats_update_time field
- // for the timestamp at which these stats were last updated.
+ // Deprecated.
repeated CorrelatedColumn top_correlated_columns = 5;
// Used to perform consistent read-modify-write updates. If not set, a blind
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_items.proto b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_items.proto
index a1ad57214bfd..fec75d3bbd73 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_items.proto
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_items.proto
@@ -56,9 +56,9 @@ message TextSnippet {
// characters long.
string content = 1;
- // The format of the source text. 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.
+ // 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.
@@ -73,9 +73,9 @@ message Document {
// A representation of a row in a relational table.
message Row {
- // Input Only.
// The resource IDs of the column specs describing the columns of the row.
- // If set must contain, but possibly in a different order, all input feature
+ // If set must contain, but possibly in a different order, all input
+ // feature
//
// [column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
// of the Model this row is being passed to.
@@ -83,9 +83,9 @@ message Row {
// field is set.
repeated string column_spec_ids = 2;
- // Input Only.
- // The values of the row cells, given in the same order as the
- // column_spec_ids, or, if not set, then in the same order as input feature
+ // Required. The values of the row cells, given in the same order as the
+ // column_spec_ids, or, if not set, then in the same order as input
+ // feature
//
// [column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
// of the Model this row is being passed to.
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_types.proto b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_types.proto
index e97314508448..086e96e32629 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_types.proto
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/data_types.proto
@@ -27,14 +27,6 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1";
// `TypeCode` is used as a part of
// [DataType][google.cloud.automl.v1beta1.DataType].
-//
-// Each legal value of a DataType can be encoded to or decoded from a JSON
-// value, using the encodings listed below, and definitions of which can be
-// found at
-//
-// https:
-// //developers.google.com/protocol-buffers
-// // /docs/reference/google.protobuf#value.
enum TypeCode {
// Not specified. Should not be used.
TYPE_CODE_UNSPECIFIED = 0;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/detection.proto b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/detection.proto
index 66f0b2fc119b..99761fd52c57 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/detection.proto
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/detection.proto
@@ -29,20 +29,17 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1";
// Annotation details for image object detection.
message ImageObjectDetectionAnnotation {
- // Output only.
- // The rectangle representing the object location.
+ // Output only. The rectangle representing the object location.
BoundingPoly bounding_box = 1;
- // Output only.
- // The confidence that this annotation is positive for the parent example,
+ // Output only. The confidence that this annotation is positive for the parent example,
// value in [0, 1], higher means higher positivity confidence.
float score = 2;
}
// Annotation details for video object tracking.
message VideoObjectTrackingAnnotation {
- // Optional.
- // The instance of the object, expressed as a positive integer. Used to tell
+ // Optional. The instance of the object, expressed as a positive integer. Used to tell
// apart objects of the same type (i.e. AnnotationSpec) when multiple are
// present on a single example.
// NOTE: Instance ID prediction quality is not a part of model evaluation and
@@ -59,8 +56,7 @@ message VideoObjectTrackingAnnotation {
// at the time_offset of the video).
BoundingPoly bounding_box = 3;
- // Output only.
- // The confidence that this annotation is positive for the video at
+ // Output only. The confidence that this annotation is positive for the video at
// the time_offset, value in [0, 1], higher means higher positivity
// confidence. For annotations created by the user the score is 1. When
// user approves an annotation, the original float score is kept (and not
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/image.proto b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/image.proto
index c1596c634708..241d11ebef04 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/image.proto
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/image.proto
@@ -128,9 +128,16 @@ message ImageObjectDetectionModelMetadata {
// `train_cost` will be equal or less than this value. If further model
// training ceases to provide any improvements, it will stop without using
// full budget and the stop_reason will be `MODEL_CONVERGED`.
- // Note, node_hour = actual_hour * number_of_nodes_invovled. The train budget
- // must be between 20,000 and 2,000,000 milli node hours, inclusive. The
- // default value is 216, 000 which represents one day in wall time.
+ // Note, node_hour = actual_hour * number_of_nodes_invovled.
+ // For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`,
+ // the train budget must be between 20,000 and 2,000,000 milli node hours,
+ // inclusive. The default value is 216, 000 which represents one day in
+ // wall time.
+ // For model type `mobile-low-latency-1`, `mobile-versatile-1`,
+ // `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`,
+ // `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train
+ // budget must be between 1,000 and 100,000 milli node hours, inclusive.
+ // The default value is 24, 000 which represents one day in wall time.
int64 train_budget_milli_node_hours = 6;
// Output only. The actual train cost of creating this model, expressed in
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto
index cab08b3b7b20..c08edc277474 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/io.proto
@@ -32,10 +32,10 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1";
// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source]
// is expected, unless specified otherwise. Additionally any input .CSV file
// by itself must be 100MB or smaller, unless specified otherwise.
-// If an "example" file (i.e. image, video etc.) with identical content
+// If an "example" file (that is, image, video etc.) with identical content
// (even if it had different GCS_FILE_PATH) is mentioned multiple times, then
// its label, bounding boxes etc. are appended. The same file should be always
-// provided with the same ML_USE and GCS_FILE_PATH, if it is not then
+// provided with the same ML_USE and GCS_FILE_PATH, if it is not, then
// these values are nondeterministically selected from the given ones.
//
// The formats are represented in EBNF with commas being literal and with
@@ -65,12 +65,16 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1";
// BOUNDING_BOX-es per image are allowed (one BOUNDING_BOX is defined
// per line). If an image has not yet been labeled, then it should be
// mentioned just once with no LABEL and the ",,,,,,," in place of the
+// BOUNDING_BOX. For images which are known to not contain any
+// bounding boxes, they should be labelled explictly as
+// "NEGATIVE_IMAGE", followed by ",,,,,,," in place of the
// BOUNDING_BOX.
-// Four sample rows:
+// Sample rows:
// TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,,
// TRAIN,gs://folder/image1.png,bike,.7,.6,,,.8,.9,,
// UNASSIGNED,gs://folder/im2.png,car,0.1,0.1,0.2,0.1,0.2,0.3,0.1,0.3
// TEST,gs://folder/im3.png,,,,,,,,,
+// TRAIN,gs://folder/im4.png,NEGATIVE_IMAGE,,,,,,,,,
//
// * For Video Classification:
// CSV file(s) with each line in format:
@@ -135,21 +139,21 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1";
// * For Text Extraction:
// CSV file(s) with each line in format:
// ML_USE,GCS_FILE_PATH
-// GCS_FILE_PATH leads to a .JSONL (i.e. JSON Lines) file which either
-// imports text in-line or as documents.
+// GCS_FILE_PATH leads to a .JSONL (that is, JSON Lines) file which
+// either imports text in-line or as documents.
// The in-line .JSONL file contains, per line, a proto that wraps a
-// TextSnippet proto (in json representation) followed by one or
-// more AnnotationPayload protos (called annotations), which have
-// display_name and text_extraction detail populated.
-// The given text is expected to be annotated exhaustively, e.g. if
-// you look for animals and text contains "dolphin" that is not
-// labeled, then "dolphin" will be assumed to not be an animal. Any
-// given text snippet content must have 30,000 characters or less,
-// and also be UTF-8 NFC encoded (ASCII already is). The document .JSONL file contains, per line, a proto that wraps a
-// Document proto with input_config set. Only PDF documents are
-// supported now, and each document may be up to 2MB large.
-// Currently annotations on documents cannot be specified at import.
-// Any given .JSONL file must be 100MB or smaller.
+// TextSnippet proto (in json representation) followed by one or more
+// AnnotationPayload protos (called annotations), which have
+// display_name and text_extraction detail populated. The given text
+// is expected to be annotated exhaustively, for example, if you look
+// for animals and text contains "dolphin" that is not labeled, then
+// "dolphin" is assumed to not be an animal. Any given text snippet
+// content must have 30,000 characters or less, and also be UTF-8 NFC
+// encoded (ASCII already is). The document .JSONL file contains, per line, a proto that wraps a
+// Document proto with input_config set. Only PDF documents are
+// supported now, and each document may be up to 2MB large. Currently
+// annotations on documents cannot be specified at import. Any given
+// .JSONL file must be 100MB or smaller.
// Three sample CSV rows:
// TRAIN,gs://folder/file1.jsonl
// VALIDATE,gs://folder/file2.jsonl
@@ -219,44 +223,44 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1";
// TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If
// the column content is a valid gcs file path, i.e. prefixed by
// "gs://", it will be treated as a GCS_FILE_PATH, else if the content
-// is enclosed within double quotes (""), it will
-// be treated as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path
-// must lead to a .txt file with UTF-8 encoding, e.g.
-// "gs://folder/content.txt", and the content in it will be extracted
+// is enclosed within double quotes (""), it is
+// treated as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path
+// must lead to a .txt file with UTF-8 encoding, for example,
+// "gs://folder/content.txt", and the content in it is extracted
// as a text snippet. In TEXT_SNIPPET case, the column content
-// excluding quotes will be treated as to be imported text snippet. In
+// excluding quotes is treated as to be imported text snippet. In
// both cases, the text snippet/file size must be within 128kB.
// Maximum 100 unique labels are allowed per CSV row.
-// Four sample rows:
-// TRAIN,"They have bad food and very rude",RudeService,BadFood
-// TRAIN,gs://folder/content.txt,SlowService
-// TEST,"Typically always bad service there.",RudeService
-// VALIDATE,"Stomach ache to go.",BadFood
+// Sample rows:
+// TRAIN,"They have bad food and very rude",RudeService,BadFood
+// TRAIN,gs://folder/content.txt,SlowService
+// TEST,"Typically always bad service there.",RudeService
+// VALIDATE,"Stomach ache to go.",BadFood
//
// * For Text Sentiment:
// CSV file(s) with each line in format:
// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT
// TEXT_SNIPPET and GCS_FILE_PATH are distinguished by a pattern. If
-// the column content is a valid gcs file path, i.e. prefixed by
-// "gs://", it will be treated as a GCS_FILE_PATH, otherwise it will
-// be treated as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path
-// must lead to a .txt file with UTF-8 encoding, e.g.
-// "gs://folder/content.txt", and the content in it will be extracted
+// the column content is a valid gcs file path, that is, prefixed by
+// "gs://", it is treated as a GCS_FILE_PATH, otherwise it is treated
+// as a TEXT_SNIPPET. In the GCS_FILE_PATH case, the path
+// must lead to a .txt file with UTF-8 encoding, for example,
+// "gs://folder/content.txt", and the content in it is extracted
// as a text snippet. In TEXT_SNIPPET case, the column content itself
-// will be treated as to be imported text snippet. In both cases, the
+// is treated as to be imported text snippet. In both cases, the
// text snippet must be up to 500 characters long.
-// Four sample rows:
-// TRAIN,"@freewrytin God is way too good for Claritin",2
-// TRAIN,"I need Claritin so bad",3
-// TEST,"Thank god for Claritin.",4
-// VALIDATE,gs://folder/content.txt,2
+// Sample rows:
+// TRAIN,"@freewrytin this is way too good for your product",2
+// TRAIN,"I need this product so bad",3
+// TEST,"Thank you for this product.",4
+// VALIDATE,gs://folder/content.txt,2
//
// * For Tables:
// Either
// [gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source] or
//
// [bigquery_source][google.cloud.automl.v1beta1.InputConfig.bigquery_source]
-// can be used. All inputs will be concatenated into a single
+// can be used. All inputs is concatenated into a single
//
// [primary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_name]
// For gcs_source:
@@ -279,7 +283,6 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1";
// An imported table must have between 2 and 1,000 columns, inclusive,
// and between 1000 and 100,000,000 rows, inclusive. There are at most 5
// import data running in parallel.
-//
// Definitions:
// ML_USE = "TRAIN" | "VALIDATE" | "TEST" | "UNASSIGNED"
// Describes how the given example (file) should be used for model
@@ -338,7 +341,7 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1";
// If any of the provided CSV files can't be parsed or if more than certain
// percent of CSV rows cannot be processed then the operation fails and
// nothing is imported. Regardless of overall success or failure the per-row
-// failures, up to a certain count cap, will be listed in
+// failures, up to a certain count cap, is listed in
// Operation.metadata.partial_failures.
//
message InputConfig {
@@ -375,6 +378,28 @@ message InputConfig {
// The formats are represented in EBNF with commas being literal and with
// non-terminal symbols defined near the end of this comment. The formats
// are:
+//
+// * For Image Classification:
+// CSV file(s) with each line having just a single column:
+// GCS_FILE_PATH
+// which leads to image of up to 30MB in size. Supported
+// extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in
+// the Batch predict output.
+// Three sample rows:
+// gs://folder/image1.jpeg
+// gs://folder/image2.gif
+// gs://folder/image3.png
+//
+// * For Image Object Detection:
+// CSV file(s) with each line having just a single column:
+// GCS_FILE_PATH
+// which leads to image of up to 30MB in size. Supported
+// extensions: .JPEG, .GIF, .PNG. This path is treated as the ID in
+// the Batch predict output.
+// Three sample rows:
+// gs://folder/image1.jpeg
+// gs://folder/image2.gif
+// gs://folder/image3.png
// * For Video Classification:
// CSV file(s) with each line in format:
// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END
@@ -398,6 +423,28 @@ message InputConfig {
// gs://folder/video1.mp4,10,240
// gs://folder/video1.mp4,300,360
// gs://folder/vid2.mov,0,inf
+// * For Text Classification:
+// CSV file(s) with each line having just a single column:
+// GCS_FILE_PATH | TEXT_SNIPPET
+// Any given text file can have size upto 128kB.
+// Any given text snippet content must have 60,000 characters or less.
+// Three sample rows:
+// gs://folder/text1.txt
+// "Some text content to predict"
+// gs://folder/text3.pdf
+// Supported file extensions: .txt, .pdf
+//
+// * For Text Sentiment:
+// CSV file(s) with each line having just a single column:
+// GCS_FILE_PATH | TEXT_SNIPPET
+// Any given text file can have size upto 128kB.
+// Any given text snippet content must have 500 characters or less.
+// Three sample rows:
+// gs://folder/text1.txt
+// "Some text content to predict"
+// gs://folder/text3.pdf
+// Supported file extensions: .txt, .pdf
+//
// * For Text Extraction
// .JSONL (i.e. JSON Lines) file(s) which either provide text in-line or
// as documents (for a single BatchPredict call only one of the these
@@ -470,101 +517,51 @@ message InputConfig {
// 100GB or smaller, where first file must have a header containing
// column names. If the first row of a subsequent file is the same as
// the header, then it is also treated as a header. All other rows
-// contain values for the corresponding columns. For all
-// CLASSIFICATION and REGRESSION
-//
-// [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]:
-// The column names must contain the model's
+// contain values for the corresponding columns.
+// The column names must contain the model's
//
// [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
//
// [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name]
-// (order doesn't matter). The columns corresponding to the model's
-// input feature column specs must contain values compatible with
-// the column spec's data types. Prediction on all the rows, i.e.
-// the CSV lines, will be attempted. First three sample rows of a
-// CSV file:
+// (order doesn't matter). The columns corresponding to the model's
+// input feature column specs must contain values compatible with the
+// column spec's data types. Prediction on all the rows, i.e. the CSV
+// lines, will be attempted. For FORECASTING
+//
+// [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]:
+// all columns having
+//
+// [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType]
+// type will be ignored.
+// First three sample rows of a CSV file:
// "First Name","Last Name","Dob","Addresses"
//
// "John","Doe","1968-01-22","[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}]"
//
// "Jane","Doe","1980-10-16","[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}]}
-// For FORECASTING
-//
-// [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]:
-// The column names must contain the union of the model's
-//
-// [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
-//
-// [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name]
-// and
-//
-// [target_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec]
-//
-// [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name]
-// (order doesn't matter), with values compatible with these column
-// specs data types, except as specified below.
-// The input rows must contain not only the to-be-predicted rows
-// but also the historical data rows, even if they would be
-// identical as the ones on which the model has been trained.
-// The historical rows must have non-NULL target column
-// values. The to-be-predicted rows must have NULL values in the
-// target column and all columns having
-//
-// [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType.KEY]
-// type, regardless if these columns are
-// [nullable][google.cloud.automl.v1beta1.DataType.nullable].
-// Prediction only on the to-be-predicted rows will be attempted.
-// First four sample rows of a CSV file:
-//
-// "Year","City","OlympicsThatYear","Population","WaterUsedGigaGallons"
-// "2000","NYC","true","8008278","452.7"
-// "2001","NYC","false","8024963","432.2"
-// "2002","NYC","true","",""
// BigQuery case:
// An URI of a BigQuery table. The user data size of the BigQuery
// table must be 100GB or smaller.
-// For all CLASSIFICATION and REGRESSION
-//
-// [prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]:
-// The column names must contain the model's
+// The column names must contain the model's
//
// [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
//
// [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name]
-// (order doesn't matter). The columns corresponding to the model's
-// input feature column specs must contain values compatible with
-// the column spec's data types. Prediction on all the rows of the
-// table will be attempted.
-// For FORECASTING
+// (order doesn't matter). The columns corresponding to the model's
+// input feature column specs must contain values compatible with the
+// column spec's data types. Prediction on all the rows of the table
+// will be attempted. For FORECASTING
//
// [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]:
-// The column names must contain the union of the model's
+// all columns having
//
-// [input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs]
-//
-// [display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name]
-// and
-//
-// [target_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec]
-//
-// [display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name]
-// (order doesn't matter), with values compatible with these column
-// specs data types, except as specified below.
-// The table's rows must contain not only the to-be-predicted rows
-// but also the historical data rows, even if they would be
-// identical as the ones on which the model has been trained.
-// The historical rows must have non-NULL target column values.
-// The to-be-predicted rows must have NULL values in the
-// target column and all columns having
-//
-// [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType.KEY]
-// type, regardless if these columns are
-// [nullable][google.cloud.automl.v1beta1.DataType.nullable].
-// Prediction only on the to-be-predicted rows will be attempted.
+// [TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType]
+// type will be ignored.
//
// Definitions:
// GCS_FILE_PATH = A path to file on GCS, e.g. "gs://folder/video.avi".
+// TEXT_SNIPPET = A content of a text snippet, UTF-8 encoded, enclosed within
+// double quotes ("")
// TIME_SEGMENT_START = TIME_OFFSET
// Expresses a beginning, inclusive, of a time segment
// within an
@@ -656,11 +653,55 @@ message OutputConfig {
//
// [gcs_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.gcs_destination]
// must be set unless specified otherwise for a domain. If gcs_destination is
-// set then in the given directory a new directory will be created. Its name
+// set then in the given directory a new directory is created. Its name
// will be
// "prediction--",
// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents
// of it depends on the ML problem the predictions are made for.
+//
+// * For Image Classification:
+// In the created directory files `image_classification_1.jsonl`,
+// `image_classification_2.jsonl`,...,`image_classification_N.jsonl`
+// will be created, where N may be 1, and depends on the
+// total number of the successfully predicted images and annotations.
+// A single image will be listed only once with all its annotations,
+// and its annotations will never be split across files.
+// Each .JSONL file will contain, per line, a JSON representation of a
+// proto that wraps image's "ID" : "" followed by a list of
+// zero or more AnnotationPayload protos (called annotations), which
+// have classification detail populated.
+// If prediction for any image failed (partially or completely), then an
+// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl`
+// files will be created (N depends on total number of failed
+// predictions). These files will have a JSON representation of a proto
+// that wraps the same "ID" : "" but here followed by
+// exactly one
+//
+// [`google.rpc.Status`](https:
+// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
+// containing only `code` and `message`fields.
+//
+// * For Image Object Detection:
+// In the created directory files `image_object_detection_1.jsonl`,
+// `image_object_detection_2.jsonl`,...,`image_object_detection_N.jsonl`
+// will be created, where N may be 1, and depends on the
+// total number of the successfully predicted images and annotations.
+// Each .JSONL file will contain, per line, a JSON representation of a
+// proto that wraps image's "ID" : "" followed by a list of
+// zero or more AnnotationPayload protos (called annotations), which
+// have image_object_detection detail populated. A single image will
+// be listed only once with all its annotations, and its annotations
+// will never be split across files.
+// If prediction for any image failed (partially or completely), then
+// additional `errors_1.jsonl`, `errors_2.jsonl`,..., `errors_N.jsonl`
+// files will be created (N depends on total number of failed
+// predictions). These files will have a JSON representation of a proto
+// that wraps the same "ID" : "" but here followed by
+// exactly one
+//
+// [`google.rpc.Status`](https:
+// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
+// containing only `code` and `message`fields.
// * For Video Classification:
// In the created directory a video_classification.csv file, and a .JSON
// file per each video classification requested in the input (i.e. each
@@ -713,6 +754,54 @@ message OutputConfig {
// for each frame of the video time segment the file is assigned to in
// video_object_tracking.csv. All AnnotationPayload protos will have
// video_object_tracking field set.
+// * For Text Classification:
+// In the created directory files `text_classification_1.jsonl`,
+// `text_classification_2.jsonl`,...,`text_classification_N.jsonl`
+// will be created, where N may be 1, and depends on the
+// total number of inputs and annotations found.
+//
+// Each .JSONL file will contain, per line, a JSON representation of a
+// proto that wraps input text snippet or input text file and a list of
+// zero or more AnnotationPayload protos (called annotations), which
+// have classification detail populated. A single text snippet or file
+// will be listed only once with all its annotations, and its
+// annotations will never be split across files.
+//
+// If prediction for any text snippet or file failed (partially or
+// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,...,
+// `errors_N.jsonl` files will be created (N depends on total number of
+// failed predictions). These files will have a JSON representation of a
+// proto that wraps input text snippet or input text file followed by
+// exactly one
+//
+// [`google.rpc.Status`](https:
+// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
+// containing only `code` and `message`.
+//
+// * For Text Sentiment:
+// In the created directory files `text_sentiment_1.jsonl`,
+// `text_sentiment_2.jsonl`,...,`text_sentiment_N.jsonl`
+// will be created, where N may be 1, and depends on the
+// total number of inputs and annotations found.
+//
+// Each .JSONL file will contain, per line, a JSON representation of a
+// proto that wraps input text snippet or input text file and a list of
+// zero or more AnnotationPayload protos (called annotations), which
+// have text_sentiment detail populated. A single text snippet or file
+// will be listed only once with all its annotations, and its
+// annotations will never be split across files.
+//
+// If prediction for any text snippet or file failed (partially or
+// completely), then additional `errors_1.jsonl`, `errors_2.jsonl`,...,
+// `errors_N.jsonl` files will be created (N depends on total number of
+// failed predictions). These files will have a JSON representation of a
+// proto that wraps input text snippet or input text file followed by
+// exactly one
+//
+// [`google.rpc.Status`](https:
+// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto)
+// containing only `code` and `message`.
+//
// * For Text Extraction:
// In the created directory files `text_extraction_1.jsonl`,
// `text_extraction_2.jsonl`,...,`text_extraction_N.jsonl`
@@ -722,7 +811,8 @@ message OutputConfig {
// used inline text, or documents.
// If input was inline, then each .JSONL file will contain, per line,
// a JSON representation of a proto that wraps given in request text
-// snippet's "id" : "" followed by a list of zero or more
+// snippet's "id" (if specified), followed by input text snippet,
+// and a list of zero or more
// AnnotationPayload protos (called annotations), which have
// text_extraction detail populated. A single text snippet will be
// listed only once with all its annotations, and its annotations will
@@ -895,7 +985,10 @@ message ModelExportOutputConfig {
// * docker - Used for Docker containers. Use the params field to customize
// the container. The container is verified to work correctly on
// ubuntu 16.04 operating system. See more at
- // [containers quickstart](https://cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
+ // [containers
+ //
+ // quickstart](https:
+ // //cloud.google.com/vision/automl/docs/containers-gcs-quickstart)
// * core_ml - Used for iOS mobile devices.
string model_format = 4;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model.proto b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model.proto
index ecac533e19c1..8c53d9b5832f 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model.proto
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model.proto
@@ -77,8 +77,7 @@ message Model {
TextSentimentModelMetadata text_sentiment_model_metadata = 22;
}
- // Output only.
- // Resource name of the model.
+ // Output only. Resource name of the model.
// Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
string name = 1;
@@ -88,17 +87,14 @@ message Model {
// (_), and ASCII digits 0-9. It must start with a letter.
string display_name = 2;
- // Required.
- // The resource ID of the dataset used to create the model. The dataset must
+ // Required. The resource ID of the dataset used to create the model. The dataset must
// come from the same ancestor project and location.
string dataset_id = 3;
- // Output only.
- // Timestamp when the model training finished and can be used for prediction.
+ // Output only. Timestamp when the model training finished and can be used for prediction.
google.protobuf.Timestamp create_time = 7;
- // Output only.
- // Timestamp when this model was last updated.
+ // Output only. Timestamp when this model was last updated.
google.protobuf.Timestamp update_time = 11;
// Output only. Deployment state of the model. A model can only serve
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model_evaluation.proto b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model_evaluation.proto
index f84ae62f6f7d..ce2db614a182 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model_evaluation.proto
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/model_evaluation.proto
@@ -64,15 +64,13 @@ message ModelEvaluation {
TextExtractionEvaluationMetrics text_extraction_evaluation_metrics = 13;
}
- // Output only.
- // Resource name of the model evaluation.
+ // Output only. Resource name of the model evaluation.
// Format:
//
// `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
string name = 1;
- // Output only.
- // The ID of the annotation spec that the model evaluation applies to. The
+ // Output only. The ID of the annotation spec that the model evaluation applies to. The
// The ID is empty for the overall model evaluation.
// For Tables annotation specs in the dataset do not exist and this ID is
// always not set, but for CLASSIFICATION
@@ -84,7 +82,7 @@ message ModelEvaluation {
string annotation_spec_id = 2;
// Output only. The value of
- // [display_name][google.cloud.automl.v1beta1.AnnotationSpec.dispay_name] at
+ // [display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name] at
// the moment when the model was trained. Because this field returns a value
// at model training time, for different models trained from the same dataset,
// the values may differ, since display names could had been changed between
@@ -97,12 +95,10 @@ message ModelEvaluation {
// The display_name is empty for the overall model evaluation.
string display_name = 15;
- // Output only.
- // Timestamp when this model evaluation was created.
+ // Output only. Timestamp when this model evaluation was created.
google.protobuf.Timestamp create_time = 5;
- // Output only.
- // The number of examples used for model evaluation, i.e. for
+ // Output only. The number of examples used for model evaluation, i.e. for
// which ground truth from time of model creation is compared against the
// predicted annotations created by the model.
// For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/prediction_service.proto b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/prediction_service.proto
index b45f35316823..243849213e38 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/prediction_service.proto
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/prediction_service.proto
@@ -57,6 +57,8 @@ service PredictionService {
// up to 5MB. Not available for FORECASTING
//
// [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type].
+ // * Text Sentiment - TextSnippet, content up 500 characters, UTF-8
+ // encoded.
rpc Predict(PredictRequest) returns (PredictResponse) {
option (google.api.http) = {
post: "/v1beta1/{name=projects/*/locations/*/models/*}:predict"
@@ -71,9 +73,10 @@ service PredictionService {
// 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
// * Video Classification
- // * Video Object Tracking
- // * Text Extraction
+ // * Video Object Tracking * Text Extraction
// * Tables
rpc BatchPredict(BatchPredictRequest) returns (google.longrunning.Operation) {
option (google.api.http) = {
@@ -88,8 +91,7 @@ message PredictRequest {
// Name of the model requested to serve the prediction.
string name = 1;
- // Required.
- // Payload to perform a prediction on. The payload must match the
+ // Required. Payload to perform a prediction on. The payload must match the
// problem type that the model was trained to solve.
ExamplePayload payload = 2;
@@ -101,6 +103,14 @@ message PredictRequest {
// `score_threshold` - (float) A value from 0.0 to 1.0. When the model
// makes predictions for an image, it will only produce results that have
// at least this confidence score. The default is 0.5.
+ //
+ // * For Image Object Detection:
+ // `score_threshold` - (float) When Model detects objects on the image,
+ // it will only produce bounding boxes which have at least this
+ // confidence score. Value in 0 to 1 range, default is 0.5.
+ // `max_bounding_box_count` - (int64) No more than this number of bounding
+ // boxes will be returned in the response. Default is 100, the
+ // requested value may be limited by server.
// * For Tables:
// `feature_importance` - (boolean) Whether
//
@@ -151,6 +161,27 @@ message BatchPredictRequest {
// Additional domain-specific parameters for the predictions, any string must
// be up to 25000 characters long.
//
+ // * For Text Classification:
+ //
+ // `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ // makes predictions for a text snippet, it will only produce results
+ // that have at least this confidence score. The default is 0.5.
+ //
+ // * For Image Classification:
+ //
+ // `score_threshold` - (float) A value from 0.0 to 1.0. When the model
+ // makes predictions for an image, it will only produce results that
+ // have at least this confidence score. The default is 0.5.
+ //
+ // * For Image Object Detection:
+ //
+ // `score_threshold` - (float) When Model detects objects on the image,
+ // it will only produce bounding boxes which have at least this
+ // confidence score. Value in 0 to 1 range, default is 0.5.
+ // `max_bounding_box_count` - (int64) No more than this number of bounding
+ // boxes will be produced per image. Default is 100, the
+ // requested value may be limited by server.
+ //
// * 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
@@ -197,5 +228,14 @@ message BatchPredictRequest {
// [response][google.longrunning.Operation.response] of the operation returned
// by the [PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict].
message BatchPredictResult {
-
+ // Additional domain-specific prediction response metadata.
+ //
+ // * For Image Object Detection:
+ // `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ // image could have been returned.
+ //
+ // * For Video Object Tracking:
+ // `max_bounding_box_count` - (int64) At most that many bounding boxes per
+ // frame could have been returned.
+ map metadata = 1;
}
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/service.proto b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/service.proto
index 323bf0626ae9..660d42b528bc 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/service.proto
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/service.proto
@@ -219,8 +219,7 @@ 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 and Tables; all other domains manage deployment automatically.
//
// Returns an empty response in the
// [response][google.longrunning.Operation.response] field when it completes.
@@ -351,12 +350,7 @@ message UpdateDatasetRequest {
// The dataset which replaces the resource on the server.
Dataset dataset = 1;
- // The update mask applies to the resource. For the `FieldMask` definition,
- // see
- //
- // https:
- // //developers.google.com/protocol-buffers
- // // /docs/reference/google.protobuf#fieldmask
+ // The update mask applies to the resource.
google.protobuf.FieldMask update_mask = 2;
}
@@ -438,12 +432,7 @@ message UpdateTableSpecRequest {
// The table spec which replaces the resource on the server.
TableSpec table_spec = 1;
- // The update mask applies to the resource. For the `FieldMask` definition,
- // see
- //
- // https:
- // //developers.google.com/protocol-buffers
- // // /docs/reference/google.protobuf#fieldmask
+ // The update mask applies to the resource.
google.protobuf.FieldMask update_mask = 2;
}
@@ -493,12 +482,7 @@ message UpdateColumnSpecRequest {
// The column spec which replaces the resource on the server.
ColumnSpec column_spec = 1;
- // The update mask applies to the resource. For the `FieldMask` definition,
- // see
- //
- // https:
- // //developers.google.com/protocol-buffers
- // // /docs/reference/google.protobuf#fieldmask
+ // The update mask applies to the resource.
google.protobuf.FieldMask update_mask = 2;
}
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/table_spec.proto b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/table_spec.proto
index 98f87f122348..4475617ae275 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/table_spec.proto
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/table_spec.proto
@@ -55,6 +55,10 @@ message TableSpec {
// Output only. The number of rows (i.e. examples) in the table.
int64 row_count = 3;
+ // Output only. The number of valid rows (i.e. without values that don't match
+ // DataType-s of their columns).
+ int64 valid_row_count = 4;
+
// Output only. The number of columns of the table. That is, the number of
// child ColumnSpec-s.
int64 column_count = 7;
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto
index 1cf916367faf..c8b7809b6cf1 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/tables.proto
@@ -42,9 +42,12 @@ message TablesDatasetMetadata {
// training & prediction target.
// This column must be non-nullable and have one of following data types
// (otherwise model creation will error):
+ //
// * CATEGORY
+ //
// * FLOAT64
- // Furthermore, if the type is CATEGORY , then only up to
+ //
+ // If the type is CATEGORY , only up to
// 100 unique values may exist in that column across all rows.
//
// NOTE: Updates of this field will instantly affect any other users
@@ -89,11 +92,12 @@ message TablesDatasetMetadata {
// for the timestamp at which these stats were last updated.
map target_column_correlations = 6;
- // The most recent timestamp when target_column_correlations field and all
- // descendant ColumnSpec.data_stats and ColumnSpec.top_correlated_columns
- // fields were last (re-)generated. Any changes that happened to the dataset
- // afterwards are not reflected in these fields values. The regeneration
- // happens in the background on a best effort basis.
+ // Output only. The most recent timestamp when target_column_correlations
+ // field and all descendant ColumnSpec.data_stats and
+ // ColumnSpec.top_correlated_columns fields were last (re-)generated. Any
+ // changes that happened to the dataset afterwards are not reflected in these
+ // fields values. The regeneration happens in the background on a best effort
+ // basis.
google.protobuf.Timestamp stats_update_time = 7;
}
@@ -122,12 +126,16 @@ message TablesModelMetadata {
//
// [ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id]
// must never be included here.
+ //
// Only 3 fields are used:
- // name - May be set on CreateModel, if set only the columns specified are
- // used, otherwise all primary table's columns (except the ones listed
- // above) are used for the training and prediction input.
- // display_name - Output only.
- // data_type - Output only.
+ //
+ // * name - May be set on CreateModel, if set only the columns specified are
+ // used, otherwise all primary table's columns (except the ones listed
+ // above) are used for the training and prediction input.
+ //
+ // * display_name - Output only.
+ //
+ // * data_type - Output only.
repeated ColumnSpec input_feature_column_specs = 3;
// Objective function the model is optimizing towards. The training process
@@ -155,25 +163,8 @@ message TablesModelMetadata {
// "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
// "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
// "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE).
- //
- // FORECASTING:
- // "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE).
- // "MINIMIZE_MAE" - Minimize mean-absolute error (MAE).
string optimization_objective = 4;
- // Additional optimization objective configuration. Required for
- // `MAXIMIZE_PRECISION_AT_RECALL` and `MAXIMIZE_RECALL_AT_PRECISION`,
- // otherwise unused.
- oneof additional_optimization_objective_config {
- // Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL".
- // Must be between 0 and 1, inclusive.
- float optimization_objective_recall_value = 17;
-
- // Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION".
- // Must be between 0 and 1, inclusive.
- float optimization_objective_precision_value = 18;
- }
-
// Output only. Auxiliary information for each of the
// input_feature_column_specs with respect to this particular model.
repeated TablesModelColumnInfo tables_model_column_info = 5;
@@ -226,9 +217,11 @@ message TablesAnnotation {
//
// [target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec].
// The value depends on the column's DataType:
- // CATEGORY - the predicted (with the above confidence `score`) CATEGORY
- // value.
- // FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
+ //
+ // * CATEGORY - the predicted (with the above confidence `score`) CATEGORY
+ // value.
+ //
+ // * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value.
google.protobuf.Value value = 2;
// Output only. Auxiliary information for each of the model's
@@ -256,9 +249,7 @@ message TablesModelColumnInfo {
// its ColumnSpec).
string column_display_name = 2;
- // Output only.
- //
- // When given as part of a Model (always populated):
+ // Output only. When given as part of a Model (always populated):
// Measurement of how much model predictions correctness on the TEST data
// depend on values in this column. A value between 0 and 1, higher means
// higher influence. These values are normalized - for all input feature
diff --git a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto
index 15c8368edab9..6a01b7cff60f 100644
--- a/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto
+++ b/google-api-grpc/proto-google-cloud-automl-v1beta1/src/main/proto/google/cloud/automl/v1beta1/text.proto
@@ -29,8 +29,7 @@ option ruby_package = "Google::Cloud::AutoML::V1beta1";
// Dataset metadata for classification.
message TextClassificationDatasetMetadata {
- // Required.
- // Type of the classification problem.
+ // Required. Type of the classification problem.
ClassificationType classification_type = 1;
}
@@ -51,8 +50,7 @@ message TextExtractionModelMetadata {
// Dataset metadata for text sentiment.
message TextSentimentDatasetMetadata {
- // Required.
- // A sentiment is expressed as an integer ordinal, where higher 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
diff --git a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java
index 40ba63d2a0ba..cce1a3e56c29 100644
--- a/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java
+++ b/google-cloud-clients/google-cloud-automl/src/main/java/com/google/cloud/automl/v1beta1/PredictionServiceClient.java
@@ -179,7 +179,8 @@ public final OperationsClient getOperationsClient() {
* - TextSnippet, content up to 25,000 characters, UTF-8 encoded. * Tables - Row, with column
* values matching the columns of the model, up to 5MB. Not available for FORECASTING
*
- * [prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type].
+ *
[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]. *
+ * Text Sentiment - TextSnippet, content up 500 characters, UTF-8 encoded.
*
*
Sample code:
*
@@ -200,7 +201,13 @@ public final OperationsClient getOperationsClient() {
*
* For Image Classification:
*
`score_threshold` - (float) A value from 0.0 to 1.0. When the model makes predictions
* for an image, it will only produce results that have at least this confidence score. The
- * default is 0.5. * For Tables: `feature_importance` - (boolean) Whether
+ * default is 0.5.
+ *
* For Image Object Detection: `score_threshold` - (float) When Model detects objects
+ * on the image, it will only produce bounding boxes which have at least this confidence
+ * score. Value in 0 to 1 range, default is 0.5. `max_bounding_box_count` - (int64) No more
+ * than this number of bounding boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server. * 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
@@ -230,7 +237,8 @@ public final PredictResponse predict(
* - TextSnippet, content up to 25,000 characters, UTF-8 encoded. * Tables - Row, with column
* values matching the columns of the model, up to 5MB. Not available for FORECASTING
*
- *
[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type].
+ *
[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]. *
+ * Text Sentiment - TextSnippet, content up 500 characters, UTF-8 encoded.
*
*
Sample code:
*
@@ -251,7 +259,13 @@ public final PredictResponse predict(
*
* For Image Classification:
*
`score_threshold` - (float) A value from 0.0 to 1.0. When the model makes predictions
* for an image, it will only produce results that have at least this confidence score. The
- * default is 0.5. * For Tables: `feature_importance` - (boolean) Whether
+ * default is 0.5.
+ *
* For Image Object Detection: `score_threshold` - (float) When Model detects objects
+ * on the image, it will only produce bounding boxes which have at least this confidence
+ * score. Value in 0 to 1 range, default is 0.5. `max_bounding_box_count` - (int64) No more
+ * than this number of bounding boxes will be returned in the response. Default is 100, the
+ * requested value may be limited by server. * 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
@@ -277,7 +291,8 @@ public final PredictResponse predict(
* - TextSnippet, content up to 25,000 characters, UTF-8 encoded. * Tables - Row, with column
* values matching the columns of the model, up to 5MB. Not available for FORECASTING
*
- *
[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type].
+ *
[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]. *
+ * Text Sentiment - TextSnippet, content up 500 characters, UTF-8 encoded.
*
*
Sample code:
*
@@ -311,7 +326,8 @@ public final PredictResponse predict(PredictRequest request) {
* - TextSnippet, content up to 25,000 characters, UTF-8 encoded. * Tables - Row, with column
* values matching the columns of the model, up to 5MB. Not available for FORECASTING
*
- *
[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type].
+ *
[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type]. *
+ * Text Sentiment - TextSnippet, content up 500 characters, UTF-8 encoded.
*
*
Sample code:
*
@@ -342,7 +358,8 @@ public final UnaryCallable predictCallable() {
* [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. Available for following ML problems:
- * * Video Classification * Video Object Tracking * Text Extraction * Tables
+ * * Image Classification * Image Object Detection * Video Classification * Video
+ * Object Tracking * Text Extraction * Tables
*
* Sample code:
*
@@ -362,6 +379,20 @@ public final UnaryCallable predictCallable() {
* written.
* @param params Additional domain-specific parameters for the predictions, any string must be up
* to 25000 characters long.
+ * * For Text Classification:
+ *
`score_threshold` - (float) A value from 0.0 to 1.0. When the model makes predictions
+ * for a text snippet, it will only produce results that have at least this confidence score.
+ * The default is 0.5.
+ *
* For Image Classification:
+ *
`score_threshold` - (float) A value from 0.0 to 1.0. When the model makes predictions
+ * for an image, it will only produce results that have at least this confidence score. The
+ * default is 0.5.
+ *
* For Image Object Detection:
+ *
`score_threshold` - (float) When Model detects objects on the image, it will only
+ * produce bounding boxes which have at least this confidence score. Value in 0 to 1 range,
+ * default is 0.5. `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the requested value may be limited by
+ * server.
*
* 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
@@ -416,7 +447,8 @@ public final OperationFuture batchPredict
* [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. Available for following ML problems:
- * * Video Classification * Video Object Tracking * Text Extraction * Tables
+ * * Image Classification * Image Object Detection * Video Classification * Video
+ * Object Tracking * Text Extraction * Tables
*
* Sample code:
*
@@ -436,6 +468,20 @@ public final OperationFuture batchPredict
* written.
* @param params Additional domain-specific parameters for the predictions, any string must be up
* to 25000 characters long.
+ * * For Text Classification:
+ *
`score_threshold` - (float) A value from 0.0 to 1.0. When the model makes predictions
+ * for a text snippet, it will only produce results that have at least this confidence score.
+ * The default is 0.5.
+ *
* For Image Classification:
+ *
`score_threshold` - (float) A value from 0.0 to 1.0. When the model makes predictions
+ * for an image, it will only produce results that have at least this confidence score. The
+ * default is 0.5.
+ *
* For Image Object Detection:
+ *
`score_threshold` - (float) When Model detects objects on the image, it will only
+ * produce bounding boxes which have at least this confidence score. Value in 0 to 1 range,
+ * default is 0.5. `max_bounding_box_count` - (int64) No more than this number of bounding
+ * boxes will be produced per image. Default is 100, the requested value may be limited by
+ * server.
*
* 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
@@ -490,7 +536,8 @@ public final OperationFuture batchPredict
* [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. Available for following ML problems:
- * * Video Classification * Video Object Tracking * Text Extraction * Tables
+ * * Image Classification * Image Object Detection * Video Classification * Video
+ * Object Tracking * Text Extraction * Tables
*
* Sample code:
*
@@ -527,7 +574,8 @@ public final OperationFuture batchPredict
* [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. Available for following ML problems:
- * * Video Classification * Video Object Tracking * Text Extraction * Tables
+ * * Image Classification * Image Object Detection * Video Classification * Video
+ * Object Tracking * Text Extraction * Tables
*
* Sample code:
*
@@ -562,7 +610,8 @@ public final OperationFuture batchPredict
* [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. Available for following ML problems:
- * * Video Classification * Video Object Tracking * Text Extraction * Tables
+ * * Image Classification * Image Object Detection * Video Classification * Video
+ * Object Tracking * Text Extraction * Tables
*
* Sample code:
*
diff --git a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/AutoMlClientTest.java b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/AutoMlClientTest.java
index 38e0305e1f31..b89da66846a5 100644
--- a/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/AutoMlClientTest.java
+++ b/google-cloud-clients/google-cloud-automl/src/test/java/com/google/cloud/automl/v1beta1/AutoMlClientTest.java
@@ -870,6 +870,7 @@ public void getTableSpecTest() {
String name2 = "name2-1052831874";
String timeColumnSpecId = "timeColumnSpecId1558734824";
long rowCount = 1340416618L;
+ long validRowCount = 406068761L;
long columnCount = 122671386L;
String etag = "etag3123477";
TableSpec expectedResponse =
@@ -877,6 +878,7 @@ public void getTableSpecTest() {
.setName(name2)
.setTimeColumnSpecId(timeColumnSpecId)
.setRowCount(rowCount)
+ .setValidRowCount(validRowCount)
.setColumnCount(columnCount)
.setEtag(etag)
.build();
@@ -968,6 +970,7 @@ public void updateTableSpecTest() {
String name = "name3373707";
String timeColumnSpecId = "timeColumnSpecId1558734824";
long rowCount = 1340416618L;
+ long validRowCount = 406068761L;
long columnCount = 122671386L;
String etag = "etag3123477";
TableSpec expectedResponse =
@@ -975,6 +978,7 @@ public void updateTableSpecTest() {
.setName(name)
.setTimeColumnSpecId(timeColumnSpecId)
.setRowCount(rowCount)
+ .setValidRowCount(validRowCount)
.setColumnCount(columnCount)
.setEtag(etag)
.build();
diff --git a/google-cloud-clients/google-cloud-automl/synth.metadata b/google-cloud-clients/google-cloud-automl/synth.metadata
index 925a07f332bd..3cb2a3528a5c 100644
--- a/google-cloud-clients/google-cloud-automl/synth.metadata
+++ b/google-cloud-clients/google-cloud-automl/synth.metadata
@@ -1,19 +1,19 @@
{
- "updateTime": "2019-08-02T07:33:59.029493Z",
+ "updateTime": "2019-08-10T07:34:50.395372Z",
"sources": [
{
"generator": {
"name": "artman",
- "version": "0.32.0",
- "dockerImage": "googleapis/artman@sha256:6929f343c400122d85818195b18613330a12a014bffc1e08499550d40571479d"
+ "version": "0.33.0",
+ "dockerImage": "googleapis/artman@sha256:c6231efb525569736226b1f7af7565dbc84248efafb3692a5bb1d2d8a7975d53"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "1b1ef1ca146c2119f077bca5e2b638c6bacb0925",
- "internalRef": "261214002"
+ "sha": "2a2c5518f64010c4e458afc818e57ed24fecdf6d",
+ "internalRef": "262646243"
}
}
],