Date: Tue, 2 Mar 2021 10:26:03 -0800
Subject: [PATCH 04/11] 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"
}
},
{
From ce5ee882b5888ad1b7c930f089b7b183fc93cac1 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Tue, 2 Mar 2021 16:44:19 -0800
Subject: [PATCH 05/11] chore: remove docLava v2 doc generation (#158)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/a345ccba-8a24-4c06-840c-fcbe9eb93e77/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/21da7d9fa02f6916d9f87cf4072b3547b5c72eb5
---
.kokoro/release/publish_javadoc.cfg | 8 +-------
.kokoro/release/publish_javadoc.sh | 19 -------------------
synth.metadata | 4 ++--
3 files changed, 3 insertions(+), 28 deletions(-)
diff --git a/.kokoro/release/publish_javadoc.cfg b/.kokoro/release/publish_javadoc.cfg
index 6c200fd8..85703e00 100644
--- a/.kokoro/release/publish_javadoc.cfg
+++ b/.kokoro/release/publish_javadoc.cfg
@@ -7,12 +7,6 @@ env_vars: {
value: "docs-staging"
}
-# cloud-rad staging
-env_vars: {
- key: "STAGING_BUCKET_V2"
- value: "docs-staging-v2-staging"
-}
-
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
value: "github/java-functions/.kokoro/release/publish_javadoc.sh"
@@ -26,4 +20,4 @@ before_action {
keyname: "docuploader_service_account"
}
}
-}
\ No newline at end of file
+}
diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh
index 4030b7d3..61fd755b 100755
--- a/.kokoro/release/publish_javadoc.sh
+++ b/.kokoro/release/publish_javadoc.sh
@@ -56,22 +56,3 @@ python3 -m docuploader create-metadata \
python3 -m docuploader upload . \
--credentials ${CREDENTIALS} \
--staging-bucket ${STAGING_BUCKET}
-
-popd
-
-# V2 due to problems w/ the released javadoc plugin doclava, Java 8 is required. Beware of accidental updates.
-
-mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/"
-
-pushd target/devsite/reference
-
-# create metadata
-python3 -m docuploader create-metadata \
- --name ${NAME} \
- --version ${VERSION} \
- --language java
-
-# upload docs to staging bucket
-python3 -m docuploader upload . \
- --credentials ${CREDENTIALS} \
- --staging-bucket ${STAGING_BUCKET_V2}
diff --git a/synth.metadata b/synth.metadata
index be40e811..d4004f25 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-functions.git",
- "sha": "20e56372810f306539d91f5a5b452c41dd9c97fd"
+ "sha": "2e4591826a259a93df4f0f069326c107d0ed65ef"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "6946fd71ae9215b0e7ae188f5057df765ee6d7d2"
+ "sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5"
}
}
],
From 6fa33033c53a174c9150149dc93d2ab871fd2d60 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Thu, 4 Mar 2021 15:10:10 -0800
Subject: [PATCH 06/11] chore: copy README to docfx-yml dir (#159)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/bbf8ca1c-bb3f-453b-9511-9e85b253e4ba/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/d0bdade9a962042dc0f770cf631086f3db59b5b0
---
.kokoro/release/publish_javadoc11.sh | 5 ++++-
synth.metadata | 4 ++--
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh
index 2f4bd1c7..cd039b38 100755
--- a/.kokoro/release/publish_javadoc11.sh
+++ b/.kokoro/release/publish_javadoc11.sh
@@ -40,6 +40,9 @@ export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)
# generate yml
mvn clean site -B -q -P docFX
+# copy README to docfx-yml dir and rename index.md
+cp README.md target/docfx-yml/index.md
+
pushd target/docfx-yml
# create metadata
@@ -52,4 +55,4 @@ python3 -m docuploader create-metadata \
python3 -m docuploader upload . \
--credentials ${CREDENTIALS} \
--staging-bucket ${STAGING_BUCKET_V2} \
- --destination-prefix docfx-
+ --destination-prefix docfx
diff --git a/synth.metadata b/synth.metadata
index d4004f25..f9d6a94e 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-functions.git",
- "sha": "2e4591826a259a93df4f0f069326c107d0ed65ef"
+ "sha": "ce5ee882b5888ad1b7c930f089b7b183fc93cac1"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "21da7d9fa02f6916d9f87cf4072b3547b5c72eb5"
+ "sha": "d0bdade9a962042dc0f770cf631086f3db59b5b0"
}
}
],
From dbfed4dd57c4b245086aaceb6c9ba0e366fb5a85 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Fri, 5 Mar 2021 11:26:04 -0800
Subject: [PATCH 07/11] fix: Fix service namespace in grpc_service_config
(#157)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/a345ccba-8a24-4c06-840c-fcbe9eb93e77/targets
- [ ] To automatically regenerate this PR, check this box.
PiperOrigin-RevId: 360443299
Source-Link: https://github.com/googleapis/googleapis/commit/7cef8809d337ff0d59b1ba11d302e42952e9c3c2
---
.../CloudFunctionsServiceStubSettings.java | 62 +++++++++++++------
synth.metadata | 4 +-
2 files changed, 46 insertions(+), 20 deletions(-)
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java
index fe6f720d..84702449 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java
@@ -392,6 +392,13 @@ public static class Builder
static {
ImmutableMap.Builder> definitions =
ImmutableMap.builder();
+ definitions.put(
+ "retry_policy_0_codes",
+ ImmutableSet.copyOf(
+ Lists.newArrayList(
+ StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED)));
+ definitions.put(
+ "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList()));
definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList()));
RETRYABLE_CODE_DEFINITIONS = definitions.build();
}
@@ -401,6 +408,25 @@ public static class Builder
static {
ImmutableMap.Builder definitions = ImmutableMap.builder();
RetrySettings settings = null;
+ settings =
+ RetrySettings.newBuilder()
+ .setInitialRetryDelay(Duration.ofMillis(100L))
+ .setRetryDelayMultiplier(1.3)
+ .setMaxRetryDelay(Duration.ofMillis(60000L))
+ .setInitialRpcTimeout(Duration.ofMillis(600000L))
+ .setRpcTimeoutMultiplier(1.0)
+ .setMaxRpcTimeout(Duration.ofMillis(600000L))
+ .setTotalTimeout(Duration.ofMillis(600000L))
+ .build();
+ definitions.put("retry_policy_0_params", settings);
+ settings =
+ RetrySettings.newBuilder()
+ .setInitialRpcTimeout(Duration.ofMillis(600000L))
+ .setRpcTimeoutMultiplier(1.0)
+ .setMaxRpcTimeout(Duration.ofMillis(600000L))
+ .setTotalTimeout(Duration.ofMillis(600000L))
+ .build();
+ definitions.put("no_retry_1_params", settings);
settings = RetrySettings.newBuilder().setRpcTimeoutMultiplier(1.0).build();
definitions.put("no_retry_params", settings);
RETRY_PARAM_DEFINITIONS = definitions.build();
@@ -491,33 +517,33 @@ private static Builder createDefault() {
private static Builder initDefaults(Builder builder) {
builder
.listFunctionsSettings()
- .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
- .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
builder
.getFunctionSettings()
- .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
- .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
builder
.createFunctionSettings()
- .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
- .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
builder
.updateFunctionSettings()
- .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
- .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
builder
.deleteFunctionSettings()
- .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
- .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"));
builder
.callFunctionSettings()
- .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
- .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
builder
.generateUploadUrlSettings()
@@ -549,8 +575,8 @@ private static Builder initDefaults(Builder builder) {
.setInitialCallSettings(
UnaryCallSettings
.newUnaryCallSettingsBuilder()
- .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
- .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"))
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"))
.build())
.setResponseTransformer(
ProtoOperationTransformers.ResponseTransformer.create(CloudFunction.class))
@@ -573,8 +599,8 @@ private static Builder initDefaults(Builder builder) {
.setInitialCallSettings(
UnaryCallSettings
.newUnaryCallSettingsBuilder()
- .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
- .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"))
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"))
.build())
.setResponseTransformer(
ProtoOperationTransformers.ResponseTransformer.create(CloudFunction.class))
@@ -597,8 +623,8 @@ private static Builder initDefaults(Builder builder) {
.setInitialCallSettings(
UnaryCallSettings
.newUnaryCallSettingsBuilder()
- .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
- .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"))
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes"))
+ .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params"))
.build())
.setResponseTransformer(
ProtoOperationTransformers.ResponseTransformer.create(Empty.class))
diff --git a/synth.metadata b/synth.metadata
index f9d6a94e..f8e73c96 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -11,8 +11,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "f6dd7e47620566925a4b3f1ce029e74e1b2f2516",
- "internalRef": "359781040"
+ "sha": "7cef8809d337ff0d59b1ba11d302e42952e9c3c2",
+ "internalRef": "360443299"
}
},
{
From 0c64f58fedc455e712027a64b90c1aa127dfa7b2 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Mon, 8 Mar 2021 18:24:22 -0800
Subject: [PATCH 08/11] chore(release): update Java microgenerator to 1.0.1
(#160)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/cc35c45b-3a01-46d7-9e8a-cf82e24c46ff/targets
- [ ] To automatically regenerate this PR, check this box.
PiperOrigin-RevId: 360805639
Source-Link: https://github.com/googleapis/googleapis/commit/3befd26ca55723d3e8111909331eac1249837987
---
.../cloud/functions/v1/CloudFunctionsServiceClient.java | 2 +-
.../cloud/functions/v1/CloudFunctionsServiceSettings.java | 2 +-
.../java/com/google/cloud/functions/v1/package-info.java | 2 +-
.../cloud/functions/v1/stub/CloudFunctionsServiceStub.java | 2 +-
.../v1/stub/CloudFunctionsServiceStubSettings.java | 2 +-
.../v1/stub/GrpcCloudFunctionsServiceCallableFactory.java | 2 +-
.../functions/v1/stub/GrpcCloudFunctionsServiceStub.java | 2 +-
.../cloud/functions/v1/CloudFunctionsServiceClientTest.java | 2 +-
.../cloud/functions/v1/MockCloudFunctionsService.java | 2 +-
.../cloud/functions/v1/MockCloudFunctionsServiceImpl.java | 2 +-
.../com/google/cloud/functions/v1/CloudFunctionName.java | 2 +-
.../java/com/google/cloud/functions/v1/LocationName.java | 2 +-
synth.metadata | 6 +++---
13 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceClient.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceClient.java
index e54bdb68..9e285fa7 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceClient.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceClient.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceSettings.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceSettings.java
index cccf008c..27471aff 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceSettings.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/CloudFunctionsServiceSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/package-info.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/package-info.java
index 414df439..1f8d0817 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/package-info.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/package-info.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStub.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStub.java
index d557327f..e3bdc495 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStub.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java
index 84702449..c22c56f0 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/CloudFunctionsServiceStubSettings.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/GrpcCloudFunctionsServiceCallableFactory.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/GrpcCloudFunctionsServiceCallableFactory.java
index 67f86b41..a85d587d 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/GrpcCloudFunctionsServiceCallableFactory.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/GrpcCloudFunctionsServiceCallableFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/GrpcCloudFunctionsServiceStub.java b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/GrpcCloudFunctionsServiceStub.java
index cfa1c317..5db4ebfa 100644
--- a/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/GrpcCloudFunctionsServiceStub.java
+++ b/google-cloud-functions/src/main/java/com/google/cloud/functions/v1/stub/GrpcCloudFunctionsServiceStub.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-functions/src/test/java/com/google/cloud/functions/v1/CloudFunctionsServiceClientTest.java b/google-cloud-functions/src/test/java/com/google/cloud/functions/v1/CloudFunctionsServiceClientTest.java
index 0907d4af..fdff582d 100644
--- a/google-cloud-functions/src/test/java/com/google/cloud/functions/v1/CloudFunctionsServiceClientTest.java
+++ b/google-cloud-functions/src/test/java/com/google/cloud/functions/v1/CloudFunctionsServiceClientTest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-functions/src/test/java/com/google/cloud/functions/v1/MockCloudFunctionsService.java b/google-cloud-functions/src/test/java/com/google/cloud/functions/v1/MockCloudFunctionsService.java
index 89616024..a54d2d54 100644
--- a/google-cloud-functions/src/test/java/com/google/cloud/functions/v1/MockCloudFunctionsService.java
+++ b/google-cloud-functions/src/test/java/com/google/cloud/functions/v1/MockCloudFunctionsService.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/google-cloud-functions/src/test/java/com/google/cloud/functions/v1/MockCloudFunctionsServiceImpl.java b/google-cloud-functions/src/test/java/com/google/cloud/functions/v1/MockCloudFunctionsServiceImpl.java
index 220f12d3..3a0df98d 100644
--- a/google-cloud-functions/src/test/java/com/google/cloud/functions/v1/MockCloudFunctionsServiceImpl.java
+++ b/google-cloud-functions/src/test/java/com/google/cloud/functions/v1/MockCloudFunctionsServiceImpl.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionName.java b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionName.java
index ea765514..6433bcc9 100644
--- a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionName.java
+++ b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/CloudFunctionName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/LocationName.java b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/LocationName.java
index e919b901..d998d6dc 100644
--- a/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/LocationName.java
+++ b/proto-google-cloud-functions-v1/src/main/java/com/google/cloud/functions/v1/LocationName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/synth.metadata b/synth.metadata
index f8e73c96..6a1b42f6 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-functions.git",
- "sha": "ce5ee882b5888ad1b7c930f089b7b183fc93cac1"
+ "sha": "dbfed4dd57c4b245086aaceb6c9ba0e366fb5a85"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "7cef8809d337ff0d59b1ba11d302e42952e9c3c2",
- "internalRef": "360443299"
+ "sha": "3befd26ca55723d3e8111909331eac1249837987",
+ "internalRef": "360805639"
}
},
{
From 6c4280fc4ca080c2992be1401df151560fc6c593 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate
Date: Tue, 9 Mar 2021 21:42:41 +0100
Subject: [PATCH 09/11] deps: update dependency
com.google.cloud:google-cloud-shared-dependencies to v0.20.1 (#162)
[](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `0.20.0` -> `0.20.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
googleapis/java-shared-dependencies
### [`v0.20.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#0201-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0200v0201-2021-03-09)
[Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.20.0...v0.20.1)
---
### Renovate configuration
:date: **Schedule**: At any time (no schedule defined).
:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] If you want to rebase/retry this PR, check this box
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-functions).
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 7f83a36e..c0b62103 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,7 +86,7 @@
com.google.cloud
google-cloud-shared-dependencies
- 0.20.0
+ 0.20.1
pom
import
From 243afef82b7dfa65b8ba41f9b314dfcd0ab47303 Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot
Date: Wed, 10 Mar 2021 16:12:18 -0800
Subject: [PATCH 10/11] build(java): update autorelease title check in response
to the new multi release branch changes (#163)
This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/ea9e8f58-82b4-4fb6-8ab3-642c040c0e6a/targets
- [ ] To automatically regenerate this PR, check this box.
Source-Link: https://github.com/googleapis/synthtool/commit/0b064d767537e0675fc053e53fca473c5c701fb8
---
.github/workflows/auto-release.yaml | 4 ++--
synth.metadata | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml
index 7c8816a7..9b4fd4d8 100644
--- a/.github/workflows/auto-release.yaml
+++ b/.github/workflows/auto-release.yaml
@@ -16,8 +16,8 @@ jobs:
return;
}
- // only approve PRs like "chore(master): release "
- if ( !context.payload.pull_request.title.startsWith("chore(master): release") ) {
+ // only approve PRs like "chore: release "
+ if ( !context.payload.pull_request.title.startsWith("chore: release") ) {
return;
}
diff --git a/synth.metadata b/synth.metadata
index 6a1b42f6..2dfed99f 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-functions.git",
- "sha": "dbfed4dd57c4b245086aaceb6c9ba0e366fb5a85"
+ "sha": "6c4280fc4ca080c2992be1401df151560fc6c593"
}
},
{
@@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "d0bdade9a962042dc0f770cf631086f3db59b5b0"
+ "sha": "0b064d767537e0675fc053e53fca473c5c701fb8"
}
}
],
From ec1f2e20d5e2fedcbc72378a4d0994ab158daf5f Mon Sep 17 00:00:00 2001
From: "release-please[bot]"
<55107282+release-please[bot]@users.noreply.github.com>
Date: Fri, 12 Mar 2021 19:22:03 +0000
Subject: [PATCH 11/11] chore: release 1.1.0 (#156)
:robot: I have created a release \*beep\* \*boop\*
---
## [1.1.0](https://www.github.com/googleapis/java-functions/compare/v1.0.8...v1.1.0) (2021-03-11)
### Features
* **generator:** update protoc to v3.15.3 ([#155](https://www.github.com/googleapis/java-functions/issues/155)) ([2e45918](https://www.github.com/googleapis/java-functions/commit/2e4591826a259a93df4f0f069326c107d0ed65ef))
### Bug Fixes
* Fix service namespace in grpc_service_config ([#157](https://www.github.com/googleapis/java-functions/issues/157)) ([dbfed4d](https://www.github.com/googleapis/java-functions/commit/dbfed4dd57c4b245086aaceb6c9ba0e366fb5a85))
### Dependencies
* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#162](https://www.github.com/googleapis/java-functions/issues/162)) ([6c4280f](https://www.github.com/googleapis/java-functions/commit/6c4280fc4ca080c2992be1401df151560fc6c593))
---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
---
CHANGELOG.md | 17 +++++++++++++++++
google-cloud-functions-bom/pom.xml | 8 ++++----
google-cloud-functions/pom.xml | 4 ++--
grpc-google-cloud-functions-v1/pom.xml | 4 ++--
pom.xml | 8 ++++----
proto-google-cloud-functions-v1/pom.xml | 4 ++--
versions.txt | 6 +++---
7 files changed, 34 insertions(+), 17 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 27cc0061..21f1fdef 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,22 @@
# Changelog
+## [1.1.0](https://www.github.com/googleapis/java-functions/compare/v1.0.8...v1.1.0) (2021-03-11)
+
+
+### Features
+
+* **generator:** update protoc to v3.15.3 ([#155](https://www.github.com/googleapis/java-functions/issues/155)) ([2e45918](https://www.github.com/googleapis/java-functions/commit/2e4591826a259a93df4f0f069326c107d0ed65ef))
+
+
+### Bug Fixes
+
+* Fix service namespace in grpc_service_config ([#157](https://www.github.com/googleapis/java-functions/issues/157)) ([dbfed4d](https://www.github.com/googleapis/java-functions/commit/dbfed4dd57c4b245086aaceb6c9ba0e366fb5a85))
+
+
+### Dependencies
+
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.20.1 ([#162](https://www.github.com/googleapis/java-functions/issues/162)) ([6c4280f](https://www.github.com/googleapis/java-functions/commit/6c4280fc4ca080c2992be1401df151560fc6c593))
+
### [1.0.8](https://www.github.com/googleapis/java-functions/compare/v1.0.7...v1.0.8) (2021-02-25)
diff --git a/google-cloud-functions-bom/pom.xml b/google-cloud-functions-bom/pom.xml
index f8e041f1..5eafd765 100644
--- a/google-cloud-functions-bom/pom.xml
+++ b/google-cloud-functions-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-functions-bom
- 1.0.9-SNAPSHOT
+ 1.1.0
pom
com.google.cloud
@@ -68,17 +68,17 @@
com.google.cloud
google-cloud-functions
- 1.0.9-SNAPSHOT
+ 1.1.0
com.google.api.grpc
proto-google-cloud-functions-v1
- 1.0.9-SNAPSHOT
+ 1.1.0
com.google.api.grpc
grpc-google-cloud-functions-v1
- 1.0.9-SNAPSHOT
+ 1.1.0