From 3535079013ab182c1c899112d16f9cadb7735351 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 2 Mar 2021 10:26:15 -0800 Subject: [PATCH] feat(generator): update protoc to v3.15.3 (#483) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/1a646fed-7599-4979-b98b-de2cd5bb79a0/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: https://github.com/googleapis/googleapis/commit/f6dd7e47620566925a4b3f1ce029e74e1b2f2516 --- .../v1/BatchPredictOperationMetadata.java | 44 ++++++++++ .../v1/ExportDataOperationMetadata.java | 44 ++++++++++ .../com/google/cloud/automl/v1/Image.java | 33 +++++++ .../cloud/automl/v1/ImageOrBuilder.java | 14 +++ .../clirr-ignored-differences.xml | 5 ++ .../BatchPredictOperationMetadata.java | 88 +++++++++++++++++++ .../google/cloud/automl/v1beta1/DataType.java | 49 +++++++++++ .../automl/v1beta1/DataTypeOrBuilder.java | 22 +++++ .../v1beta1/ExportDataOperationMetadata.java | 88 +++++++++++++++++++ .../google/cloud/automl/v1beta1/Image.java | 33 +++++++ .../cloud/automl/v1beta1/ImageOrBuilder.java | 14 +++ .../automl/v1beta1/TablesModelMetadata.java | 62 +++++++++++++ .../v1beta1/TablesModelMetadataOrBuilder.java | 26 ++++++ synth.metadata | 10 +-- 14 files changed, 527 insertions(+), 5 deletions(-) diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictOperationMetadata.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictOperationMetadata.java index c39b6d357..ea634e5c6 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictOperationMetadata.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/BatchPredictOperationMetadata.java @@ -144,6 +144,19 @@ public interface BatchPredictOutputInfoOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1.BatchPredictOperationMetadata.BatchPredictOutputInfo) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+     * The full path of the Google Cloud Storage directory created, into which
+     * the prediction output is written.
+     * 
+ * + * string gcs_output_directory = 1; + * + * @return Whether the gcsOutputDirectory field is set. + */ + boolean hasGcsOutputDirectory(); /** * * @@ -315,6 +328,21 @@ public OutputLocationCase getOutputLocationCase() { } public static final int GCS_OUTPUT_DIRECTORY_FIELD_NUMBER = 1; + /** + * + * + *
+     * The full path of the Google Cloud Storage directory created, into which
+     * the prediction output is written.
+     * 
+ * + * string gcs_output_directory = 1; + * + * @return Whether the gcsOutputDirectory field is set. + */ + public boolean hasGcsOutputDirectory() { + return outputLocationCase_ == 1; + } /** * * @@ -762,6 +790,22 @@ public Builder clearOutputLocation() { return this; } + /** + * + * + *
+       * The full path of the Google Cloud Storage directory created, into which
+       * the prediction output is written.
+       * 
+ * + * string gcs_output_directory = 1; + * + * @return Whether the gcsOutputDirectory field is set. + */ + @java.lang.Override + public boolean hasGcsOutputDirectory() { + return outputLocationCase_ == 1; + } /** * * diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportDataOperationMetadata.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportDataOperationMetadata.java index 9f3463c4b..46ca32a4f 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportDataOperationMetadata.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ExportDataOperationMetadata.java @@ -126,6 +126,19 @@ public interface ExportDataOutputInfoOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1.ExportDataOperationMetadata.ExportDataOutputInfo) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+     * The full path of the Google Cloud Storage directory created, into which
+     * the exported data is written.
+     * 
+ * + * string gcs_output_directory = 1; + * + * @return Whether the gcsOutputDirectory field is set. + */ + boolean hasGcsOutputDirectory(); /** * * @@ -296,6 +309,21 @@ public OutputLocationCase getOutputLocationCase() { } public static final int GCS_OUTPUT_DIRECTORY_FIELD_NUMBER = 1; + /** + * + * + *
+     * The full path of the Google Cloud Storage directory created, into which
+     * the exported data is written.
+     * 
+ * + * string gcs_output_directory = 1; + * + * @return Whether the gcsOutputDirectory field is set. + */ + public boolean hasGcsOutputDirectory() { + return outputLocationCase_ == 1; + } /** * * @@ -737,6 +765,22 @@ public Builder clearOutputLocation() { return this; } + /** + * + * + *
+       * The full path of the Google Cloud Storage directory created, into which
+       * the exported data is written.
+       * 
+ * + * string gcs_output_directory = 1; + * + * @return Whether the gcsOutputDirectory field is set. + */ + @java.lang.Override + public boolean hasGcsOutputDirectory() { + return outputLocationCase_ == 1; + } /** * * diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Image.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Image.java index 6d2df04b0..64ac4fd1f 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Image.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/Image.java @@ -162,6 +162,23 @@ public DataCase getDataCase() { } public static final int IMAGE_BYTES_FIELD_NUMBER = 1; + /** + * + * + *
+   * Image content represented as a stream of bytes.
+   * Note: As with all `bytes` fields, protobuffers use a pure binary
+   * representation, whereas JSON representations use base64.
+   * 
+ * + * bytes image_bytes = 1; + * + * @return Whether the imageBytes field is set. + */ + @java.lang.Override + public boolean hasImageBytes() { + return dataCase_ == 1; + } /** * * @@ -601,6 +618,22 @@ public Builder clearData() { return this; } + /** + * + * + *
+     * Image content represented as a stream of bytes.
+     * Note: As with all `bytes` fields, protobuffers use a pure binary
+     * representation, whereas JSON representations use base64.
+     * 
+ * + * bytes image_bytes = 1; + * + * @return Whether the imageBytes field is set. + */ + public boolean hasImageBytes() { + return dataCase_ == 1; + } /** * * diff --git a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageOrBuilder.java b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageOrBuilder.java index 0e33abd08..953354308 100644 --- a/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageOrBuilder.java +++ b/proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/ImageOrBuilder.java @@ -23,6 +23,20 @@ public interface ImageOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1.Image) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * Image content represented as a stream of bytes.
+   * Note: As with all `bytes` fields, protobuffers use a pure binary
+   * representation, whereas JSON representations use base64.
+   * 
+ * + * bytes image_bytes = 1; + * + * @return Whether the imageBytes field is set. + */ + boolean hasImageBytes(); /** * * diff --git a/proto-google-cloud-automl-v1beta1/clirr-ignored-differences.xml b/proto-google-cloud-automl-v1beta1/clirr-ignored-differences.xml index b752d65fc..10681da2b 100644 --- a/proto-google-cloud-automl-v1beta1/clirr-ignored-differences.xml +++ b/proto-google-cloud-automl-v1beta1/clirr-ignored-differences.xml @@ -11,4 +11,9 @@ com/google/cloud/automl/v1beta1/*OrBuilder boolean contains*(*) + + 7012 + com/google/cloud/automl/v1beta1/*OrBuilder + * has*(*) + diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictOperationMetadata.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictOperationMetadata.java index bd84b5dbf..3a3e3bc25 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictOperationMetadata.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/BatchPredictOperationMetadata.java @@ -144,6 +144,19 @@ public interface BatchPredictOutputInfoOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1beta1.BatchPredictOperationMetadata.BatchPredictOutputInfo) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+     * The full path of the Google Cloud Storage directory created, into which
+     * the prediction output is written.
+     * 
+ * + * string gcs_output_directory = 1; + * + * @return Whether the gcsOutputDirectory field is set. + */ + boolean hasGcsOutputDirectory(); /** * * @@ -171,6 +184,19 @@ public interface BatchPredictOutputInfoOrBuilder */ com.google.protobuf.ByteString getGcsOutputDirectoryBytes(); + /** + * + * + *
+     * The path of the BigQuery dataset created, in bq://projectId.bqDatasetId
+     * format, into which the prediction output is written.
+     * 
+ * + * string bigquery_output_dataset = 2; + * + * @return Whether the bigqueryOutputDataset field is set. + */ + boolean hasBigqueryOutputDataset(); /** * * @@ -353,6 +379,21 @@ public OutputLocationCase getOutputLocationCase() { } public static final int GCS_OUTPUT_DIRECTORY_FIELD_NUMBER = 1; + /** + * + * + *
+     * The full path of the Google Cloud Storage directory created, into which
+     * the prediction output is written.
+     * 
+ * + * string gcs_output_directory = 1; + * + * @return Whether the gcsOutputDirectory field is set. + */ + public boolean hasGcsOutputDirectory() { + return outputLocationCase_ == 1; + } /** * * @@ -411,6 +452,21 @@ public com.google.protobuf.ByteString getGcsOutputDirectoryBytes() { } public static final int BIGQUERY_OUTPUT_DATASET_FIELD_NUMBER = 2; + /** + * + * + *
+     * The path of the BigQuery dataset created, in bq://projectId.bqDatasetId
+     * format, into which the prediction output is written.
+     * 
+ * + * string bigquery_output_dataset = 2; + * + * @return Whether the bigqueryOutputDataset field is set. + */ + public boolean hasBigqueryOutputDataset() { + return outputLocationCase_ == 2; + } /** * * @@ -898,6 +954,22 @@ public Builder clearOutputLocation() { return this; } + /** + * + * + *
+       * The full path of the Google Cloud Storage directory created, into which
+       * the prediction output is written.
+       * 
+ * + * string gcs_output_directory = 1; + * + * @return Whether the gcsOutputDirectory field is set. + */ + @java.lang.Override + public boolean hasGcsOutputDirectory() { + return outputLocationCase_ == 1; + } /** * * @@ -1022,6 +1094,22 @@ public Builder setGcsOutputDirectoryBytes(com.google.protobuf.ByteString value) return this; } + /** + * + * + *
+       * The path of the BigQuery dataset created, in bq://projectId.bqDatasetId
+       * format, into which the prediction output is written.
+       * 
+ * + * string bigquery_output_dataset = 2; + * + * @return Whether the bigqueryOutputDataset field is set. + */ + @java.lang.Override + public boolean hasBigqueryOutputDataset() { + return outputLocationCase_ == 2; + } /** * * diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataType.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataType.java index c87307cfd..26b43bdd0 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataType.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataType.java @@ -315,6 +315,30 @@ public com.google.cloud.automl.v1beta1.StructTypeOrBuilder getStructTypeOrBuilde } public static final int TIME_FORMAT_FIELD_NUMBER = 5; + /** + * + * + *
+   * If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP]
+   * then `time_format` provides the format in which that time field is
+   * expressed. The time_format must either be one of:
+   * * `UNIX_SECONDS`
+   * * `UNIX_MILLISECONDS`
+   * * `UNIX_MICROSECONDS`
+   * * `UNIX_NANOSECONDS`
+   * (for respectively number of seconds, milliseconds, microseconds and
+   * nanoseconds since start of the Unix epoch);
+   * or be written in `strftime` syntax. If time_format is not set, then the
+   * default format as described on the type_code is used.
+   * 
+ * + * string time_format = 5; + * + * @return Whether the timeFormat field is set. + */ + public boolean hasTimeFormat() { + return detailsCase_ == 5; + } /** * * @@ -1320,6 +1344,31 @@ public com.google.cloud.automl.v1beta1.StructTypeOrBuilder getStructTypeOrBuilde return structTypeBuilder_; } + /** + * + * + *
+     * If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP]
+     * then `time_format` provides the format in which that time field is
+     * expressed. The time_format must either be one of:
+     * * `UNIX_SECONDS`
+     * * `UNIX_MILLISECONDS`
+     * * `UNIX_MICROSECONDS`
+     * * `UNIX_NANOSECONDS`
+     * (for respectively number of seconds, milliseconds, microseconds and
+     * nanoseconds since start of the Unix epoch);
+     * or be written in `strftime` syntax. If time_format is not set, then the
+     * default format as described on the type_code is used.
+     * 
+ * + * string time_format = 5; + * + * @return Whether the timeFormat field is set. + */ + @java.lang.Override + public boolean hasTimeFormat() { + return detailsCase_ == 5; + } /** * * diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataTypeOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataTypeOrBuilder.java index 22ad50498..a99f46d73 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataTypeOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/DataTypeOrBuilder.java @@ -99,6 +99,28 @@ public interface DataTypeOrBuilder */ com.google.cloud.automl.v1beta1.StructTypeOrBuilder getStructTypeOrBuilder(); + /** + * + * + *
+   * If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP]
+   * then `time_format` provides the format in which that time field is
+   * expressed. The time_format must either be one of:
+   * * `UNIX_SECONDS`
+   * * `UNIX_MILLISECONDS`
+   * * `UNIX_MICROSECONDS`
+   * * `UNIX_NANOSECONDS`
+   * (for respectively number of seconds, milliseconds, microseconds and
+   * nanoseconds since start of the Unix epoch);
+   * or be written in `strftime` syntax. If time_format is not set, then the
+   * default format as described on the type_code is used.
+   * 
+ * + * string time_format = 5; + * + * @return Whether the timeFormat field is set. + */ + boolean hasTimeFormat(); /** * * diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportDataOperationMetadata.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportDataOperationMetadata.java index 1148ab473..42632a85d 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportDataOperationMetadata.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ExportDataOperationMetadata.java @@ -127,6 +127,19 @@ public interface ExportDataOutputInfoOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1beta1.ExportDataOperationMetadata.ExportDataOutputInfo) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+     * The full path of the Google Cloud Storage directory created, into which
+     * the exported data is written.
+     * 
+ * + * string gcs_output_directory = 1; + * + * @return Whether the gcsOutputDirectory field is set. + */ + boolean hasGcsOutputDirectory(); /** * * @@ -154,6 +167,19 @@ public interface ExportDataOutputInfoOrBuilder */ com.google.protobuf.ByteString getGcsOutputDirectoryBytes(); + /** + * + * + *
+     * The path of the BigQuery dataset created, in bq://projectId.bqDatasetId
+     * format, into which the exported data is written.
+     * 
+ * + * string bigquery_output_dataset = 2; + * + * @return Whether the bigqueryOutputDataset field is set. + */ + boolean hasBigqueryOutputDataset(); /** * * @@ -336,6 +362,21 @@ public OutputLocationCase getOutputLocationCase() { } public static final int GCS_OUTPUT_DIRECTORY_FIELD_NUMBER = 1; + /** + * + * + *
+     * The full path of the Google Cloud Storage directory created, into which
+     * the exported data is written.
+     * 
+ * + * string gcs_output_directory = 1; + * + * @return Whether the gcsOutputDirectory field is set. + */ + public boolean hasGcsOutputDirectory() { + return outputLocationCase_ == 1; + } /** * * @@ -394,6 +435,21 @@ public com.google.protobuf.ByteString getGcsOutputDirectoryBytes() { } public static final int BIGQUERY_OUTPUT_DATASET_FIELD_NUMBER = 2; + /** + * + * + *
+     * The path of the BigQuery dataset created, in bq://projectId.bqDatasetId
+     * format, into which the exported data is written.
+     * 
+ * + * string bigquery_output_dataset = 2; + * + * @return Whether the bigqueryOutputDataset field is set. + */ + public boolean hasBigqueryOutputDataset() { + return outputLocationCase_ == 2; + } /** * * @@ -865,6 +921,22 @@ public Builder clearOutputLocation() { return this; } + /** + * + * + *
+       * The full path of the Google Cloud Storage directory created, into which
+       * the exported data is written.
+       * 
+ * + * string gcs_output_directory = 1; + * + * @return Whether the gcsOutputDirectory field is set. + */ + @java.lang.Override + public boolean hasGcsOutputDirectory() { + return outputLocationCase_ == 1; + } /** * * @@ -989,6 +1061,22 @@ public Builder setGcsOutputDirectoryBytes(com.google.protobuf.ByteString value) return this; } + /** + * + * + *
+       * The path of the BigQuery dataset created, in bq://projectId.bqDatasetId
+       * format, into which the exported data is written.
+       * 
+ * + * string bigquery_output_dataset = 2; + * + * @return Whether the bigqueryOutputDataset field is set. + */ + @java.lang.Override + public boolean hasBigqueryOutputDataset() { + return outputLocationCase_ == 2; + } /** * * diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Image.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Image.java index dea1d95e7..888e7a8f6 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Image.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/Image.java @@ -182,6 +182,23 @@ public DataCase getDataCase() { } public static final int IMAGE_BYTES_FIELD_NUMBER = 1; + /** + * + * + *
+   * Image content represented as a stream of bytes.
+   * Note: As with all `bytes` fields, protobuffers use a pure binary
+   * representation, whereas JSON representations use base64.
+   * 
+ * + * bytes image_bytes = 1; + * + * @return Whether the imageBytes field is set. + */ + @java.lang.Override + public boolean hasImageBytes() { + return dataCase_ == 1; + } /** * * @@ -700,6 +717,22 @@ public Builder clearData() { return this; } + /** + * + * + *
+     * Image content represented as a stream of bytes.
+     * Note: As with all `bytes` fields, protobuffers use a pure binary
+     * representation, whereas JSON representations use base64.
+     * 
+ * + * bytes image_bytes = 1; + * + * @return Whether the imageBytes field is set. + */ + public boolean hasImageBytes() { + return dataCase_ == 1; + } /** * * diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageOrBuilder.java index 584e00e09..ba432aa22 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/ImageOrBuilder.java @@ -23,6 +23,20 @@ public interface ImageOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1beta1.Image) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * Image content represented as a stream of bytes.
+   * Note: As with all `bytes` fields, protobuffers use a pure binary
+   * representation, whereas JSON representations use base64.
+   * 
+ * + * bytes image_bytes = 1; + * + * @return Whether the imageBytes field is set. + */ + boolean hasImageBytes(); /** * * diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelMetadata.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelMetadata.java index c2749fff6..3178c7c0a 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelMetadata.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelMetadata.java @@ -238,6 +238,22 @@ public AdditionalOptimizationObjectiveConfigCase getAdditionalOptimizationObject } 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; + * + * @return Whether the optimizationObjectiveRecallValue field is set. + */ + @java.lang.Override + public boolean hasOptimizationObjectiveRecallValue() { + return additionalOptimizationObjectiveConfigCase_ == 17; + } /** * * @@ -259,6 +275,22 @@ public float getOptimizationObjectiveRecallValue() { } 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; + * + * @return Whether the optimizationObjectivePrecisionValue field is set. + */ + @java.lang.Override + public boolean hasOptimizationObjectivePrecisionValue() { + return additionalOptimizationObjectiveConfigCase_ == 18; + } /** * * @@ -1325,6 +1357,21 @@ public Builder clearAdditionalOptimizationObjectiveConfig() { private int bitField0_; + /** + * + * + *
+     * Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL".
+     * Must be between 0 and 1, inclusive.
+     * 
+ * + * float optimization_objective_recall_value = 17; + * + * @return Whether the optimizationObjectiveRecallValue field is set. + */ + public boolean hasOptimizationObjectiveRecallValue() { + return additionalOptimizationObjectiveConfigCase_ == 17; + } /** * * @@ -1383,6 +1430,21 @@ public Builder clearOptimizationObjectiveRecallValue() { return this; } + /** + * + * + *
+     * Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION".
+     * Must be between 0 and 1, inclusive.
+     * 
+ * + * float optimization_objective_precision_value = 18; + * + * @return Whether the optimizationObjectivePrecisionValue field is set. + */ + public boolean hasOptimizationObjectivePrecisionValue() { + return additionalOptimizationObjectiveConfigCase_ == 18; + } /** * * diff --git a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelMetadataOrBuilder.java b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelMetadataOrBuilder.java index 47b3a1106..a9e1098cd 100644 --- a/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelMetadataOrBuilder.java +++ b/proto-google-cloud-automl-v1beta1/src/main/java/com/google/cloud/automl/v1beta1/TablesModelMetadataOrBuilder.java @@ -23,6 +23,19 @@ public interface TablesModelMetadataOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1beta1.TablesModelMetadata) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL".
+   * Must be between 0 and 1, inclusive.
+   * 
+ * + * float optimization_objective_recall_value = 17; + * + * @return Whether the optimizationObjectiveRecallValue field is set. + */ + boolean hasOptimizationObjectiveRecallValue(); /** * * @@ -37,6 +50,19 @@ public interface TablesModelMetadataOrBuilder */ float getOptimizationObjectiveRecallValue(); + /** + * + * + *
+   * Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION".
+   * Must be between 0 and 1, inclusive.
+   * 
+ * + * float optimization_objective_precision_value = 18; + * + * @return Whether the optimizationObjectivePrecisionValue field is set. + */ + boolean hasOptimizationObjectivePrecisionValue(); /** * * diff --git a/synth.metadata b/synth.metadata index 1352fadc9..d22448ebf 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,23 +4,23 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-automl.git", - "sha": "c05a06137a3ed93b81715a45b183b246dce2ff7a" + "sha": "aa06bb6135758d4e8bfa173313cd54e04ab69e59" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516", + "internalRef": "359781040" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516", + "internalRef": "359781040" } }, {