From 508d630d10bdf8be1c884b9a662662df9e863b43 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 19 Apr 2022 18:20:21 +0000 Subject: [PATCH 01/12] chore(main): release 2.1.13-SNAPSHOT (#242) :robot: I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- google-cloud-api-gateway-bom/pom.xml | 8 ++++---- google-cloud-api-gateway/pom.xml | 4 ++-- grpc-google-cloud-api-gateway-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-api-gateway-v1/pom.xml | 4 ++-- versions.txt | 6 +++--- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/google-cloud-api-gateway-bom/pom.xml b/google-cloud-api-gateway-bom/pom.xml index 23db5cd..c86c1c1 100644 --- a/google-cloud-api-gateway-bom/pom.xml +++ b/google-cloud-api-gateway-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-api-gateway-bom - 2.1.12 + 2.1.13-SNAPSHOT pom com.google.cloud @@ -56,17 +56,17 @@ com.google.cloud google-cloud-api-gateway - 2.1.12 + 2.1.13-SNAPSHOT com.google.api.grpc grpc-google-cloud-api-gateway-v1 - 2.1.12 + 2.1.13-SNAPSHOT com.google.api.grpc proto-google-cloud-api-gateway-v1 - 2.1.12 + 2.1.13-SNAPSHOT diff --git a/google-cloud-api-gateway/pom.xml b/google-cloud-api-gateway/pom.xml index 97f019f..0584bc4 100644 --- a/google-cloud-api-gateway/pom.xml +++ b/google-cloud-api-gateway/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-api-gateway - 2.1.12 + 2.1.13-SNAPSHOT jar Google API Gateway https://github.com/googleapis/java-api-gateway @@ -11,7 +11,7 @@ com.google.cloud google-cloud-api-gateway-parent - 2.1.12 + 2.1.13-SNAPSHOT google-cloud-api-gateway diff --git a/grpc-google-cloud-api-gateway-v1/pom.xml b/grpc-google-cloud-api-gateway-v1/pom.xml index 192ff44..37e4914 100644 --- a/grpc-google-cloud-api-gateway-v1/pom.xml +++ b/grpc-google-cloud-api-gateway-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-api-gateway-v1 - 2.1.12 + 2.1.13-SNAPSHOT grpc-google-cloud-api-gateway-v1 GRPC library for google-cloud-api-gateway com.google.cloud google-cloud-api-gateway-parent - 2.1.12 + 2.1.13-SNAPSHOT diff --git a/pom.xml b/pom.xml index f5874d7..676fa28 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-api-gateway-parent pom - 2.1.12 + 2.1.13-SNAPSHOT Google API Gateway Parent https://github.com/googleapis/java-api-gateway @@ -60,17 +60,17 @@ com.google.cloud google-cloud-api-gateway - 2.1.12 + 2.1.13-SNAPSHOT com.google.api.grpc grpc-google-cloud-api-gateway-v1 - 2.1.12 + 2.1.13-SNAPSHOT com.google.api.grpc proto-google-cloud-api-gateway-v1 - 2.1.12 + 2.1.13-SNAPSHOT diff --git a/proto-google-cloud-api-gateway-v1/pom.xml b/proto-google-cloud-api-gateway-v1/pom.xml index 58d3b8b..5655a0e 100644 --- a/proto-google-cloud-api-gateway-v1/pom.xml +++ b/proto-google-cloud-api-gateway-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-api-gateway-v1 - 2.1.12 + 2.1.13-SNAPSHOT proto-google-cloud-api-gateway-v1 Proto library for google-cloud-api-gateway com.google.cloud google-cloud-api-gateway-parent - 2.1.12 + 2.1.13-SNAPSHOT diff --git a/versions.txt b/versions.txt index 74c9f81..c28ae8f 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-api-gateway:2.1.12:2.1.12 -grpc-google-cloud-api-gateway-v1:2.1.12:2.1.12 -proto-google-cloud-api-gateway-v1:2.1.12:2.1.12 +google-cloud-api-gateway:2.1.12:2.1.13-SNAPSHOT +grpc-google-cloud-api-gateway-v1:2.1.12:2.1.13-SNAPSHOT +proto-google-cloud-api-gateway-v1:2.1.12:2.1.13-SNAPSHOT From ee203e6c2be2f030c61a4a80875eaafa0f76df7d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 Apr 2022 16:50:29 +0200 Subject: [PATCH 02/12] build(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.4.0 (#245) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-javadoc-plugin](https://maven.apache.org/plugins/) | `3.3.2` -> `3.4.0` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/compatibility-slim/3.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-javadoc-plugin/3.4.0/confidence-slim/3.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- 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-api-gateway). --- README.md | 6 +++--- pom.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3c283d8..456671f 100644 --- a/README.md +++ b/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-api-gateway - 2.1.11 + 2.1.12 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-api-gateway:2.1.11' +implementation 'com.google.cloud:google-cloud-api-gateway:2.1.12' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.1.11" +libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.1.12" ``` ## Authentication diff --git a/pom.xml b/pom.xml index 676fa28..40c3573 100644 --- a/pom.xml +++ b/pom.xml @@ -139,7 +139,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.3.2 + 3.4.0 html From c73937e93023dae4efdae78d0ab59bc17932acec Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 Apr 2022 17:28:18 +0200 Subject: [PATCH 03/12] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.3.3 (#243) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.3.2` -> `1.3.3` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/compatibility-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.3.3/confidence-slim/1.3.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v1.3.3`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​133-httpsgithubcomgoogleapisjava-shared-configcomparev132v133-2022-04-19) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.3.2...v1.3.3)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- 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-api-gateway). --- google-cloud-api-gateway-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-api-gateway-bom/pom.xml b/google-cloud-api-gateway-bom/pom.xml index c86c1c1..740ea2c 100644 --- a/google-cloud-api-gateway-bom/pom.xml +++ b/google-cloud-api-gateway-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.3.2 + 1.3.3 Google API Gateway BOM diff --git a/pom.xml b/pom.xml index 40c3573..d7d196b 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.3.2 + 1.3.3 From d673ca0adad047ccabbdfc13ff71b43a796b2d3a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 Apr 2022 19:42:31 +0200 Subject: [PATCH 04/12] build(deps): update dependency org.sonatype.plugins:nexus-staging-maven-plugin to v1.6.13 (#246) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.sonatype.plugins:nexus-staging-maven-plugin](http://www.sonatype.com/) ([source](https://togithub.com/sonatype/nexus-maven-plugins)) | `1.6.12` -> `1.6.13` | [![age](https://badges.renovateapi.com/packages/maven/org.sonatype.plugins:nexus-staging-maven-plugin/1.6.13/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.sonatype.plugins:nexus-staging-maven-plugin/1.6.13/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.sonatype.plugins:nexus-staging-maven-plugin/1.6.13/compatibility-slim/1.6.12)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.sonatype.plugins:nexus-staging-maven-plugin/1.6.13/confidence-slim/1.6.12)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
sonatype/nexus-maven-plugins ### [`v1.6.13`](https://togithub.com/sonatype/nexus-maven-plugins/compare/release-1.6.12...release-1.6.13) [Compare Source](https://togithub.com/sonatype/nexus-maven-plugins/compare/release-1.6.12...release-1.6.13)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- 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-api-gateway). --- samples/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/pom.xml b/samples/pom.xml index 869c5dd..f0afd1d 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -46,7 +46,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.12 + 1.6.13 true From f56d3d507dfbdd9e907842d1479c87c77b6085bf Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 Apr 2022 19:46:38 +0200 Subject: [PATCH 05/12] chore(deps): update dependency com.google.cloud:google-cloud-api-gateway to v2.1.12 (#244) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-api-gateway](https://togithub.com/googleapis/java-api-gateway) | `2.1.11` -> `2.1.12` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-api-gateway/2.1.12/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-api-gateway/2.1.12/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-api-gateway/2.1.12/compatibility-slim/2.1.11)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-api-gateway/2.1.12/confidence-slim/2.1.11)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-api-gateway ### [`v2.1.12`](https://togithub.com/googleapis/java-api-gateway/blob/HEAD/CHANGELOG.md#​2112-httpsgithubcomgoogleapisjava-api-gatewaycomparev2111v2112-2022-04-15) [Compare Source](https://togithub.com/googleapis/java-api-gateway/compare/v2.1.11...v2.1.12)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- 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-api-gateway). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 8fe7c51..4c3bdbe 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-api-gateway - 2.1.11 + 2.1.12 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 72c94b2..48dd5aa 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-api-gateway - 2.1.11 + 2.1.12 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index bd70d7d..9657d9c 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-api-gateway - 2.1.11 + 2.1.12 From 85037e238079ce7a2178cd40d1f24eeda23e8e6b Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 28 Apr 2022 19:38:32 +0000 Subject: [PATCH 06/12] chore(bazel): update version of Protobuf to v3.20.1 (#247) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 444328399 Source-Link: https://github.com/googleapis/googleapis/commit/c7ca416c2856aad6a3f7092924e56b8cf0cb2534 Source-Link: https://github.com/googleapis/googleapis-gen/commit/d61705453a62b3ecda78aa30c192840ebc5a8a90 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZDYxNzA1NDUzYTYyYjNlY2RhNzhhYTMwYzE5Mjg0MGViYzVhOGE5MCJ9 --- .../com/google/cloud/apigateway/v1/Api.java | 21 ++++++++------- .../google/cloud/apigateway/v1/ApiConfig.java | 27 ++++++++++++------- .../apigateway/v1/ApiConfigOrBuilder.java | 7 ++++- .../cloud/apigateway/v1/ApiOrBuilder.java | 7 ++++- .../apigateway/v1/CreateApiConfigRequest.java | 2 ++ .../cloud/apigateway/v1/CreateApiRequest.java | 2 ++ .../apigateway/v1/CreateGatewayRequest.java | 2 ++ .../apigateway/v1/DeleteApiConfigRequest.java | 2 ++ .../cloud/apigateway/v1/DeleteApiRequest.java | 2 ++ .../apigateway/v1/DeleteGatewayRequest.java | 2 ++ .../google/cloud/apigateway/v1/Gateway.java | 21 ++++++++------- .../cloud/apigateway/v1/GatewayOrBuilder.java | 7 ++++- .../apigateway/v1/GetApiConfigRequest.java | 2 ++ .../cloud/apigateway/v1/GetApiRequest.java | 2 ++ .../apigateway/v1/GetGatewayRequest.java | 2 ++ .../apigateway/v1/ListApiConfigsRequest.java | 2 ++ .../apigateway/v1/ListApiConfigsResponse.java | 2 ++ .../cloud/apigateway/v1/ListApisRequest.java | 2 ++ .../cloud/apigateway/v1/ListApisResponse.java | 2 ++ .../apigateway/v1/ListGatewaysRequest.java | 2 ++ .../apigateway/v1/ListGatewaysResponse.java | 2 ++ .../apigateway/v1/OperationMetadata.java | 4 +++ .../apigateway/v1/UpdateApiConfigRequest.java | 2 ++ .../cloud/apigateway/v1/UpdateApiRequest.java | 2 ++ .../apigateway/v1/UpdateGatewayRequest.java | 2 ++ 25 files changed, 100 insertions(+), 30 deletions(-) diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Api.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Api.java index 5e43047..d1f5b87 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Api.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Api.java @@ -156,6 +156,8 @@ private Api( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { @@ -601,7 +603,7 @@ public int getLabelsCount() { @java.lang.Override public boolean containsLabels(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } @@ -640,7 +642,7 @@ public java.util.Map getLabelsMap() { @java.lang.Override public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -659,7 +661,7 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin @java.lang.Override public java.lang.String getLabelsOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { @@ -1828,7 +1830,7 @@ public int getLabelsCount() { @java.lang.Override public boolean containsLabels(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } @@ -1868,7 +1870,7 @@ public java.util.Map getLabelsMap() { public java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -1887,7 +1889,7 @@ public java.lang.String getLabelsOrDefault( @java.lang.Override public java.lang.String getLabelsOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { @@ -1913,7 +1915,7 @@ public Builder clearLabels() { */ public Builder removeLabels(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap().remove(key); return this; @@ -1936,11 +1938,12 @@ public java.util.Map getMutableLabels() { */ public Builder putLabels(java.lang.String key, java.lang.String value) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } if (value == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap().put(key, value); return this; } diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfig.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfig.java index a934dec..cdf0455 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfig.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfig.java @@ -208,6 +208,8 @@ private ApiConfig( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { @@ -619,6 +621,8 @@ private File( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { @@ -1382,6 +1386,8 @@ private OpenApiDocument( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { @@ -2253,6 +2259,8 @@ private GrpcServiceDefinition( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { @@ -3760,7 +3768,7 @@ public int getLabelsCount() { @java.lang.Override public boolean containsLabels(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } @@ -3799,7 +3807,7 @@ public java.util.Map getLabelsMap() { @java.lang.Override public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -3818,7 +3826,7 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin @java.lang.Override public java.lang.String getLabelsOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { @@ -5538,7 +5546,7 @@ public int getLabelsCount() { @java.lang.Override public boolean containsLabels(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } @@ -5578,7 +5586,7 @@ public java.util.Map getLabelsMap() { public java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -5597,7 +5605,7 @@ public java.lang.String getLabelsOrDefault( @java.lang.Override public java.lang.String getLabelsOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { @@ -5623,7 +5631,7 @@ public Builder clearLabels() { */ public Builder removeLabels(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap().remove(key); return this; @@ -5646,11 +5654,12 @@ public java.util.Map getMutableLabels() { */ public Builder putLabels(java.lang.String key, java.lang.String value) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } if (value == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap().put(key, value); return this; } diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfigOrBuilder.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfigOrBuilder.java index 831e06e..5537bb3 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfigOrBuilder.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfigOrBuilder.java @@ -176,7 +176,12 @@ public interface ApiConfigOrBuilder * * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue); + + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); /** * * diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiOrBuilder.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiOrBuilder.java index 9c12895..9b9fcd2 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiOrBuilder.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiOrBuilder.java @@ -176,7 +176,12 @@ public interface ApiOrBuilder * * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue); + + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); /** * * diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiConfigRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiConfigRequest.java index ab3d8be..14b1d03 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiConfigRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiConfigRequest.java @@ -112,6 +112,8 @@ private CreateApiConfigRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiRequest.java index e624f42..f3b3e2b 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateApiRequest.java @@ -111,6 +111,8 @@ private CreateApiRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateGatewayRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateGatewayRequest.java index 6101cff..c33e6d4 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateGatewayRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/CreateGatewayRequest.java @@ -112,6 +112,8 @@ private CreateGatewayRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiConfigRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiConfigRequest.java index 179ee33..5a5b29c 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiConfigRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiConfigRequest.java @@ -88,6 +88,8 @@ private DeleteApiConfigRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiRequest.java index 7f57202..6f29232 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteApiRequest.java @@ -88,6 +88,8 @@ private DeleteApiRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteGatewayRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteGatewayRequest.java index 3eaa2b1..78c451e 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteGatewayRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/DeleteGatewayRequest.java @@ -88,6 +88,8 @@ private DeleteGatewayRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Gateway.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Gateway.java index e9e57aa..849befa 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Gateway.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/Gateway.java @@ -166,6 +166,8 @@ private Gateway( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { @@ -611,7 +613,7 @@ public int getLabelsCount() { @java.lang.Override public boolean containsLabels(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } @@ -650,7 +652,7 @@ public java.util.Map getLabelsMap() { @java.lang.Override public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -669,7 +671,7 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin @java.lang.Override public java.lang.String getLabelsOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { @@ -1905,7 +1907,7 @@ public int getLabelsCount() { @java.lang.Override public boolean containsLabels(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } return internalGetLabels().getMap().containsKey(key); } @@ -1945,7 +1947,7 @@ public java.util.Map getLabelsMap() { public java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; @@ -1964,7 +1966,7 @@ public java.lang.String getLabelsOrDefault( @java.lang.Override public java.lang.String getLabelsOrThrow(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { @@ -1990,7 +1992,7 @@ public Builder clearLabels() { */ public Builder removeLabels(java.lang.String key) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } internalGetMutableLabels().getMutableMap().remove(key); return this; @@ -2013,11 +2015,12 @@ public java.util.Map getMutableLabels() { */ public Builder putLabels(java.lang.String key, java.lang.String value) { if (key == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map key"); } if (value == null) { - throw new java.lang.NullPointerException(); + throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap().put(key, value); return this; } diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GatewayOrBuilder.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GatewayOrBuilder.java index 4f2a08d..9a8efa0 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GatewayOrBuilder.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GatewayOrBuilder.java @@ -176,7 +176,12 @@ public interface GatewayOrBuilder * * map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL]; */ - java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue); + + /* nullable */ + java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ + java.lang.String defaultValue); /** * * diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiConfigRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiConfigRequest.java index f01ed7c..29cb6b6 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiConfigRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiConfigRequest.java @@ -96,6 +96,8 @@ private GetApiConfigRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiRequest.java index 87839c7..72594c7 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetApiRequest.java @@ -88,6 +88,8 @@ private GetApiRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetGatewayRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetGatewayRequest.java index e55ea00..1384ffc 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetGatewayRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GetGatewayRequest.java @@ -88,6 +88,8 @@ private GetGatewayRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsRequest.java index 65c9fe1..5f0f376 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsRequest.java @@ -117,6 +117,8 @@ private ListApiConfigsRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsResponse.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsResponse.java index edbea8a..6478012 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsResponse.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApiConfigsResponse.java @@ -112,6 +112,8 @@ private ListApiConfigsResponse( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisRequest.java index e80f9ec..280344b 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisRequest.java @@ -117,6 +117,8 @@ private ListApisRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisResponse.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisResponse.java index f0e7d2f..d85343f 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisResponse.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListApisResponse.java @@ -112,6 +112,8 @@ private ListApisResponse( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysRequest.java index a8a1cb2..f8938e5 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysRequest.java @@ -117,6 +117,8 @@ private ListGatewaysRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysResponse.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysResponse.java index 9bec075..510bb01 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysResponse.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ListGatewaysResponse.java @@ -112,6 +112,8 @@ private ListGatewaysResponse( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/OperationMetadata.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/OperationMetadata.java index 9e68d13..32df3f3 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/OperationMetadata.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/OperationMetadata.java @@ -163,6 +163,8 @@ private OperationMetadata( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { @@ -322,6 +324,8 @@ private Diagnostic( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiConfigRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiConfigRequest.java index f31d797..00e4f6f 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiConfigRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiConfigRequest.java @@ -110,6 +110,8 @@ private UpdateApiConfigRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiRequest.java index 0654298..84a0c55 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateApiRequest.java @@ -109,6 +109,8 @@ private UpdateApiRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateGatewayRequest.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateGatewayRequest.java index a272615..8d072d9 100644 --- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateGatewayRequest.java +++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/UpdateGatewayRequest.java @@ -110,6 +110,8 @@ private UpdateGatewayRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { From 5153357ff11ab890e13d8e8340d927be90a65f60 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 29 Apr 2022 22:16:18 +0200 Subject: [PATCH 07/12] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v1.4.0 (#249) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | `1.3.3` -> `1.4.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/compatibility-slim/1.3.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-config/1.4.0/confidence-slim/1.3.3)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-config ### [`v1.4.0`](https://togithub.com/googleapis/java-shared-config/blob/HEAD/CHANGELOG.md#​140-httpsgithubcomgoogleapisjava-shared-configcomparev133v140-2022-04-28) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v1.3.3...v1.4.0) ##### Features - **java:** remove native image module ([#​471](https://togithub.com/googleapis/java-shared-config/issues/471)) ([7fcba01](https://togithub.com/googleapis/java-shared-config/commit/7fcba016b3138d7beaa4e962853f9bc80f59438c)) ##### [1.3.3](https://togithub.com/googleapis/java-shared-config/compare/v1.3.2...v1.3.3) (2022-04-19) ##### Bug Fixes - **java:** remove protobuf feature from native profile ([#​461](https://togithub.com/googleapis/java-shared-config/issues/461)) ([ffd07cb](https://togithub.com/googleapis/java-shared-config/commit/ffd07cb18ee7d45d4daee1d9ea6f6d321fdca874)) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.11 ([#​459](https://togithub.com/googleapis/java-shared-config/issues/459)) ([d20008d](https://togithub.com/googleapis/java-shared-config/commit/d20008df15209708fdf9d06828b567778190f4d0)) - update dependency com.google.cloud:native-image-support to v0.13.1 ([#​465](https://togithub.com/googleapis/java-shared-config/issues/465)) ([b202064](https://togithub.com/googleapis/java-shared-config/commit/b2020648816feb4740ad70acedfed470d7da5bcf)) ##### [1.3.2](https://togithub.com/googleapis/java-shared-config/compare/v1.3.1...v1.3.2) (2022-03-28) ##### Dependencies - revert google-java-format to 1.7 ([#​453](https://togithub.com/googleapis/java-shared-config/issues/453)) ([cbc777f](https://togithub.com/googleapis/java-shared-config/commit/cbc777f3e9ab75edb6fa2e0268a7446ae4111725)) ##### [1.3.1](https://togithub.com/googleapis/java-shared-config/compare/v1.3.0...v1.3.1) (2022-03-25) ##### Dependencies - update dependency com.google.cloud:native-image-support to v0.12.10 ([#​443](https://togithub.com/googleapis/java-shared-config/issues/443)) ([5b39d5e](https://togithub.com/googleapis/java-shared-config/commit/5b39d5ee15121f052226ff873b6ab101e9c71de5)) - update dependency com.google.googlejavaformat:google-java-format to v1.15.0 ([#​426](https://togithub.com/googleapis/java-shared-config/issues/426)) ([4c3c4b6](https://togithub.com/googleapis/java-shared-config/commit/4c3c4b66129632181e6bc363a0ecccf4f5aac914)) - update dependency org.graalvm.buildtools:junit-platform-native to v0.9.11 ([#​448](https://togithub.com/googleapis/java-shared-config/issues/448)) ([f7f518e](https://togithub.com/googleapis/java-shared-config/commit/f7f518e87d1d9feb9ac54d7c099f97d8751ee3da)) - update dependency org.graalvm.buildtools:native-maven-plugin to v0.9.11 ([#​449](https://togithub.com/googleapis/java-shared-config/issues/449)) ([3e1c0b5](https://togithub.com/googleapis/java-shared-config/commit/3e1c0b5a1d2f4a0db88c06a0d683ed90cbc745e2))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- 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-api-gateway). --- google-cloud-api-gateway-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-api-gateway-bom/pom.xml b/google-cloud-api-gateway-bom/pom.xml index 740ea2c..faf8f59 100644 --- a/google-cloud-api-gateway-bom/pom.xml +++ b/google-cloud-api-gateway-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 1.3.3 + 1.4.0 Google API Gateway BOM diff --git a/pom.xml b/pom.xml index d7d196b..807da53 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.3.3 + 1.4.0 From 1c946268d096e212e6c35a9305b946d6dc7e8cac Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 5 May 2022 00:56:31 +0200 Subject: [PATCH 08/12] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.3.0 (#248) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.apache.maven.plugins:maven-project-info-reports-plugin](https://maven.apache.org/plugins/) | `3.2.2` -> `3.3.0` | [![age](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/compatibility-slim/3.2.2)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/org.apache.maven.plugins:maven-project-info-reports-plugin/3.3.0/confidence-slim/3.2.2)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- 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-api-gateway). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 807da53..a11d285 100644 --- a/pom.xml +++ b/pom.xml @@ -112,7 +112,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.2.2 + 3.3.0 From b31fdc0ffd97146b32d080fa8a44eece867d8fc4 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 5 May 2022 20:10:10 +0000 Subject: [PATCH 09/12] chore(deps): upgrade gapic-generator-java to 2.7.0 and update gax-java to 2.16.0 (#250) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 446250659 Source-Link: https://github.com/googleapis/googleapis/commit/dc4ef314fecf1b00833e78288cf2eb4d2b165ad1 Source-Link: https://github.com/googleapis/googleapis-gen/commit/5fdda4ddfbab87998e77e4a453e0ff87986d2db8 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWZkZGE0ZGRmYmFiODc5OThlNzdlNGE0NTNlMGZmODc5ODZkMmRiOCJ9 --- .../v1/ApiGatewayServiceClient.java | 146 +++++++++++++++++- .../v1/ApiGatewayServiceSettings.java | 4 +- .../cloud/apigateway/v1/package-info.java | 4 +- .../v1/stub/ApiGatewayServiceStub.java | 2 +- .../stub/ApiGatewayServiceStubSettings.java | 4 +- .../GrpcApiGatewayServiceCallableFactory.java | 2 +- .../v1/stub/GrpcApiGatewayServiceStub.java | 2 +- .../v1/ApiGatewayServiceClientTest.java | 2 +- .../apigateway/v1/MockApiGatewayService.java | 2 +- .../v1/MockApiGatewayServiceImpl.java | 2 +- .../cloud/apigateway/v1/ApiConfigName.java | 2 +- .../google/cloud/apigateway/v1/ApiName.java | 2 +- .../cloud/apigateway/v1/GatewayName.java | 2 +- .../cloud/apigateway/v1/LocationName.java | 2 +- 14 files changed, 164 insertions(+), 14 deletions(-) diff --git a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClient.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClient.java index 6f53687..237e55e 100644 --- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClient.java +++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -47,6 +47,8 @@ * calls that map to API methods. Sample code to get started: * *
{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
  *   GatewayName name = GatewayName.of("[PROJECT]", "[LOCATION]", "[GATEWAY]");
  *   Gateway response = apiGatewayServiceClient.getGateway(name);
@@ -83,6 +85,8 @@
  * 

To customize credentials: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ApiGatewayServiceSettings apiGatewayServiceSettings =
  *     ApiGatewayServiceSettings.newBuilder()
  *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -94,6 +98,8 @@
  * 

To customize the endpoint: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ApiGatewayServiceSettings apiGatewayServiceSettings =
  *     ApiGatewayServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
  * ApiGatewayServiceClient apiGatewayServiceClient =
@@ -173,6 +179,8 @@ public final OperationsClient getOperationsClient() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Gateway element : apiGatewayServiceClient.listGateways(parent).iterateAll()) {
@@ -200,6 +208,8 @@ public final ListGatewaysPagedResponse listGateways(LocationName parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Gateway element : apiGatewayServiceClient.listGateways(parent).iterateAll()) {
@@ -224,6 +234,8 @@ public final ListGatewaysPagedResponse listGateways(String parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ListGatewaysRequest request =
    *       ListGatewaysRequest.newBuilder()
@@ -253,6 +265,8 @@ public final ListGatewaysPagedResponse listGateways(ListGatewaysRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ListGatewaysRequest request =
    *       ListGatewaysRequest.newBuilder()
@@ -283,6 +297,8 @@ public final ListGatewaysPagedResponse listGateways(ListGatewaysRequest request)
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ListGatewaysRequest request =
    *       ListGatewaysRequest.newBuilder()
@@ -319,6 +335,8 @@ public final UnaryCallable listGatewa
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   GatewayName name = GatewayName.of("[PROJECT]", "[LOCATION]", "[GATEWAY]");
    *   Gateway response = apiGatewayServiceClient.getGateway(name);
@@ -342,6 +360,8 @@ public final Gateway getGateway(GatewayName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   String name = GatewayName.of("[PROJECT]", "[LOCATION]", "[GATEWAY]").toString();
    *   Gateway response = apiGatewayServiceClient.getGateway(name);
@@ -364,6 +384,8 @@ public final Gateway getGateway(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   GetGatewayRequest request =
    *       GetGatewayRequest.newBuilder()
@@ -387,6 +409,8 @@ public final Gateway getGateway(GetGatewayRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   GetGatewayRequest request =
    *       GetGatewayRequest.newBuilder()
@@ -409,6 +433,8 @@ public final UnaryCallable getGatewayCallable() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Gateway gateway = Gateway.newBuilder().build();
@@ -443,6 +469,8 @@ public final OperationFuture createGatewayAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Gateway gateway = Gateway.newBuilder().build();
@@ -477,6 +505,8 @@ public final OperationFuture createGatewayAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   CreateGatewayRequest request =
    *       CreateGatewayRequest.newBuilder()
@@ -503,6 +533,8 @@ public final OperationFuture createGatewayAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   CreateGatewayRequest request =
    *       CreateGatewayRequest.newBuilder()
@@ -529,6 +561,8 @@ public final OperationFuture createGatewayAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   CreateGatewayRequest request =
    *       CreateGatewayRequest.newBuilder()
@@ -554,6 +588,8 @@ public final UnaryCallable createGatewayCallabl
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   Gateway gateway = Gateway.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -582,6 +618,8 @@ public final OperationFuture updateGatewayAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   UpdateGatewayRequest request =
    *       UpdateGatewayRequest.newBuilder()
@@ -607,6 +645,8 @@ public final OperationFuture updateGatewayAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   UpdateGatewayRequest request =
    *       UpdateGatewayRequest.newBuilder()
@@ -632,6 +672,8 @@ public final OperationFuture updateGatewayAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   UpdateGatewayRequest request =
    *       UpdateGatewayRequest.newBuilder()
@@ -656,6 +698,8 @@ public final UnaryCallable updateGatewayCallabl
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   GatewayName name = GatewayName.of("[PROJECT]", "[LOCATION]", "[GATEWAY]");
    *   apiGatewayServiceClient.deleteGatewayAsync(name).get();
@@ -679,6 +723,8 @@ public final OperationFuture deleteGatewayAsync(Gatewa
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   String name = GatewayName.of("[PROJECT]", "[LOCATION]", "[GATEWAY]").toString();
    *   apiGatewayServiceClient.deleteGatewayAsync(name).get();
@@ -701,6 +747,8 @@ public final OperationFuture deleteGatewayAsync(String
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   DeleteGatewayRequest request =
    *       DeleteGatewayRequest.newBuilder()
@@ -725,6 +773,8 @@ public final OperationFuture deleteGatewayAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   DeleteGatewayRequest request =
    *       DeleteGatewayRequest.newBuilder()
@@ -749,6 +799,8 @@ public final OperationFuture deleteGatewayAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   DeleteGatewayRequest request =
    *       DeleteGatewayRequest.newBuilder()
@@ -772,6 +824,8 @@ public final UnaryCallable deleteGatewayCallabl
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   for (Api element : apiGatewayServiceClient.listApis(parent).iterateAll()) {
@@ -797,6 +851,8 @@ public final ListApisPagedResponse listApis(LocationName parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   for (Api element : apiGatewayServiceClient.listApis(parent).iterateAll()) {
@@ -821,6 +877,8 @@ public final ListApisPagedResponse listApis(String parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ListApisRequest request =
    *       ListApisRequest.newBuilder()
@@ -850,6 +908,8 @@ public final ListApisPagedResponse listApis(ListApisRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ListApisRequest request =
    *       ListApisRequest.newBuilder()
@@ -878,6 +938,8 @@ public final UnaryCallable listApisPaged
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ListApisRequest request =
    *       ListApisRequest.newBuilder()
@@ -913,6 +975,8 @@ public final UnaryCallable listApisCallable()
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ApiName name = ApiName.of("[PROJECT]", "[API]");
    *   Api response = apiGatewayServiceClient.getApi(name);
@@ -935,6 +999,8 @@ public final Api getApi(ApiName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   String name = ApiName.of("[PROJECT]", "[API]").toString();
    *   Api response = apiGatewayServiceClient.getApi(name);
@@ -956,6 +1022,8 @@ public final Api getApi(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   GetApiRequest request =
    *       GetApiRequest.newBuilder().setName(ApiName.of("[PROJECT]", "[API]").toString()).build();
@@ -977,6 +1045,8 @@ public final Api getApi(GetApiRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   GetApiRequest request =
    *       GetApiRequest.newBuilder().setName(ApiName.of("[PROJECT]", "[API]").toString()).build();
@@ -997,6 +1067,8 @@ public final UnaryCallable getApiCallable() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
    *   Api api = Api.newBuilder().build();
@@ -1030,6 +1102,8 @@ public final OperationFuture createApiAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
    *   Api api = Api.newBuilder().build();
@@ -1059,6 +1133,8 @@ public final OperationFuture createApiAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   CreateApiRequest request =
    *       CreateApiRequest.newBuilder()
@@ -1084,6 +1160,8 @@ public final OperationFuture createApiAsync(CreateApiReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   CreateApiRequest request =
    *       CreateApiRequest.newBuilder()
@@ -1110,6 +1188,8 @@ public final OperationFuture createApiAsync(CreateApiReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   CreateApiRequest request =
    *       CreateApiRequest.newBuilder()
@@ -1134,6 +1214,8 @@ public final UnaryCallable createApiCallable() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   Api api = Api.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1162,6 +1244,8 @@ public final OperationFuture updateApiAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   UpdateApiRequest request =
    *       UpdateApiRequest.newBuilder()
@@ -1186,6 +1270,8 @@ public final OperationFuture updateApiAsync(UpdateApiReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   UpdateApiRequest request =
    *       UpdateApiRequest.newBuilder()
@@ -1211,6 +1297,8 @@ public final OperationFuture updateApiAsync(UpdateApiReq
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   UpdateApiRequest request =
    *       UpdateApiRequest.newBuilder()
@@ -1234,6 +1322,8 @@ public final UnaryCallable updateApiCallable() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ApiName name = ApiName.of("[PROJECT]", "[API]");
    *   apiGatewayServiceClient.deleteApiAsync(name).get();
@@ -1256,6 +1346,8 @@ public final OperationFuture deleteApiAsync(ApiName na
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   String name = ApiName.of("[PROJECT]", "[API]").toString();
    *   apiGatewayServiceClient.deleteApiAsync(name).get();
@@ -1277,6 +1369,8 @@ public final OperationFuture deleteApiAsync(String nam
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   DeleteApiRequest request =
    *       DeleteApiRequest.newBuilder()
@@ -1300,6 +1394,8 @@ public final OperationFuture deleteApiAsync(DeleteApiR
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   DeleteApiRequest request =
    *       DeleteApiRequest.newBuilder()
@@ -1324,6 +1420,8 @@ public final OperationFuture deleteApiAsync(DeleteApiR
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   DeleteApiRequest request =
    *       DeleteApiRequest.newBuilder()
@@ -1346,6 +1444,8 @@ public final UnaryCallable deleteApiCallable() {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ApiName parent = ApiName.of("[PROJECT]", "[API]");
    *   for (ApiConfig element : apiGatewayServiceClient.listApiConfigs(parent).iterateAll()) {
@@ -1373,6 +1473,8 @@ public final ListApiConfigsPagedResponse listApiConfigs(ApiName parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   String parent = ApiName.of("[PROJECT]", "[API]").toString();
    *   for (ApiConfig element : apiGatewayServiceClient.listApiConfigs(parent).iterateAll()) {
@@ -1397,6 +1499,8 @@ public final ListApiConfigsPagedResponse listApiConfigs(String parent) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ListApiConfigsRequest request =
    *       ListApiConfigsRequest.newBuilder()
@@ -1426,6 +1530,8 @@ public final ListApiConfigsPagedResponse listApiConfigs(ListApiConfigsRequest re
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ListApiConfigsRequest request =
    *       ListApiConfigsRequest.newBuilder()
@@ -1456,6 +1562,8 @@ public final ListApiConfigsPagedResponse listApiConfigs(ListApiConfigsRequest re
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ListApiConfigsRequest request =
    *       ListApiConfigsRequest.newBuilder()
@@ -1493,6 +1601,8 @@ public final ListApiConfigsPagedResponse listApiConfigs(ListApiConfigsRequest re
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ApiConfigName name = ApiConfigName.of("[PROJECT]", "[API]", "[API_CONFIG]");
    *   ApiConfig response = apiGatewayServiceClient.getApiConfig(name);
@@ -1516,6 +1626,8 @@ public final ApiConfig getApiConfig(ApiConfigName name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   String name = ApiConfigName.of("[PROJECT]", "[API]", "[API_CONFIG]").toString();
    *   ApiConfig response = apiGatewayServiceClient.getApiConfig(name);
@@ -1538,6 +1650,8 @@ public final ApiConfig getApiConfig(String name) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   GetApiConfigRequest request =
    *       GetApiConfigRequest.newBuilder()
@@ -1561,6 +1675,8 @@ public final ApiConfig getApiConfig(GetApiConfigRequest request) {
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   GetApiConfigRequest request =
    *       GetApiConfigRequest.newBuilder()
@@ -1584,6 +1700,8 @@ public final UnaryCallable getApiConfigCallable(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ApiName parent = ApiName.of("[PROJECT]", "[API]");
    *   ApiConfig apiConfig = ApiConfig.newBuilder().build();
@@ -1618,6 +1736,8 @@ public final OperationFuture createApiConfigAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   String parent = ApiName.of("[PROJECT]", "[API]").toString();
    *   ApiConfig apiConfig = ApiConfig.newBuilder().build();
@@ -1652,6 +1772,8 @@ public final OperationFuture createApiConfigAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   CreateApiConfigRequest request =
    *       CreateApiConfigRequest.newBuilder()
@@ -1678,6 +1800,8 @@ public final OperationFuture createApiConfigAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   CreateApiConfigRequest request =
    *       CreateApiConfigRequest.newBuilder()
@@ -1704,6 +1828,8 @@ public final OperationFuture createApiConfigAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   CreateApiConfigRequest request =
    *       CreateApiConfigRequest.newBuilder()
@@ -1729,6 +1855,8 @@ public final UnaryCallable createApiConfigCal
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ApiConfig apiConfig = ApiConfig.newBuilder().build();
    *   FieldMask updateMask = FieldMask.newBuilder().build();
@@ -1761,6 +1889,8 @@ public final OperationFuture updateApiConfigAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   UpdateApiConfigRequest request =
    *       UpdateApiConfigRequest.newBuilder()
@@ -1786,6 +1916,8 @@ public final OperationFuture updateApiConfigAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   UpdateApiConfigRequest request =
    *       UpdateApiConfigRequest.newBuilder()
@@ -1811,6 +1943,8 @@ public final OperationFuture updateApiConfigAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   UpdateApiConfigRequest request =
    *       UpdateApiConfigRequest.newBuilder()
@@ -1835,6 +1969,8 @@ public final UnaryCallable updateApiConfigCal
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   ApiConfigName name = ApiConfigName.of("[PROJECT]", "[API]", "[API_CONFIG]");
    *   apiGatewayServiceClient.deleteApiConfigAsync(name).get();
@@ -1858,6 +1994,8 @@ public final OperationFuture deleteApiConfigAsync(ApiC
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   String name = ApiConfigName.of("[PROJECT]", "[API]", "[API_CONFIG]").toString();
    *   apiGatewayServiceClient.deleteApiConfigAsync(name).get();
@@ -1880,6 +2018,8 @@ public final OperationFuture deleteApiConfigAsync(Stri
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   DeleteApiConfigRequest request =
    *       DeleteApiConfigRequest.newBuilder()
@@ -1904,6 +2044,8 @@ public final OperationFuture deleteApiConfigAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   DeleteApiConfigRequest request =
    *       DeleteApiConfigRequest.newBuilder()
@@ -1928,6 +2070,8 @@ public final OperationFuture deleteApiConfigAsync(
    * 

Sample code: * *

{@code
+   * // This snippet has been automatically generated for illustrative purposes only.
+   * // It may require modifications to work in your environment.
    * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
    *   DeleteApiConfigRequest request =
    *       DeleteApiConfigRequest.newBuilder()
diff --git a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceSettings.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceSettings.java
index a2b278f..babbd4c 100644
--- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceSettings.java
+++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -57,6 +57,8 @@
  * 

For example, to set the total timeout of getGateway to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ApiGatewayServiceSettings.Builder apiGatewayServiceSettingsBuilder =
  *     ApiGatewayServiceSettings.newBuilder();
  * apiGatewayServiceSettingsBuilder
diff --git a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/package-info.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/package-info.java
index 72ab23c..e412fbd 100644
--- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/package-info.java
+++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/package-info.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -24,6 +24,8 @@
  * 

Sample for ApiGatewayServiceClient: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * try (ApiGatewayServiceClient apiGatewayServiceClient = ApiGatewayServiceClient.create()) {
  *   GatewayName name = GatewayName.of("[PROJECT]", "[LOCATION]", "[GATEWAY]");
  *   Gateway response = apiGatewayServiceClient.getGateway(name);
diff --git a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStub.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStub.java
index b4f2928..5bad47c 100644
--- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStub.java
+++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 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-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java
index 77252db..758eb78 100644
--- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java
+++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -97,6 +97,8 @@
  * 

For example, to set the total timeout of getGateway to 30 seconds: * *

{@code
+ * // This snippet has been automatically generated for illustrative purposes only.
+ * // It may require modifications to work in your environment.
  * ApiGatewayServiceStubSettings.Builder apiGatewayServiceSettingsBuilder =
  *     ApiGatewayServiceStubSettings.newBuilder();
  * apiGatewayServiceSettingsBuilder
diff --git a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceCallableFactory.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceCallableFactory.java
index 036824e..d545670 100644
--- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceCallableFactory.java
+++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceCallableFactory.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 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-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceStub.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceStub.java
index 88b42b6..cc5cc1f 100644
--- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceStub.java
+++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/GrpcApiGatewayServiceStub.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 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-api-gateway/src/test/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClientTest.java b/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClientTest.java
index 575220a..53d2804 100644
--- a/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClientTest.java
+++ b/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClientTest.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 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-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayService.java b/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayService.java
index d857bbc..0459613 100644
--- a/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayService.java
+++ b/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayService.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 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-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayServiceImpl.java b/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayServiceImpl.java
index 0eaf14e..4b3e430 100644
--- a/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayServiceImpl.java
+++ b/google-cloud-api-gateway/src/test/java/com/google/cloud/apigateway/v1/MockApiGatewayServiceImpl.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 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-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfigName.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfigName.java
index 7df1d75..fa747fe 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfigName.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiConfigName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 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-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiName.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiName.java
index 02b475c..858f867 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiName.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/ApiName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 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-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GatewayName.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GatewayName.java
index e92f33a..8beb8cb 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GatewayName.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/GatewayName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 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-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/LocationName.java b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/LocationName.java
index 7f54590..fa19355 100644
--- a/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/LocationName.java
+++ b/proto-google-cloud-api-gateway-v1/src/main/java/com/google/cloud/apigateway/v1/LocationName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2021 Google LLC
+ * Copyright 2022 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.

From decbf7709a09d8017739af59def32079a0f691af Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Thu, 19 May 2022 21:02:23 +0000
Subject: [PATCH 10/12] feat: add build scripts for native image testing in
 Java 17 (#1440) (#252)

Source-Link: https://github.com/googleapis/synthtool/commit/505ce5a7edb58bf6d9d4de10b4bb4e81000ae324
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74
---
 .github/.OwlBot.lock.yaml               |  4 +--
 .kokoro/build.sh                        |  5 ++++
 .kokoro/presubmit/graalvm-native-17.cfg | 33 +++++++++++++++++++++++++
 3 files changed, 40 insertions(+), 2 deletions(-)
 create mode 100644 .kokoro/presubmit/graalvm-native-17.cfg

diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index f60d774..a79f062 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -13,5 +13,5 @@
 # limitations under the License.
 docker:
   image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
-  digest: sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813
-# created: 2022-04-06T16:30:03.627422514Z
+  digest: sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74
+# created: 2022-05-19T15:12:45.278246753Z
diff --git a/.kokoro/build.sh b/.kokoro/build.sh
index 0a7f752..e0c3601 100755
--- a/.kokoro/build.sh
+++ b/.kokoro/build.sh
@@ -74,6 +74,11 @@ graalvm)
     mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test
     RETURN_CODE=$?
     ;;
+graalvm17)
+    # Run Unit and Integration Tests with Native Image
+    mvn -B ${INTEGRATION_TEST_ARGS} -ntp -Pnative -Penable-integration-tests test
+    RETURN_CODE=$?
+    ;;
 samples)
     SAMPLES_DIR=samples
     # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise.
diff --git a/.kokoro/presubmit/graalvm-native-17.cfg b/.kokoro/presubmit/graalvm-native-17.cfg
new file mode 100644
index 0000000..a3f7fb9
--- /dev/null
+++ b/.kokoro/presubmit/graalvm-native-17.cfg
@@ -0,0 +1,33 @@
+# Format: //devtools/kokoro/config/proto/build.proto
+
+# Configure the docker image for kokoro-trampoline.
+env_vars: {
+  key: "TRAMPOLINE_IMAGE"
+  value: "gcr.io/cloud-devrel-kokoro-resources/graalvm17"
+}
+
+env_vars: {
+  key: "JOB_TYPE"
+  value: "graalvm17"
+}
+
+# TODO: remove this after we've migrated all tests and scripts
+env_vars: {
+  key: "GCLOUD_PROJECT"
+  value: "gcloud-devel"
+}
+
+env_vars: {
+  key: "GOOGLE_CLOUD_PROJECT"
+  value: "gcloud-devel"
+}
+
+env_vars: {
+  key: "GOOGLE_APPLICATION_CREDENTIALS"
+  value: "secret_manager/java-it-service-account"
+}
+
+env_vars: {
+  key: "SECRET_MANAGER_KEYS"
+  value: "java-it-service-account"
+}
\ No newline at end of file

From 3f074760eb3ae37f6147f5e7d88bad5d95368a06 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate 
Date: Thu, 19 May 2022 23:22:16 +0200
Subject: [PATCH 11/12] deps: update dependency
 com.google.cloud:google-cloud-shared-dependencies to v2.12.0 (#251)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](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) | `2.10.0` -> `2.12.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.12.0/compatibility-slim/2.10.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.12.0/confidence-slim/2.10.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

googleapis/java-shared-dependencies ### [`v2.12.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​2120-httpsgithubcomgoogleapisjava-shared-dependenciescomparev2110v2120-2022-05-19) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.11.0...v2.12.0) ##### Features - add build scripts for native image testing in Java 17 ([#​1440](https://togithub.com/googleapis/java-shared-dependencies/issues/1440)) ([#​697](https://togithub.com/googleapis/java-shared-dependencies/issues/697)) ([f10ec4e](https://togithub.com/googleapis/java-shared-dependencies/commit/f10ec4e664d8fde868effe366b7182a5fad08dd0)) ##### Dependencies - update gax.version to v2.18.1 ([#​695](https://togithub.com/googleapis/java-shared-dependencies/issues/695)) ([09bc61c](https://togithub.com/googleapis/java-shared-dependencies/commit/09bc61c9152a99bfe87554a07324f15ae6217d6e)) - update google.core.version to v2.7.1 ([#​698](https://togithub.com/googleapis/java-shared-dependencies/issues/698)) ([43de259](https://togithub.com/googleapis/java-shared-dependencies/commit/43de2593f1a6e8fa5e34799364ab683246ddd449)) ### [`v2.11.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/HEAD/CHANGELOG.md#​2110-httpsgithubcomgoogleapisjava-shared-dependenciescomparev2100v2110-2022-05-18) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.10.0...v2.11.0) ##### Features - next release from main branch is 2.11.0 ([#​674](https://togithub.com/googleapis/java-shared-dependencies/issues/674)) ([611e3b7](https://togithub.com/googleapis/java-shared-dependencies/commit/611e3b7c50108a71efc94415166b85d2bf8647e5)) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.13.3 ([#​689](https://togithub.com/googleapis/java-shared-dependencies/issues/689)) ([03897e3](https://togithub.com/googleapis/java-shared-dependencies/commit/03897e30a71f8f1aa37233da2433ee5afccc1d61)) - update dependency com.google.api-client:google-api-client-bom to v1.34.1 ([#​685](https://togithub.com/googleapis/java-shared-dependencies/issues/685)) ([9bc0557](https://togithub.com/googleapis/java-shared-dependencies/commit/9bc0557d8ce2f3d8dc7c8ffafdd36fd4c03e2df5)) - update dependency com.google.api:api-common to v2.2.0 ([#​690](https://togithub.com/googleapis/java-shared-dependencies/issues/690)) ([47a8736](https://togithub.com/googleapis/java-shared-dependencies/commit/47a87365e51f73132b15b054d85f8c9baa8e89f6)) - update dependency com.google.auth:google-auth-library-bom to v1.7.0 ([#​691](https://togithub.com/googleapis/java-shared-dependencies/issues/691)) ([ec6aab7](https://togithub.com/googleapis/java-shared-dependencies/commit/ec6aab72eaed43574efe47a696bba6a612f161bb)) - update dependency com.google.errorprone:error_prone_annotations to v2.13.1 ([#​672](https://togithub.com/googleapis/java-shared-dependencies/issues/672)) ([8c7e530](https://togithub.com/googleapis/java-shared-dependencies/commit/8c7e530d3c7170b2fb76cc27a05164524ba4e00b)) - update dependency com.google.http-client:google-http-client-bom to v1.41.8 ([#​684](https://togithub.com/googleapis/java-shared-dependencies/issues/684)) ([1305356](https://togithub.com/googleapis/java-shared-dependencies/commit/1305356775247dbb641b60654ac56da43513088e)) - update dependency com.google.protobuf:protobuf-bom to v3.20.1 ([#​678](https://togithub.com/googleapis/java-shared-dependencies/issues/678)) ([3e6d4a1](https://togithub.com/googleapis/java-shared-dependencies/commit/3e6d4a1a8e5d45723071a62c99bb1ab87d2b2b84)) - update dependency io.grpc:grpc-bom to v1.46.0 ([#​680](https://togithub.com/googleapis/java-shared-dependencies/issues/680)) ([b8a052b](https://togithub.com/googleapis/java-shared-dependencies/commit/b8a052b75a1bc2703500b4f31c5c6dac887ab8be)) - update dependency org.checkerframework:checker-qual to v3.22.0 ([#​683](https://togithub.com/googleapis/java-shared-dependencies/issues/683)) ([b0a30cd](https://togithub.com/googleapis/java-shared-dependencies/commit/b0a30cdecae8dcfb3a6d36e3f194c39a0086673e)) - update gax.version to v2.17.0 ([#​687](https://togithub.com/googleapis/java-shared-dependencies/issues/687)) ([e0e89ea](https://togithub.com/googleapis/java-shared-dependencies/commit/e0e89eade481effc723c9c7261f2ebf4e5883621)) - update gax.version to v2.18.0 ([#​692](https://togithub.com/googleapis/java-shared-dependencies/issues/692)) ([9536612](https://togithub.com/googleapis/java-shared-dependencies/commit/9536612c77af1e4d912c5b63515ea6f750e53810)) - update google.core.version to v2.6.1 ([#​671](https://togithub.com/googleapis/java-shared-dependencies/issues/671)) ([e3d1aeb](https://togithub.com/googleapis/java-shared-dependencies/commit/e3d1aebed31f8e91109d5865afd9525ac3595c90)) - update google.core.version to v2.7.0 ([#​693](https://togithub.com/googleapis/java-shared-dependencies/issues/693)) ([2171677](https://togithub.com/googleapis/java-shared-dependencies/commit/2171677e16190de9f37dc16c924d829ea8ccd86c)) - update iam.version to v1.3.2 ([#​673](https://togithub.com/googleapis/java-shared-dependencies/issues/673)) ([9882baa](https://togithub.com/googleapis/java-shared-dependencies/commit/9882baa3ecc8d7584788af1916f0d8c5ec670b5c)) - update iam.version to v1.3.3 ([#​679](https://togithub.com/googleapis/java-shared-dependencies/issues/679)) ([9fe34c8](https://togithub.com/googleapis/java-shared-dependencies/commit/9fe34c89eabed5eeebad986bffeeeb64dbbc38c1)) - update iam.version to v1.3.4 ([#​686](https://togithub.com/googleapis/java-shared-dependencies/issues/686)) ([4e95b3a](https://togithub.com/googleapis/java-shared-dependencies/commit/4e95b3a1d4302812338c220df316391c19ef7473)) - update opencensus.version to v0.31.1 ([#​682](https://togithub.com/googleapis/java-shared-dependencies/issues/682)) ([5d25746](https://togithub.com/googleapis/java-shared-dependencies/commit/5d25746bc6c9329b240204cbe7b83e2fee4c6cb3))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, click this checkbox. --- 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-api-gateway). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a11d285..6e198d0 100644 --- a/pom.xml +++ b/pom.xml @@ -76,7 +76,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.10.0 + 2.12.0 pom import From 25689c3ca0b5223932fe92d31b014f5606bcf52a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 24 May 2022 03:32:17 +0000 Subject: [PATCH 12/12] chore(main): release 2.2.0 (#253) :robot: I have created a release *beep* *boop* --- ## [2.2.0](https://github.com/googleapis/java-api-gateway/compare/v2.1.12...v2.2.0) (2022-05-19) ### Features * add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-api-gateway/issues/1440)) ([#252](https://github.com/googleapis/java-api-gateway/issues/252)) ([decbf77](https://github.com/googleapis/java-api-gateway/commit/decbf7709a09d8017739af59def32079a0f691af)) ### Dependencies * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#251](https://github.com/googleapis/java-api-gateway/issues/251)) ([3f07476](https://github.com/googleapis/java-api-gateway/commit/3f074760eb3ae37f6147f5e7d88bad5d95368a06)) --- 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 | 12 ++++++++++++ google-cloud-api-gateway-bom/pom.xml | 8 ++++---- google-cloud-api-gateway/pom.xml | 4 ++-- grpc-google-cloud-api-gateway-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-api-gateway-v1/pom.xml | 4 ++-- versions.txt | 6 +++--- 7 files changed, 29 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84ac985..57aa057 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [2.2.0](https://github.com/googleapis/java-api-gateway/compare/v2.1.12...v2.2.0) (2022-05-19) + + +### Features + +* add build scripts for native image testing in Java 17 ([#1440](https://github.com/googleapis/java-api-gateway/issues/1440)) ([#252](https://github.com/googleapis/java-api-gateway/issues/252)) ([decbf77](https://github.com/googleapis/java-api-gateway/commit/decbf7709a09d8017739af59def32079a0f691af)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.12.0 ([#251](https://github.com/googleapis/java-api-gateway/issues/251)) ([3f07476](https://github.com/googleapis/java-api-gateway/commit/3f074760eb3ae37f6147f5e7d88bad5d95368a06)) + ### [2.1.12](https://github.com/googleapis/java-api-gateway/compare/v2.1.11...v2.1.12) (2022-04-15) diff --git a/google-cloud-api-gateway-bom/pom.xml b/google-cloud-api-gateway-bom/pom.xml index faf8f59..c72032f 100644 --- a/google-cloud-api-gateway-bom/pom.xml +++ b/google-cloud-api-gateway-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-api-gateway-bom - 2.1.13-SNAPSHOT + 2.2.0 pom com.google.cloud @@ -56,17 +56,17 @@ com.google.cloud google-cloud-api-gateway - 2.1.13-SNAPSHOT + 2.2.0 com.google.api.grpc grpc-google-cloud-api-gateway-v1 - 2.1.13-SNAPSHOT + 2.2.0 com.google.api.grpc proto-google-cloud-api-gateway-v1 - 2.1.13-SNAPSHOT + 2.2.0 diff --git a/google-cloud-api-gateway/pom.xml b/google-cloud-api-gateway/pom.xml index 0584bc4..bb9a4d1 100644 --- a/google-cloud-api-gateway/pom.xml +++ b/google-cloud-api-gateway/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-api-gateway - 2.1.13-SNAPSHOT + 2.2.0 jar Google API Gateway https://github.com/googleapis/java-api-gateway @@ -11,7 +11,7 @@ com.google.cloud google-cloud-api-gateway-parent - 2.1.13-SNAPSHOT + 2.2.0 google-cloud-api-gateway diff --git a/grpc-google-cloud-api-gateway-v1/pom.xml b/grpc-google-cloud-api-gateway-v1/pom.xml index 37e4914..9d5294a 100644 --- a/grpc-google-cloud-api-gateway-v1/pom.xml +++ b/grpc-google-cloud-api-gateway-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-api-gateway-v1 - 2.1.13-SNAPSHOT + 2.2.0 grpc-google-cloud-api-gateway-v1 GRPC library for google-cloud-api-gateway com.google.cloud google-cloud-api-gateway-parent - 2.1.13-SNAPSHOT + 2.2.0 diff --git a/pom.xml b/pom.xml index 6e198d0..c4375af 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-api-gateway-parent pom - 2.1.13-SNAPSHOT + 2.2.0 Google API Gateway Parent https://github.com/googleapis/java-api-gateway @@ -60,17 +60,17 @@ com.google.cloud google-cloud-api-gateway - 2.1.13-SNAPSHOT + 2.2.0 com.google.api.grpc grpc-google-cloud-api-gateway-v1 - 2.1.13-SNAPSHOT + 2.2.0 com.google.api.grpc proto-google-cloud-api-gateway-v1 - 2.1.13-SNAPSHOT + 2.2.0 diff --git a/proto-google-cloud-api-gateway-v1/pom.xml b/proto-google-cloud-api-gateway-v1/pom.xml index 5655a0e..7ff009f 100644 --- a/proto-google-cloud-api-gateway-v1/pom.xml +++ b/proto-google-cloud-api-gateway-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-api-gateway-v1 - 2.1.13-SNAPSHOT + 2.2.0 proto-google-cloud-api-gateway-v1 Proto library for google-cloud-api-gateway com.google.cloud google-cloud-api-gateway-parent - 2.1.13-SNAPSHOT + 2.2.0 diff --git a/versions.txt b/versions.txt index c28ae8f..ffe923a 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -google-cloud-api-gateway:2.1.12:2.1.13-SNAPSHOT -grpc-google-cloud-api-gateway-v1:2.1.12:2.1.13-SNAPSHOT -proto-google-cloud-api-gateway-v1:2.1.12:2.1.13-SNAPSHOT +google-cloud-api-gateway:2.2.0:2.2.0 +grpc-google-cloud-api-gateway-v1:2.2.0:2.2.0 +proto-google-cloud-api-gateway-v1:2.2.0:2.2.0