From b9ef048ea0123d44d49a93320bd1c0fb03e93e9e Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Fri, 26 Feb 2021 15:19:48 -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/functions/v1/CloudFunction.java | 62 +++++++++++++++++++ .../functions/v1/CloudFunctionOrBuilder.java | 26 ++++++++ synth.metadata | 6 +- 3 files changed, 91 insertions(+), 3 deletions(-) diff --git a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunction.java b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunction.java index 87d7793c..33d2374d 100644 --- a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunction.java +++ b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunction.java @@ -890,6 +890,21 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int SOURCE_ARCHIVE_URL_FIELD_NUMBER = 3; + /** + * + * + *
+   * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+   * archive which contains the function.
+   * 
+ * + * string source_archive_url = 3; + * + * @return Whether the sourceArchiveUrl field is set. + */ + public boolean hasSourceArchiveUrl() { + return sourceCodeCase_ == 3; + } /** * * @@ -1002,6 +1017,21 @@ public com.google.cloud.functions.v1.SourceRepositoryOrBuilder getSourceReposito } public static final int SOURCE_UPLOAD_URL_FIELD_NUMBER = 16; + /** + * + * + *
+   * The Google Cloud Storage signed URL used for source uploading, generated
+   * by [google.cloud.functions.v1.GenerateUploadUrl][]
+   * 
+ * + * string source_upload_url = 16; + * + * @return Whether the sourceUploadUrl field is set. + */ + public boolean hasSourceUploadUrl() { + return sourceCodeCase_ == 16; + } /** * * @@ -3069,6 +3099,22 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } + /** + * + * + *
+     * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+     * archive which contains the function.
+     * 
+ * + * string source_archive_url = 3; + * + * @return Whether the sourceArchiveUrl field is set. + */ + @java.lang.Override + public boolean hasSourceArchiveUrl() { + return sourceCodeCase_ == 3; + } /** * * @@ -3411,6 +3457,22 @@ public com.google.cloud.functions.v1.SourceRepositoryOrBuilder getSourceReposito return sourceRepositoryBuilder_; } + /** + * + * + *
+     * The Google Cloud Storage signed URL used for source uploading, generated
+     * by [google.cloud.functions.v1.GenerateUploadUrl][]
+     * 
+ * + * string source_upload_url = 16; + * + * @return Whether the sourceUploadUrl field is set. + */ + @java.lang.Override + public boolean hasSourceUploadUrl() { + return sourceCodeCase_ == 16; + } /** * * diff --git a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionOrBuilder.java b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionOrBuilder.java index 705bff79..0d084ab8 100644 --- a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionOrBuilder.java +++ b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionOrBuilder.java @@ -75,6 +75,19 @@ public interface CloudFunctionOrBuilder */ com.google.protobuf.ByteString getDescriptionBytes(); + /** + * + * + *
+   * The Google Cloud Storage URL, starting with gs://, pointing to the zip
+   * archive which contains the function.
+   * 
+ * + * string source_archive_url = 3; + * + * @return Whether the sourceArchiveUrl field is set. + */ + boolean hasSourceArchiveUrl(); /** * * @@ -140,6 +153,19 @@ public interface CloudFunctionOrBuilder */ com.google.cloud.functions.v1.SourceRepositoryOrBuilder getSourceRepositoryOrBuilder(); + /** + * + * + *
+   * The Google Cloud Storage signed URL used for source uploading, generated
+   * by [google.cloud.functions.v1.GenerateUploadUrl][]
+   * 
+ * + * string source_upload_url = 16; + * + * @return Whether the sourceUploadUrl field is set. + */ + boolean hasSourceUploadUrl(); /** * * diff --git a/synth.metadata b/synth.metadata index e6a1e22e..be40e811 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-functions.git", - "sha": "3034804aa7bf022f8763ca6db12a92d2d2bdba14" + "sha": "20e56372810f306539d91f5a5b452c41dd9c97fd" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "af8f71dae961ee036a0ac52a1965270149a6b2c9", - "internalRef": "358516065" + "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516", + "internalRef": "359781040" } }, { From ace37ecb612a30476a32666403ff2c4ce774ff70 Mon Sep 17 00:00:00 2001 From: Neenu1995 Date: Mon, 1 Mar 2021 20:42:49 -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-functions-v1/clirr-ignored-differences.xml diff --git a/proto-google-cloud-functions-v1/clirr-ignored-differences.xml b/proto-google-cloud-functions-v1/clirr-ignored-differences.xml new file mode 100644 index 00000000..66846256 --- /dev/null +++ b/proto-google-cloud-functions-v1/clirr-ignored-differences.xml @@ -0,0 +1,9 @@ + + + + + 7012 + com/google/cloud/functions/v1/*OrBuilder + * has*(*) + + \ No newline at end of file