From b0e52022f1dfce2723be02a679e2ef976f2447f6 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Fri, 26 Feb 2021 15:30:49 -0800 Subject: [PATCH 1/2] chore: update protobuf v3.15.3 This release makes --experimental_allow_proto3_optional no longer necessary. PiperOrigin-RevId: 359781040 Source-Author: Google APIs Source-Date: Fri Feb 26 09:59:49 2021 -0800 Source-Repo: googleapis/googleapis Source-Sha: f6dd7e47620566925a4b3f1ce029e74e1b2f2516 Source-Link: https://github.com/googleapis/googleapis/commit/f6dd7e47620566925a4b3f1ce029e74e1b2f2516 --- .../cloud/retail/v2/ImportErrorsConfig.java | 35 +++++++++++++++++++ .../v2/ImportErrorsConfigOrBuilder.java | 15 ++++++++ synth.metadata | 6 ++-- 3 files changed, 53 insertions(+), 3 deletions(-) diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportErrorsConfig.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportErrorsConfig.java index 8100932c..c8d30a70 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportErrorsConfig.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportErrorsConfig.java @@ -154,6 +154,23 @@ public DestinationCase getDestinationCase() { } public static final int GCS_PREFIX_FIELD_NUMBER = 1; + /** + * + * + *
+   * Google Cloud Storage path for import errors. This must be an empty,
+   * existing Cloud Storage bucket. Import errors will be written to a file in
+   * this bucket, one per line, as a JSON-encoded
+   * `google.rpc.Status` message.
+   * 
+ * + * string gcs_prefix = 1; + * + * @return Whether the gcsPrefix field is set. + */ + public boolean hasGcsPrefix() { + return destinationCase_ == 1; + } /** * * @@ -570,6 +587,24 @@ public Builder clearDestination() { return this; } + /** + * + * + *
+     * Google Cloud Storage path for import errors. This must be an empty,
+     * existing Cloud Storage bucket. Import errors will be written to a file in
+     * this bucket, one per line, as a JSON-encoded
+     * `google.rpc.Status` message.
+     * 
+ * + * string gcs_prefix = 1; + * + * @return Whether the gcsPrefix field is set. + */ + @java.lang.Override + public boolean hasGcsPrefix() { + return destinationCase_ == 1; + } /** * * diff --git a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportErrorsConfigOrBuilder.java b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportErrorsConfigOrBuilder.java index 14cfa61b..783c05e6 100644 --- a/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportErrorsConfigOrBuilder.java +++ b/proto-google-cloud-retail-v2/src/main/java/com/google/cloud/retail/v2/ImportErrorsConfigOrBuilder.java @@ -23,6 +23,21 @@ public interface ImportErrorsConfigOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.retail.v2.ImportErrorsConfig) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * Google Cloud Storage path for import errors. This must be an empty,
+   * existing Cloud Storage bucket. Import errors will be written to a file in
+   * this bucket, one per line, as a JSON-encoded
+   * `google.rpc.Status` message.
+   * 
+ * + * string gcs_prefix = 1; + * + * @return Whether the gcsPrefix field is set. + */ + boolean hasGcsPrefix(); /** * * diff --git a/synth.metadata b/synth.metadata index e880e9b4..ff0d4823 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-retail.git", - "sha": "0ca8a72b896d63d2da372684c7fbaf502018afbc" + "sha": "9103ea862ef586c1a8e58e3da2227712cfa3328f" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516", + "internalRef": "359781040" } }, { From 04506b5384e902d772d165301df3d54da8a2835b Mon Sep 17 00:00:00 2001 From: Neenu1995 Date: Mon, 1 Mar 2021 20:06:43 -0500 Subject: [PATCH 2/2] chore: add proto changes to clirr-ignored-differences --- .../clirr-ignored-differences.xml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 proto-google-cloud-retail-v2/clirr-ignored-differences.xml diff --git a/proto-google-cloud-retail-v2/clirr-ignored-differences.xml b/proto-google-cloud-retail-v2/clirr-ignored-differences.xml new file mode 100644 index 00000000..8fe89da8 --- /dev/null +++ b/proto-google-cloud-retail-v2/clirr-ignored-differences.xml @@ -0,0 +1,9 @@ + + + + + 7012 + com/google/cloud/retail/v2/*OrBuilder + * has*(*) + + \ No newline at end of file