From 2e4591826a259a93df4f0f069326c107d0ed65ef Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 2 Mar 2021 10:26:03 -0800 Subject: [PATCH] feat(generator): update protoc to v3.15.3 (#155) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/04c8998c-c603-45ac-a235-c5b6849907a3/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 359781040 Source-Link: https://github.com/googleapis/googleapis/commit/f6dd7e47620566925a4b3f1ce029e74e1b2f2516 --- .../clirr-ignored-differences.xml | 9 +++ .../cloud/functions/v1/CloudFunction.java | 62 +++++++++++++++++++ .../functions/v1/CloudFunctionOrBuilder.java | 26 ++++++++ synth.metadata | 6 +- 4 files changed, 100 insertions(+), 3 deletions(-) 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 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" } }, {