From 397978e9244264436e4aa5ffa7b1ba5e5d50e704 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 21 Apr 2020 05:26:13 +0200 Subject: [PATCH 01/89] chore(deps): update dependency com.google.cloud:google-cloud-container to v1.0.4 (#147) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-container](https://togithub.com/googleapis/java-container) | patch | `1.0.3` -> `1.0.4` | --- ### Release Notes
googleapis/java-container ### [`v1.0.4`](https://togithub.com/googleapis/java-container/blob/master/CHANGELOG.md#​104-httpswwwgithubcomgoogleapisjava-containercomparev103v104-2020-04-20) [Compare Source](https://togithub.com/googleapis/java-container/compare/v1.0.3...v1.0.4)
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 5976acc0..67fc9e42 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-container - 1.0.3 + 1.0.4 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 643b7154..58049f6b 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-container - 1.0.3 + 1.0.4 From b80f8c97a8ef160b2cf57608981aa1368d3608d9 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 21 Apr 2020 04:04:05 +0000 Subject: [PATCH 02/89] chore: release 1.0.5-SNAPSHOT (#148) :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). --- google-cloud-container-bom/pom.xml | 8 ++++---- google-cloud-container/pom.xml | 4 ++-- grpc-google-cloud-container-v1/pom.xml | 4 ++-- pom.xml | 8 ++++---- proto-google-cloud-container-v1/pom.xml | 4 ++-- versions.txt | 6 +++--- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/google-cloud-container-bom/pom.xml b/google-cloud-container-bom/pom.xml index af4fa4bc..678eff4c 100644 --- a/google-cloud-container-bom/pom.xml +++ b/google-cloud-container-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-container-bom - 1.0.4 + 1.0.5-SNAPSHOT pom com.google.cloud @@ -63,17 +63,17 @@ com.google.api.grpc grpc-google-cloud-container-v1 - 1.0.4 + 1.0.5-SNAPSHOT com.google.api.grpc proto-google-cloud-container-v1 - 1.0.4 + 1.0.5-SNAPSHOT com.google.cloud google-cloud-container - 1.0.4 + 1.0.5-SNAPSHOT diff --git a/google-cloud-container/pom.xml b/google-cloud-container/pom.xml index a98db429..8b2ad99c 100644 --- a/google-cloud-container/pom.xml +++ b/google-cloud-container/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-container - 1.0.4 + 1.0.5-SNAPSHOT jar Google Cloud Container https://github.com/googleapis/java-container @@ -11,7 +11,7 @@ com.google.cloud google-cloud-container-parent - 1.0.4 + 1.0.5-SNAPSHOT google-cloud-container diff --git a/grpc-google-cloud-container-v1/pom.xml b/grpc-google-cloud-container-v1/pom.xml index b97df846..bc454598 100644 --- a/grpc-google-cloud-container-v1/pom.xml +++ b/grpc-google-cloud-container-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-container-v1 - 1.0.4 + 1.0.5-SNAPSHOT grpc-google-cloud-container-v1 GRPC library for grpc-google-cloud-container-v1 com.google.cloud google-cloud-container-parent - 1.0.4 + 1.0.5-SNAPSHOT diff --git a/pom.xml b/pom.xml index a3f335b5..90e77db3 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-container-parent pom - 1.0.4 + 1.0.5-SNAPSHOT Google Cloud Container Parent https://github.com/googleapis/java-container @@ -81,17 +81,17 @@ com.google.api.grpc proto-google-cloud-container-v1 - 1.0.4 + 1.0.5-SNAPSHOT com.google.api.grpc grpc-google-cloud-container-v1 - 1.0.4 + 1.0.5-SNAPSHOT com.google.cloud google-cloud-container - 1.0.4 + 1.0.5-SNAPSHOT diff --git a/proto-google-cloud-container-v1/pom.xml b/proto-google-cloud-container-v1/pom.xml index e116cafc..37108d65 100644 --- a/proto-google-cloud-container-v1/pom.xml +++ b/proto-google-cloud-container-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-container-v1 - 1.0.4 + 1.0.5-SNAPSHOT proto-google-cloud-container-v1 PROTO library for proto-google-cloud-container-v1 com.google.cloud google-cloud-container-parent - 1.0.4 + 1.0.5-SNAPSHOT diff --git a/versions.txt b/versions.txt index df36cec4..2d5bcf36 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -proto-google-cloud-container-v1:1.0.4:1.0.4 -grpc-google-cloud-container-v1:1.0.4:1.0.4 -google-cloud-container:1.0.4:1.0.4 +proto-google-cloud-container-v1:1.0.4:1.0.5-SNAPSHOT +grpc-google-cloud-container-v1:1.0.4:1.0.5-SNAPSHOT +google-cloud-container:1.0.4:1.0.5-SNAPSHOT From 7c6b7e34d1c388d8b96635cf72459bd5451733da Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 24 Apr 2020 20:44:08 +0200 Subject: [PATCH 03/89] chore(deps): update dependency com.google.cloud:libraries-bom to v5.2.0 (#153) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `5.1.0` -> `5.2.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index b135a439..4f003b28 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.1.0 + 5.2.0 pom import From d40aef3150f6142436fe7702c25996a94bfd5f39 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 24 Apr 2020 14:56:59 -0700 Subject: [PATCH 04/89] chore: regenerate README autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. --- README.md | 2 +- synth.metadata | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f23b4ddc..2ef322f1 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-container - 1.0.3 + 1.0.4 ``` diff --git a/synth.metadata b/synth.metadata index 9d01b6f8..efb7e952 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "2fd4b5f1e1255ef0a91faaf795512905f9f2afe2" + "sha": "b80f8c97a8ef160b2cf57608981aa1368d3608d9" } }, { From 856f1cccdc00c003e4731f1d10d6cd85c1593506 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Sat, 25 Apr 2020 00:58:36 +0200 Subject: [PATCH 05/89] deps: update dependency io.grpc:grpc-bom to v1.29.0 (#152) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | minor | `1.28.1` -> `1.29.0` | --- ### Release Notes
grpc/grpc-java ### [`v1.29.0`](https://togithub.com/grpc/grpc-java/releases/v1.29.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.28.1...v1.29.0) #### Behavioral Changes - core, grpclb: change policy selection strategy for Grpclb policy (move logic of querying SRV into Grpclb's own resolver) ([#​6723](https://togithub.com/grpc/grpc-java/issues/6723)). System property `io.grpc.internal.DnsNameResolverProvider.enable_grpclb` is eliminated, grpc-grpclb dependency implicitly enables querying SRV records since v1.24.2 #### New Features - core: `ServerInterceptors.useInputStreamMessages()` now preserves the `KnownLength` interface when wrapping InputStream ([#​6852](https://togithub.com/grpc/grpc-java/issues/6852)). This should prevent certain optimizations from being disabled when using useInputStreamMessages - core: `ServerInterceptors.useInputStreamMessages()` and `useMarshalledMessages()` now preserve the SchemaDescriptor, so the methods are now compatible with the reflection service ([#​6851](https://togithub.com/grpc/grpc-java/issues/6851)) #### Bug Fixes - core: Fix IllegalStateException if remote-specified decompressor is unknown ([#​6864](https://togithub.com/grpc/grpc-java/issues/6864)) - core: keep round_robin lb subchannel in TRANSIENT_FAILURE until becoming READY ([#​6657](https://togithub.com/grpc/grpc-java/issues/6657)). This avoids RPC being indefinitely queued when subchannels are bouncing back and forth between CONNECTING and TRANSIENT_FAILURE - netty: fixed a bug when grpc-netty and grpc-netty-shaded were both used, which could result in "ClassCastException: io.netty.util.AsciiString cannot be cast to io.grpc.netty.shaded.io.netty.util.AsciiString" ([#​6765](https://togithub.com/grpc/grpc-java/issues/6765)) - netty: Prevent thread interruption during server start from leaking socket ([#​6867](https://togithub.com/grpc/grpc-java/issues/6867)) - okhttp: fix incorrect connection-level flow control handling at beginning of connection ([#​6742](https://togithub.com/grpc/grpc-java/issues/6742)). This only impacted users of `OkHttpChannelBuilder.flowControlWindow()`, who seem to be few since this bug was not reported sooner - core: A Java 9+ ABI compatibility issue with java.nio.ByteBuffer is fixed ([#​6839](https://togithub.com/grpc/grpc-java/issues/6839)). This only impacted users manually compiling grpc-java with JDK 9+ and then using it as a library for applications that run with JDK 8- (e.g., on Android). This does not impact the pre-built JARs on Maven Central - core: fixed a bug in health check config propagation. ([#​6804](https://togithub.com/grpc/grpc-java/issues/6804)) - benchmarks: some netty benchmarks failed to start and are now fixed ([#​6877](https://togithub.com/grpc/grpc-java/issues/6877)). This was a regression introduced in v1.23.0 #### Documentation - Add Javadoc for grpc-services and grpc-grpclb to the grpc-all project. This increases the number of classes shown at - examples: Add a JWT authentication example ([#​5915](https://togithub.com/grpc/grpc-java/issues/5915)) #### Dependencies - Bump guava to 28.2-android ([#​6772](https://togithub.com/grpc/grpc-java/issues/6772)) - Bump netty to 4.1.48.Final, bump tcnative to 2.0.30.Final ([#​6845](https://togithub.com/grpc/grpc-java/issues/6845)) - Bump truth version to 1.0.1 ([#​6754](https://togithub.com/grpc/grpc-java/issues/6754)) #### Compiling - android: add grpc-android into main build ([#​6793](https://togithub.com/grpc/grpc-java/issues/6793)). Compiling with `-PskipAndroid=false` (default) includes building grpc-android module, which requires Android SDK #### Acknowledgements [@​chrisschek](https://togithub.com/chrisschek) [@​elharo](https://togithub.com/elharo) Elliotte Rusty Harold [@​herbyderby](https://togithub.com/herbyderby) Chris Nokleberg [@​markb74](https://togithub.com/markb74) [@​ST-DDT](https://togithub.com/ST-DDT)
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 90e77db3..3c3dd515 100644 --- a/pom.xml +++ b/pom.xml @@ -67,7 +67,7 @@ 1.9.0 1.17.0 1.56.0 - 1.28.1 + 1.29.0 3.11.4 4.13 29.0-android From 22a7ad9f2bbc0f1e832ba4eba1a1c5847b06a8c2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 24 Apr 2020 21:36:35 -0700 Subject: [PATCH 06/89] chore: regenerate README (#155) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/2ee748ae-eb9e-490a-a920-256eb990adfc/targets --- README.md | 2 +- synth.metadata | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2ef322f1..2ae39f7b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 5.1.0 + 5.2.0 pom import diff --git a/synth.metadata b/synth.metadata index efb7e952..e5a6e336 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "b80f8c97a8ef160b2cf57608981aa1368d3608d9" + "sha": "d40aef3150f6142436fe7702c25996a94bfd5f39" } }, { From a48316167d0cdebd6716484dcf026d4af6e6baec Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 27 Apr 2020 18:36:20 +0200 Subject: [PATCH 07/89] deps: update dependency org.threeten:threetenbp to v1.4.4 (#154) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [org.threeten:threetenbp](https://www.threeten.org/threetenbp) ([source](https://togithub.com/ThreeTen/threetenbp)) | patch | `1.4.3` -> `1.4.4` | --- ### Release Notes
ThreeTen/threetenbp ### [`v1.4.4`](https://togithub.com/ThreeTen/threetenbp/releases/v1.4.4) [Compare Source](https://togithub.com/ThreeTen/threetenbp/compare/v1.4.3...v1.4.4) See the [change notes](https://www.threeten.org/threetenbp/changes-report.html) for more information.
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3c3dd515..7472bc90 100644 --- a/pom.xml +++ b/pom.xml @@ -71,7 +71,7 @@ 3.11.4 4.13 29.0-android - 1.4.3 + 1.4.4 1.3.2 1.18
From a8c08d3f15e75d355bde5555ce19bc8e6b5a55b2 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 29 Apr 2020 01:32:11 +0200 Subject: [PATCH 08/89] chore(deps): update dependency com.google.cloud:libraries-bom to v5.3.0 (#157) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `5.2.0` -> `5.3.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 4f003b28..91a688aa 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.2.0 + 5.3.0 pom import From 84d6294e52882bb5740cc22165c33b82df6bddf3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 29 Apr 2020 12:06:04 -0700 Subject: [PATCH 09/89] chore: regenerate README (#158) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/6f5d7f8b-8e06-474e-b3b8-e248dd7dd2e1/targets --- README.md | 2 +- synth.metadata | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2ae39f7b..c44ea3ae 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 5.2.0 + 5.3.0 pom import diff --git a/synth.metadata b/synth.metadata index e5a6e336..eb759761 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "d40aef3150f6142436fe7702c25996a94bfd5f39" + "sha": "a8c08d3f15e75d355bde5555ce19bc8e6b5a55b2" } }, { From cb5982ae91ac5a2a342a1df414a3a4683b7621cf Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 5 May 2020 05:22:07 +0200 Subject: [PATCH 10/89] deps: update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 (#160) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://togithub.com/googleapis/java-iam) | minor | `1.17.0` -> `1.18.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7472bc90..26ac48df 100644 --- a/pom.xml +++ b/pom.xml @@ -65,7 +65,7 @@ google-cloud-container-parent 1.93.4 1.9.0 - 1.17.0 + 1.18.0 1.56.0 1.29.0 3.11.4 From 04e5a984e6924cd068872f8303fc3be1f1c7f2c1 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 12 May 2020 10:02:08 -0700 Subject: [PATCH 11/89] ci: enable GitHub Actions (#162) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/c5f7338e-3c88-4aa0-9102-e6d02a16d4ef/targets Source-Link: https://github.com/googleapis/synthtool/commit/98c50772ec23295c64cf0d2ddf199ea52961fd4c Source-Link: https://github.com/googleapis/synthtool/commit/55cdc844877d97139f25004229842624a6a86a02 --- .github/workflows/ci.yaml | 76 +++++++++++++++++++++++++++++++++++++++ .kokoro/build.bat | 2 +- synth.metadata | 8 ++--- 3 files changed, 81 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 00000000..445b4bf8 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,76 @@ +on: + push: + branches: + - master + pull_request: +name: ci +jobs: + units: + runs-on: ubuntu-latest + strategy: + matrix: + java: [7, 8, 11] + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: ${{matrix.java}} + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: test + - name: coverage + uses: codecov/codecov-action@v1 + with: + name: actions ${{matrix.java}} + windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.bat + env: + JOB_TYPE: test + dependencies: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/dependencies.sh + linkage-monitor: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/linkage-monitor.sh + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: lint + clirr: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: java -version + - run: .kokoro/build.sh + env: + JOB_TYPE: clirr \ No newline at end of file diff --git a/.kokoro/build.bat b/.kokoro/build.bat index 2d6621f4..05826ad9 100644 --- a/.kokoro/build.bat +++ b/.kokoro/build.bat @@ -1,3 +1,3 @@ :: See documentation in type-shell-output.bat -"C:\Program Files\Git\bin\bash.exe" github/java-container/.kokoro/build.sh +"C:\Program Files\Git\bin\bash.exe" %~dp0build.sh diff --git a/synth.metadata b/synth.metadata index eb759761..87d6ba2a 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,22 +4,22 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "a8c08d3f15e75d355bde5555ce19bc8e6b5a55b2" + "sha": "cb5982ae91ac5a2a342a1df414a3a4683b7621cf" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "9af7212bc2cba8a7184f032e1ab6662ccf604b3a", - "internalRef": "305751417" + "sha": "aed11c01e52921613b9ee469c2d85f5f33175fb7", + "internalRef": "310660461" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "f8a9933e5e98202b04ef427f28d1d79221190fa4" + "sha": "98c50772ec23295c64cf0d2ddf199ea52961fd4c" } } ], From c5f63551d759605bf8a79253e62fba40118323b0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 18 May 2020 12:48:21 -0700 Subject: [PATCH 12/89] chore: update CONTRIBUTING.md to include code formatting (#163) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/0ba8d2f8-7f35-417b-8c9a-d829ca01eac0/targets Source-Link: https://github.com/googleapis/synthtool/commit/5b48b0716a36ca069db3038da7e205c87a22ed19 --- CONTRIBUTING.md | 11 ++++++++++- synth.metadata | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 085021dd..f2dbdee0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -99,7 +99,16 @@ mvn -Penable-samples clean verify ``` 2. [Activate](#profile-activation) the profile. -3. Define your samples in a normal Maven project in the `samples/` directory +3. Define your samples in a normal Maven project in the `samples/` directory. + +### Code Formatting + +Code in this repo is formatted with +[google-java-format](https://github.com/google/google-java-format). +To run formatting on your project, you can run: +``` +mvn com.coveo:fmt-maven-plugin:format +``` ### Profile Activation diff --git a/synth.metadata b/synth.metadata index 87d6ba2a..e5b4dcf5 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "cb5982ae91ac5a2a342a1df414a3a4683b7621cf" + "sha": "04e5a984e6924cd068872f8303fc3be1f1c7f2c1" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "98c50772ec23295c64cf0d2ddf199ea52961fd4c" + "sha": "5b48b0716a36ca069db3038da7e205c87a22ed19" } } ], From e1c8bdaf1a9ab23f4f351c3e44e8549067e50a43 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 19 May 2020 23:42:16 +0200 Subject: [PATCH 13/89] chore(deps): update dependency com.google.cloud:libraries-bom to v5.4.0 (#165) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `5.3.0` -> `5.4.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 91a688aa..b746b4de 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.3.0 + 5.4.0 pom import From 0cdb92371a1842495a1fd181e72fc6f9f95c4e05 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 19 May 2020 23:50:46 +0200 Subject: [PATCH 14/89] deps: update dependency com.google.protobuf:protobuf-bom to v3.12.0 (#164) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | minor | `3.11.4` -> `3.12.0` | --- ### Release Notes
protocolbuffers/protobuf ### [`v3.12.0`](https://togithub.com/protocolbuffers/protobuf/releases/v3.12.0) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.11.4...v3.12.0) ### Protocol Compiler - [experimental] Singular, non-message typed fields in proto3 now support presence tracking. This is enabled by adding the "optional" field label and passing the `--experimental_allow_proto3_optional` flag to protoc. - For usage info, see [docs/field_presence.md](docs/field_presence.md). - During this experimental phase, code generators should update to support proto3 presence, see [docs/implementing_proto3_presence.md](docs/implementing_proto3_presence.md) for instructions. - Allow duplicate symbol names when multiple descriptor sets are passed on the command-line, to match the behavior when multiple .proto files are passed. - Deterministic `protoc --descriptor_set_out` ([#​7175](https://togithub.com/protocolbuffers/protobuf/issues/7175)) ### C++ - [experimental] Added proto3 presence support. - New descriptor APIs to support proto3 presence. - Fix for [#​7463](https://togithub.com/protocolbuffers/protobuf/issues/7463) in -rc1 (core dump mixing optional and singular fields in proto3) - Enable Arenas by default on all .proto files. - Documented that users are not allowed to subclass Message or MessageLite. - Mark generated classes as final; inheriting from protos is strongly discouraged. - Add stack overflow protection for text format with unknown fields. - Add accessors for map key and value FieldDescriptors. - Add FieldMaskUtil::FromFieldNumbers(). - MessageDifferencer: use ParsePartial() on Any fields so the diff does not fail when there are missing required fields. - ReflectionOps::Merge(): lookup messages in the right factory, if it can. - Added Descriptor::WellKnownTypes enum and Descriptor::well_known_type() accessor as an easier way of determining if a message is a Well-Known Type. - Optimized RepeatedField::Add() when it is used in a loop. - Made proto move/swap more efficient. - De-virtualize the GetArena() method in MessageLite. - Improves performance of json_stream_parser.cc by factor 1000 ([#​7230](https://togithub.com/protocolbuffers/protobuf/issues/7230)) - bug: [#​7076](https://togithub.com/protocolbuffers/protobuf/issues/7076) undefine Windows OUT and OPTIONAL macros ([#​7087](https://togithub.com/protocolbuffers/protobuf/issues/7087)) - Fixed a bug in FieldDescriptor::DebugString() that would erroneously print an "optional" label for a field in a oneof. - Fix bug in parsing bool extensions that assumed they are always 1 byte. - Fix off-by-one error in FieldOptions::ByteSize() when extensions are present. - Clarified the comments to show an example of the difference between Descriptor::extension and DescriptorPool::FindAllExtensions. - Add a compiler option 'code_size' to force optimize_for=code_size on all protos where this is possible. ### Java - [experimental] Added proto3 presence support. - Fix for [#​7480](https://togithub.com/protocolbuffers/protobuf/issues/7480) in -rc1 ("TextFormat and JsonFormat ignore experimental proto3 optional enums") - Fix for [#​7505](https://togithub.com/protocolbuffers/protobuf/issues/7505) in -rc1 (" toString() returns incorrect ascii when there are duplicate keys in a map") - Mark java enum \_VALUE constants as [@​Deprecated](https://togithub.com/Deprecated) if the enum field is deprecated - reduce size for enums with allow_alias set to true. - Sort map fields alphabetically by the field's key when printing textproto. - TextFormat.merge() handles Any as top level type. - Throw a descriptive IllegalArgumentException when calling getValueDescriptor() on enum special value UNRECOGNIZED instead of ArrayIndexOutOfBoundsException. - Fixed an issue with JsonFormat.printer() where setting printingEnumsAsInts() would override the configuration passed into includingDefaultValueFields(). - Implement overrides of indexOf() and contains() on primitive lists returned for repeated fields to avoid autoboxing the list contents. - Add overload to FieldMaskUtil.fromStringList that accepts a descriptor. - [bazel] Move Java runtime/toolchains into //java ([#​7190](https://togithub.com/protocolbuffers/protobuf/issues/7190)) ### Python - [experimental] Added proto3 presence support. - [experimental] fast import protobuf module, only works with cpp generated code linked in. - Truncate 'float' fields to 4 bytes of precision in setters for pure-Python implementation (C++ extension was already doing this). - Fixed a memory leak in C++ bindings. - Added a deprecation warning when code tries to create Descriptor objects directly. - Fix unintended comparison between bytes and string in descriptor.py. - Avoid printing excess digits for float fields in TextFormat. - Remove Python 2.5 syntax compatibility from the proto compiler generated \_pb2.py module code. - Drop 3.3, 3.4 and use single version docker images for all python tests ([#​7396](https://togithub.com/protocolbuffers/protobuf/issues/7396)) ### JavaScript - Fix js message pivot selection ([#​6813](https://togithub.com/protocolbuffers/protobuf/issues/6813)) ### PHP - Persistent Descriptor Pool ([#​6899](https://togithub.com/protocolbuffers/protobuf/issues/6899)) - Implement lazy loading of php class for proto messages ([#​6911](https://togithub.com/protocolbuffers/protobuf/issues/6911)) - Correct [@​return](https://togithub.com/return) in Any.unpack docblock ([#​7089](https://togithub.com/protocolbuffers/protobuf/issues/7089)) - Ignore unknown enum value when ignore_unknown specified ([#​7455](https://togithub.com/protocolbuffers/protobuf/issues/7455)) ### Ruby - [experimental] Implemented proto3 presence for Ruby. ([#​7406](https://togithub.com/protocolbuffers/protobuf/issues/7406)) - Stop building binary gems for ruby <2.5 ([#​7453](https://togithub.com/protocolbuffers/protobuf/issues/7453)) - Fix for wrappers with a zero value ([#​7195](https://togithub.com/protocolbuffers/protobuf/issues/7195)) - Fix for JSON serialization of 0/empty-valued wrapper types ([#​7198](https://togithub.com/protocolbuffers/protobuf/issues/7198)) - Call "Class#new" over rb_class_new_instance in decoding ([#​7352](https://togithub.com/protocolbuffers/protobuf/issues/7352)) - Build extensions for Ruby 2.7 ([#​7027](https://togithub.com/protocolbuffers/protobuf/issues/7027)) - assigning 'nil' to submessage should clear the field. ([#​7397](https://togithub.com/protocolbuffers/protobuf/issues/7397)) ### C - [experimental] Add support for proto3 presence fields in C# ([#​7382](https://togithub.com/protocolbuffers/protobuf/issues/7382)) - Cleanup various bits of Google.Protobuf ([#​6674](https://togithub.com/protocolbuffers/protobuf/issues/6674)) - Fix conformance test failures for Google.Protobuf ([#​6910](https://togithub.com/protocolbuffers/protobuf/issues/6910)) - Fix latest ArgumentException for C# extensions ([#​6938](https://togithub.com/protocolbuffers/protobuf/issues/6938)) - Remove unnecessary branch from ReadTag ([#​7289](https://togithub.com/protocolbuffers/protobuf/issues/7289)) - Enforce recursion depth checking for unknown fields ([#​7132](https://togithub.com/protocolbuffers/protobuf/issues/7132)) - Mark GetOption API as obsolete and expose the "GetOptions()" method on descriptors instead ([#​7491](https://togithub.com/protocolbuffers/protobuf/issues/7491)) - Remove Has/Clear members for C# message fields in proto2 ([#​7429](https://togithub.com/protocolbuffers/protobuf/issues/7429)) ### Objective-C - [experimental] ObjC Proto3 optional support ([#​7421](https://togithub.com/protocolbuffers/protobuf/issues/7421)) - Block subclassing of generated classes ([#​7124](https://togithub.com/protocolbuffers/protobuf/issues/7124)) - Use references to Obj C classes instead of names in descriptors. ([#​7026](https://togithub.com/protocolbuffers/protobuf/issues/7026)) - Revisit how the WKTs are bundled with ObjC. ([#​7173](https://togithub.com/protocolbuffers/protobuf/issues/7173)) ### Other - Add a proto_lang_toolchain for javalite ([#​6882](https://togithub.com/protocolbuffers/protobuf/issues/6882)) - [bazel] Update gtest and deprecate //external:{gtest,gtest_main} ([#​7237](https://togithub.com/protocolbuffers/protobuf/issues/7237)) - Add application note for explicit presence tracking. ([#​7390](https://togithub.com/protocolbuffers/protobuf/issues/7390)) - Howto doc for implementing proto3 presence in a code generator. ([#​7407](https://togithub.com/protocolbuffers/protobuf/issues/7407))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 26ac48df..c79ab79d 100644 --- a/pom.xml +++ b/pom.xml @@ -68,7 +68,7 @@ 1.18.0 1.56.0 1.29.0 - 3.11.4 + 3.12.0 4.13 29.0-android 1.4.4 From c49b861346cf424836b66397f49879fea251f466 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 19 May 2020 22:14:35 -0700 Subject: [PATCH 15/89] chore: regenerate README (#168) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e8afa0af-9d3b-4e3e-9ef4-32b759d46496/targets --- README.md | 2 +- synth.metadata | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c44ea3ae..c369de1e 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 5.3.0 + 5.4.0 pom import diff --git a/synth.metadata b/synth.metadata index e5b4dcf5..651642f7 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "04e5a984e6924cd068872f8303fc3be1f1c7f2c1" + "sha": "0cdb92371a1842495a1fd181e72fc6f9f95c4e05" } }, { From 0645786560ccfece073058823681865ae205683f Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 21 May 2020 00:50:45 +0200 Subject: [PATCH 16/89] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.6.0 (#167) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.5.0` -> `0.6.0` | --- ### Release Notes
googleapis/java-shared-config ### [`v0.6.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​060-httpswwwgithubcomgoogleapisjava-shared-configcomparev050v060-2020-05-19) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.5.0...v0.6.0) ##### Features - add new configuration necessary to support auto-value ([#​136](https://www.github.com/googleapis/java-shared-config/issues/136)) ([c14689b](https://www.github.com/googleapis/java-shared-config/commit/c14689b8791c173687f719d73156a989aedd7ba6))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- google-cloud-container-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-container-bom/pom.xml b/google-cloud-container-bom/pom.xml index 678eff4c..aeb24953 100644 --- a/google-cloud-container-bom/pom.xml +++ b/google-cloud-container-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.5.0 + 0.6.0 Google Cloud container BOM diff --git a/pom.xml b/pom.xml index c79ab79d..5486662e 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.5.0 + 0.6.0 From 4422a17b4d72f70a2eca61aa6789b0855e5f2c31 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 29 May 2020 20:38:22 +0200 Subject: [PATCH 17/89] chore(deps): update dependency com.google.cloud:libraries-bom to v5.5.0 (#173) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `5.4.0` -> `5.5.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index b746b4de..2093f25e 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.4.0 + 5.5.0 pom import From 6a0218ed57339af253fbdb868bcf66d219cf0f57 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 1 Jun 2020 15:59:04 -0700 Subject: [PATCH 18/89] chore: regenerate README versions (#174) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/fc8901ab-99df-4bb9-ad1d-458cbf9d4f07/targets --- README.md | 2 +- synth.metadata | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c369de1e..a9cf8bfb 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 5.4.0 + 5.5.0 pom import diff --git a/synth.metadata b/synth.metadata index 651642f7..7e83b29a 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "0cdb92371a1842495a1fd181e72fc6f9f95c4e05" + "sha": "4422a17b4d72f70a2eca61aa6789b0855e5f2c31" } }, { From 697949ef41ccc010f3fe221902699bbcf5ef0763 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 3 Jun 2020 12:10:06 -0700 Subject: [PATCH 19/89] fix: restore retry config for deleteCluster, deleteNode (#166) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/b94bacd6-05ee-45c2-be4d-b0f667030fab/targets PiperOrigin-RevId: 312088359 Source-Link: https://github.com/googleapis/googleapis/commit/5a90d467aa65e7f038f87585e8fbb45d74475e7c --- .../container/v1/ClusterManagerClient.java | 445 ++++++------ .../container/v1/ClusterManagerSettings.java | 46 +- .../cloud/container/v1/package-info.java | 3 +- .../container/v1/stub/ClusterManagerStub.java | 16 +- .../v1/stub/ClusterManagerStubSettings.java | 100 +-- .../v1/stub/GrpcClusterManagerStub.java | 120 ++-- .../v1/ClusterManagerClientTest.java | 652 +++++++++--------- synth.metadata | 4 +- 8 files changed, 694 insertions(+), 692 deletions(-) diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java index a1cc9dec..c27a944f 100644 --- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java +++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java @@ -90,7 +90,8 @@ * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { * String projectId = ""; * String zone = ""; - * ListClustersResponse response = clusterManagerClient.listClusters(projectId, zone); + * String clusterId = ""; + * Operation response = clusterManagerClient.deleteCluster(projectId, zone, clusterId); * } * * @@ -199,6 +200,227 @@ public ClusterManagerStub getStub() { return stub; } + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. + * + *

Firewalls and routes that were configured during cluster creation are also deleted. + * + *

Other Google Compute Engine resources that might be in use by the cluster, such as load + * balancer resources, are not deleted if they weren't present when the cluster was initially + * created. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   String projectId = "";
+   *   String zone = "";
+   *   String clusterId = "";
+   *   Operation response = clusterManagerClient.deleteCluster(projectId, zone, clusterId);
+   * }
+   * 
+ * + * @param projectId Deprecated. The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated + * and replaced by the name field. + * @param zone Deprecated. The name of the Google Compute Engine + * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. + * This field has been deprecated and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster to delete. This field has been deprecated + * and replaced by the name field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation deleteCluster(String projectId, String zone, String clusterId) { + DeleteClusterRequest request = + DeleteClusterRequest.newBuilder() + .setProjectId(projectId) + .setZone(zone) + .setClusterId(clusterId) + .build(); + return deleteCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. + * + *

Firewalls and routes that were configured during cluster creation are also deleted. + * + *

Other Google Compute Engine resources that might be in use by the cluster, such as load + * balancer resources, are not deleted if they weren't present when the cluster was initially + * created. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   String name = "";
+   *   Operation response = clusterManagerClient.deleteCluster(name);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster) of the cluster to delete. Specified in the + * format `projects/*/locations/*/clusters/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation deleteCluster(String name) { + DeleteClusterRequest request = DeleteClusterRequest.newBuilder().setName(name).build(); + return deleteCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. + * + *

Firewalls and routes that were configured during cluster creation are also deleted. + * + *

Other Google Compute Engine resources that might be in use by the cluster, such as load + * balancer resources, are not deleted if they weren't present when the cluster was initially + * created. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   DeleteClusterRequest request = DeleteClusterRequest.newBuilder().build();
+   *   Operation response = clusterManagerClient.deleteCluster(request);
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation deleteCluster(DeleteClusterRequest request) { + return deleteClusterCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. + * + *

Firewalls and routes that were configured during cluster creation are also deleted. + * + *

Other Google Compute Engine resources that might be in use by the cluster, such as load + * balancer resources, are not deleted if they weren't present when the cluster was initially + * created. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   DeleteClusterRequest request = DeleteClusterRequest.newBuilder().build();
+   *   ApiFuture<Operation> future = clusterManagerClient.deleteClusterCallable().futureCall(request);
+   *   // Do something
+   *   Operation response = future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteClusterCallable() { + return stub.deleteClusterCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes a node pool from a cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   String projectId = "";
+   *   String zone = "";
+   *   String clusterId = "";
+   *   String nodePoolId = "";
+   *   Operation response = clusterManagerClient.deleteNodePool(projectId, zone, clusterId, nodePoolId);
+   * }
+   * 
+ * + * @param projectId Deprecated. The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). This field has been + * deprecated and replaced by the name field. + * @param zone Deprecated. The name of the Google Compute Engine + * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. + * This field has been deprecated and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster. This field has been deprecated and + * replaced by the name field. + * @param nodePoolId Deprecated. The name of the node pool to delete. This field has been + * deprecated and replaced by the name field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation deleteNodePool( + String projectId, String zone, String clusterId, String nodePoolId) { + DeleteNodePoolRequest request = + DeleteNodePoolRequest.newBuilder() + .setProjectId(projectId) + .setZone(zone) + .setClusterId(clusterId) + .setNodePoolId(nodePoolId) + .build(); + return deleteNodePool(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes a node pool from a cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   String name = "";
+   *   Operation response = clusterManagerClient.deleteNodePool(name);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster, node pool id) of the node pool to delete. + * Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation deleteNodePool(String name) { + DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().setName(name).build(); + return deleteNodePool(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes a node pool from a cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().build();
+   *   Operation response = clusterManagerClient.deleteNodePool(request);
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation deleteNodePool(DeleteNodePoolRequest request) { + return deleteNodePoolCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes a node pool from a cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().build();
+   *   ApiFuture<Operation> future = clusterManagerClient.deleteNodePoolCallable().futureCall(request);
+   *   // Do something
+   *   Operation response = future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteNodePoolCallable() { + return stub.deleteNodePoolCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Lists all clusters owned by a project in either the specified zone or all zones. @@ -1380,126 +1602,6 @@ public final UnaryCallable setMasterAuthCallabl return stub.setMasterAuthCallable(); } - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. - * - *

Firewalls and routes that were configured during cluster creation are also deleted. - * - *

Other Google Compute Engine resources that might be in use by the cluster, such as load - * balancer resources, are not deleted if they weren't present when the cluster was initially - * created. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   Operation response = clusterManagerClient.deleteCluster(projectId, zone, clusterId);
-   * }
-   * 
- * - * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. - * @param zone Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. - * This field has been deprecated and replaced by the name field. - * @param clusterId Deprecated. The name of the cluster to delete. This field has been deprecated - * and replaced by the name field. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Operation deleteCluster(String projectId, String zone, String clusterId) { - DeleteClusterRequest request = - DeleteClusterRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .build(); - return deleteCluster(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. - * - *

Firewalls and routes that were configured during cluster creation are also deleted. - * - *

Other Google Compute Engine resources that might be in use by the cluster, such as load - * balancer resources, are not deleted if they weren't present when the cluster was initially - * created. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String name = "";
-   *   Operation response = clusterManagerClient.deleteCluster(name);
-   * }
-   * 
- * - * @param name The name (project, location, cluster) of the cluster to delete. Specified in the - * format `projects/*/locations/*/clusters/*`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Operation deleteCluster(String name) { - DeleteClusterRequest request = DeleteClusterRequest.newBuilder().setName(name).build(); - return deleteCluster(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. - * - *

Firewalls and routes that were configured during cluster creation are also deleted. - * - *

Other Google Compute Engine resources that might be in use by the cluster, such as load - * balancer resources, are not deleted if they weren't present when the cluster was initially - * created. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   DeleteClusterRequest request = DeleteClusterRequest.newBuilder().build();
-   *   Operation response = clusterManagerClient.deleteCluster(request);
-   * }
-   * 
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Operation deleteCluster(DeleteClusterRequest request) { - return deleteClusterCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. - * - *

Firewalls and routes that were configured during cluster creation are also deleted. - * - *

Other Google Compute Engine resources that might be in use by the cluster, such as load - * balancer resources, are not deleted if they weren't present when the cluster was initially - * created. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   DeleteClusterRequest request = DeleteClusterRequest.newBuilder().build();
-   *   ApiFuture<Operation> future = clusterManagerClient.deleteClusterCallable().futureCall(request);
-   *   // Do something
-   *   Operation response = future.get();
-   * }
-   * 
- */ - public final UnaryCallable deleteClusterCallable() { - return stub.deleteClusterCallable(); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Lists all operations in a project in a specific zone or all zones. @@ -2134,107 +2236,6 @@ public final UnaryCallable createNodePoolCalla return stub.createNodePoolCallable(); } - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes a node pool from a cluster. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
-   *   Operation response = clusterManagerClient.deleteNodePool(projectId, zone, clusterId, nodePoolId);
-   * }
-   * 
- * - * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the name field. - * @param zone Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. - * This field has been deprecated and replaced by the name field. - * @param clusterId Deprecated. The name of the cluster. This field has been deprecated and - * replaced by the name field. - * @param nodePoolId Deprecated. The name of the node pool to delete. This field has been - * deprecated and replaced by the name field. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Operation deleteNodePool( - String projectId, String zone, String clusterId, String nodePoolId) { - DeleteNodePoolRequest request = - DeleteNodePoolRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .setNodePoolId(nodePoolId) - .build(); - return deleteNodePool(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes a node pool from a cluster. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String name = "";
-   *   Operation response = clusterManagerClient.deleteNodePool(name);
-   * }
-   * 
- * - * @param name The name (project, location, cluster, node pool id) of the node pool to delete. - * Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Operation deleteNodePool(String name) { - DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().setName(name).build(); - return deleteNodePool(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes a node pool from a cluster. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().build();
-   *   Operation response = clusterManagerClient.deleteNodePool(request);
-   * }
-   * 
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Operation deleteNodePool(DeleteNodePoolRequest request) { - return deleteNodePoolCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes a node pool from a cluster. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().build();
-   *   ApiFuture<Operation> future = clusterManagerClient.deleteNodePoolCallable().futureCall(request);
-   *   // Do something
-   *   Operation response = future.get();
-   * }
-   * 
- */ - public final UnaryCallable deleteNodePoolCallable() { - return stub.deleteNodePoolCallable(); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java index de7f713a..53df6b43 100644 --- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java +++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java @@ -88,16 +88,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

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

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

  * 
  * ClusterManagerSettings.Builder clusterManagerSettingsBuilder =
  *     ClusterManagerSettings.newBuilder();
  * clusterManagerSettingsBuilder
- *     .listClustersSettings()
+ *     .deleteClusterSettings()
  *     .setRetrySettings(
- *         clusterManagerSettingsBuilder.listClustersSettings().getRetrySettings().toBuilder()
+ *         clusterManagerSettingsBuilder.deleteClusterSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ClusterManagerSettings clusterManagerSettings = clusterManagerSettingsBuilder.build();
@@ -107,6 +107,16 @@
 @Generated("by gapic-generator")
 @BetaApi
 public class ClusterManagerSettings extends ClientSettings {
+  /** Returns the object with the settings used for calls to deleteCluster. */
+  public UnaryCallSettings deleteClusterSettings() {
+    return ((ClusterManagerStubSettings) getStubSettings()).deleteClusterSettings();
+  }
+
+  /** Returns the object with the settings used for calls to deleteNodePool. */
+  public UnaryCallSettings deleteNodePoolSettings() {
+    return ((ClusterManagerStubSettings) getStubSettings()).deleteNodePoolSettings();
+  }
+
   /** Returns the object with the settings used for calls to listClusters. */
   public UnaryCallSettings listClustersSettings() {
     return ((ClusterManagerStubSettings) getStubSettings()).listClustersSettings();
@@ -168,11 +178,6 @@ public UnaryCallSettings setMasterAuthSettings(
     return ((ClusterManagerStubSettings) getStubSettings()).setMasterAuthSettings();
   }
 
-  /** Returns the object with the settings used for calls to deleteCluster. */
-  public UnaryCallSettings deleteClusterSettings() {
-    return ((ClusterManagerStubSettings) getStubSettings()).deleteClusterSettings();
-  }
-
   /** Returns the object with the settings used for calls to listOperations. */
   public UnaryCallSettings listOperationsSettings() {
     return ((ClusterManagerStubSettings) getStubSettings()).listOperationsSettings();
@@ -208,11 +213,6 @@ public UnaryCallSettings createNodePoolSetting
     return ((ClusterManagerStubSettings) getStubSettings()).createNodePoolSettings();
   }
 
-  /** Returns the object with the settings used for calls to deleteNodePool. */
-  public UnaryCallSettings deleteNodePoolSettings() {
-    return ((ClusterManagerStubSettings) getStubSettings()).deleteNodePoolSettings();
-  }
-
   /** Returns the object with the settings used for calls to rollbackNodePoolUpgrade. */
   public UnaryCallSettings
       rollbackNodePoolUpgradeSettings() {
@@ -366,6 +366,16 @@ public Builder applyToAllUnaryMethods(
       return this;
     }
 
+    /** Returns the builder for the settings used for calls to deleteCluster. */
+    public UnaryCallSettings.Builder deleteClusterSettings() {
+      return getStubSettingsBuilder().deleteClusterSettings();
+    }
+
+    /** Returns the builder for the settings used for calls to deleteNodePool. */
+    public UnaryCallSettings.Builder deleteNodePoolSettings() {
+      return getStubSettingsBuilder().deleteNodePoolSettings();
+    }
+
     /** Returns the builder for the settings used for calls to listClusters. */
     public UnaryCallSettings.Builder
         listClustersSettings() {
@@ -430,11 +440,6 @@ public UnaryCallSettings.Builder setMasterAuthS
       return getStubSettingsBuilder().setMasterAuthSettings();
     }
 
-    /** Returns the builder for the settings used for calls to deleteCluster. */
-    public UnaryCallSettings.Builder deleteClusterSettings() {
-      return getStubSettingsBuilder().deleteClusterSettings();
-    }
-
     /** Returns the builder for the settings used for calls to listOperations. */
     public UnaryCallSettings.Builder
         listOperationsSettings() {
@@ -473,11 +478,6 @@ public UnaryCallSettings.Builder createNodePoo
       return getStubSettingsBuilder().createNodePoolSettings();
     }
 
-    /** Returns the builder for the settings used for calls to deleteNodePool. */
-    public UnaryCallSettings.Builder deleteNodePoolSettings() {
-      return getStubSettingsBuilder().deleteNodePoolSettings();
-    }
-
     /** Returns the builder for the settings used for calls to rollbackNodePoolUpgrade. */
     public UnaryCallSettings.Builder
         rollbackNodePoolUpgradeSettings() {
diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java
index 590986dc..c9bf9d50 100644
--- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java
+++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java
@@ -30,7 +30,8 @@
  * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
  *   String projectId = "";
  *   String zone = "";
- *   ListClustersResponse response = clusterManagerClient.listClusters(projectId, zone);
+ *   String clusterId = "";
+ *   Operation response = clusterManagerClient.deleteCluster(projectId, zone, clusterId);
  * }
  * 
  * 
diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java index 2b0757ca..9367be17 100644 --- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java +++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java @@ -72,6 +72,14 @@ @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public abstract class ClusterManagerStub implements BackgroundResource { + public UnaryCallable deleteClusterCallable() { + throw new UnsupportedOperationException("Not implemented: deleteClusterCallable()"); + } + + public UnaryCallable deleteNodePoolCallable() { + throw new UnsupportedOperationException("Not implemented: deleteNodePoolCallable()"); + } + public UnaryCallable listClustersCallable() { throw new UnsupportedOperationException("Not implemented: listClustersCallable()"); } @@ -120,10 +128,6 @@ public UnaryCallable setMasterAuthCallable() { throw new UnsupportedOperationException("Not implemented: setMasterAuthCallable()"); } - public UnaryCallable deleteClusterCallable() { - throw new UnsupportedOperationException("Not implemented: deleteClusterCallable()"); - } - public UnaryCallable listOperationsCallable() { throw new UnsupportedOperationException("Not implemented: listOperationsCallable()"); } @@ -152,10 +156,6 @@ public UnaryCallable createNodePoolCallable() throw new UnsupportedOperationException("Not implemented: createNodePoolCallable()"); } - public UnaryCallable deleteNodePoolCallable() { - throw new UnsupportedOperationException("Not implemented: deleteNodePoolCallable()"); - } - public UnaryCallable rollbackNodePoolUpgradeCallable() { throw new UnsupportedOperationException("Not implemented: rollbackNodePoolUpgradeCallable()"); diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java index 358e92fa..e559243d 100644 --- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java +++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java @@ -104,16 +104,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

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

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

  * 
  * ClusterManagerStubSettings.Builder clusterManagerSettingsBuilder =
  *     ClusterManagerStubSettings.newBuilder();
  * clusterManagerSettingsBuilder
- *     .listClustersSettings()
+ *     .deleteClusterSettings()
  *     .setRetrySettings(
- *         clusterManagerSettingsBuilder.listClustersSettings().getRetrySettings().toBuilder()
+ *         clusterManagerSettingsBuilder.deleteClusterSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ClusterManagerStubSettings clusterManagerSettings = clusterManagerSettingsBuilder.build();
@@ -127,6 +127,8 @@ public class ClusterManagerStubSettings extends StubSettings DEFAULT_SERVICE_SCOPES =
       ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build();
 
+  private final UnaryCallSettings deleteClusterSettings;
+  private final UnaryCallSettings deleteNodePoolSettings;
   private final UnaryCallSettings listClustersSettings;
   private final UnaryCallSettings getClusterSettings;
   private final UnaryCallSettings createClusterSettings;
@@ -141,7 +143,6 @@ public class ClusterManagerStubSettings extends StubSettings setLocationsSettings;
   private final UnaryCallSettings updateMasterSettings;
   private final UnaryCallSettings setMasterAuthSettings;
-  private final UnaryCallSettings deleteClusterSettings;
   private final UnaryCallSettings
       listOperationsSettings;
   private final UnaryCallSettings getOperationSettings;
@@ -151,7 +152,6 @@ public class ClusterManagerStubSettings extends StubSettings getNodePoolSettings;
   private final UnaryCallSettings createNodePoolSettings;
-  private final UnaryCallSettings deleteNodePoolSettings;
   private final UnaryCallSettings
       rollbackNodePoolUpgradeSettings;
   private final UnaryCallSettings
@@ -170,6 +170,16 @@ public class ClusterManagerStubSettings extends StubSettings
       listUsableSubnetworksSettings;
 
+  /** Returns the object with the settings used for calls to deleteCluster. */
+  public UnaryCallSettings deleteClusterSettings() {
+    return deleteClusterSettings;
+  }
+
+  /** Returns the object with the settings used for calls to deleteNodePool. */
+  public UnaryCallSettings deleteNodePoolSettings() {
+    return deleteNodePoolSettings;
+  }
+
   /** Returns the object with the settings used for calls to listClusters. */
   public UnaryCallSettings listClustersSettings() {
     return listClustersSettings;
@@ -231,11 +241,6 @@ public UnaryCallSettings setMasterAuthSettings(
     return setMasterAuthSettings;
   }
 
-  /** Returns the object with the settings used for calls to deleteCluster. */
-  public UnaryCallSettings deleteClusterSettings() {
-    return deleteClusterSettings;
-  }
-
   /** Returns the object with the settings used for calls to listOperations. */
   public UnaryCallSettings listOperationsSettings() {
     return listOperationsSettings;
@@ -271,11 +276,6 @@ public UnaryCallSettings createNodePoolSetting
     return createNodePoolSettings;
   }
 
-  /** Returns the object with the settings used for calls to deleteNodePool. */
-  public UnaryCallSettings deleteNodePoolSettings() {
-    return deleteNodePoolSettings;
-  }
-
   /** Returns the object with the settings used for calls to rollbackNodePoolUpgrade. */
   public UnaryCallSettings
       rollbackNodePoolUpgradeSettings() {
@@ -401,6 +401,8 @@ public Builder toBuilder() {
   protected ClusterManagerStubSettings(Builder settingsBuilder) throws IOException {
     super(settingsBuilder);
 
+    deleteClusterSettings = settingsBuilder.deleteClusterSettings().build();
+    deleteNodePoolSettings = settingsBuilder.deleteNodePoolSettings().build();
     listClustersSettings = settingsBuilder.listClustersSettings().build();
     getClusterSettings = settingsBuilder.getClusterSettings().build();
     createClusterSettings = settingsBuilder.createClusterSettings().build();
@@ -413,7 +415,6 @@ protected ClusterManagerStubSettings(Builder settingsBuilder) throws IOException
     setLocationsSettings = settingsBuilder.setLocationsSettings().build();
     updateMasterSettings = settingsBuilder.updateMasterSettings().build();
     setMasterAuthSettings = settingsBuilder.setMasterAuthSettings().build();
-    deleteClusterSettings = settingsBuilder.deleteClusterSettings().build();
     listOperationsSettings = settingsBuilder.listOperationsSettings().build();
     getOperationSettings = settingsBuilder.getOperationSettings().build();
     cancelOperationSettings = settingsBuilder.cancelOperationSettings().build();
@@ -421,7 +422,6 @@ protected ClusterManagerStubSettings(Builder settingsBuilder) throws IOException
     listNodePoolsSettings = settingsBuilder.listNodePoolsSettings().build();
     getNodePoolSettings = settingsBuilder.getNodePoolSettings().build();
     createNodePoolSettings = settingsBuilder.createNodePoolSettings().build();
-    deleteNodePoolSettings = settingsBuilder.deleteNodePoolSettings().build();
     rollbackNodePoolUpgradeSettings = settingsBuilder.rollbackNodePoolUpgradeSettings().build();
     setNodePoolManagementSettings = settingsBuilder.setNodePoolManagementSettings().build();
     setLabelsSettings = settingsBuilder.setLabelsSettings().build();
@@ -503,6 +503,9 @@ public ApiFuture getFuturePagedResponse(
   public static class Builder extends StubSettings.Builder {
     private final ImmutableList> unaryMethodSettingsBuilders;
 
+    private final UnaryCallSettings.Builder deleteClusterSettings;
+    private final UnaryCallSettings.Builder
+        deleteNodePoolSettings;
     private final UnaryCallSettings.Builder
         listClustersSettings;
     private final UnaryCallSettings.Builder getClusterSettings;
@@ -521,7 +524,6 @@ public static class Builder extends StubSettings.Builder setLocationsSettings;
     private final UnaryCallSettings.Builder updateMasterSettings;
     private final UnaryCallSettings.Builder setMasterAuthSettings;
-    private final UnaryCallSettings.Builder deleteClusterSettings;
     private final UnaryCallSettings.Builder
         listOperationsSettings;
     private final UnaryCallSettings.Builder getOperationSettings;
@@ -533,8 +535,6 @@ public static class Builder extends StubSettings.Builder getNodePoolSettings;
     private final UnaryCallSettings.Builder
         createNodePoolSettings;
-    private final UnaryCallSettings.Builder
-        deleteNodePoolSettings;
     private final UnaryCallSettings.Builder
         rollbackNodePoolUpgradeSettings;
     private final UnaryCallSettings.Builder
@@ -598,6 +598,10 @@ protected Builder() {
     protected Builder(ClientContext clientContext) {
       super(clientContext);
 
+      deleteClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
+      deleteNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
+
       listClustersSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       getClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
@@ -622,8 +626,6 @@ protected Builder(ClientContext clientContext) {
 
       setMasterAuthSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
-      deleteClusterSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
       listOperationsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       getOperationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
@@ -638,8 +640,6 @@ protected Builder(ClientContext clientContext) {
 
       createNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
-      deleteNodePoolSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
-
       rollbackNodePoolUpgradeSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
 
       setNodePoolManagementSettings = UnaryCallSettings.newUnaryCallSettingsBuilder();
@@ -663,6 +663,8 @@ protected Builder(ClientContext clientContext) {
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
+              deleteClusterSettings,
+              deleteNodePoolSettings,
               listClustersSettings,
               getClusterSettings,
               createClusterSettings,
@@ -675,7 +677,6 @@ protected Builder(ClientContext clientContext) {
               setLocationsSettings,
               updateMasterSettings,
               setMasterAuthSettings,
-              deleteClusterSettings,
               listOperationsSettings,
               getOperationSettings,
               cancelOperationSettings,
@@ -683,7 +684,6 @@ protected Builder(ClientContext clientContext) {
               listNodePoolsSettings,
               getNodePoolSettings,
               createNodePoolSettings,
-              deleteNodePoolSettings,
               rollbackNodePoolUpgradeSettings,
               setNodePoolManagementSettings,
               setLabelsSettings,
@@ -709,6 +709,16 @@ private static Builder createDefault() {
 
     private static Builder initDefaults(Builder builder) {
 
+      builder
+          .deleteClusterSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+
+      builder
+          .deleteNodePoolSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+
       builder
           .listClustersSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
@@ -769,11 +779,6 @@ private static Builder initDefaults(Builder builder) {
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
-      builder
-          .deleteClusterSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
-
       builder
           .listOperationsSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
@@ -809,11 +814,6 @@ private static Builder initDefaults(Builder builder) {
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
           .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
 
-      builder
-          .deleteNodePoolSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
-
       builder
           .rollbackNodePoolUpgradeSettings()
           .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
@@ -870,6 +870,8 @@ private static Builder initDefaults(Builder builder) {
     protected Builder(ClusterManagerStubSettings settings) {
       super(settings);
 
+      deleteClusterSettings = settings.deleteClusterSettings.toBuilder();
+      deleteNodePoolSettings = settings.deleteNodePoolSettings.toBuilder();
       listClustersSettings = settings.listClustersSettings.toBuilder();
       getClusterSettings = settings.getClusterSettings.toBuilder();
       createClusterSettings = settings.createClusterSettings.toBuilder();
@@ -882,7 +884,6 @@ protected Builder(ClusterManagerStubSettings settings) {
       setLocationsSettings = settings.setLocationsSettings.toBuilder();
       updateMasterSettings = settings.updateMasterSettings.toBuilder();
       setMasterAuthSettings = settings.setMasterAuthSettings.toBuilder();
-      deleteClusterSettings = settings.deleteClusterSettings.toBuilder();
       listOperationsSettings = settings.listOperationsSettings.toBuilder();
       getOperationSettings = settings.getOperationSettings.toBuilder();
       cancelOperationSettings = settings.cancelOperationSettings.toBuilder();
@@ -890,7 +891,6 @@ protected Builder(ClusterManagerStubSettings settings) {
       listNodePoolsSettings = settings.listNodePoolsSettings.toBuilder();
       getNodePoolSettings = settings.getNodePoolSettings.toBuilder();
       createNodePoolSettings = settings.createNodePoolSettings.toBuilder();
-      deleteNodePoolSettings = settings.deleteNodePoolSettings.toBuilder();
       rollbackNodePoolUpgradeSettings = settings.rollbackNodePoolUpgradeSettings.toBuilder();
       setNodePoolManagementSettings = settings.setNodePoolManagementSettings.toBuilder();
       setLabelsSettings = settings.setLabelsSettings.toBuilder();
@@ -904,6 +904,8 @@ protected Builder(ClusterManagerStubSettings settings) {
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
+              deleteClusterSettings,
+              deleteNodePoolSettings,
               listClustersSettings,
               getClusterSettings,
               createClusterSettings,
@@ -916,7 +918,6 @@ protected Builder(ClusterManagerStubSettings settings) {
               setLocationsSettings,
               updateMasterSettings,
               setMasterAuthSettings,
-              deleteClusterSettings,
               listOperationsSettings,
               getOperationSettings,
               cancelOperationSettings,
@@ -924,7 +925,6 @@ protected Builder(ClusterManagerStubSettings settings) {
               listNodePoolsSettings,
               getNodePoolSettings,
               createNodePoolSettings,
-              deleteNodePoolSettings,
               rollbackNodePoolUpgradeSettings,
               setNodePoolManagementSettings,
               setLabelsSettings,
@@ -953,6 +953,16 @@ public Builder applyToAllUnaryMethods(
       return unaryMethodSettingsBuilders;
     }
 
+    /** Returns the builder for the settings used for calls to deleteCluster. */
+    public UnaryCallSettings.Builder deleteClusterSettings() {
+      return deleteClusterSettings;
+    }
+
+    /** Returns the builder for the settings used for calls to deleteNodePool. */
+    public UnaryCallSettings.Builder deleteNodePoolSettings() {
+      return deleteNodePoolSettings;
+    }
+
     /** Returns the builder for the settings used for calls to listClusters. */
     public UnaryCallSettings.Builder
         listClustersSettings() {
@@ -1017,11 +1027,6 @@ public UnaryCallSettings.Builder setMasterAuthS
       return setMasterAuthSettings;
     }
 
-    /** Returns the builder for the settings used for calls to deleteCluster. */
-    public UnaryCallSettings.Builder deleteClusterSettings() {
-      return deleteClusterSettings;
-    }
-
     /** Returns the builder for the settings used for calls to listOperations. */
     public UnaryCallSettings.Builder
         listOperationsSettings() {
@@ -1060,11 +1065,6 @@ public UnaryCallSettings.Builder createNodePoo
       return createNodePoolSettings;
     }
 
-    /** Returns the builder for the settings used for calls to deleteNodePool. */
-    public UnaryCallSettings.Builder deleteNodePoolSettings() {
-      return deleteNodePoolSettings;
-    }
-
     /** Returns the builder for the settings used for calls to rollbackNodePoolUpgrade. */
     public UnaryCallSettings.Builder
         rollbackNodePoolUpgradeSettings() {
diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java
index 133fef89..f5d214cd 100644
--- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java
+++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java
@@ -83,6 +83,24 @@
 @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
 public class GrpcClusterManagerStub extends ClusterManagerStub {
 
+  private static final MethodDescriptor
+      deleteClusterMethodDescriptor =
+          MethodDescriptor.newBuilder()
+              .setType(MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName("google.container.v1.ClusterManager/DeleteCluster")
+              .setRequestMarshaller(
+                  ProtoUtils.marshaller(DeleteClusterRequest.getDefaultInstance()))
+              .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
+              .build();
+  private static final MethodDescriptor
+      deleteNodePoolMethodDescriptor =
+          MethodDescriptor.newBuilder()
+              .setType(MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName("google.container.v1.ClusterManager/DeleteNodePool")
+              .setRequestMarshaller(
+                  ProtoUtils.marshaller(DeleteNodePoolRequest.getDefaultInstance()))
+              .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
+              .build();
   private static final MethodDescriptor
       listClustersMethodDescriptor =
           MethodDescriptor.newBuilder()
@@ -187,15 +205,6 @@ public class GrpcClusterManagerStub extends ClusterManagerStub {
                   ProtoUtils.marshaller(SetMasterAuthRequest.getDefaultInstance()))
               .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
               .build();
-  private static final MethodDescriptor
-      deleteClusterMethodDescriptor =
-          MethodDescriptor.newBuilder()
-              .setType(MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName("google.container.v1.ClusterManager/DeleteCluster")
-              .setRequestMarshaller(
-                  ProtoUtils.marshaller(DeleteClusterRequest.getDefaultInstance()))
-              .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
-              .build();
   private static final MethodDescriptor
       listOperationsMethodDescriptor =
           MethodDescriptor.newBuilder()
@@ -258,15 +267,6 @@ public class GrpcClusterManagerStub extends ClusterManagerStub {
                   ProtoUtils.marshaller(CreateNodePoolRequest.getDefaultInstance()))
               .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
               .build();
-  private static final MethodDescriptor
-      deleteNodePoolMethodDescriptor =
-          MethodDescriptor.newBuilder()
-              .setType(MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName("google.container.v1.ClusterManager/DeleteNodePool")
-              .setRequestMarshaller(
-                  ProtoUtils.marshaller(DeleteNodePoolRequest.getDefaultInstance()))
-              .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
-              .build();
   private static final MethodDescriptor
       rollbackNodePoolUpgradeMethodDescriptor =
           MethodDescriptor.newBuilder()
@@ -359,6 +359,8 @@ public class GrpcClusterManagerStub extends ClusterManagerStub {
 
   private final BackgroundResource backgroundResources;
 
+  private final UnaryCallable deleteClusterCallable;
+  private final UnaryCallable deleteNodePoolCallable;
   private final UnaryCallable listClustersCallable;
   private final UnaryCallable getClusterCallable;
   private final UnaryCallable createClusterCallable;
@@ -372,7 +374,6 @@ public class GrpcClusterManagerStub extends ClusterManagerStub {
   private final UnaryCallable setLocationsCallable;
   private final UnaryCallable updateMasterCallable;
   private final UnaryCallable setMasterAuthCallable;
-  private final UnaryCallable deleteClusterCallable;
   private final UnaryCallable listOperationsCallable;
   private final UnaryCallable getOperationCallable;
   private final UnaryCallable cancelOperationCallable;
@@ -380,7 +381,6 @@ public class GrpcClusterManagerStub extends ClusterManagerStub {
   private final UnaryCallable listNodePoolsCallable;
   private final UnaryCallable getNodePoolCallable;
   private final UnaryCallable createNodePoolCallable;
-  private final UnaryCallable deleteNodePoolCallable;
   private final UnaryCallable
       rollbackNodePoolUpgradeCallable;
   private final UnaryCallable
@@ -438,6 +438,32 @@ protected GrpcClusterManagerStub(
       throws IOException {
     this.callableFactory = callableFactory;
 
+    GrpcCallSettings deleteClusterTransportSettings =
+        GrpcCallSettings.newBuilder()
+            .setMethodDescriptor(deleteClusterMethodDescriptor)
+            .setParamsExtractor(
+                new RequestParamsExtractor() {
+                  @Override
+                  public Map extract(DeleteClusterRequest request) {
+                    ImmutableMap.Builder params = ImmutableMap.builder();
+                    params.put("name", String.valueOf(request.getName()));
+                    return params.build();
+                  }
+                })
+            .build();
+    GrpcCallSettings deleteNodePoolTransportSettings =
+        GrpcCallSettings.newBuilder()
+            .setMethodDescriptor(deleteNodePoolMethodDescriptor)
+            .setParamsExtractor(
+                new RequestParamsExtractor() {
+                  @Override
+                  public Map extract(DeleteNodePoolRequest request) {
+                    ImmutableMap.Builder params = ImmutableMap.builder();
+                    params.put("name", String.valueOf(request.getName()));
+                    return params.build();
+                  }
+                })
+            .build();
     GrpcCallSettings listClustersTransportSettings =
         GrpcCallSettings.newBuilder()
             .setMethodDescriptor(listClustersMethodDescriptor)
@@ -595,19 +621,6 @@ public Map extract(SetMasterAuthRequest request) {
                   }
                 })
             .build();
-    GrpcCallSettings deleteClusterTransportSettings =
-        GrpcCallSettings.newBuilder()
-            .setMethodDescriptor(deleteClusterMethodDescriptor)
-            .setParamsExtractor(
-                new RequestParamsExtractor() {
-                  @Override
-                  public Map extract(DeleteClusterRequest request) {
-                    ImmutableMap.Builder params = ImmutableMap.builder();
-                    params.put("name", String.valueOf(request.getName()));
-                    return params.build();
-                  }
-                })
-            .build();
     GrpcCallSettings
         listOperationsTransportSettings =
             GrpcCallSettings.newBuilder()
@@ -700,19 +713,6 @@ public Map extract(CreateNodePoolRequest request) {
                   }
                 })
             .build();
-    GrpcCallSettings deleteNodePoolTransportSettings =
-        GrpcCallSettings.newBuilder()
-            .setMethodDescriptor(deleteNodePoolMethodDescriptor)
-            .setParamsExtractor(
-                new RequestParamsExtractor() {
-                  @Override
-                  public Map extract(DeleteNodePoolRequest request) {
-                    ImmutableMap.Builder params = ImmutableMap.builder();
-                    params.put("name", String.valueOf(request.getName()));
-                    return params.build();
-                  }
-                })
-            .build();
     GrpcCallSettings
         rollbackNodePoolUpgradeTransportSettings =
             GrpcCallSettings.newBuilder()
@@ -848,6 +848,12 @@ public Map extract(ListUsableSubnetworksRequest request) {
                     })
                 .build();
 
+    this.deleteClusterCallable =
+        callableFactory.createUnaryCallable(
+            deleteClusterTransportSettings, settings.deleteClusterSettings(), clientContext);
+    this.deleteNodePoolCallable =
+        callableFactory.createUnaryCallable(
+            deleteNodePoolTransportSettings, settings.deleteNodePoolSettings(), clientContext);
     this.listClustersCallable =
         callableFactory.createUnaryCallable(
             listClustersTransportSettings, settings.listClustersSettings(), clientContext);
@@ -890,9 +896,6 @@ public Map extract(ListUsableSubnetworksRequest request) {
     this.setMasterAuthCallable =
         callableFactory.createUnaryCallable(
             setMasterAuthTransportSettings, settings.setMasterAuthSettings(), clientContext);
-    this.deleteClusterCallable =
-        callableFactory.createUnaryCallable(
-            deleteClusterTransportSettings, settings.deleteClusterSettings(), clientContext);
     this.listOperationsCallable =
         callableFactory.createUnaryCallable(
             listOperationsTransportSettings, settings.listOperationsSettings(), clientContext);
@@ -914,9 +917,6 @@ public Map extract(ListUsableSubnetworksRequest request) {
     this.createNodePoolCallable =
         callableFactory.createUnaryCallable(
             createNodePoolTransportSettings, settings.createNodePoolSettings(), clientContext);
-    this.deleteNodePoolCallable =
-        callableFactory.createUnaryCallable(
-            deleteNodePoolTransportSettings, settings.deleteNodePoolSettings(), clientContext);
     this.rollbackNodePoolUpgradeCallable =
         callableFactory.createUnaryCallable(
             rollbackNodePoolUpgradeTransportSettings,
@@ -966,6 +966,14 @@ public Map extract(ListUsableSubnetworksRequest request) {
     backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources());
   }
 
+  public UnaryCallable deleteClusterCallable() {
+    return deleteClusterCallable;
+  }
+
+  public UnaryCallable deleteNodePoolCallable() {
+    return deleteNodePoolCallable;
+  }
+
   public UnaryCallable listClustersCallable() {
     return listClustersCallable;
   }
@@ -1014,10 +1022,6 @@ public UnaryCallable setMasterAuthCallable() {
     return setMasterAuthCallable;
   }
 
-  public UnaryCallable deleteClusterCallable() {
-    return deleteClusterCallable;
-  }
-
   public UnaryCallable listOperationsCallable() {
     return listOperationsCallable;
   }
@@ -1046,10 +1050,6 @@ public UnaryCallable createNodePoolCallable()
     return createNodePoolCallable;
   }
 
-  public UnaryCallable deleteNodePoolCallable() {
-    return deleteNodePoolCallable;
-  }
-
   public UnaryCallable
       rollbackNodePoolUpgradeCallable() {
     return rollbackNodePoolUpgradeCallable;
diff --git a/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java b/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java
index 2522bf17..75ef96ee 100644
--- a/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java
+++ b/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java
@@ -128,6 +128,268 @@ public void tearDown() throws Exception {
     client.close();
   }
 
+  @Test
+  @SuppressWarnings("all")
+  public void deleteClusterTest() {
+    String name = "name3373707";
+    String zone2 = "zone2-696322977";
+    String detail = "detail-1335224239";
+    String statusMessage = "statusMessage-239442758";
+    String selfLink = "selfLink-1691268851";
+    String targetLink = "targetLink-2084812312";
+    String location = "location1901043637";
+    String startTime = "startTime-1573145462";
+    String endTime = "endTime1725551537";
+    Operation expectedResponse =
+        Operation.newBuilder()
+            .setName(name)
+            .setZone(zone2)
+            .setDetail(detail)
+            .setStatusMessage(statusMessage)
+            .setSelfLink(selfLink)
+            .setTargetLink(targetLink)
+            .setLocation(location)
+            .setStartTime(startTime)
+            .setEndTime(endTime)
+            .build();
+    mockClusterManager.addResponse(expectedResponse);
+
+    String projectId = "projectId-1969970175";
+    String zone = "zone3744684";
+    String clusterId = "clusterId240280960";
+
+    Operation actualResponse = client.deleteCluster(projectId, zone, clusterId);
+    Assert.assertEquals(expectedResponse, actualResponse);
+
+    List actualRequests = mockClusterManager.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    DeleteClusterRequest actualRequest = (DeleteClusterRequest) actualRequests.get(0);
+
+    Assert.assertEquals(projectId, actualRequest.getProjectId());
+    Assert.assertEquals(zone, actualRequest.getZone());
+    Assert.assertEquals(clusterId, actualRequest.getClusterId());
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteClusterExceptionTest() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
+    mockClusterManager.addException(exception);
+
+    try {
+      String projectId = "projectId-1969970175";
+      String zone = "zone3744684";
+      String clusterId = "clusterId240280960";
+
+      client.deleteCluster(projectId, zone, clusterId);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception
+    }
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteClusterTest2() {
+    String name = "name3373707";
+    String zone2 = "zone2-696322977";
+    String detail = "detail-1335224239";
+    String statusMessage = "statusMessage-239442758";
+    String selfLink = "selfLink-1691268851";
+    String targetLink = "targetLink-2084812312";
+    String location = "location1901043637";
+    String startTime = "startTime-1573145462";
+    String endTime = "endTime1725551537";
+    Operation expectedResponse =
+        Operation.newBuilder()
+            .setName(name)
+            .setZone(zone2)
+            .setDetail(detail)
+            .setStatusMessage(statusMessage)
+            .setSelfLink(selfLink)
+            .setTargetLink(targetLink)
+            .setLocation(location)
+            .setStartTime(startTime)
+            .setEndTime(endTime)
+            .build();
+    mockClusterManager.addResponse(expectedResponse);
+
+    String projectId = "projectId-1969970175";
+    String zone = "zone3744684";
+    String clusterId = "clusterId240280960";
+
+    Operation actualResponse = client.deleteCluster(projectId, zone, clusterId);
+    Assert.assertEquals(expectedResponse, actualResponse);
+
+    List actualRequests = mockClusterManager.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    DeleteClusterRequest actualRequest = (DeleteClusterRequest) actualRequests.get(0);
+
+    Assert.assertEquals(projectId, actualRequest.getProjectId());
+    Assert.assertEquals(zone, actualRequest.getZone());
+    Assert.assertEquals(clusterId, actualRequest.getClusterId());
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteClusterExceptionTest2() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
+    mockClusterManager.addException(exception);
+
+    try {
+      String projectId = "projectId-1969970175";
+      String zone = "zone3744684";
+      String clusterId = "clusterId240280960";
+
+      client.deleteCluster(projectId, zone, clusterId);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception
+    }
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteNodePoolTest() {
+    String name = "name3373707";
+    String zone2 = "zone2-696322977";
+    String detail = "detail-1335224239";
+    String statusMessage = "statusMessage-239442758";
+    String selfLink = "selfLink-1691268851";
+    String targetLink = "targetLink-2084812312";
+    String location = "location1901043637";
+    String startTime = "startTime-1573145462";
+    String endTime = "endTime1725551537";
+    Operation expectedResponse =
+        Operation.newBuilder()
+            .setName(name)
+            .setZone(zone2)
+            .setDetail(detail)
+            .setStatusMessage(statusMessage)
+            .setSelfLink(selfLink)
+            .setTargetLink(targetLink)
+            .setLocation(location)
+            .setStartTime(startTime)
+            .setEndTime(endTime)
+            .build();
+    mockClusterManager.addResponse(expectedResponse);
+
+    String projectId = "projectId-1969970175";
+    String zone = "zone3744684";
+    String clusterId = "clusterId240280960";
+    String nodePoolId = "nodePoolId1043384033";
+
+    Operation actualResponse = client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
+    Assert.assertEquals(expectedResponse, actualResponse);
+
+    List actualRequests = mockClusterManager.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    DeleteNodePoolRequest actualRequest = (DeleteNodePoolRequest) actualRequests.get(0);
+
+    Assert.assertEquals(projectId, actualRequest.getProjectId());
+    Assert.assertEquals(zone, actualRequest.getZone());
+    Assert.assertEquals(clusterId, actualRequest.getClusterId());
+    Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId());
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteNodePoolExceptionTest() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
+    mockClusterManager.addException(exception);
+
+    try {
+      String projectId = "projectId-1969970175";
+      String zone = "zone3744684";
+      String clusterId = "clusterId240280960";
+      String nodePoolId = "nodePoolId1043384033";
+
+      client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception
+    }
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteNodePoolTest2() {
+    String name = "name3373707";
+    String zone2 = "zone2-696322977";
+    String detail = "detail-1335224239";
+    String statusMessage = "statusMessage-239442758";
+    String selfLink = "selfLink-1691268851";
+    String targetLink = "targetLink-2084812312";
+    String location = "location1901043637";
+    String startTime = "startTime-1573145462";
+    String endTime = "endTime1725551537";
+    Operation expectedResponse =
+        Operation.newBuilder()
+            .setName(name)
+            .setZone(zone2)
+            .setDetail(detail)
+            .setStatusMessage(statusMessage)
+            .setSelfLink(selfLink)
+            .setTargetLink(targetLink)
+            .setLocation(location)
+            .setStartTime(startTime)
+            .setEndTime(endTime)
+            .build();
+    mockClusterManager.addResponse(expectedResponse);
+
+    String projectId = "projectId-1969970175";
+    String zone = "zone3744684";
+    String clusterId = "clusterId240280960";
+    String nodePoolId = "nodePoolId1043384033";
+
+    Operation actualResponse = client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
+    Assert.assertEquals(expectedResponse, actualResponse);
+
+    List actualRequests = mockClusterManager.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    DeleteNodePoolRequest actualRequest = (DeleteNodePoolRequest) actualRequests.get(0);
+
+    Assert.assertEquals(projectId, actualRequest.getProjectId());
+    Assert.assertEquals(zone, actualRequest.getZone());
+    Assert.assertEquals(clusterId, actualRequest.getClusterId());
+    Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId());
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteNodePoolExceptionTest2() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
+    mockClusterManager.addException(exception);
+
+    try {
+      String projectId = "projectId-1969970175";
+      String zone = "zone3744684";
+      String clusterId = "clusterId240280960";
+      String nodePoolId = "nodePoolId1043384033";
+
+      client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception
+    }
+  }
+
   @Test
   @SuppressWarnings("all")
   public void listClustersTest() {
@@ -1176,141 +1438,7 @@ public void setAddonsConfigTest2() {
     Assert.assertEquals(projectId, actualRequest.getProjectId());
     Assert.assertEquals(zone, actualRequest.getZone());
     Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertEquals(addonsConfig, actualRequest.getAddonsConfig());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void setAddonsConfigExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
-    mockClusterManager.addException(exception);
-
-    try {
-      String projectId = "projectId-1969970175";
-      String zone = "zone3744684";
-      String clusterId = "clusterId240280960";
-      AddonsConfig addonsConfig = AddonsConfig.newBuilder().build();
-
-      client.setAddonsConfig(projectId, zone, clusterId, addonsConfig);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception
-    }
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void setLocationsTest() {
-    String name = "name3373707";
-    String zone2 = "zone2-696322977";
-    String detail = "detail-1335224239";
-    String statusMessage = "statusMessage-239442758";
-    String selfLink = "selfLink-1691268851";
-    String targetLink = "targetLink-2084812312";
-    String location = "location1901043637";
-    String startTime = "startTime-1573145462";
-    String endTime = "endTime1725551537";
-    Operation expectedResponse =
-        Operation.newBuilder()
-            .setName(name)
-            .setZone(zone2)
-            .setDetail(detail)
-            .setStatusMessage(statusMessage)
-            .setSelfLink(selfLink)
-            .setTargetLink(targetLink)
-            .setLocation(location)
-            .setStartTime(startTime)
-            .setEndTime(endTime)
-            .build();
-    mockClusterManager.addResponse(expectedResponse);
-
-    String projectId = "projectId-1969970175";
-    String zone = "zone3744684";
-    String clusterId = "clusterId240280960";
-    List locations = new ArrayList<>();
-
-    Operation actualResponse = client.setLocations(projectId, zone, clusterId, locations);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockClusterManager.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    SetLocationsRequest actualRequest = (SetLocationsRequest) actualRequests.get(0);
-
-    Assert.assertEquals(projectId, actualRequest.getProjectId());
-    Assert.assertEquals(zone, actualRequest.getZone());
-    Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertEquals(locations, actualRequest.getLocationsList());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void setLocationsExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
-    mockClusterManager.addException(exception);
-
-    try {
-      String projectId = "projectId-1969970175";
-      String zone = "zone3744684";
-      String clusterId = "clusterId240280960";
-      List locations = new ArrayList<>();
-
-      client.setLocations(projectId, zone, clusterId, locations);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception
-    }
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void setLocationsTest2() {
-    String name = "name3373707";
-    String zone2 = "zone2-696322977";
-    String detail = "detail-1335224239";
-    String statusMessage = "statusMessage-239442758";
-    String selfLink = "selfLink-1691268851";
-    String targetLink = "targetLink-2084812312";
-    String location = "location1901043637";
-    String startTime = "startTime-1573145462";
-    String endTime = "endTime1725551537";
-    Operation expectedResponse =
-        Operation.newBuilder()
-            .setName(name)
-            .setZone(zone2)
-            .setDetail(detail)
-            .setStatusMessage(statusMessage)
-            .setSelfLink(selfLink)
-            .setTargetLink(targetLink)
-            .setLocation(location)
-            .setStartTime(startTime)
-            .setEndTime(endTime)
-            .build();
-    mockClusterManager.addResponse(expectedResponse);
-
-    String projectId = "projectId-1969970175";
-    String zone = "zone3744684";
-    String clusterId = "clusterId240280960";
-    List locations = new ArrayList<>();
-
-    Operation actualResponse = client.setLocations(projectId, zone, clusterId, locations);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockClusterManager.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    SetLocationsRequest actualRequest = (SetLocationsRequest) actualRequests.get(0);
-
-    Assert.assertEquals(projectId, actualRequest.getProjectId());
-    Assert.assertEquals(zone, actualRequest.getZone());
-    Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertEquals(locations, actualRequest.getLocationsList());
+    Assert.assertEquals(addonsConfig, actualRequest.getAddonsConfig());
     Assert.assertTrue(
         channelProvider.isHeaderSent(
             ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -1319,7 +1447,7 @@ public void setLocationsTest2() {
 
   @Test
   @SuppressWarnings("all")
-  public void setLocationsExceptionTest2() throws Exception {
+  public void setAddonsConfigExceptionTest2() throws Exception {
     StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
     mockClusterManager.addException(exception);
 
@@ -1327,9 +1455,9 @@ public void setLocationsExceptionTest2() throws Exception {
       String projectId = "projectId-1969970175";
       String zone = "zone3744684";
       String clusterId = "clusterId240280960";
-      List locations = new ArrayList<>();
+      AddonsConfig addonsConfig = AddonsConfig.newBuilder().build();
 
-      client.setLocations(projectId, zone, clusterId, locations);
+      client.setAddonsConfig(projectId, zone, clusterId, addonsConfig);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
       // Expected exception
@@ -1338,7 +1466,7 @@ public void setLocationsExceptionTest2() throws Exception {
 
   @Test
   @SuppressWarnings("all")
-  public void updateMasterTest() {
+  public void setLocationsTest() {
     String name = "name3373707";
     String zone2 = "zone2-696322977";
     String detail = "detail-1335224239";
@@ -1365,19 +1493,19 @@ public void updateMasterTest() {
     String projectId = "projectId-1969970175";
     String zone = "zone3744684";
     String clusterId = "clusterId240280960";
-    String masterVersion = "masterVersion-2139460613";
+    List locations = new ArrayList<>();
 
-    Operation actualResponse = client.updateMaster(projectId, zone, clusterId, masterVersion);
+    Operation actualResponse = client.setLocations(projectId, zone, clusterId, locations);
     Assert.assertEquals(expectedResponse, actualResponse);
 
     List actualRequests = mockClusterManager.getRequests();
     Assert.assertEquals(1, actualRequests.size());
-    UpdateMasterRequest actualRequest = (UpdateMasterRequest) actualRequests.get(0);
+    SetLocationsRequest actualRequest = (SetLocationsRequest) actualRequests.get(0);
 
     Assert.assertEquals(projectId, actualRequest.getProjectId());
     Assert.assertEquals(zone, actualRequest.getZone());
     Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertEquals(masterVersion, actualRequest.getMasterVersion());
+    Assert.assertEquals(locations, actualRequest.getLocationsList());
     Assert.assertTrue(
         channelProvider.isHeaderSent(
             ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -1386,7 +1514,7 @@ public void updateMasterTest() {
 
   @Test
   @SuppressWarnings("all")
-  public void updateMasterExceptionTest() throws Exception {
+  public void setLocationsExceptionTest() throws Exception {
     StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
     mockClusterManager.addException(exception);
 
@@ -1394,9 +1522,9 @@ public void updateMasterExceptionTest() throws Exception {
       String projectId = "projectId-1969970175";
       String zone = "zone3744684";
       String clusterId = "clusterId240280960";
-      String masterVersion = "masterVersion-2139460613";
+      List locations = new ArrayList<>();
 
-      client.updateMaster(projectId, zone, clusterId, masterVersion);
+      client.setLocations(projectId, zone, clusterId, locations);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
       // Expected exception
@@ -1405,7 +1533,7 @@ public void updateMasterExceptionTest() throws Exception {
 
   @Test
   @SuppressWarnings("all")
-  public void updateMasterTest2() {
+  public void setLocationsTest2() {
     String name = "name3373707";
     String zone2 = "zone2-696322977";
     String detail = "detail-1335224239";
@@ -1432,19 +1560,19 @@ public void updateMasterTest2() {
     String projectId = "projectId-1969970175";
     String zone = "zone3744684";
     String clusterId = "clusterId240280960";
-    String masterVersion = "masterVersion-2139460613";
+    List locations = new ArrayList<>();
 
-    Operation actualResponse = client.updateMaster(projectId, zone, clusterId, masterVersion);
+    Operation actualResponse = client.setLocations(projectId, zone, clusterId, locations);
     Assert.assertEquals(expectedResponse, actualResponse);
 
     List actualRequests = mockClusterManager.getRequests();
     Assert.assertEquals(1, actualRequests.size());
-    UpdateMasterRequest actualRequest = (UpdateMasterRequest) actualRequests.get(0);
+    SetLocationsRequest actualRequest = (SetLocationsRequest) actualRequests.get(0);
 
     Assert.assertEquals(projectId, actualRequest.getProjectId());
     Assert.assertEquals(zone, actualRequest.getZone());
     Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertEquals(masterVersion, actualRequest.getMasterVersion());
+    Assert.assertEquals(locations, actualRequest.getLocationsList());
     Assert.assertTrue(
         channelProvider.isHeaderSent(
             ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -1453,7 +1581,7 @@ public void updateMasterTest2() {
 
   @Test
   @SuppressWarnings("all")
-  public void updateMasterExceptionTest2() throws Exception {
+  public void setLocationsExceptionTest2() throws Exception {
     StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
     mockClusterManager.addException(exception);
 
@@ -1461,9 +1589,9 @@ public void updateMasterExceptionTest2() throws Exception {
       String projectId = "projectId-1969970175";
       String zone = "zone3744684";
       String clusterId = "clusterId240280960";
-      String masterVersion = "masterVersion-2139460613";
+      List locations = new ArrayList<>();
 
-      client.updateMaster(projectId, zone, clusterId, masterVersion);
+      client.setLocations(projectId, zone, clusterId, locations);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
       // Expected exception
@@ -1472,9 +1600,9 @@ public void updateMasterExceptionTest2() throws Exception {
 
   @Test
   @SuppressWarnings("all")
-  public void setMasterAuthTest() {
+  public void updateMasterTest() {
     String name = "name3373707";
-    String zone = "zone3744684";
+    String zone2 = "zone2-696322977";
     String detail = "detail-1335224239";
     String statusMessage = "statusMessage-239442758";
     String selfLink = "selfLink-1691268851";
@@ -1485,7 +1613,7 @@ public void setMasterAuthTest() {
     Operation expectedResponse =
         Operation.newBuilder()
             .setName(name)
-            .setZone(zone)
+            .setZone(zone2)
             .setDetail(detail)
             .setStatusMessage(statusMessage)
             .setSelfLink(selfLink)
@@ -1496,20 +1624,22 @@ public void setMasterAuthTest() {
             .build();
     mockClusterManager.addResponse(expectedResponse);
 
-    SetMasterAuthRequest.Action action = SetMasterAuthRequest.Action.UNKNOWN;
-    MasterAuth update = MasterAuth.newBuilder().build();
-    SetMasterAuthRequest request =
-        SetMasterAuthRequest.newBuilder().setAction(action).setUpdate(update).build();
+    String projectId = "projectId-1969970175";
+    String zone = "zone3744684";
+    String clusterId = "clusterId240280960";
+    String masterVersion = "masterVersion-2139460613";
 
-    Operation actualResponse = client.setMasterAuth(request);
+    Operation actualResponse = client.updateMaster(projectId, zone, clusterId, masterVersion);
     Assert.assertEquals(expectedResponse, actualResponse);
 
     List actualRequests = mockClusterManager.getRequests();
     Assert.assertEquals(1, actualRequests.size());
-    SetMasterAuthRequest actualRequest = (SetMasterAuthRequest) actualRequests.get(0);
+    UpdateMasterRequest actualRequest = (UpdateMasterRequest) actualRequests.get(0);
 
-    Assert.assertEquals(action, actualRequest.getAction());
-    Assert.assertEquals(update, actualRequest.getUpdate());
+    Assert.assertEquals(projectId, actualRequest.getProjectId());
+    Assert.assertEquals(zone, actualRequest.getZone());
+    Assert.assertEquals(clusterId, actualRequest.getClusterId());
+    Assert.assertEquals(masterVersion, actualRequest.getMasterVersion());
     Assert.assertTrue(
         channelProvider.isHeaderSent(
             ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -1518,17 +1648,17 @@ public void setMasterAuthTest() {
 
   @Test
   @SuppressWarnings("all")
-  public void setMasterAuthExceptionTest() throws Exception {
+  public void updateMasterExceptionTest() throws Exception {
     StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
     mockClusterManager.addException(exception);
 
     try {
-      SetMasterAuthRequest.Action action = SetMasterAuthRequest.Action.UNKNOWN;
-      MasterAuth update = MasterAuth.newBuilder().build();
-      SetMasterAuthRequest request =
-          SetMasterAuthRequest.newBuilder().setAction(action).setUpdate(update).build();
+      String projectId = "projectId-1969970175";
+      String zone = "zone3744684";
+      String clusterId = "clusterId240280960";
+      String masterVersion = "masterVersion-2139460613";
 
-      client.setMasterAuth(request);
+      client.updateMaster(projectId, zone, clusterId, masterVersion);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
       // Expected exception
@@ -1537,7 +1667,7 @@ public void setMasterAuthExceptionTest() throws Exception {
 
   @Test
   @SuppressWarnings("all")
-  public void deleteClusterTest() {
+  public void updateMasterTest2() {
     String name = "name3373707";
     String zone2 = "zone2-696322977";
     String detail = "detail-1335224239";
@@ -1564,17 +1694,19 @@ public void deleteClusterTest() {
     String projectId = "projectId-1969970175";
     String zone = "zone3744684";
     String clusterId = "clusterId240280960";
+    String masterVersion = "masterVersion-2139460613";
 
-    Operation actualResponse = client.deleteCluster(projectId, zone, clusterId);
+    Operation actualResponse = client.updateMaster(projectId, zone, clusterId, masterVersion);
     Assert.assertEquals(expectedResponse, actualResponse);
 
     List actualRequests = mockClusterManager.getRequests();
     Assert.assertEquals(1, actualRequests.size());
-    DeleteClusterRequest actualRequest = (DeleteClusterRequest) actualRequests.get(0);
+    UpdateMasterRequest actualRequest = (UpdateMasterRequest) actualRequests.get(0);
 
     Assert.assertEquals(projectId, actualRequest.getProjectId());
     Assert.assertEquals(zone, actualRequest.getZone());
     Assert.assertEquals(clusterId, actualRequest.getClusterId());
+    Assert.assertEquals(masterVersion, actualRequest.getMasterVersion());
     Assert.assertTrue(
         channelProvider.isHeaderSent(
             ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -1583,7 +1715,7 @@ public void deleteClusterTest() {
 
   @Test
   @SuppressWarnings("all")
-  public void deleteClusterExceptionTest() throws Exception {
+  public void updateMasterExceptionTest2() throws Exception {
     StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
     mockClusterManager.addException(exception);
 
@@ -1591,8 +1723,9 @@ public void deleteClusterExceptionTest() throws Exception {
       String projectId = "projectId-1969970175";
       String zone = "zone3744684";
       String clusterId = "clusterId240280960";
+      String masterVersion = "masterVersion-2139460613";
 
-      client.deleteCluster(projectId, zone, clusterId);
+      client.updateMaster(projectId, zone, clusterId, masterVersion);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
       // Expected exception
@@ -1601,9 +1734,9 @@ public void deleteClusterExceptionTest() throws Exception {
 
   @Test
   @SuppressWarnings("all")
-  public void deleteClusterTest2() {
+  public void setMasterAuthTest() {
     String name = "name3373707";
-    String zone2 = "zone2-696322977";
+    String zone = "zone3744684";
     String detail = "detail-1335224239";
     String statusMessage = "statusMessage-239442758";
     String selfLink = "selfLink-1691268851";
@@ -1614,7 +1747,7 @@ public void deleteClusterTest2() {
     Operation expectedResponse =
         Operation.newBuilder()
             .setName(name)
-            .setZone(zone2)
+            .setZone(zone)
             .setDetail(detail)
             .setStatusMessage(statusMessage)
             .setSelfLink(selfLink)
@@ -1625,20 +1758,20 @@ public void deleteClusterTest2() {
             .build();
     mockClusterManager.addResponse(expectedResponse);
 
-    String projectId = "projectId-1969970175";
-    String zone = "zone3744684";
-    String clusterId = "clusterId240280960";
+    SetMasterAuthRequest.Action action = SetMasterAuthRequest.Action.UNKNOWN;
+    MasterAuth update = MasterAuth.newBuilder().build();
+    SetMasterAuthRequest request =
+        SetMasterAuthRequest.newBuilder().setAction(action).setUpdate(update).build();
 
-    Operation actualResponse = client.deleteCluster(projectId, zone, clusterId);
+    Operation actualResponse = client.setMasterAuth(request);
     Assert.assertEquals(expectedResponse, actualResponse);
 
     List actualRequests = mockClusterManager.getRequests();
     Assert.assertEquals(1, actualRequests.size());
-    DeleteClusterRequest actualRequest = (DeleteClusterRequest) actualRequests.get(0);
+    SetMasterAuthRequest actualRequest = (SetMasterAuthRequest) actualRequests.get(0);
 
-    Assert.assertEquals(projectId, actualRequest.getProjectId());
-    Assert.assertEquals(zone, actualRequest.getZone());
-    Assert.assertEquals(clusterId, actualRequest.getClusterId());
+    Assert.assertEquals(action, actualRequest.getAction());
+    Assert.assertEquals(update, actualRequest.getUpdate());
     Assert.assertTrue(
         channelProvider.isHeaderSent(
             ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -1647,16 +1780,17 @@ public void deleteClusterTest2() {
 
   @Test
   @SuppressWarnings("all")
-  public void deleteClusterExceptionTest2() throws Exception {
+  public void setMasterAuthExceptionTest() throws Exception {
     StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
     mockClusterManager.addException(exception);
 
     try {
-      String projectId = "projectId-1969970175";
-      String zone = "zone3744684";
-      String clusterId = "clusterId240280960";
+      SetMasterAuthRequest.Action action = SetMasterAuthRequest.Action.UNKNOWN;
+      MasterAuth update = MasterAuth.newBuilder().build();
+      SetMasterAuthRequest request =
+          SetMasterAuthRequest.newBuilder().setAction(action).setUpdate(update).build();
 
-      client.deleteCluster(projectId, zone, clusterId);
+      client.setMasterAuth(request);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
       // Expected exception
@@ -2292,140 +2426,6 @@ public void createNodePoolExceptionTest2() throws Exception {
     }
   }
 
-  @Test
-  @SuppressWarnings("all")
-  public void deleteNodePoolTest() {
-    String name = "name3373707";
-    String zone2 = "zone2-696322977";
-    String detail = "detail-1335224239";
-    String statusMessage = "statusMessage-239442758";
-    String selfLink = "selfLink-1691268851";
-    String targetLink = "targetLink-2084812312";
-    String location = "location1901043637";
-    String startTime = "startTime-1573145462";
-    String endTime = "endTime1725551537";
-    Operation expectedResponse =
-        Operation.newBuilder()
-            .setName(name)
-            .setZone(zone2)
-            .setDetail(detail)
-            .setStatusMessage(statusMessage)
-            .setSelfLink(selfLink)
-            .setTargetLink(targetLink)
-            .setLocation(location)
-            .setStartTime(startTime)
-            .setEndTime(endTime)
-            .build();
-    mockClusterManager.addResponse(expectedResponse);
-
-    String projectId = "projectId-1969970175";
-    String zone = "zone3744684";
-    String clusterId = "clusterId240280960";
-    String nodePoolId = "nodePoolId1043384033";
-
-    Operation actualResponse = client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockClusterManager.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteNodePoolRequest actualRequest = (DeleteNodePoolRequest) actualRequests.get(0);
-
-    Assert.assertEquals(projectId, actualRequest.getProjectId());
-    Assert.assertEquals(zone, actualRequest.getZone());
-    Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteNodePoolExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
-    mockClusterManager.addException(exception);
-
-    try {
-      String projectId = "projectId-1969970175";
-      String zone = "zone3744684";
-      String clusterId = "clusterId240280960";
-      String nodePoolId = "nodePoolId1043384033";
-
-      client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception
-    }
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteNodePoolTest2() {
-    String name = "name3373707";
-    String zone2 = "zone2-696322977";
-    String detail = "detail-1335224239";
-    String statusMessage = "statusMessage-239442758";
-    String selfLink = "selfLink-1691268851";
-    String targetLink = "targetLink-2084812312";
-    String location = "location1901043637";
-    String startTime = "startTime-1573145462";
-    String endTime = "endTime1725551537";
-    Operation expectedResponse =
-        Operation.newBuilder()
-            .setName(name)
-            .setZone(zone2)
-            .setDetail(detail)
-            .setStatusMessage(statusMessage)
-            .setSelfLink(selfLink)
-            .setTargetLink(targetLink)
-            .setLocation(location)
-            .setStartTime(startTime)
-            .setEndTime(endTime)
-            .build();
-    mockClusterManager.addResponse(expectedResponse);
-
-    String projectId = "projectId-1969970175";
-    String zone = "zone3744684";
-    String clusterId = "clusterId240280960";
-    String nodePoolId = "nodePoolId1043384033";
-
-    Operation actualResponse = client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockClusterManager.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteNodePoolRequest actualRequest = (DeleteNodePoolRequest) actualRequests.get(0);
-
-    Assert.assertEquals(projectId, actualRequest.getProjectId());
-    Assert.assertEquals(zone, actualRequest.getZone());
-    Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteNodePoolExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
-    mockClusterManager.addException(exception);
-
-    try {
-      String projectId = "projectId-1969970175";
-      String zone = "zone3744684";
-      String clusterId = "clusterId240280960";
-      String nodePoolId = "nodePoolId1043384033";
-
-      client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception
-    }
-  }
-
   @Test
   @SuppressWarnings("all")
   public void rollbackNodePoolUpgradeTest() {
diff --git a/synth.metadata b/synth.metadata
index 7e83b29a..891e4aa5 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -11,8 +11,8 @@
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "aed11c01e52921613b9ee469c2d85f5f33175fb7",
-        "internalRef": "310660461"
+        "sha": "5a90d467aa65e7f038f87585e8fbb45d74475e7c",
+        "internalRef": "312088359"
       }
     },
     {

From b98a6e5cf003f7b86c602449353f572b8cabcfeb Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate 
Date: Wed, 3 Jun 2020 22:38:21 +0200
Subject: [PATCH 20/89] deps: update dependency com.google.api:api-common to
 v1.9.1 (#171)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | patch | `1.9.0` -> `1.9.1` |

---

### Release Notes

googleapis/api-common-java ### [`v1.9.1`](https://togithub.com/googleapis/api-common-java/releases/v1.9.1) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v1.9.0...v1.9.1) #### Bug Fixes - support complex resource identifiers ([#​125](https://togithub.com/googleapis/api-common-java/pull/125)) ##### Dependencies - Update dependency com.google.auto.value:auto-value-annotations to v1.7.2 ([#​136](https://togithub.com/googleapis/api-common-java/pull/136)) - Update dependency com.google.auto.value:auto-value to v1.7.2 ([#​135](https://togithub.com/googleapis/api-common-java/pull/135))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5486662e..4a285caf 100644 --- a/pom.xml +++ b/pom.xml @@ -64,7 +64,7 @@ github google-cloud-container-parent 1.93.4 - 1.9.0 + 1.9.1 1.18.0 1.56.0 1.29.0 From 334321d4d00b3e19ad4b3901d29956cb5bc20865 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 3 Jun 2020 22:36:12 -0700 Subject: [PATCH 21/89] chore(java_templates): add default CODEOWNERS files for samples reviews (#177) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/129bf4ce-2255-4b88-83a1-1b40d560e3d3/targets Source-Link: https://github.com/googleapis/synthtool/commit/8b65daa222d193b689279162781baf0aa1f0ffd2 --- .github/CODEOWNERS | 8 ++++++++ synth.metadata | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 00000000..6137bef2 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,8 @@ +# Code owners file. +# This file controls who is tagged for review for any given pull request. + +# For syntax help see: +# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax + +# The java-samples-reviewers team is the default owner for samples changes +samples/**/*.java @googleapis/java-samples-reviewers diff --git a/synth.metadata b/synth.metadata index 891e4aa5..d0b63ea2 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "4422a17b4d72f70a2eca61aa6789b0855e5f2c31" + "sha": "b98a6e5cf003f7b86c602449353f572b8cabcfeb" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5b48b0716a36ca069db3038da7e205c87a22ed19" + "sha": "8b65daa222d193b689279162781baf0aa1f0ffd2" } } ], From 687228a424b2744cf2fa60bd62c9bcad7a048db1 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Jun 2020 22:32:26 +0200 Subject: [PATCH 22/89] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.1.0 (#175) This PR contains the following updates: | Package | Update | Change | |---|---|---| | org.apache.maven.plugins:maven-project-info-reports-plugin | minor | `3.0.0` -> `3.1.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4a285caf..a7404efb 100644 --- a/pom.xml +++ b/pom.xml @@ -200,7 +200,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.0.0 + 3.1.0 From bb9954ff7982df60c6ebc5f672ce935888e80dc8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 4 Jun 2020 23:58:16 +0200 Subject: [PATCH 23/89] deps: update dependency com.google.api:api-common to v1.9.2 (#178) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.api:api-common](https://togithub.com/googleapis/api-common-java) | patch | `1.9.1` -> `1.9.2` | --- ### Release Notes
googleapis/api-common-java ### [`v1.9.2`](https://togithub.com/googleapis/api-common-java/releases/v1.9.2) [Compare Source](https://togithub.com/googleapis/api-common-java/compare/v1.9.1...v1.9.2) #### Bug Fixes - parse collection wildcards and `_deleted-topic_` patterns ([#​150](https://togithub.com/googleapis/api-common-java/pull/150))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a7404efb..b606b972 100644 --- a/pom.xml +++ b/pom.xml @@ -64,7 +64,7 @@ github google-cloud-container-parent 1.93.4 - 1.9.1 + 1.9.2 1.18.0 1.56.0 1.29.0 From 2b4d0f1163a6194a983d477bf6ffda11af416549 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Jun 2020 15:20:12 -0700 Subject: [PATCH 24/89] chore: regenerate with updated protoc (#176) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/129bf4ce-2255-4b88-83a1-1b40d560e3d3/targets PiperOrigin-RevId: 313460921 Source-Link: https://github.com/googleapis/googleapis/commit/c4e37010d74071851ff24121f522e802231ac86e --- .../container/v1/AcceleratorConfig.java | 4 + .../com/google/container/v1/AddonsConfig.java | 15 ++ .../v1/AuthenticatorGroupsConfig.java | 4 + .../container/v1/AutoUpgradeOptions.java | 4 + .../v1/AutoprovisioningNodePoolDefaults.java | 2 + .../container/v1/BinaryAuthorization.java | 2 + .../container/v1/CancelOperationRequest.java | 8 ++ .../container/v1/ClientCertificateConfig.java | 2 + .../google/container/v1/CloudRunConfig.java | 2 + .../java/com/google/container/v1/Cluster.java | 130 ++++++++++++++++++ .../container/v1/ClusterAutoscaling.java | 10 ++ .../google/container/v1/ClusterUpdate.java | 39 ++++++ .../v1/CompleteIPRotationRequest.java | 8 ++ .../container/v1/CreateClusterRequest.java | 9 ++ .../container/v1/CreateNodePoolRequest.java | 11 ++ .../container/v1/DailyMaintenanceWindow.java | 4 + .../container/v1/DatabaseEncryption.java | 11 ++ .../container/v1/DeleteClusterRequest.java | 8 ++ .../container/v1/DeleteNodePoolRequest.java | 10 ++ .../container/v1/GetClusterRequest.java | 8 ++ .../container/v1/GetNodePoolRequest.java | 10 ++ .../container/v1/GetOperationRequest.java | 8 ++ .../container/v1/GetServerConfigRequest.java | 6 + .../v1/HorizontalPodAutoscaling.java | 2 + .../container/v1/HttpLoadBalancing.java | 2 + .../container/v1/IPAllocationPolicy.java | 24 ++++ .../v1/IntraNodeVisibilityConfig.java | 2 + .../container/v1/KubernetesDashboard.java | 2 + .../com/google/container/v1/LegacyAbac.java | 2 + .../container/v1/ListClustersRequest.java | 6 + .../container/v1/ListClustersResponse.java | 5 + .../container/v1/ListNodePoolsRequest.java | 8 ++ .../container/v1/ListNodePoolsResponse.java | 5 + .../container/v1/ListOperationsRequest.java | 6 + .../container/v1/ListOperationsResponse.java | 5 + .../v1/ListUsableSubnetworksRequest.java | 8 ++ .../v1/ListUsableSubnetworksResponse.java | 7 + .../container/v1/MaintenancePolicy.java | 5 + .../container/v1/MaintenanceWindow.java | 22 +++ .../com/google/container/v1/MasterAuth.java | 13 ++ .../v1/MasterAuthorizedNetworksConfig.java | 11 ++ .../container/v1/MaxPodsConstraint.java | 2 + .../google/container/v1/NetworkConfig.java | 6 + .../google/container/v1/NetworkPolicy.java | 11 ++ .../container/v1/NetworkPolicyConfig.java | 2 + .../com/google/container/v1/NodeConfig.java | 49 +++++++ .../google/container/v1/NodeManagement.java | 7 + .../com/google/container/v1/NodePool.java | 38 +++++ .../container/v1/NodePoolAutoscaling.java | 8 ++ .../com/google/container/v1/NodeTaint.java | 13 ++ .../com/google/container/v1/Operation.java | 46 +++++++ .../container/v1/PrivateClusterConfig.java | 10 ++ .../container/v1/RecurringTimeWindow.java | 5 + .../google/container/v1/ResourceLimit.java | 6 + .../v1/ResourceUsageExportConfig.java | 12 ++ .../v1/RollbackNodePoolUpgradeRequest.java | 10 ++ .../com/google/container/v1/ServerConfig.java | 4 + .../container/v1/SetAddonsConfigRequest.java | 11 ++ .../google/container/v1/SetLabelsRequest.java | 20 +++ .../container/v1/SetLegacyAbacRequest.java | 10 ++ .../container/v1/SetLocationsRequest.java | 8 ++ .../v1/SetLoggingServiceRequest.java | 10 ++ .../v1/SetMaintenancePolicyRequest.java | 11 ++ .../container/v1/SetMasterAuthRequest.java | 20 +++ .../v1/SetMonitoringServiceRequest.java | 10 ++ .../container/v1/SetNetworkPolicyRequest.java | 11 ++ .../v1/SetNodePoolAutoscalingRequest.java | 13 ++ .../v1/SetNodePoolManagementRequest.java | 13 ++ .../container/v1/SetNodePoolSizeRequest.java | 12 ++ .../container/v1/ShieldedInstanceConfig.java | 4 + .../container/v1/StartIPRotationRequest.java | 10 ++ .../google/container/v1/StatusCondition.java | 11 ++ .../com/google/container/v1/TimeWindow.java | 6 + .../container/v1/UpdateClusterRequest.java | 11 ++ .../container/v1/UpdateMasterRequest.java | 10 ++ .../container/v1/UpdateNodePoolRequest.java | 14 ++ .../google/container/v1/UsableSubnetwork.java | 13 ++ .../v1/UsableSubnetworkSecondaryRange.java | 13 ++ .../container/v1/VerticalPodAutoscaling.java | 2 + synth.metadata | 4 +- 80 files changed, 924 insertions(+), 2 deletions(-) diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java index 5a04cc80..db80fdde 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java @@ -129,6 +129,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The acceleratorCount. */ + @java.lang.Override public long getAcceleratorCount() { return acceleratorCount_; } @@ -147,6 +148,7 @@ public long getAcceleratorCount() { * * @return The acceleratorType. */ + @java.lang.Override public java.lang.String getAcceleratorType() { java.lang.Object ref = acceleratorType_; if (ref instanceof java.lang.String) { @@ -170,6 +172,7 @@ public java.lang.String getAcceleratorType() { * * @return The bytes for acceleratorType. */ + @java.lang.Override public com.google.protobuf.ByteString getAcceleratorTypeBytes() { java.lang.Object ref = acceleratorType_; if (ref instanceof java.lang.String) { @@ -525,6 +528,7 @@ public Builder mergeFrom( * * @return The acceleratorCount. */ + @java.lang.Override public long getAcceleratorCount() { return acceleratorCount_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java index 744c36ae..f04f4b14 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java @@ -197,6 +197,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return Whether the httpLoadBalancing field is set. */ + @java.lang.Override public boolean hasHttpLoadBalancing() { return httpLoadBalancing_ != null; } @@ -212,6 +213,7 @@ public boolean hasHttpLoadBalancing() { * * @return The httpLoadBalancing. */ + @java.lang.Override public com.google.container.v1.HttpLoadBalancing getHttpLoadBalancing() { return httpLoadBalancing_ == null ? com.google.container.v1.HttpLoadBalancing.getDefaultInstance() @@ -227,6 +229,7 @@ public com.google.container.v1.HttpLoadBalancing getHttpLoadBalancing() { * * .google.container.v1.HttpLoadBalancing http_load_balancing = 1; */ + @java.lang.Override public com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOrBuilder() { return getHttpLoadBalancing(); } @@ -246,6 +249,7 @@ public com.google.container.v1.HttpLoadBalancingOrBuilder getHttpLoadBalancingOr * * @return Whether the horizontalPodAutoscaling field is set. */ + @java.lang.Override public boolean hasHorizontalPodAutoscaling() { return horizontalPodAutoscaling_ != null; } @@ -262,6 +266,7 @@ public boolean hasHorizontalPodAutoscaling() { * * @return The horizontalPodAutoscaling. */ + @java.lang.Override public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscaling() { return horizontalPodAutoscaling_ == null ? com.google.container.v1.HorizontalPodAutoscaling.getDefaultInstance() @@ -278,6 +283,7 @@ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscal * * .google.container.v1.HorizontalPodAutoscaling horizontal_pod_autoscaling = 2; */ + @java.lang.Override public com.google.container.v1.HorizontalPodAutoscalingOrBuilder getHorizontalPodAutoscalingOrBuilder() { return getHorizontalPodAutoscaling(); @@ -301,6 +307,7 @@ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscal * * @return Whether the kubernetesDashboard field is set. */ + @java.lang.Override @java.lang.Deprecated public boolean hasKubernetesDashboard() { return kubernetesDashboard_ != null; @@ -321,6 +328,7 @@ public boolean hasKubernetesDashboard() { * * @return The kubernetesDashboard. */ + @java.lang.Override @java.lang.Deprecated public com.google.container.v1.KubernetesDashboard getKubernetesDashboard() { return kubernetesDashboard_ == null @@ -341,6 +349,7 @@ public com.google.container.v1.KubernetesDashboard getKubernetesDashboard() { * .google.container.v1.KubernetesDashboard kubernetes_dashboard = 3 [deprecated = true]; * */ + @java.lang.Override @java.lang.Deprecated public com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboardOrBuilder() { return getKubernetesDashboard(); @@ -361,6 +370,7 @@ public com.google.container.v1.KubernetesDashboardOrBuilder getKubernetesDashboa * * @return Whether the networkPolicyConfig field is set. */ + @java.lang.Override public boolean hasNetworkPolicyConfig() { return networkPolicyConfig_ != null; } @@ -377,6 +387,7 @@ public boolean hasNetworkPolicyConfig() { * * @return The networkPolicyConfig. */ + @java.lang.Override public com.google.container.v1.NetworkPolicyConfig getNetworkPolicyConfig() { return networkPolicyConfig_ == null ? com.google.container.v1.NetworkPolicyConfig.getDefaultInstance() @@ -393,6 +404,7 @@ public com.google.container.v1.NetworkPolicyConfig getNetworkPolicyConfig() { * * .google.container.v1.NetworkPolicyConfig network_policy_config = 4; */ + @java.lang.Override public com.google.container.v1.NetworkPolicyConfigOrBuilder getNetworkPolicyConfigOrBuilder() { return getNetworkPolicyConfig(); } @@ -411,6 +423,7 @@ public com.google.container.v1.NetworkPolicyConfigOrBuilder getNetworkPolicyConf * * @return Whether the cloudRunConfig field is set. */ + @java.lang.Override public boolean hasCloudRunConfig() { return cloudRunConfig_ != null; } @@ -426,6 +439,7 @@ public boolean hasCloudRunConfig() { * * @return The cloudRunConfig. */ + @java.lang.Override public com.google.container.v1.CloudRunConfig getCloudRunConfig() { return cloudRunConfig_ == null ? com.google.container.v1.CloudRunConfig.getDefaultInstance() @@ -441,6 +455,7 @@ public com.google.container.v1.CloudRunConfig getCloudRunConfig() { * * .google.container.v1.CloudRunConfig cloud_run_config = 7; */ + @java.lang.Override public com.google.container.v1.CloudRunConfigOrBuilder getCloudRunConfigOrBuilder() { return getCloudRunConfig(); } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java index b9e0bf38..e8a95fd8 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java @@ -130,6 +130,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } @@ -148,6 +149,7 @@ public boolean getEnabled() { * * @return The securityGroup. */ + @java.lang.Override public java.lang.String getSecurityGroup() { java.lang.Object ref = securityGroup_; if (ref instanceof java.lang.String) { @@ -171,6 +173,7 @@ public java.lang.String getSecurityGroup() { * * @return The bytes for securityGroup. */ + @java.lang.Override public com.google.protobuf.ByteString getSecurityGroupBytes() { java.lang.Object ref = securityGroup_; if (ref instanceof java.lang.String) { @@ -529,6 +532,7 @@ public Builder mergeFrom( * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java index bc2a35b4..f3b0b564 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java @@ -135,6 +135,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The autoUpgradeStartTime. */ + @java.lang.Override public java.lang.String getAutoUpgradeStartTime() { java.lang.Object ref = autoUpgradeStartTime_; if (ref instanceof java.lang.String) { @@ -159,6 +160,7 @@ public java.lang.String getAutoUpgradeStartTime() { * * @return The bytes for autoUpgradeStartTime. */ + @java.lang.Override public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() { java.lang.Object ref = autoUpgradeStartTime_; if (ref instanceof java.lang.String) { @@ -185,6 +187,7 @@ public com.google.protobuf.ByteString getAutoUpgradeStartTimeBytes() { * * @return The description. */ + @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { @@ -208,6 +211,7 @@ public java.lang.String getDescription() { * * @return The bytes for description. */ + @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java index 924f5287..8d419f05 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java @@ -207,6 +207,7 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) { * * @return The serviceAccount. */ + @java.lang.Override public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { @@ -230,6 +231,7 @@ public java.lang.String getServiceAccount() { * * @return The bytes for serviceAccount. */ + @java.lang.Override public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java index 29c765dc..10c1c381 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java @@ -121,6 +121,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } @@ -453,6 +454,7 @@ public Builder mergeFrom( * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java index bb005a34..455a8f6d 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java @@ -150,6 +150,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -175,6 +176,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -203,6 +205,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -228,6 +231,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -255,6 +259,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The operationId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getOperationId() { java.lang.Object ref = operationId_; @@ -279,6 +284,7 @@ public java.lang.String getOperationId() { * * @return The bytes for operationId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; @@ -306,6 +312,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -329,6 +336,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java index 73c1fd83..5d7c641c 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java @@ -120,6 +120,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The issueClientCertificate. */ + @java.lang.Override public boolean getIssueClientCertificate() { return issueClientCertificate_; } @@ -452,6 +453,7 @@ public Builder mergeFrom( * * @return The issueClientCertificate. */ + @java.lang.Override public boolean getIssueClientCertificate() { return issueClientCertificate_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java index 53e580e6..973b9ca5 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java @@ -120,6 +120,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The disabled. */ + @java.lang.Override public boolean getDisabled() { return disabled_; } @@ -450,6 +451,7 @@ public Builder mergeFrom( * * @return The disabled. */ + @java.lang.Override public boolean getDisabled() { return disabled_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java index ccc1dbb7..ed68ffd8 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java @@ -872,6 +872,10 @@ public Status findValueByNumber(int number) { }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } return getDescriptor().getValues().get(ordinal()); } @@ -922,6 +926,7 @@ private Status(int value) { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -949,6 +954,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -974,6 +980,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * @return The description. */ + @java.lang.Override public java.lang.String getDescription() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { @@ -996,6 +1003,7 @@ public java.lang.String getDescription() { * * @return The bytes for description. */ + @java.lang.Override public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { @@ -1029,6 +1037,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * @return The initialNodeCount. */ + @java.lang.Override @java.lang.Deprecated public int getInitialNodeCount() { return initialNodeCount_; @@ -1056,6 +1065,7 @@ public int getInitialNodeCount() { * * @return Whether the nodeConfig field is set. */ + @java.lang.Override @java.lang.Deprecated public boolean hasNodeConfig() { return nodeConfig_ != null; @@ -1080,6 +1090,7 @@ public boolean hasNodeConfig() { * * @return The nodeConfig. */ + @java.lang.Override @java.lang.Deprecated public com.google.container.v1.NodeConfig getNodeConfig() { return nodeConfig_ == null @@ -1104,6 +1115,7 @@ public com.google.container.v1.NodeConfig getNodeConfig() { * * .google.container.v1.NodeConfig node_config = 4 [deprecated = true]; */ + @java.lang.Override @java.lang.Deprecated public com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() { return getNodeConfig(); @@ -1126,6 +1138,7 @@ public com.google.container.v1.NodeConfigOrBuilder getNodeConfigOrBuilder() { * * @return Whether the masterAuth field is set. */ + @java.lang.Override public boolean hasMasterAuth() { return masterAuth_ != null; } @@ -1144,6 +1157,7 @@ public boolean hasMasterAuth() { * * @return The masterAuth. */ + @java.lang.Override public com.google.container.v1.MasterAuth getMasterAuth() { return masterAuth_ == null ? com.google.container.v1.MasterAuth.getDefaultInstance() @@ -1162,6 +1176,7 @@ public com.google.container.v1.MasterAuth getMasterAuth() { * * .google.container.v1.MasterAuth master_auth = 5; */ + @java.lang.Override public com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder() { return getMasterAuth(); } @@ -1185,6 +1200,7 @@ public com.google.container.v1.MasterAuthOrBuilder getMasterAuthOrBuilder() { * * @return The loggingService. */ + @java.lang.Override public java.lang.String getLoggingService() { java.lang.Object ref = loggingService_; if (ref instanceof java.lang.String) { @@ -1213,6 +1229,7 @@ public java.lang.String getLoggingService() { * * @return The bytes for loggingService. */ + @java.lang.Override public com.google.protobuf.ByteString getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof java.lang.String) { @@ -1242,6 +1259,7 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() { * * @return The monitoringService. */ + @java.lang.Override public java.lang.String getMonitoringService() { java.lang.Object ref = monitoringService_; if (ref instanceof java.lang.String) { @@ -1268,6 +1286,7 @@ public java.lang.String getMonitoringService() { * * @return The bytes for monitoringService. */ + @java.lang.Override public com.google.protobuf.ByteString getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof java.lang.String) { @@ -1296,6 +1315,7 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() { * * @return The network. */ + @java.lang.Override public java.lang.String getNetwork() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { @@ -1321,6 +1341,7 @@ public java.lang.String getNetwork() { * * @return The bytes for network. */ + @java.lang.Override public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { @@ -1349,6 +1370,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * @return The clusterIpv4Cidr. */ + @java.lang.Override public java.lang.String getClusterIpv4Cidr() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof java.lang.String) { @@ -1374,6 +1396,7 @@ public java.lang.String getClusterIpv4Cidr() { * * @return The bytes for clusterIpv4Cidr. */ + @java.lang.Override public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; if (ref instanceof java.lang.String) { @@ -1399,6 +1422,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * * @return Whether the addonsConfig field is set. */ + @java.lang.Override public boolean hasAddonsConfig() { return addonsConfig_ != null; } @@ -1413,6 +1437,7 @@ public boolean hasAddonsConfig() { * * @return The addonsConfig. */ + @java.lang.Override public com.google.container.v1.AddonsConfig getAddonsConfig() { return addonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() @@ -1427,6 +1452,7 @@ public com.google.container.v1.AddonsConfig getAddonsConfig() { * * .google.container.v1.AddonsConfig addons_config = 10; */ + @java.lang.Override public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() { return getAddonsConfig(); } @@ -1446,6 +1472,7 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() * * @return The subnetwork. */ + @java.lang.Override public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { @@ -1470,6 +1497,7 @@ public java.lang.String getSubnetwork() { * * @return The bytes for subnetwork. */ + @java.lang.Override public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { @@ -1495,6 +1523,7 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { * * repeated .google.container.v1.NodePool node_pools = 12; */ + @java.lang.Override public java.util.List getNodePoolsList() { return nodePools_; } @@ -1509,6 +1538,7 @@ public java.util.List getNodePoolsList() { * * repeated .google.container.v1.NodePool node_pools = 12; */ + @java.lang.Override public java.util.List getNodePoolsOrBuilderList() { return nodePools_; @@ -1524,6 +1554,7 @@ public java.util.List getNodePoolsList() { * * repeated .google.container.v1.NodePool node_pools = 12; */ + @java.lang.Override public int getNodePoolsCount() { return nodePools_.size(); } @@ -1538,6 +1569,7 @@ public int getNodePoolsCount() { * * repeated .google.container.v1.NodePool node_pools = 12; */ + @java.lang.Override public com.google.container.v1.NodePool getNodePools(int index) { return nodePools_.get(index); } @@ -1552,6 +1584,7 @@ public com.google.container.v1.NodePool getNodePools(int index) { * * repeated .google.container.v1.NodePool node_pools = 12; */ + @java.lang.Override public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) { return nodePools_.get(index); } @@ -1643,6 +1676,7 @@ public com.google.protobuf.ByteString getLocationsBytes(int index) { * * @return The enableKubernetesAlpha. */ + @java.lang.Override public boolean getEnableKubernetesAlpha() { return enableKubernetesAlpha_; } @@ -1684,6 +1718,7 @@ public int getResourceLabelsCount() { * * map<string, string> resource_labels = 15; */ + @java.lang.Override public boolean containsResourceLabels(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -1691,6 +1726,7 @@ public boolean containsResourceLabels(java.lang.String key) { return internalGetResourceLabels().getMap().containsKey(key); } /** Use {@link #getResourceLabelsMap()} instead. */ + @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); @@ -1705,6 +1741,7 @@ public java.util.Map getResourceLabels() { * * map<string, string> resource_labels = 15; */ + @java.lang.Override public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } @@ -1718,6 +1755,7 @@ public java.util.Map getResourceLabelsMap() * * map<string, string> resource_labels = 15; */ + @java.lang.Override public java.lang.String getResourceLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { @@ -1736,6 +1774,7 @@ public java.lang.String getResourceLabelsOrDefault( * * map<string, string> resource_labels = 15; */ + @java.lang.Override public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -1760,6 +1799,7 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { * * @return The labelFingerprint. */ + @java.lang.Override public java.lang.String getLabelFingerprint() { java.lang.Object ref = labelFingerprint_; if (ref instanceof java.lang.String) { @@ -1782,6 +1822,7 @@ public java.lang.String getLabelFingerprint() { * * @return The bytes for labelFingerprint. */ + @java.lang.Override public com.google.protobuf.ByteString getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof java.lang.String) { @@ -1807,6 +1848,7 @@ public com.google.protobuf.ByteString getLabelFingerprintBytes() { * * @return Whether the legacyAbac field is set. */ + @java.lang.Override public boolean hasLegacyAbac() { return legacyAbac_ != null; } @@ -1821,6 +1863,7 @@ public boolean hasLegacyAbac() { * * @return The legacyAbac. */ + @java.lang.Override public com.google.container.v1.LegacyAbac getLegacyAbac() { return legacyAbac_ == null ? com.google.container.v1.LegacyAbac.getDefaultInstance() @@ -1835,6 +1878,7 @@ public com.google.container.v1.LegacyAbac getLegacyAbac() { * * .google.container.v1.LegacyAbac legacy_abac = 18; */ + @java.lang.Override public com.google.container.v1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() { return getLegacyAbac(); } @@ -1852,6 +1896,7 @@ public com.google.container.v1.LegacyAbacOrBuilder getLegacyAbacOrBuilder() { * * @return Whether the networkPolicy field is set. */ + @java.lang.Override public boolean hasNetworkPolicy() { return networkPolicy_ != null; } @@ -1866,6 +1911,7 @@ public boolean hasNetworkPolicy() { * * @return The networkPolicy. */ + @java.lang.Override public com.google.container.v1.NetworkPolicy getNetworkPolicy() { return networkPolicy_ == null ? com.google.container.v1.NetworkPolicy.getDefaultInstance() @@ -1880,6 +1926,7 @@ public com.google.container.v1.NetworkPolicy getNetworkPolicy() { * * .google.container.v1.NetworkPolicy network_policy = 19; */ + @java.lang.Override public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder() { return getNetworkPolicy(); } @@ -1897,6 +1944,7 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( * * @return Whether the ipAllocationPolicy field is set. */ + @java.lang.Override public boolean hasIpAllocationPolicy() { return ipAllocationPolicy_ != null; } @@ -1911,6 +1959,7 @@ public boolean hasIpAllocationPolicy() { * * @return The ipAllocationPolicy. */ + @java.lang.Override public com.google.container.v1.IPAllocationPolicy getIpAllocationPolicy() { return ipAllocationPolicy_ == null ? com.google.container.v1.IPAllocationPolicy.getDefaultInstance() @@ -1925,6 +1974,7 @@ public com.google.container.v1.IPAllocationPolicy getIpAllocationPolicy() { * * .google.container.v1.IPAllocationPolicy ip_allocation_policy = 20; */ + @java.lang.Override public com.google.container.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicyOrBuilder() { return getIpAllocationPolicy(); } @@ -1944,6 +1994,7 @@ public com.google.container.v1.IPAllocationPolicyOrBuilder getIpAllocationPolicy * * @return Whether the masterAuthorizedNetworksConfig field is set. */ + @java.lang.Override public boolean hasMasterAuthorizedNetworksConfig() { return masterAuthorizedNetworksConfig_ != null; } @@ -1960,6 +2011,7 @@ public boolean hasMasterAuthorizedNetworksConfig() { * * @return The masterAuthorizedNetworksConfig. */ + @java.lang.Override public com.google.container.v1.MasterAuthorizedNetworksConfig getMasterAuthorizedNetworksConfig() { return masterAuthorizedNetworksConfig_ == null @@ -1977,6 +2029,7 @@ public boolean hasMasterAuthorizedNetworksConfig() { * .google.container.v1.MasterAuthorizedNetworksConfig master_authorized_networks_config = 22; *
*/ + @java.lang.Override public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getMasterAuthorizedNetworksConfigOrBuilder() { return getMasterAuthorizedNetworksConfig(); @@ -1995,6 +2048,7 @@ public boolean hasMasterAuthorizedNetworksConfig() { * * @return Whether the maintenancePolicy field is set. */ + @java.lang.Override public boolean hasMaintenancePolicy() { return maintenancePolicy_ != null; } @@ -2009,6 +2063,7 @@ public boolean hasMaintenancePolicy() { * * @return The maintenancePolicy. */ + @java.lang.Override public com.google.container.v1.MaintenancePolicy getMaintenancePolicy() { return maintenancePolicy_ == null ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() @@ -2023,6 +2078,7 @@ public com.google.container.v1.MaintenancePolicy getMaintenancePolicy() { * * .google.container.v1.MaintenancePolicy maintenance_policy = 23; */ + @java.lang.Override public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder() { return getMaintenancePolicy(); } @@ -2040,6 +2096,7 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr * * @return Whether the binaryAuthorization field is set. */ + @java.lang.Override public boolean hasBinaryAuthorization() { return binaryAuthorization_ != null; } @@ -2054,6 +2111,7 @@ public boolean hasBinaryAuthorization() { * * @return The binaryAuthorization. */ + @java.lang.Override public com.google.container.v1.BinaryAuthorization getBinaryAuthorization() { return binaryAuthorization_ == null ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() @@ -2068,6 +2126,7 @@ public com.google.container.v1.BinaryAuthorization getBinaryAuthorization() { * * .google.container.v1.BinaryAuthorization binary_authorization = 24; */ + @java.lang.Override public com.google.container.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizationOrBuilder() { return getBinaryAuthorization(); } @@ -2085,6 +2144,7 @@ public com.google.container.v1.BinaryAuthorizationOrBuilder getBinaryAuthorizati * * @return Whether the autoscaling field is set. */ + @java.lang.Override public boolean hasAutoscaling() { return autoscaling_ != null; } @@ -2099,6 +2159,7 @@ public boolean hasAutoscaling() { * * @return The autoscaling. */ + @java.lang.Override public com.google.container.v1.ClusterAutoscaling getAutoscaling() { return autoscaling_ == null ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() @@ -2113,6 +2174,7 @@ public com.google.container.v1.ClusterAutoscaling getAutoscaling() { * * .google.container.v1.ClusterAutoscaling autoscaling = 26; */ + @java.lang.Override public com.google.container.v1.ClusterAutoscalingOrBuilder getAutoscalingOrBuilder() { return getAutoscaling(); } @@ -2130,6 +2192,7 @@ public com.google.container.v1.ClusterAutoscalingOrBuilder getAutoscalingOrBuild * * @return Whether the networkConfig field is set. */ + @java.lang.Override public boolean hasNetworkConfig() { return networkConfig_ != null; } @@ -2144,6 +2207,7 @@ public boolean hasNetworkConfig() { * * @return The networkConfig. */ + @java.lang.Override public com.google.container.v1.NetworkConfig getNetworkConfig() { return networkConfig_ == null ? com.google.container.v1.NetworkConfig.getDefaultInstance() @@ -2158,6 +2222,7 @@ public com.google.container.v1.NetworkConfig getNetworkConfig() { * * .google.container.v1.NetworkConfig network_config = 27; */ + @java.lang.Override public com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder() { return getNetworkConfig(); } @@ -2177,6 +2242,7 @@ public com.google.container.v1.NetworkConfigOrBuilder getNetworkConfigOrBuilder( * * @return Whether the defaultMaxPodsConstraint field is set. */ + @java.lang.Override public boolean hasDefaultMaxPodsConstraint() { return defaultMaxPodsConstraint_ != null; } @@ -2193,6 +2259,7 @@ public boolean hasDefaultMaxPodsConstraint() { * * @return The defaultMaxPodsConstraint. */ + @java.lang.Override public com.google.container.v1.MaxPodsConstraint getDefaultMaxPodsConstraint() { return defaultMaxPodsConstraint_ == null ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() @@ -2209,6 +2276,7 @@ public com.google.container.v1.MaxPodsConstraint getDefaultMaxPodsConstraint() { * * .google.container.v1.MaxPodsConstraint default_max_pods_constraint = 30; */ + @java.lang.Override public com.google.container.v1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConstraintOrBuilder() { return getDefaultMaxPodsConstraint(); } @@ -2227,6 +2295,7 @@ public com.google.container.v1.MaxPodsConstraintOrBuilder getDefaultMaxPodsConst * * @return Whether the resourceUsageExportConfig field is set. */ + @java.lang.Override public boolean hasResourceUsageExportConfig() { return resourceUsageExportConfig_ != null; } @@ -2242,6 +2311,7 @@ public boolean hasResourceUsageExportConfig() { * * @return The resourceUsageExportConfig. */ + @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig getResourceUsageExportConfig() { return resourceUsageExportConfig_ == null ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() @@ -2257,6 +2327,7 @@ public com.google.container.v1.ResourceUsageExportConfig getResourceUsageExportC * * .google.container.v1.ResourceUsageExportConfig resource_usage_export_config = 33; */ + @java.lang.Override public com.google.container.v1.ResourceUsageExportConfigOrBuilder getResourceUsageExportConfigOrBuilder() { return getResourceUsageExportConfig(); @@ -2275,6 +2346,7 @@ public com.google.container.v1.ResourceUsageExportConfig getResourceUsageExportC * * @return Whether the authenticatorGroupsConfig field is set. */ + @java.lang.Override public boolean hasAuthenticatorGroupsConfig() { return authenticatorGroupsConfig_ != null; } @@ -2289,6 +2361,7 @@ public boolean hasAuthenticatorGroupsConfig() { * * @return The authenticatorGroupsConfig. */ + @java.lang.Override public com.google.container.v1.AuthenticatorGroupsConfig getAuthenticatorGroupsConfig() { return authenticatorGroupsConfig_ == null ? com.google.container.v1.AuthenticatorGroupsConfig.getDefaultInstance() @@ -2303,6 +2376,7 @@ public com.google.container.v1.AuthenticatorGroupsConfig getAuthenticatorGroupsC * * .google.container.v1.AuthenticatorGroupsConfig authenticator_groups_config = 34; */ + @java.lang.Override public com.google.container.v1.AuthenticatorGroupsConfigOrBuilder getAuthenticatorGroupsConfigOrBuilder() { return getAuthenticatorGroupsConfig(); @@ -2321,6 +2395,7 @@ public com.google.container.v1.AuthenticatorGroupsConfig getAuthenticatorGroupsC * * @return Whether the privateClusterConfig field is set. */ + @java.lang.Override public boolean hasPrivateClusterConfig() { return privateClusterConfig_ != null; } @@ -2335,6 +2410,7 @@ public boolean hasPrivateClusterConfig() { * * @return The privateClusterConfig. */ + @java.lang.Override public com.google.container.v1.PrivateClusterConfig getPrivateClusterConfig() { return privateClusterConfig_ == null ? com.google.container.v1.PrivateClusterConfig.getDefaultInstance() @@ -2349,6 +2425,7 @@ public com.google.container.v1.PrivateClusterConfig getPrivateClusterConfig() { * * .google.container.v1.PrivateClusterConfig private_cluster_config = 37; */ + @java.lang.Override public com.google.container.v1.PrivateClusterConfigOrBuilder getPrivateClusterConfigOrBuilder() { return getPrivateClusterConfig(); } @@ -2366,6 +2443,7 @@ public com.google.container.v1.PrivateClusterConfigOrBuilder getPrivateClusterCo * * @return Whether the databaseEncryption field is set. */ + @java.lang.Override public boolean hasDatabaseEncryption() { return databaseEncryption_ != null; } @@ -2380,6 +2458,7 @@ public boolean hasDatabaseEncryption() { * * @return The databaseEncryption. */ + @java.lang.Override public com.google.container.v1.DatabaseEncryption getDatabaseEncryption() { return databaseEncryption_ == null ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() @@ -2394,6 +2473,7 @@ public com.google.container.v1.DatabaseEncryption getDatabaseEncryption() { * * .google.container.v1.DatabaseEncryption database_encryption = 38; */ + @java.lang.Override public com.google.container.v1.DatabaseEncryptionOrBuilder getDatabaseEncryptionOrBuilder() { return getDatabaseEncryption(); } @@ -2411,6 +2491,7 @@ public com.google.container.v1.DatabaseEncryptionOrBuilder getDatabaseEncryption * * @return Whether the verticalPodAutoscaling field is set. */ + @java.lang.Override public boolean hasVerticalPodAutoscaling() { return verticalPodAutoscaling_ != null; } @@ -2425,6 +2506,7 @@ public boolean hasVerticalPodAutoscaling() { * * @return The verticalPodAutoscaling. */ + @java.lang.Override public com.google.container.v1.VerticalPodAutoscaling getVerticalPodAutoscaling() { return verticalPodAutoscaling_ == null ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() @@ -2439,6 +2521,7 @@ public com.google.container.v1.VerticalPodAutoscaling getVerticalPodAutoscaling( * * .google.container.v1.VerticalPodAutoscaling vertical_pod_autoscaling = 39; */ + @java.lang.Override public com.google.container.v1.VerticalPodAutoscalingOrBuilder getVerticalPodAutoscalingOrBuilder() { return getVerticalPodAutoscaling(); @@ -2457,6 +2540,7 @@ public com.google.container.v1.VerticalPodAutoscaling getVerticalPodAutoscaling( * * @return The selfLink. */ + @java.lang.Override public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { @@ -2479,6 +2563,7 @@ public java.lang.String getSelfLink() { * * @return The bytes for selfLink. */ + @java.lang.Override public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { @@ -2507,6 +2592,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -2533,6 +2619,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -2563,6 +2650,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The endpoint. */ + @java.lang.Override public java.lang.String getEndpoint() { java.lang.Object ref = endpoint_; if (ref instanceof java.lang.String) { @@ -2589,6 +2677,7 @@ public java.lang.String getEndpoint() { * * @return The bytes for endpoint. */ + @java.lang.Override public com.google.protobuf.ByteString getEndpointBytes() { java.lang.Object ref = endpoint_; if (ref instanceof java.lang.String) { @@ -2624,6 +2713,7 @@ public com.google.protobuf.ByteString getEndpointBytes() { * * @return The initialClusterVersion. */ + @java.lang.Override public java.lang.String getInitialClusterVersion() { java.lang.Object ref = initialClusterVersion_; if (ref instanceof java.lang.String) { @@ -2656,6 +2746,7 @@ public java.lang.String getInitialClusterVersion() { * * @return The bytes for initialClusterVersion. */ + @java.lang.Override public com.google.protobuf.ByteString getInitialClusterVersionBytes() { java.lang.Object ref = initialClusterVersion_; if (ref instanceof java.lang.String) { @@ -2681,6 +2772,7 @@ public com.google.protobuf.ByteString getInitialClusterVersionBytes() { * * @return The currentMasterVersion. */ + @java.lang.Override public java.lang.String getCurrentMasterVersion() { java.lang.Object ref = currentMasterVersion_; if (ref instanceof java.lang.String) { @@ -2703,6 +2795,7 @@ public java.lang.String getCurrentMasterVersion() { * * @return The bytes for currentMasterVersion. */ + @java.lang.Override public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { java.lang.Object ref = currentMasterVersion_; if (ref instanceof java.lang.String) { @@ -2732,6 +2825,7 @@ public com.google.protobuf.ByteString getCurrentMasterVersionBytes() { * * @return The currentNodeVersion. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getCurrentNodeVersion() { java.lang.Object ref = currentNodeVersion_; @@ -2759,6 +2853,7 @@ public java.lang.String getCurrentNodeVersion() { * * @return The bytes for currentNodeVersion. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { java.lang.Object ref = currentNodeVersion_; @@ -2786,6 +2881,7 @@ public com.google.protobuf.ByteString getCurrentNodeVersionBytes() { * * @return The createTime. */ + @java.lang.Override public java.lang.String getCreateTime() { java.lang.Object ref = createTime_; if (ref instanceof java.lang.String) { @@ -2809,6 +2905,7 @@ public java.lang.String getCreateTime() { * * @return The bytes for createTime. */ + @java.lang.Override public com.google.protobuf.ByteString getCreateTimeBytes() { java.lang.Object ref = createTime_; if (ref instanceof java.lang.String) { @@ -2834,6 +2931,7 @@ public com.google.protobuf.ByteString getCreateTimeBytes() { * * @return The enum numeric value on the wire for status. */ + @java.lang.Override public int getStatusValue() { return status_; } @@ -2848,6 +2946,7 @@ public int getStatusValue() { * * @return The status. */ + @java.lang.Override public com.google.container.v1.Cluster.Status getStatus() { @SuppressWarnings("deprecation") com.google.container.v1.Cluster.Status result = @@ -2869,6 +2968,7 @@ public com.google.container.v1.Cluster.Status getStatus() { * * @return The statusMessage. */ + @java.lang.Override public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { @@ -2892,6 +2992,7 @@ public java.lang.String getStatusMessage() { * * @return The bytes for statusMessage. */ + @java.lang.Override public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { @@ -2920,6 +3021,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * @return The nodeIpv4CidrSize. */ + @java.lang.Override public int getNodeIpv4CidrSize() { return nodeIpv4CidrSize_; } @@ -2941,6 +3043,7 @@ public int getNodeIpv4CidrSize() { * * @return The servicesIpv4Cidr. */ + @java.lang.Override public java.lang.String getServicesIpv4Cidr() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof java.lang.String) { @@ -2967,6 +3070,7 @@ public java.lang.String getServicesIpv4Cidr() { * * @return The bytes for servicesIpv4Cidr. */ + @java.lang.Override public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; if (ref instanceof java.lang.String) { @@ -3058,6 +3162,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * * @return The currentNodeCount. */ + @java.lang.Override @java.lang.Deprecated public int getCurrentNodeCount() { return currentNodeCount_; @@ -3077,6 +3182,7 @@ public int getCurrentNodeCount() { * * @return The expireTime. */ + @java.lang.Override public java.lang.String getExpireTime() { java.lang.Object ref = expireTime_; if (ref instanceof java.lang.String) { @@ -3100,6 +3206,7 @@ public java.lang.String getExpireTime() { * * @return The bytes for expireTime. */ + @java.lang.Override public com.google.protobuf.ByteString getExpireTimeBytes() { java.lang.Object ref = expireTime_; if (ref instanceof java.lang.String) { @@ -3128,6 +3235,7 @@ public com.google.protobuf.ByteString getExpireTimeBytes() { * * @return The location. */ + @java.lang.Override public java.lang.String getLocation() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { @@ -3153,6 +3261,7 @@ public java.lang.String getLocation() { * * @return The bytes for location. */ + @java.lang.Override public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { @@ -3178,6 +3287,7 @@ public com.google.protobuf.ByteString getLocationBytes() { * * @return The enableTpu. */ + @java.lang.Override public boolean getEnableTpu() { return enableTpu_; } @@ -3197,6 +3307,7 @@ public boolean getEnableTpu() { * * @return The tpuIpv4CidrBlock. */ + @java.lang.Override public java.lang.String getTpuIpv4CidrBlock() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof java.lang.String) { @@ -3221,6 +3332,7 @@ public java.lang.String getTpuIpv4CidrBlock() { * * @return The bytes for tpuIpv4CidrBlock. */ + @java.lang.Override public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof java.lang.String) { @@ -3244,6 +3356,7 @@ public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { * * repeated .google.container.v1.StatusCondition conditions = 118; */ + @java.lang.Override public java.util.List getConditionsList() { return conditions_; } @@ -3256,6 +3369,7 @@ public java.util.List getConditionsList * * repeated .google.container.v1.StatusCondition conditions = 118; */ + @java.lang.Override public java.util.List getConditionsOrBuilderList() { return conditions_; @@ -3269,6 +3383,7 @@ public java.util.List getConditionsList * * repeated .google.container.v1.StatusCondition conditions = 118; */ + @java.lang.Override public int getConditionsCount() { return conditions_.size(); } @@ -3281,6 +3396,7 @@ public int getConditionsCount() { * * repeated .google.container.v1.StatusCondition conditions = 118; */ + @java.lang.Override public com.google.container.v1.StatusCondition getConditions(int index) { return conditions_.get(index); } @@ -3293,6 +3409,7 @@ public com.google.container.v1.StatusCondition getConditions(int index) { * * repeated .google.container.v1.StatusCondition conditions = 118; */ + @java.lang.Override public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { return conditions_.get(index); } @@ -4970,6 +5087,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * @return The initialNodeCount. */ + @java.lang.Override @java.lang.Deprecated public int getInitialNodeCount() { return initialNodeCount_; @@ -6915,6 +7033,7 @@ public Builder addLocationsBytes(com.google.protobuf.ByteString value) { * * @return The enableKubernetesAlpha. */ + @java.lang.Override public boolean getEnableKubernetesAlpha() { return enableKubernetesAlpha_; } @@ -7002,6 +7121,7 @@ public int getResourceLabelsCount() { * * map<string, string> resource_labels = 15; */ + @java.lang.Override public boolean containsResourceLabels(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -7009,6 +7129,7 @@ public boolean containsResourceLabels(java.lang.String key) { return internalGetResourceLabels().getMap().containsKey(key); } /** Use {@link #getResourceLabelsMap()} instead. */ + @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); @@ -7023,6 +7144,7 @@ public java.util.Map getResourceLabels() { * * map<string, string> resource_labels = 15; */ + @java.lang.Override public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } @@ -7036,6 +7158,7 @@ public java.util.Map getResourceLabelsMap() * * map<string, string> resource_labels = 15; */ + @java.lang.Override public java.lang.String getResourceLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { @@ -7054,6 +7177,7 @@ public java.lang.String getResourceLabelsOrDefault( * * map<string, string> resource_labels = 15; */ + @java.lang.Override public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -10783,6 +10907,7 @@ public Builder setCreateTimeBytes(com.google.protobuf.ByteString value) { * * @return The enum numeric value on the wire for status. */ + @java.lang.Override public int getStatusValue() { return status_; } @@ -10799,6 +10924,7 @@ public int getStatusValue() { * @return This builder for chaining. */ public Builder setStatusValue(int value) { + status_ = value; onChanged(); return this; @@ -10814,6 +10940,7 @@ public Builder setStatusValue(int value) { * * @return The status. */ + @java.lang.Override public com.google.container.v1.Cluster.Status getStatus() { @SuppressWarnings("deprecation") com.google.container.v1.Cluster.Status result = @@ -10985,6 +11112,7 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { * * @return The nodeIpv4CidrSize. */ + @java.lang.Override public int getNodeIpv4CidrSize() { return nodeIpv4CidrSize_; } @@ -11346,6 +11474,7 @@ public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { * * @return The currentNodeCount. */ + @java.lang.Override @java.lang.Deprecated public int getCurrentNodeCount() { return currentNodeCount_; @@ -11634,6 +11763,7 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) { * * @return The enableTpu. */ + @java.lang.Override public boolean getEnableTpu() { return enableTpu_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java index 3b880f3f..6a7fd9fb 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java @@ -171,6 +171,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The enableNodeAutoprovisioning. */ + @java.lang.Override public boolean getEnableNodeAutoprovisioning() { return enableNodeAutoprovisioning_; } @@ -187,6 +188,7 @@ public boolean getEnableNodeAutoprovisioning() { * * repeated .google.container.v1.ResourceLimit resource_limits = 2; */ + @java.lang.Override public java.util.List getResourceLimitsList() { return resourceLimits_; } @@ -200,6 +202,7 @@ public java.util.List getResourceLimitsLi * * repeated .google.container.v1.ResourceLimit resource_limits = 2; */ + @java.lang.Override public java.util.List getResourceLimitsOrBuilderList() { return resourceLimits_; @@ -214,6 +217,7 @@ public java.util.List getResourceLimitsLi * * repeated .google.container.v1.ResourceLimit resource_limits = 2; */ + @java.lang.Override public int getResourceLimitsCount() { return resourceLimits_.size(); } @@ -227,6 +231,7 @@ public int getResourceLimitsCount() { * * repeated .google.container.v1.ResourceLimit resource_limits = 2; */ + @java.lang.Override public com.google.container.v1.ResourceLimit getResourceLimits(int index) { return resourceLimits_.get(index); } @@ -240,6 +245,7 @@ public com.google.container.v1.ResourceLimit getResourceLimits(int index) { * * repeated .google.container.v1.ResourceLimit resource_limits = 2; */ + @java.lang.Override public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder(int index) { return resourceLimits_.get(index); } @@ -261,6 +267,7 @@ public com.google.container.v1.ResourceLimitOrBuilder getResourceLimitsOrBuilder * * @return Whether the autoprovisioningNodePoolDefaults field is set. */ + @java.lang.Override public boolean hasAutoprovisioningNodePoolDefaults() { return autoprovisioningNodePoolDefaults_ != null; } @@ -278,6 +285,7 @@ public boolean hasAutoprovisioningNodePoolDefaults() { * * @return The autoprovisioningNodePoolDefaults. */ + @java.lang.Override public com.google.container.v1.AutoprovisioningNodePoolDefaults getAutoprovisioningNodePoolDefaults() { return autoprovisioningNodePoolDefaults_ == null @@ -296,6 +304,7 @@ public boolean hasAutoprovisioningNodePoolDefaults() { * .google.container.v1.AutoprovisioningNodePoolDefaults autoprovisioning_node_pool_defaults = 4; * */ + @java.lang.Override public com.google.container.v1.AutoprovisioningNodePoolDefaultsOrBuilder getAutoprovisioningNodePoolDefaultsOrBuilder() { return getAutoprovisioningNodePoolDefaults(); @@ -821,6 +830,7 @@ public Builder mergeFrom( * * @return The enableNodeAutoprovisioning. */ + @java.lang.Override public boolean getEnableNodeAutoprovisioning() { return enableNodeAutoprovisioning_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdate.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdate.java index 0e4530ed..249e4e04 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdate.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdate.java @@ -336,6 +336,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The desiredNodeVersion. */ + @java.lang.Override public java.lang.String getDesiredNodeVersion() { java.lang.Object ref = desiredNodeVersion_; if (ref instanceof java.lang.String) { @@ -366,6 +367,7 @@ public java.lang.String getDesiredNodeVersion() { * * @return The bytes for desiredNodeVersion. */ + @java.lang.Override public com.google.protobuf.ByteString getDesiredNodeVersionBytes() { java.lang.Object ref = desiredNodeVersion_; if (ref instanceof java.lang.String) { @@ -396,6 +398,7 @@ public com.google.protobuf.ByteString getDesiredNodeVersionBytes() { * * @return The desiredMonitoringService. */ + @java.lang.Override public java.lang.String getDesiredMonitoringService() { java.lang.Object ref = desiredMonitoringService_; if (ref instanceof java.lang.String) { @@ -423,6 +426,7 @@ public java.lang.String getDesiredMonitoringService() { * * @return The bytes for desiredMonitoringService. */ + @java.lang.Override public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() { java.lang.Object ref = desiredMonitoringService_; if (ref instanceof java.lang.String) { @@ -448,6 +452,7 @@ public com.google.protobuf.ByteString getDesiredMonitoringServiceBytes() { * * @return Whether the desiredAddonsConfig field is set. */ + @java.lang.Override public boolean hasDesiredAddonsConfig() { return desiredAddonsConfig_ != null; } @@ -462,6 +467,7 @@ public boolean hasDesiredAddonsConfig() { * * @return The desiredAddonsConfig. */ + @java.lang.Override public com.google.container.v1.AddonsConfig getDesiredAddonsConfig() { return desiredAddonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() @@ -476,6 +482,7 @@ public com.google.container.v1.AddonsConfig getDesiredAddonsConfig() { * * .google.container.v1.AddonsConfig desired_addons_config = 6; */ + @java.lang.Override public com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBuilder() { return getDesiredAddonsConfig(); } @@ -496,6 +503,7 @@ public com.google.container.v1.AddonsConfigOrBuilder getDesiredAddonsConfigOrBui * * @return The desiredNodePoolId. */ + @java.lang.Override public java.lang.String getDesiredNodePoolId() { java.lang.Object ref = desiredNodePoolId_; if (ref instanceof java.lang.String) { @@ -521,6 +529,7 @@ public java.lang.String getDesiredNodePoolId() { * * @return The bytes for desiredNodePoolId. */ + @java.lang.Override public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() { java.lang.Object ref = desiredNodePoolId_; if (ref instanceof java.lang.String) { @@ -547,6 +556,7 @@ public com.google.protobuf.ByteString getDesiredNodePoolIdBytes() { * * @return The desiredImageType. */ + @java.lang.Override public java.lang.String getDesiredImageType() { java.lang.Object ref = desiredImageType_; if (ref instanceof java.lang.String) { @@ -570,6 +580,7 @@ public java.lang.String getDesiredImageType() { * * @return The bytes for desiredImageType. */ + @java.lang.Override public com.google.protobuf.ByteString getDesiredImageTypeBytes() { java.lang.Object ref = desiredImageType_; if (ref instanceof java.lang.String) { @@ -595,6 +606,7 @@ public com.google.protobuf.ByteString getDesiredImageTypeBytes() { * * @return Whether the desiredDatabaseEncryption field is set. */ + @java.lang.Override public boolean hasDesiredDatabaseEncryption() { return desiredDatabaseEncryption_ != null; } @@ -609,6 +621,7 @@ public boolean hasDesiredDatabaseEncryption() { * * @return The desiredDatabaseEncryption. */ + @java.lang.Override public com.google.container.v1.DatabaseEncryption getDesiredDatabaseEncryption() { return desiredDatabaseEncryption_ == null ? com.google.container.v1.DatabaseEncryption.getDefaultInstance() @@ -623,6 +636,7 @@ public com.google.container.v1.DatabaseEncryption getDesiredDatabaseEncryption() * * .google.container.v1.DatabaseEncryption desired_database_encryption = 46; */ + @java.lang.Override public com.google.container.v1.DatabaseEncryptionOrBuilder getDesiredDatabaseEncryptionOrBuilder() { return getDesiredDatabaseEncryption(); @@ -644,6 +658,7 @@ public com.google.container.v1.DatabaseEncryption getDesiredDatabaseEncryption() * * @return Whether the desiredNodePoolAutoscaling field is set. */ + @java.lang.Override public boolean hasDesiredNodePoolAutoscaling() { return desiredNodePoolAutoscaling_ != null; } @@ -661,6 +676,7 @@ public boolean hasDesiredNodePoolAutoscaling() { * * @return The desiredNodePoolAutoscaling. */ + @java.lang.Override public com.google.container.v1.NodePoolAutoscaling getDesiredNodePoolAutoscaling() { return desiredNodePoolAutoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() @@ -678,6 +694,7 @@ public com.google.container.v1.NodePoolAutoscaling getDesiredNodePoolAutoscaling * * .google.container.v1.NodePoolAutoscaling desired_node_pool_autoscaling = 9; */ + @java.lang.Override public com.google.container.v1.NodePoolAutoscalingOrBuilder getDesiredNodePoolAutoscalingOrBuilder() { return getDesiredNodePoolAutoscaling(); @@ -780,6 +797,7 @@ public com.google.protobuf.ByteString getDesiredLocationsBytes(int index) { * * @return Whether the desiredMasterAuthorizedNetworksConfig field is set. */ + @java.lang.Override public boolean hasDesiredMasterAuthorizedNetworksConfig() { return desiredMasterAuthorizedNetworksConfig_ != null; } @@ -796,6 +814,7 @@ public boolean hasDesiredMasterAuthorizedNetworksConfig() { * * @return The desiredMasterAuthorizedNetworksConfig. */ + @java.lang.Override public com.google.container.v1.MasterAuthorizedNetworksConfig getDesiredMasterAuthorizedNetworksConfig() { return desiredMasterAuthorizedNetworksConfig_ == null @@ -813,6 +832,7 @@ public boolean hasDesiredMasterAuthorizedNetworksConfig() { * .google.container.v1.MasterAuthorizedNetworksConfig desired_master_authorized_networks_config = 12; * */ + @java.lang.Override public com.google.container.v1.MasterAuthorizedNetworksConfigOrBuilder getDesiredMasterAuthorizedNetworksConfigOrBuilder() { return getDesiredMasterAuthorizedNetworksConfig(); @@ -831,6 +851,7 @@ public boolean hasDesiredMasterAuthorizedNetworksConfig() { * * @return Whether the desiredClusterAutoscaling field is set. */ + @java.lang.Override public boolean hasDesiredClusterAutoscaling() { return desiredClusterAutoscaling_ != null; } @@ -845,6 +866,7 @@ public boolean hasDesiredClusterAutoscaling() { * * @return The desiredClusterAutoscaling. */ + @java.lang.Override public com.google.container.v1.ClusterAutoscaling getDesiredClusterAutoscaling() { return desiredClusterAutoscaling_ == null ? com.google.container.v1.ClusterAutoscaling.getDefaultInstance() @@ -859,6 +881,7 @@ public com.google.container.v1.ClusterAutoscaling getDesiredClusterAutoscaling() * * .google.container.v1.ClusterAutoscaling desired_cluster_autoscaling = 15; */ + @java.lang.Override public com.google.container.v1.ClusterAutoscalingOrBuilder getDesiredClusterAutoscalingOrBuilder() { return getDesiredClusterAutoscaling(); @@ -877,6 +900,7 @@ public com.google.container.v1.ClusterAutoscaling getDesiredClusterAutoscaling() * * @return Whether the desiredBinaryAuthorization field is set. */ + @java.lang.Override public boolean hasDesiredBinaryAuthorization() { return desiredBinaryAuthorization_ != null; } @@ -891,6 +915,7 @@ public boolean hasDesiredBinaryAuthorization() { * * @return The desiredBinaryAuthorization. */ + @java.lang.Override public com.google.container.v1.BinaryAuthorization getDesiredBinaryAuthorization() { return desiredBinaryAuthorization_ == null ? com.google.container.v1.BinaryAuthorization.getDefaultInstance() @@ -905,6 +930,7 @@ public com.google.container.v1.BinaryAuthorization getDesiredBinaryAuthorization * * .google.container.v1.BinaryAuthorization desired_binary_authorization = 16; */ + @java.lang.Override public com.google.container.v1.BinaryAuthorizationOrBuilder getDesiredBinaryAuthorizationOrBuilder() { return getDesiredBinaryAuthorization(); @@ -928,6 +954,7 @@ public com.google.container.v1.BinaryAuthorization getDesiredBinaryAuthorization * * @return The desiredLoggingService. */ + @java.lang.Override public java.lang.String getDesiredLoggingService() { java.lang.Object ref = desiredLoggingService_; if (ref instanceof java.lang.String) { @@ -955,6 +982,7 @@ public java.lang.String getDesiredLoggingService() { * * @return The bytes for desiredLoggingService. */ + @java.lang.Override public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() { java.lang.Object ref = desiredLoggingService_; if (ref instanceof java.lang.String) { @@ -981,6 +1009,7 @@ public com.google.protobuf.ByteString getDesiredLoggingServiceBytes() { * * @return Whether the desiredResourceUsageExportConfig field is set. */ + @java.lang.Override public boolean hasDesiredResourceUsageExportConfig() { return desiredResourceUsageExportConfig_ != null; } @@ -996,6 +1025,7 @@ public boolean hasDesiredResourceUsageExportConfig() { * * @return The desiredResourceUsageExportConfig. */ + @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig getDesiredResourceUsageExportConfig() { return desiredResourceUsageExportConfig_ == null ? com.google.container.v1.ResourceUsageExportConfig.getDefaultInstance() @@ -1011,6 +1041,7 @@ public com.google.container.v1.ResourceUsageExportConfig getDesiredResourceUsage * .google.container.v1.ResourceUsageExportConfig desired_resource_usage_export_config = 21; * */ + @java.lang.Override public com.google.container.v1.ResourceUsageExportConfigOrBuilder getDesiredResourceUsageExportConfigOrBuilder() { return getDesiredResourceUsageExportConfig(); @@ -1029,6 +1060,7 @@ public com.google.container.v1.ResourceUsageExportConfig getDesiredResourceUsage * * @return Whether the desiredVerticalPodAutoscaling field is set. */ + @java.lang.Override public boolean hasDesiredVerticalPodAutoscaling() { return desiredVerticalPodAutoscaling_ != null; } @@ -1043,6 +1075,7 @@ public boolean hasDesiredVerticalPodAutoscaling() { * * @return The desiredVerticalPodAutoscaling. */ + @java.lang.Override public com.google.container.v1.VerticalPodAutoscaling getDesiredVerticalPodAutoscaling() { return desiredVerticalPodAutoscaling_ == null ? com.google.container.v1.VerticalPodAutoscaling.getDefaultInstance() @@ -1057,6 +1090,7 @@ public com.google.container.v1.VerticalPodAutoscaling getDesiredVerticalPodAutos * * .google.container.v1.VerticalPodAutoscaling desired_vertical_pod_autoscaling = 22; */ + @java.lang.Override public com.google.container.v1.VerticalPodAutoscalingOrBuilder getDesiredVerticalPodAutoscalingOrBuilder() { return getDesiredVerticalPodAutoscaling(); @@ -1076,6 +1110,7 @@ public com.google.container.v1.VerticalPodAutoscaling getDesiredVerticalPodAutos * * @return Whether the desiredIntraNodeVisibilityConfig field is set. */ + @java.lang.Override public boolean hasDesiredIntraNodeVisibilityConfig() { return desiredIntraNodeVisibilityConfig_ != null; } @@ -1091,6 +1126,7 @@ public boolean hasDesiredIntraNodeVisibilityConfig() { * * @return The desiredIntraNodeVisibilityConfig. */ + @java.lang.Override public com.google.container.v1.IntraNodeVisibilityConfig getDesiredIntraNodeVisibilityConfig() { return desiredIntraNodeVisibilityConfig_ == null ? com.google.container.v1.IntraNodeVisibilityConfig.getDefaultInstance() @@ -1106,6 +1142,7 @@ public com.google.container.v1.IntraNodeVisibilityConfig getDesiredIntraNodeVisi * .google.container.v1.IntraNodeVisibilityConfig desired_intra_node_visibility_config = 26; * */ + @java.lang.Override public com.google.container.v1.IntraNodeVisibilityConfigOrBuilder getDesiredIntraNodeVisibilityConfigOrBuilder() { return getDesiredIntraNodeVisibilityConfig(); @@ -1131,6 +1168,7 @@ public com.google.container.v1.IntraNodeVisibilityConfig getDesiredIntraNodeVisi * * @return The desiredMasterVersion. */ + @java.lang.Override public java.lang.String getDesiredMasterVersion() { java.lang.Object ref = desiredMasterVersion_; if (ref instanceof java.lang.String) { @@ -1160,6 +1198,7 @@ public java.lang.String getDesiredMasterVersion() { * * @return The bytes for desiredMasterVersion. */ + @java.lang.Override public com.google.protobuf.ByteString getDesiredMasterVersionBytes() { java.lang.Object ref = desiredMasterVersion_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java index 20b5b96d..38e9b13c 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java @@ -150,6 +150,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -175,6 +176,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -204,6 +206,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -230,6 +233,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -257,6 +261,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -281,6 +286,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -308,6 +314,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -331,6 +338,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java index ac838a10..963d7f4f 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java @@ -157,6 +157,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -182,6 +183,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -211,6 +213,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -237,6 +240,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -265,6 +269,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return Whether the cluster field is set. */ + @java.lang.Override public boolean hasCluster() { return cluster_ != null; } @@ -281,6 +286,7 @@ public boolean hasCluster() { * * @return The cluster. */ + @java.lang.Override public com.google.container.v1.Cluster getCluster() { return cluster_ == null ? com.google.container.v1.Cluster.getDefaultInstance() : cluster_; } @@ -295,6 +301,7 @@ public com.google.container.v1.Cluster getCluster() { * .google.container.v1.Cluster cluster = 3 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public com.google.container.v1.ClusterOrBuilder getClusterOrBuilder() { return getCluster(); } @@ -313,6 +320,7 @@ public com.google.container.v1.ClusterOrBuilder getClusterOrBuilder() { * * @return The parent. */ + @java.lang.Override public java.lang.String getParent() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { @@ -336,6 +344,7 @@ public java.lang.String getParent() { * * @return The bytes for parent. */ + @java.lang.Override public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java index cd1719d7..da1f5f14 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java @@ -165,6 +165,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -190,6 +191,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -219,6 +221,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -245,6 +248,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -272,6 +276,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -296,6 +301,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -323,6 +329,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return Whether the nodePool field is set. */ + @java.lang.Override public boolean hasNodePool() { return nodePool_ != null; } @@ -338,6 +345,7 @@ public boolean hasNodePool() { * * @return The nodePool. */ + @java.lang.Override public com.google.container.v1.NodePool getNodePool() { return nodePool_ == null ? com.google.container.v1.NodePool.getDefaultInstance() : nodePool_; } @@ -351,6 +359,7 @@ public com.google.container.v1.NodePool getNodePool() { * .google.container.v1.NodePool node_pool = 4 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() { return getNodePool(); } @@ -370,6 +379,7 @@ public com.google.container.v1.NodePoolOrBuilder getNodePoolOrBuilder() { * * @return The parent. */ + @java.lang.Override public java.lang.String getParent() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { @@ -394,6 +404,7 @@ public java.lang.String getParent() { * * @return The bytes for parent. */ + @java.lang.Override public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java index c91dcf83..0a97cb78 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java @@ -134,6 +134,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The startTime. */ + @java.lang.Override public java.lang.String getStartTime() { java.lang.Object ref = startTime_; if (ref instanceof java.lang.String) { @@ -158,6 +159,7 @@ public java.lang.String getStartTime() { * * @return The bytes for startTime. */ + @java.lang.Override public com.google.protobuf.ByteString getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof java.lang.String) { @@ -186,6 +188,7 @@ public com.google.protobuf.ByteString getStartTimeBytes() { * * @return The duration. */ + @java.lang.Override public java.lang.String getDuration() { java.lang.Object ref = duration_; if (ref instanceof java.lang.String) { @@ -211,6 +214,7 @@ public java.lang.String getDuration() { * * @return The bytes for duration. */ + @java.lang.Override public com.google.protobuf.ByteString getDurationBytes() { java.lang.Object ref = duration_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java index 9a33e0a0..46aa6c2b 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java @@ -242,6 +242,10 @@ public State findValueByNumber(int number) { }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } return getDescriptor().getValues().get(ordinal()); } @@ -287,6 +291,7 @@ private State(int value) { * * @return The enum numeric value on the wire for state. */ + @java.lang.Override public int getStateValue() { return state_; } @@ -301,6 +306,7 @@ public int getStateValue() { * * @return The state. */ + @java.lang.Override public com.google.container.v1.DatabaseEncryption.State getState() { @SuppressWarnings("deprecation") com.google.container.v1.DatabaseEncryption.State result = @@ -322,6 +328,7 @@ public com.google.container.v1.DatabaseEncryption.State getState() { * * @return The keyName. */ + @java.lang.Override public java.lang.String getKeyName() { java.lang.Object ref = keyName_; if (ref instanceof java.lang.String) { @@ -345,6 +352,7 @@ public java.lang.String getKeyName() { * * @return The bytes for keyName. */ + @java.lang.Override public com.google.protobuf.ByteString getKeyNameBytes() { java.lang.Object ref = keyName_; if (ref instanceof java.lang.String) { @@ -700,6 +708,7 @@ public Builder mergeFrom( * * @return The enum numeric value on the wire for state. */ + @java.lang.Override public int getStateValue() { return state_; } @@ -716,6 +725,7 @@ public int getStateValue() { * @return This builder for chaining. */ public Builder setStateValue(int value) { + state_ = value; onChanged(); return this; @@ -731,6 +741,7 @@ public Builder setStateValue(int value) { * * @return The state. */ + @java.lang.Override public com.google.container.v1.DatabaseEncryption.State getState() { @SuppressWarnings("deprecation") com.google.container.v1.DatabaseEncryption.State result = diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java index 3185718e..d21e931a 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java @@ -150,6 +150,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -175,6 +176,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -204,6 +206,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -230,6 +233,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -257,6 +261,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -281,6 +286,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -308,6 +314,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -331,6 +338,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java index 7a2ab64b..411345a7 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java @@ -158,6 +158,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -183,6 +184,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -212,6 +214,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -238,6 +241,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -265,6 +269,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -289,6 +294,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -316,6 +322,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The nodePoolId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; @@ -340,6 +347,7 @@ public java.lang.String getNodePoolId() { * * @return The bytes for nodePoolId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; @@ -368,6 +376,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -392,6 +401,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java index 6400a4da..c35e6bc9 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java @@ -150,6 +150,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -175,6 +176,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -204,6 +206,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -230,6 +233,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -257,6 +261,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -281,6 +286,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -308,6 +314,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -331,6 +338,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java index 1941a80a..bd92edbc 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java @@ -158,6 +158,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -183,6 +184,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -212,6 +214,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -238,6 +241,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -265,6 +269,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -289,6 +294,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -316,6 +322,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The nodePoolId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; @@ -340,6 +347,7 @@ public java.lang.String getNodePoolId() { * * @return The bytes for nodePoolId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; @@ -368,6 +376,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -392,6 +401,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java index 67da30db..1d8718f6 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java @@ -150,6 +150,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -175,6 +176,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -204,6 +206,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -230,6 +233,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -257,6 +261,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The operationId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getOperationId() { java.lang.Object ref = operationId_; @@ -281,6 +286,7 @@ public java.lang.String getOperationId() { * * @return The bytes for operationId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getOperationIdBytes() { java.lang.Object ref = operationId_; @@ -308,6 +314,7 @@ public com.google.protobuf.ByteString getOperationIdBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -331,6 +338,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java index cfec3be5..7503774b 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java @@ -142,6 +142,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -167,6 +168,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -195,6 +197,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -220,6 +223,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -247,6 +251,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -270,6 +275,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java index 69429e3a..13aada74 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java @@ -124,6 +124,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The disabled. */ + @java.lang.Override public boolean getDisabled() { return disabled_; } @@ -460,6 +461,7 @@ public Builder mergeFrom( * * @return The disabled. */ + @java.lang.Override public boolean getDisabled() { return disabled_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java index f436f285..6754cf35 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java @@ -123,6 +123,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The disabled. */ + @java.lang.Override public boolean getDisabled() { return disabled_; } @@ -457,6 +458,7 @@ public Builder mergeFrom( * * @return The disabled. */ + @java.lang.Override public boolean getDisabled() { return disabled_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java index 0c6cae80..42088b3a 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java @@ -206,6 +206,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The useIpAliases. */ + @java.lang.Override public boolean getUseIpAliases() { return useIpAliases_; } @@ -224,6 +225,7 @@ public boolean getUseIpAliases() { * * @return The createSubnetwork. */ + @java.lang.Override public boolean getCreateSubnetwork() { return createSubnetwork_; } @@ -243,6 +245,7 @@ public boolean getCreateSubnetwork() { * * @return The subnetworkName. */ + @java.lang.Override public java.lang.String getSubnetworkName() { java.lang.Object ref = subnetworkName_; if (ref instanceof java.lang.String) { @@ -267,6 +270,7 @@ public java.lang.String getSubnetworkName() { * * @return The bytes for subnetworkName. */ + @java.lang.Override public com.google.protobuf.ByteString getSubnetworkNameBytes() { java.lang.Object ref = subnetworkName_; if (ref instanceof java.lang.String) { @@ -292,6 +296,7 @@ public com.google.protobuf.ByteString getSubnetworkNameBytes() { * * @return The clusterIpv4Cidr. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterIpv4Cidr() { java.lang.Object ref = clusterIpv4Cidr_; @@ -315,6 +320,7 @@ public java.lang.String getClusterIpv4Cidr() { * * @return The bytes for clusterIpv4Cidr. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { java.lang.Object ref = clusterIpv4Cidr_; @@ -341,6 +347,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBytes() { * * @return The nodeIpv4Cidr. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getNodeIpv4Cidr() { java.lang.Object ref = nodeIpv4Cidr_; @@ -364,6 +371,7 @@ public java.lang.String getNodeIpv4Cidr() { * * @return The bytes for nodeIpv4Cidr. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { java.lang.Object ref = nodeIpv4Cidr_; @@ -390,6 +398,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBytes() { * * @return The servicesIpv4Cidr. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getServicesIpv4Cidr() { java.lang.Object ref = servicesIpv4Cidr_; @@ -413,6 +422,7 @@ public java.lang.String getServicesIpv4Cidr() { * * @return The bytes for servicesIpv4Cidr. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { java.lang.Object ref = servicesIpv4Cidr_; @@ -444,6 +454,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBytes() { * * @return The clusterSecondaryRangeName. */ + @java.lang.Override public java.lang.String getClusterSecondaryRangeName() { java.lang.Object ref = clusterSecondaryRangeName_; if (ref instanceof java.lang.String) { @@ -471,6 +482,7 @@ public java.lang.String getClusterSecondaryRangeName() { * * @return The bytes for clusterSecondaryRangeName. */ + @java.lang.Override public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { java.lang.Object ref = clusterSecondaryRangeName_; if (ref instanceof java.lang.String) { @@ -501,6 +513,7 @@ public com.google.protobuf.ByteString getClusterSecondaryRangeNameBytes() { * * @return The servicesSecondaryRangeName. */ + @java.lang.Override public java.lang.String getServicesSecondaryRangeName() { java.lang.Object ref = servicesSecondaryRangeName_; if (ref instanceof java.lang.String) { @@ -528,6 +541,7 @@ public java.lang.String getServicesSecondaryRangeName() { * * @return The bytes for servicesSecondaryRangeName. */ + @java.lang.Override public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { java.lang.Object ref = servicesSecondaryRangeName_; if (ref instanceof java.lang.String) { @@ -563,6 +577,7 @@ public com.google.protobuf.ByteString getServicesSecondaryRangeNameBytes() { * * @return The clusterIpv4CidrBlock. */ + @java.lang.Override public java.lang.String getClusterIpv4CidrBlock() { java.lang.Object ref = clusterIpv4CidrBlock_; if (ref instanceof java.lang.String) { @@ -595,6 +610,7 @@ public java.lang.String getClusterIpv4CidrBlock() { * * @return The bytes for clusterIpv4CidrBlock. */ + @java.lang.Override public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { java.lang.Object ref = clusterIpv4CidrBlock_; if (ref instanceof java.lang.String) { @@ -629,6 +645,7 @@ public com.google.protobuf.ByteString getClusterIpv4CidrBlockBytes() { * * @return The nodeIpv4CidrBlock. */ + @java.lang.Override public java.lang.String getNodeIpv4CidrBlock() { java.lang.Object ref = nodeIpv4CidrBlock_; if (ref instanceof java.lang.String) { @@ -660,6 +677,7 @@ public java.lang.String getNodeIpv4CidrBlock() { * * @return The bytes for nodeIpv4CidrBlock. */ + @java.lang.Override public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() { java.lang.Object ref = nodeIpv4CidrBlock_; if (ref instanceof java.lang.String) { @@ -695,6 +713,7 @@ public com.google.protobuf.ByteString getNodeIpv4CidrBlockBytes() { * * @return The servicesIpv4CidrBlock. */ + @java.lang.Override public java.lang.String getServicesIpv4CidrBlock() { java.lang.Object ref = servicesIpv4CidrBlock_; if (ref instanceof java.lang.String) { @@ -727,6 +746,7 @@ public java.lang.String getServicesIpv4CidrBlock() { * * @return The bytes for servicesIpv4CidrBlock. */ + @java.lang.Override public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { java.lang.Object ref = servicesIpv4CidrBlock_; if (ref instanceof java.lang.String) { @@ -762,6 +782,7 @@ public com.google.protobuf.ByteString getServicesIpv4CidrBlockBytes() { * * @return The tpuIpv4CidrBlock. */ + @java.lang.Override public java.lang.String getTpuIpv4CidrBlock() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof java.lang.String) { @@ -794,6 +815,7 @@ public java.lang.String getTpuIpv4CidrBlock() { * * @return The bytes for tpuIpv4CidrBlock. */ + @java.lang.Override public com.google.protobuf.ByteString getTpuIpv4CidrBlockBytes() { java.lang.Object ref = tpuIpv4CidrBlock_; if (ref instanceof java.lang.String) { @@ -1311,6 +1333,7 @@ public Builder mergeFrom( * * @return The useIpAliases. */ + @java.lang.Override public boolean getUseIpAliases() { return useIpAliases_; } @@ -1363,6 +1386,7 @@ public Builder clearUseIpAliases() { * * @return The createSubnetwork. */ + @java.lang.Override public boolean getCreateSubnetwork() { return createSubnetwork_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java index 005acad0..a2303fea 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java @@ -121,6 +121,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } @@ -455,6 +456,7 @@ public Builder mergeFrom( * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java index 8132df30..7507bf7a 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java @@ -120,6 +120,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The disabled. */ + @java.lang.Override public boolean getDisabled() { return disabled_; } @@ -451,6 +452,7 @@ public Builder mergeFrom( * * @return The disabled. */ + @java.lang.Override public boolean getDisabled() { return disabled_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java index 75f8b595..6e332f24 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java @@ -124,6 +124,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } @@ -456,6 +457,7 @@ public Builder mergeFrom( * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java index 91ada75f..edccc6af 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java @@ -142,6 +142,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -167,6 +168,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -196,6 +198,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -222,6 +225,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -250,6 +254,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The parent. */ + @java.lang.Override public java.lang.String getParent() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { @@ -274,6 +279,7 @@ public java.lang.String getParent() { * * @return The bytes for parent. */ + @java.lang.Override public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java index 98f0c739..1c455f9e 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java @@ -144,6 +144,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * repeated .google.container.v1.Cluster clusters = 1; */ + @java.lang.Override public java.util.List getClustersList() { return clusters_; } @@ -157,6 +158,7 @@ public java.util.List getClustersList() { * * repeated .google.container.v1.Cluster clusters = 1; */ + @java.lang.Override public java.util.List getClustersOrBuilderList() { return clusters_; @@ -171,6 +173,7 @@ public java.util.List getClustersList() { * * repeated .google.container.v1.Cluster clusters = 1; */ + @java.lang.Override public int getClustersCount() { return clusters_.size(); } @@ -184,6 +187,7 @@ public int getClustersCount() { * * repeated .google.container.v1.Cluster clusters = 1; */ + @java.lang.Override public com.google.container.v1.Cluster getClusters(int index) { return clusters_.get(index); } @@ -197,6 +201,7 @@ public com.google.container.v1.Cluster getClusters(int index) { * * repeated .google.container.v1.Cluster clusters = 1; */ + @java.lang.Override public com.google.container.v1.ClusterOrBuilder getClustersOrBuilder(int index) { return clusters_.get(index); } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java index 40ac8111..dac8a5fb 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java @@ -150,6 +150,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -175,6 +176,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -204,6 +206,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -230,6 +233,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -257,6 +261,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -281,6 +286,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -308,6 +314,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The parent. */ + @java.lang.Override public java.lang.String getParent() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { @@ -331,6 +338,7 @@ public java.lang.String getParent() { * * @return The bytes for parent. */ + @java.lang.Override public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java index dd4661e7..11a0a60e 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java @@ -129,6 +129,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * repeated .google.container.v1.NodePool node_pools = 1; */ + @java.lang.Override public java.util.List getNodePoolsList() { return nodePools_; } @@ -141,6 +142,7 @@ public java.util.List getNodePoolsList() { * * repeated .google.container.v1.NodePool node_pools = 1; */ + @java.lang.Override public java.util.List getNodePoolsOrBuilderList() { return nodePools_; @@ -154,6 +156,7 @@ public java.util.List getNodePoolsList() { * * repeated .google.container.v1.NodePool node_pools = 1; */ + @java.lang.Override public int getNodePoolsCount() { return nodePools_.size(); } @@ -166,6 +169,7 @@ public int getNodePoolsCount() { * * repeated .google.container.v1.NodePool node_pools = 1; */ + @java.lang.Override public com.google.container.v1.NodePool getNodePools(int index) { return nodePools_.get(index); } @@ -178,6 +182,7 @@ public com.google.container.v1.NodePool getNodePools(int index) { * * repeated .google.container.v1.NodePool node_pools = 1; */ + @java.lang.Override public com.google.container.v1.NodePoolOrBuilder getNodePoolsOrBuilder(int index) { return nodePools_.get(index); } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java index c6eaf309..13e5dc99 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java @@ -142,6 +142,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -167,6 +168,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -195,6 +197,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -220,6 +223,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -248,6 +252,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The parent. */ + @java.lang.Override public java.lang.String getParent() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { @@ -272,6 +277,7 @@ public java.lang.String getParent() { * * @return The bytes for parent. */ + @java.lang.Override public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java index b201d354..91c2e7f1 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java @@ -143,6 +143,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * repeated .google.container.v1.Operation operations = 1; */ + @java.lang.Override public java.util.List getOperationsList() { return operations_; } @@ -155,6 +156,7 @@ public java.util.List getOperationsList() { * * repeated .google.container.v1.Operation operations = 1; */ + @java.lang.Override public java.util.List getOperationsOrBuilderList() { return operations_; @@ -168,6 +170,7 @@ public java.util.List getOperationsList() { * * repeated .google.container.v1.Operation operations = 1; */ + @java.lang.Override public int getOperationsCount() { return operations_.size(); } @@ -180,6 +183,7 @@ public int getOperationsCount() { * * repeated .google.container.v1.Operation operations = 1; */ + @java.lang.Override public com.google.container.v1.Operation getOperations(int index) { return operations_.get(index); } @@ -192,6 +196,7 @@ public com.google.container.v1.Operation getOperations(int index) { * * repeated .google.container.v1.Operation operations = 1; */ + @java.lang.Override public com.google.container.v1.OperationOrBuilder getOperationsOrBuilder(int index) { return operations_.get(index); } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java index 9b78bd94..54e28e04 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java @@ -147,6 +147,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The parent. */ + @java.lang.Override public java.lang.String getParent() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { @@ -170,6 +171,7 @@ public java.lang.String getParent() { * * @return The bytes for parent. */ + @java.lang.Override public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { @@ -198,6 +200,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * @return The filter. */ + @java.lang.Override public java.lang.String getFilter() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { @@ -223,6 +226,7 @@ public java.lang.String getFilter() { * * @return The bytes for filter. */ + @java.lang.Override public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof java.lang.String) { @@ -251,6 +255,7 @@ public com.google.protobuf.ByteString getFilterBytes() { * * @return The pageSize. */ + @java.lang.Override public int getPageSize() { return pageSize_; } @@ -269,6 +274,7 @@ public int getPageSize() { * * @return The pageToken. */ + @java.lang.Override public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { @@ -292,6 +298,7 @@ public java.lang.String getPageToken() { * * @return The bytes for pageToken. */ + @java.lang.Override public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { @@ -917,6 +924,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { * * @return The pageSize. */ + @java.lang.Override public int getPageSize() { return pageSize_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java index b670a833..b75fc0f0 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java @@ -139,6 +139,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ + @java.lang.Override public java.util.List getSubnetworksList() { return subnetworks_; } @@ -151,6 +152,7 @@ public java.util.List getSubnetworksLi * * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ + @java.lang.Override public java.util.List getSubnetworksOrBuilderList() { return subnetworks_; @@ -164,6 +166,7 @@ public java.util.List getSubnetworksLi * * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ + @java.lang.Override public int getSubnetworksCount() { return subnetworks_.size(); } @@ -176,6 +179,7 @@ public int getSubnetworksCount() { * * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ + @java.lang.Override public com.google.container.v1.UsableSubnetwork getSubnetworks(int index) { return subnetworks_.get(index); } @@ -188,6 +192,7 @@ public com.google.container.v1.UsableSubnetwork getSubnetworks(int index) { * * repeated .google.container.v1.UsableSubnetwork subnetworks = 1; */ + @java.lang.Override public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder(int index) { return subnetworks_.get(index); } @@ -208,6 +213,7 @@ public com.google.container.v1.UsableSubnetworkOrBuilder getSubnetworksOrBuilder * * @return The nextPageToken. */ + @java.lang.Override public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { @@ -233,6 +239,7 @@ public java.lang.String getNextPageToken() { * * @return The bytes for nextPageToken. */ + @java.lang.Override public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java index 791fbcdb..4eaa0828 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java @@ -140,6 +140,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return Whether the window field is set. */ + @java.lang.Override public boolean hasWindow() { return window_ != null; } @@ -154,6 +155,7 @@ public boolean hasWindow() { * * @return The window. */ + @java.lang.Override public com.google.container.v1.MaintenanceWindow getWindow() { return window_ == null ? com.google.container.v1.MaintenanceWindow.getDefaultInstance() @@ -168,6 +170,7 @@ public com.google.container.v1.MaintenanceWindow getWindow() { * * .google.container.v1.MaintenanceWindow window = 1; */ + @java.lang.Override public com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder() { return getWindow(); } @@ -189,6 +192,7 @@ public com.google.container.v1.MaintenanceWindowOrBuilder getWindowOrBuilder() { * * @return The resourceVersion. */ + @java.lang.Override public java.lang.String getResourceVersion() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { @@ -215,6 +219,7 @@ public java.lang.String getResourceVersion() { * * @return The bytes for resourceVersion. */ + @java.lang.Override public com.google.protobuf.ByteString getResourceVersionBytes() { java.lang.Object ref = resourceVersion_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java index 718cbb2b..406cb1c2 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java @@ -223,6 +223,7 @@ public PolicyCase getPolicyCase() { * * @return Whether the dailyMaintenanceWindow field is set. */ + @java.lang.Override public boolean hasDailyMaintenanceWindow() { return policyCase_ == 2; } @@ -237,6 +238,7 @@ public boolean hasDailyMaintenanceWindow() { * * @return The dailyMaintenanceWindow. */ + @java.lang.Override public com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow() { if (policyCase_ == 2) { return (com.google.container.v1.DailyMaintenanceWindow) policy_; @@ -252,6 +254,7 @@ public com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow( * * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; */ + @java.lang.Override public com.google.container.v1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder() { if (policyCase_ == 2) { @@ -274,6 +277,7 @@ public com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow( * * @return Whether the recurringWindow field is set. */ + @java.lang.Override public boolean hasRecurringWindow() { return policyCase_ == 3; } @@ -290,6 +294,7 @@ public boolean hasRecurringWindow() { * * @return The recurringWindow. */ + @java.lang.Override public com.google.container.v1.RecurringTimeWindow getRecurringWindow() { if (policyCase_ == 3) { return (com.google.container.v1.RecurringTimeWindow) policy_; @@ -307,6 +312,7 @@ public com.google.container.v1.RecurringTimeWindow getRecurringWindow() { * * .google.container.v1.RecurringTimeWindow recurring_window = 3; */ + @java.lang.Override public com.google.container.v1.RecurringTimeWindowOrBuilder getRecurringWindowOrBuilder() { if (policyCase_ == 3) { return (com.google.container.v1.RecurringTimeWindow) policy_; @@ -354,6 +360,7 @@ public int getMaintenanceExclusionsCount() { * * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4; */ + @java.lang.Override public boolean containsMaintenanceExclusions(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -361,6 +368,7 @@ public boolean containsMaintenanceExclusions(java.lang.String key) { return internalGetMaintenanceExclusions().getMap().containsKey(key); } /** Use {@link #getMaintenanceExclusionsMap()} instead. */ + @java.lang.Override @java.lang.Deprecated public java.util.Map getMaintenanceExclusions() { @@ -376,6 +384,7 @@ public boolean containsMaintenanceExclusions(java.lang.String key) { * * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4; */ + @java.lang.Override public java.util.Map getMaintenanceExclusionsMap() { return internalGetMaintenanceExclusions().getMap(); @@ -390,6 +399,7 @@ public boolean containsMaintenanceExclusions(java.lang.String key) { * * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4; */ + @java.lang.Override public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault( java.lang.String key, com.google.container.v1.TimeWindow defaultValue) { if (key == null) { @@ -409,6 +419,7 @@ public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault( * * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4; */ + @java.lang.Override public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -872,6 +883,7 @@ public Builder clearPolicy() { * * @return Whether the dailyMaintenanceWindow field is set. */ + @java.lang.Override public boolean hasDailyMaintenanceWindow() { return policyCase_ == 2; } @@ -886,6 +898,7 @@ public boolean hasDailyMaintenanceWindow() { * * @return The dailyMaintenanceWindow. */ + @java.lang.Override public com.google.container.v1.DailyMaintenanceWindow getDailyMaintenanceWindow() { if (dailyMaintenanceWindowBuilder_ == null) { if (policyCase_ == 2) { @@ -1020,6 +1033,7 @@ public Builder clearDailyMaintenanceWindow() { * * .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2; */ + @java.lang.Override public com.google.container.v1.DailyMaintenanceWindowOrBuilder getDailyMaintenanceWindowOrBuilder() { if ((policyCase_ == 2) && (dailyMaintenanceWindowBuilder_ != null)) { @@ -1083,6 +1097,7 @@ public Builder clearDailyMaintenanceWindow() { * * @return Whether the recurringWindow field is set. */ + @java.lang.Override public boolean hasRecurringWindow() { return policyCase_ == 3; } @@ -1099,6 +1114,7 @@ public boolean hasRecurringWindow() { * * @return The recurringWindow. */ + @java.lang.Override public com.google.container.v1.RecurringTimeWindow getRecurringWindow() { if (recurringWindowBuilder_ == null) { if (policyCase_ == 3) { @@ -1243,6 +1259,7 @@ public com.google.container.v1.RecurringTimeWindow.Builder getRecurringWindowBui * * .google.container.v1.RecurringTimeWindow recurring_window = 3; */ + @java.lang.Override public com.google.container.v1.RecurringTimeWindowOrBuilder getRecurringWindowOrBuilder() { if ((policyCase_ == 3) && (recurringWindowBuilder_ != null)) { return recurringWindowBuilder_.getMessageOrBuilder(); @@ -1329,6 +1346,7 @@ public int getMaintenanceExclusionsCount() { * * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4; */ + @java.lang.Override public boolean containsMaintenanceExclusions(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -1336,6 +1354,7 @@ public boolean containsMaintenanceExclusions(java.lang.String key) { return internalGetMaintenanceExclusions().getMap().containsKey(key); } /** Use {@link #getMaintenanceExclusionsMap()} instead. */ + @java.lang.Override @java.lang.Deprecated public java.util.Map getMaintenanceExclusions() { @@ -1351,6 +1370,7 @@ public boolean containsMaintenanceExclusions(java.lang.String key) { * * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4; */ + @java.lang.Override public java.util.Map getMaintenanceExclusionsMap() { return internalGetMaintenanceExclusions().getMap(); @@ -1365,6 +1385,7 @@ public boolean containsMaintenanceExclusions(java.lang.String key) { * * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4; */ + @java.lang.Override public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault( java.lang.String key, com.google.container.v1.TimeWindow defaultValue) { if (key == null) { @@ -1384,6 +1405,7 @@ public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrDefault( * * map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4; */ + @java.lang.Override public com.google.container.v1.TimeWindow getMaintenanceExclusionsOrThrow( java.lang.String key) { if (key == null) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java index e662dc64..3b90b09f 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java @@ -176,6 +176,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The username. */ + @java.lang.Override public java.lang.String getUsername() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { @@ -200,6 +201,7 @@ public java.lang.String getUsername() { * * @return The bytes for username. */ + @java.lang.Override public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { @@ -228,6 +230,7 @@ public com.google.protobuf.ByteString getUsernameBytes() { * * @return The password. */ + @java.lang.Override public java.lang.String getPassword() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { @@ -253,6 +256,7 @@ public java.lang.String getPassword() { * * @return The bytes for password. */ + @java.lang.Override public com.google.protobuf.ByteString getPasswordBytes() { java.lang.Object ref = password_; if (ref instanceof java.lang.String) { @@ -280,6 +284,7 @@ public com.google.protobuf.ByteString getPasswordBytes() { * * @return Whether the clientCertificateConfig field is set. */ + @java.lang.Override public boolean hasClientCertificateConfig() { return clientCertificateConfig_ != null; } @@ -296,6 +301,7 @@ public boolean hasClientCertificateConfig() { * * @return The clientCertificateConfig. */ + @java.lang.Override public com.google.container.v1.ClientCertificateConfig getClientCertificateConfig() { return clientCertificateConfig_ == null ? com.google.container.v1.ClientCertificateConfig.getDefaultInstance() @@ -312,6 +318,7 @@ public com.google.container.v1.ClientCertificateConfig getClientCertificateConfi * * .google.container.v1.ClientCertificateConfig client_certificate_config = 3; */ + @java.lang.Override public com.google.container.v1.ClientCertificateConfigOrBuilder getClientCertificateConfigOrBuilder() { return getClientCertificateConfig(); @@ -331,6 +338,7 @@ public com.google.container.v1.ClientCertificateConfig getClientCertificateConfi * * @return The clusterCaCertificate. */ + @java.lang.Override public java.lang.String getClusterCaCertificate() { java.lang.Object ref = clusterCaCertificate_; if (ref instanceof java.lang.String) { @@ -354,6 +362,7 @@ public java.lang.String getClusterCaCertificate() { * * @return The bytes for clusterCaCertificate. */ + @java.lang.Override public com.google.protobuf.ByteString getClusterCaCertificateBytes() { java.lang.Object ref = clusterCaCertificate_; if (ref instanceof java.lang.String) { @@ -380,6 +389,7 @@ public com.google.protobuf.ByteString getClusterCaCertificateBytes() { * * @return The clientCertificate. */ + @java.lang.Override public java.lang.String getClientCertificate() { java.lang.Object ref = clientCertificate_; if (ref instanceof java.lang.String) { @@ -403,6 +413,7 @@ public java.lang.String getClientCertificate() { * * @return The bytes for clientCertificate. */ + @java.lang.Override public com.google.protobuf.ByteString getClientCertificateBytes() { java.lang.Object ref = clientCertificate_; if (ref instanceof java.lang.String) { @@ -429,6 +440,7 @@ public com.google.protobuf.ByteString getClientCertificateBytes() { * * @return The clientKey. */ + @java.lang.Override public java.lang.String getClientKey() { java.lang.Object ref = clientKey_; if (ref instanceof java.lang.String) { @@ -452,6 +464,7 @@ public java.lang.String getClientKey() { * * @return The bytes for clientKey. */ + @java.lang.Override public com.google.protobuf.ByteString getClientKeyBytes() { java.lang.Object ref = clientKey_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java index a2ddfae0..0fd061af 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java @@ -300,6 +300,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The displayName. */ + @java.lang.Override public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { @@ -322,6 +323,7 @@ public java.lang.String getDisplayName() { * * @return The bytes for displayName. */ + @java.lang.Override public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { @@ -347,6 +349,7 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * @return The cidrBlock. */ + @java.lang.Override public java.lang.String getCidrBlock() { java.lang.Object ref = cidrBlock_; if (ref instanceof java.lang.String) { @@ -369,6 +372,7 @@ public java.lang.String getCidrBlock() { * * @return The bytes for cidrBlock. */ + @java.lang.Override public com.google.protobuf.ByteString getCidrBlockBytes() { java.lang.Object ref = cidrBlock_; if (ref instanceof java.lang.String) { @@ -1008,6 +1012,7 @@ public com.google.protobuf.Parser getParserForType() { * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } @@ -1026,6 +1031,7 @@ public boolean getEnabled() { * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; * */ + @java.lang.Override public java.util.List getCidrBlocksList() { return cidrBlocks_; @@ -1041,6 +1047,7 @@ public boolean getEnabled() { * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; * */ + @java.lang.Override public java.util.List< ? extends com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> getCidrBlocksOrBuilderList() { @@ -1057,6 +1064,7 @@ public boolean getEnabled() { * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; * */ + @java.lang.Override public int getCidrBlocksCount() { return cidrBlocks_.size(); } @@ -1071,6 +1079,7 @@ public int getCidrBlocksCount() { * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; * */ + @java.lang.Override public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index) { return cidrBlocks_.get(index); } @@ -1085,6 +1094,7 @@ public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock getCidrB * repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2; * */ + @java.lang.Override public com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder(int index) { return cidrBlocks_.get(index); @@ -1481,6 +1491,7 @@ public Builder mergeFrom( * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java index 93e6654e..fde85ff1 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java @@ -120,6 +120,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The maxPodsPerNode. */ + @java.lang.Override public long getMaxPodsPerNode() { return maxPodsPerNode_; } @@ -451,6 +452,7 @@ public Builder mergeFrom( * * @return The maxPodsPerNode. */ + @java.lang.Override public long getMaxPodsPerNode() { return maxPodsPerNode_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java index 0193f6c9..37461c79 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java @@ -140,6 +140,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The network. */ + @java.lang.Override public java.lang.String getNetwork() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { @@ -165,6 +166,7 @@ public java.lang.String getNetwork() { * * @return The bytes for network. */ + @java.lang.Override public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { @@ -192,6 +194,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * @return The subnetwork. */ + @java.lang.Override public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { @@ -216,6 +219,7 @@ public java.lang.String getSubnetwork() { * * @return The bytes for subnetwork. */ + @java.lang.Override public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { @@ -242,6 +246,7 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { * * @return The enableIntraNodeVisibility. */ + @java.lang.Override public boolean getEnableIntraNodeVisibility() { return enableIntraNodeVisibility_; } @@ -841,6 +846,7 @@ public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { * * @return The enableIntraNodeVisibility. */ + @java.lang.Override public boolean getEnableIntraNodeVisibility() { return enableIntraNodeVisibility_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java index a1280e30..9986ce0e 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java @@ -216,6 +216,10 @@ public Provider findValueByNumber(int number) { }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } return getDescriptor().getValues().get(ordinal()); } @@ -261,6 +265,7 @@ private Provider(int value) { * * @return The enum numeric value on the wire for provider. */ + @java.lang.Override public int getProviderValue() { return provider_; } @@ -275,6 +280,7 @@ public int getProviderValue() { * * @return The provider. */ + @java.lang.Override public com.google.container.v1.NetworkPolicy.Provider getProvider() { @SuppressWarnings("deprecation") com.google.container.v1.NetworkPolicy.Provider result = @@ -295,6 +301,7 @@ public com.google.container.v1.NetworkPolicy.Provider getProvider() { * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } @@ -642,6 +649,7 @@ public Builder mergeFrom( * * @return The enum numeric value on the wire for provider. */ + @java.lang.Override public int getProviderValue() { return provider_; } @@ -658,6 +666,7 @@ public int getProviderValue() { * @return This builder for chaining. */ public Builder setProviderValue(int value) { + provider_ = value; onChanged(); return this; @@ -673,6 +682,7 @@ public Builder setProviderValue(int value) { * * @return The provider. */ + @java.lang.Override public com.google.container.v1.NetworkPolicy.Provider getProvider() { @SuppressWarnings("deprecation") com.google.container.v1.NetworkPolicy.Provider result = @@ -730,6 +740,7 @@ public Builder clearProvider() { * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java index 9aa14563..0349de6a 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java @@ -122,6 +122,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The disabled. */ + @java.lang.Override public boolean getDisabled() { return disabled_; } @@ -455,6 +456,7 @@ public Builder mergeFrom( * * @return The disabled. */ + @java.lang.Override public boolean getDisabled() { return disabled_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java index 77f6d874..d5588bbd 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java @@ -291,6 +291,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * @return The machineType. */ + @java.lang.Override public java.lang.String getMachineType() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { @@ -317,6 +318,7 @@ public java.lang.String getMachineType() { * * @return The bytes for machineType. */ + @java.lang.Override public com.google.protobuf.ByteString getMachineTypeBytes() { java.lang.Object ref = machineType_; if (ref instanceof java.lang.String) { @@ -344,6 +346,7 @@ public com.google.protobuf.ByteString getMachineTypeBytes() { * * @return The diskSizeGb. */ + @java.lang.Override public int getDiskSizeGb() { return diskSizeGb_; } @@ -463,6 +466,7 @@ public com.google.protobuf.ByteString getOauthScopesBytes(int index) { * * @return The serviceAccount. */ + @java.lang.Override public java.lang.String getServiceAccount() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { @@ -486,6 +490,7 @@ public java.lang.String getServiceAccount() { * * @return The bytes for serviceAccount. */ + @java.lang.Override public com.google.protobuf.ByteString getServiceAccountBytes() { java.lang.Object ref = serviceAccount_; if (ref instanceof java.lang.String) { @@ -559,6 +564,7 @@ public int getMetadataCount() { * * map<string, string> metadata = 4; */ + @java.lang.Override public boolean containsMetadata(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -566,6 +572,7 @@ public boolean containsMetadata(java.lang.String key) { return internalGetMetadata().getMap().containsKey(key); } /** Use {@link #getMetadataMap()} instead. */ + @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); @@ -606,6 +613,7 @@ public java.util.Map getMetadata() { * * map<string, string> metadata = 4; */ + @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } @@ -645,6 +653,7 @@ public java.util.Map getMetadataMap() { * * map<string, string> metadata = 4; */ + @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { @@ -689,6 +698,7 @@ public java.lang.String getMetadataOrDefault( * * map<string, string> metadata = 4; */ + @java.lang.Override public java.lang.String getMetadataOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -714,6 +724,7 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { * * @return The imageType. */ + @java.lang.Override public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { @@ -737,6 +748,7 @@ public java.lang.String getImageType() { * * @return The bytes for imageType. */ + @java.lang.Override public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { @@ -790,6 +802,7 @@ public int getLabelsCount() { * * map<string, string> labels = 6; */ + @java.lang.Override public boolean containsLabels(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -797,6 +810,7 @@ public boolean containsLabels(java.lang.String key) { return internalGetLabels().getMap().containsKey(key); } /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); @@ -817,6 +831,7 @@ public java.util.Map getLabels() { * * map<string, string> labels = 6; */ + @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } @@ -836,6 +851,7 @@ public java.util.Map getLabelsMap() { * * map<string, string> labels = 6; */ + @java.lang.Override public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { if (key == null) { throw new java.lang.NullPointerException(); @@ -859,6 +875,7 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * * map<string, string> labels = 6; */ + @java.lang.Override public java.lang.String getLabelsOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -887,6 +904,7 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { * * @return The localSsdCount. */ + @java.lang.Override public int getLocalSsdCount() { return localSsdCount_; } @@ -979,6 +997,7 @@ public com.google.protobuf.ByteString getTagsBytes(int index) { * * @return The preemptible. */ + @java.lang.Override public boolean getPreemptible() { return preemptible_; } @@ -996,6 +1015,7 @@ public boolean getPreemptible() { * * repeated .google.container.v1.AcceleratorConfig accelerators = 11; */ + @java.lang.Override public java.util.List getAcceleratorsList() { return accelerators_; } @@ -1010,6 +1030,7 @@ public java.util.List getAccelerators * * repeated .google.container.v1.AcceleratorConfig accelerators = 11; */ + @java.lang.Override public java.util.List getAcceleratorsOrBuilderList() { return accelerators_; @@ -1025,6 +1046,7 @@ public java.util.List getAccelerators * * repeated .google.container.v1.AcceleratorConfig accelerators = 11; */ + @java.lang.Override public int getAcceleratorsCount() { return accelerators_.size(); } @@ -1039,6 +1061,7 @@ public int getAcceleratorsCount() { * * repeated .google.container.v1.AcceleratorConfig accelerators = 11; */ + @java.lang.Override public com.google.container.v1.AcceleratorConfig getAccelerators(int index) { return accelerators_.get(index); } @@ -1053,6 +1076,7 @@ public com.google.container.v1.AcceleratorConfig getAccelerators(int index) { * * repeated .google.container.v1.AcceleratorConfig accelerators = 11; */ + @java.lang.Override public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuilder(int index) { return accelerators_.get(index); } @@ -1071,6 +1095,7 @@ public com.google.container.v1.AcceleratorConfigOrBuilder getAcceleratorsOrBuild * * @return The diskType. */ + @java.lang.Override public java.lang.String getDiskType() { java.lang.Object ref = diskType_; if (ref instanceof java.lang.String) { @@ -1094,6 +1119,7 @@ public java.lang.String getDiskType() { * * @return The bytes for diskType. */ + @java.lang.Override public com.google.protobuf.ByteString getDiskTypeBytes() { java.lang.Object ref = diskType_; if (ref instanceof java.lang.String) { @@ -1125,6 +1151,7 @@ public com.google.protobuf.ByteString getDiskTypeBytes() { * * @return The minCpuPlatform. */ + @java.lang.Override public java.lang.String getMinCpuPlatform() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { @@ -1153,6 +1180,7 @@ public java.lang.String getMinCpuPlatform() { * * @return The bytes for minCpuPlatform. */ + @java.lang.Override public com.google.protobuf.ByteString getMinCpuPlatformBytes() { java.lang.Object ref = minCpuPlatform_; if (ref instanceof java.lang.String) { @@ -1178,6 +1206,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() { * * repeated .google.container.v1.NodeTaint taints = 15; */ + @java.lang.Override public java.util.List getTaintsList() { return taints_; } @@ -1192,6 +1221,7 @@ public java.util.List getTaintsList() { * * repeated .google.container.v1.NodeTaint taints = 15; */ + @java.lang.Override public java.util.List getTaintsOrBuilderList() { return taints_; @@ -1207,6 +1237,7 @@ public java.util.List getTaintsList() { * * repeated .google.container.v1.NodeTaint taints = 15; */ + @java.lang.Override public int getTaintsCount() { return taints_.size(); } @@ -1221,6 +1252,7 @@ public int getTaintsCount() { * * repeated .google.container.v1.NodeTaint taints = 15; */ + @java.lang.Override public com.google.container.v1.NodeTaint getTaints(int index) { return taints_.get(index); } @@ -1235,6 +1267,7 @@ public com.google.container.v1.NodeTaint getTaints(int index) { * * repeated .google.container.v1.NodeTaint taints = 15; */ + @java.lang.Override public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) { return taints_.get(index); } @@ -1252,6 +1285,7 @@ public com.google.container.v1.NodeTaintOrBuilder getTaintsOrBuilder(int index) * * @return Whether the shieldedInstanceConfig field is set. */ + @java.lang.Override public boolean hasShieldedInstanceConfig() { return shieldedInstanceConfig_ != null; } @@ -1266,6 +1300,7 @@ public boolean hasShieldedInstanceConfig() { * * @return The shieldedInstanceConfig. */ + @java.lang.Override public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig() { return shieldedInstanceConfig_ == null ? com.google.container.v1.ShieldedInstanceConfig.getDefaultInstance() @@ -1280,6 +1315,7 @@ public com.google.container.v1.ShieldedInstanceConfig getShieldedInstanceConfig( * * .google.container.v1.ShieldedInstanceConfig shielded_instance_config = 20; */ + @java.lang.Override public com.google.container.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder() { return getShieldedInstanceConfig(); @@ -2120,6 +2156,7 @@ public Builder setMachineTypeBytes(com.google.protobuf.ByteString value) { * * @return The diskSizeGb. */ + @java.lang.Override public int getDiskSizeGb() { return diskSizeGb_; } @@ -2594,6 +2631,7 @@ public int getMetadataCount() { * * map<string, string> metadata = 4; */ + @java.lang.Override public boolean containsMetadata(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -2601,6 +2639,7 @@ public boolean containsMetadata(java.lang.String key) { return internalGetMetadata().getMap().containsKey(key); } /** Use {@link #getMetadataMap()} instead. */ + @java.lang.Override @java.lang.Deprecated public java.util.Map getMetadata() { return getMetadataMap(); @@ -2641,6 +2680,7 @@ public java.util.Map getMetadata() { * * map<string, string> metadata = 4; */ + @java.lang.Override public java.util.Map getMetadataMap() { return internalGetMetadata().getMap(); } @@ -2680,6 +2720,7 @@ public java.util.Map getMetadataMap() { * * map<string, string> metadata = 4; */ + @java.lang.Override public java.lang.String getMetadataOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { @@ -2724,6 +2765,7 @@ public java.lang.String getMetadataOrDefault( * * map<string, string> metadata = 4; */ + @java.lang.Override public java.lang.String getMetadataOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -3026,6 +3068,7 @@ public int getLabelsCount() { * * map<string, string> labels = 6; */ + @java.lang.Override public boolean containsLabels(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -3033,6 +3076,7 @@ public boolean containsLabels(java.lang.String key) { return internalGetLabels().getMap().containsKey(key); } /** Use {@link #getLabelsMap()} instead. */ + @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); @@ -3053,6 +3097,7 @@ public java.util.Map getLabels() { * * map<string, string> labels = 6; */ + @java.lang.Override public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } @@ -3072,6 +3117,7 @@ public java.util.Map getLabelsMap() { * * map<string, string> labels = 6; */ + @java.lang.Override public java.lang.String getLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { @@ -3096,6 +3142,7 @@ public java.lang.String getLabelsOrDefault( * * map<string, string> labels = 6; */ + @java.lang.Override public java.lang.String getLabelsOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -3202,6 +3249,7 @@ public Builder putAllLabels(java.util.Map va * * @return The localSsdCount. */ + @java.lang.Override public int getLocalSsdCount() { return localSsdCount_; } @@ -3458,6 +3506,7 @@ public Builder addTagsBytes(com.google.protobuf.ByteString value) { * * @return The preemptible. */ + @java.lang.Override public boolean getPreemptible() { return preemptible_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java index ea4d388b..a2d7fd21 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java @@ -144,6 +144,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The autoUpgrade. */ + @java.lang.Override public boolean getAutoUpgrade() { return autoUpgrade_; } @@ -164,6 +165,7 @@ public boolean getAutoUpgrade() { * * @return The autoRepair. */ + @java.lang.Override public boolean getAutoRepair() { return autoRepair_; } @@ -181,6 +183,7 @@ public boolean getAutoRepair() { * * @return Whether the upgradeOptions field is set. */ + @java.lang.Override public boolean hasUpgradeOptions() { return upgradeOptions_ != null; } @@ -195,6 +198,7 @@ public boolean hasUpgradeOptions() { * * @return The upgradeOptions. */ + @java.lang.Override public com.google.container.v1.AutoUpgradeOptions getUpgradeOptions() { return upgradeOptions_ == null ? com.google.container.v1.AutoUpgradeOptions.getDefaultInstance() @@ -209,6 +213,7 @@ public com.google.container.v1.AutoUpgradeOptions getUpgradeOptions() { * * .google.container.v1.AutoUpgradeOptions upgrade_options = 10; */ + @java.lang.Override public com.google.container.v1.AutoUpgradeOptionsOrBuilder getUpgradeOptionsOrBuilder() { return getUpgradeOptions(); } @@ -585,6 +590,7 @@ public Builder mergeFrom( * * @return The autoUpgrade. */ + @java.lang.Override public boolean getAutoUpgrade() { return autoUpgrade_; } @@ -643,6 +649,7 @@ public Builder clearAutoUpgrade() { * * @return The autoRepair. */ + @java.lang.Override public boolean getAutoRepair() { return autoRepair_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java index 60975e74..b827892f 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java @@ -473,6 +473,10 @@ public Status findValueByNumber(int number) { }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } return getDescriptor().getValues().get(ordinal()); } @@ -518,6 +522,7 @@ private Status(int value) { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -540,6 +545,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -565,6 +571,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * @return Whether the config field is set. */ + @java.lang.Override public boolean hasConfig() { return config_ != null; } @@ -579,6 +586,7 @@ public boolean hasConfig() { * * @return The config. */ + @java.lang.Override public com.google.container.v1.NodeConfig getConfig() { return config_ == null ? com.google.container.v1.NodeConfig.getDefaultInstance() : config_; } @@ -591,6 +599,7 @@ public com.google.container.v1.NodeConfig getConfig() { * * .google.container.v1.NodeConfig config = 2; */ + @java.lang.Override public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() { return getConfig(); } @@ -611,6 +620,7 @@ public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() { * * @return The initialNodeCount. */ + @java.lang.Override public int getInitialNodeCount() { return initialNodeCount_; } @@ -628,6 +638,7 @@ public int getInitialNodeCount() { * * @return The selfLink. */ + @java.lang.Override public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { @@ -650,6 +661,7 @@ public java.lang.String getSelfLink() { * * @return The bytes for selfLink. */ + @java.lang.Override public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { @@ -675,6 +687,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * * @return The version. */ + @java.lang.Override public java.lang.String getVersion() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { @@ -697,6 +710,7 @@ public java.lang.String getVersion() { * * @return The bytes for version. */ + @java.lang.Override public com.google.protobuf.ByteString getVersionBytes() { java.lang.Object ref = version_; if (ref instanceof java.lang.String) { @@ -791,6 +805,7 @@ public com.google.protobuf.ByteString getInstanceGroupUrlsBytes(int index) { * * @return The enum numeric value on the wire for status. */ + @java.lang.Override public int getStatusValue() { return status_; } @@ -805,6 +820,7 @@ public int getStatusValue() { * * @return The status. */ + @java.lang.Override public com.google.container.v1.NodePool.Status getStatus() { @SuppressWarnings("deprecation") com.google.container.v1.NodePool.Status result = @@ -826,6 +842,7 @@ public com.google.container.v1.NodePool.Status getStatus() { * * @return The statusMessage. */ + @java.lang.Override public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { @@ -849,6 +866,7 @@ public java.lang.String getStatusMessage() { * * @return The bytes for statusMessage. */ + @java.lang.Override public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { @@ -875,6 +893,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * @return Whether the autoscaling field is set. */ + @java.lang.Override public boolean hasAutoscaling() { return autoscaling_ != null; } @@ -890,6 +909,7 @@ public boolean hasAutoscaling() { * * @return The autoscaling. */ + @java.lang.Override public com.google.container.v1.NodePoolAutoscaling getAutoscaling() { return autoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() @@ -905,6 +925,7 @@ public com.google.container.v1.NodePoolAutoscaling getAutoscaling() { * * .google.container.v1.NodePoolAutoscaling autoscaling = 4; */ + @java.lang.Override public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { return getAutoscaling(); } @@ -922,6 +943,7 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil * * @return Whether the management field is set. */ + @java.lang.Override public boolean hasManagement() { return management_ != null; } @@ -936,6 +958,7 @@ public boolean hasManagement() { * * @return The management. */ + @java.lang.Override public com.google.container.v1.NodeManagement getManagement() { return management_ == null ? com.google.container.v1.NodeManagement.getDefaultInstance() @@ -950,6 +973,7 @@ public com.google.container.v1.NodeManagement getManagement() { * * .google.container.v1.NodeManagement management = 5; */ + @java.lang.Override public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() { return getManagement(); } @@ -968,6 +992,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * * @return Whether the maxPodsConstraint field is set. */ + @java.lang.Override public boolean hasMaxPodsConstraint() { return maxPodsConstraint_ != null; } @@ -983,6 +1008,7 @@ public boolean hasMaxPodsConstraint() { * * @return The maxPodsConstraint. */ + @java.lang.Override public com.google.container.v1.MaxPodsConstraint getMaxPodsConstraint() { return maxPodsConstraint_ == null ? com.google.container.v1.MaxPodsConstraint.getDefaultInstance() @@ -998,6 +1024,7 @@ public com.google.container.v1.MaxPodsConstraint getMaxPodsConstraint() { * * .google.container.v1.MaxPodsConstraint max_pods_constraint = 6; */ + @java.lang.Override public com.google.container.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOrBuilder() { return getMaxPodsConstraint(); } @@ -1013,6 +1040,7 @@ public com.google.container.v1.MaxPodsConstraintOrBuilder getMaxPodsConstraintOr * * repeated .google.container.v1.StatusCondition conditions = 105; */ + @java.lang.Override public java.util.List getConditionsList() { return conditions_; } @@ -1025,6 +1053,7 @@ public java.util.List getConditionsList * * repeated .google.container.v1.StatusCondition conditions = 105; */ + @java.lang.Override public java.util.List getConditionsOrBuilderList() { return conditions_; @@ -1038,6 +1067,7 @@ public java.util.List getConditionsList * * repeated .google.container.v1.StatusCondition conditions = 105; */ + @java.lang.Override public int getConditionsCount() { return conditions_.size(); } @@ -1050,6 +1080,7 @@ public int getConditionsCount() { * * repeated .google.container.v1.StatusCondition conditions = 105; */ + @java.lang.Override public com.google.container.v1.StatusCondition getConditions(int index) { return conditions_.get(index); } @@ -1062,6 +1093,7 @@ public com.google.container.v1.StatusCondition getConditions(int index) { * * repeated .google.container.v1.StatusCondition conditions = 105; */ + @java.lang.Override public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(int index) { return conditions_.get(index); } @@ -1079,6 +1111,7 @@ public com.google.container.v1.StatusConditionOrBuilder getConditionsOrBuilder(i * * @return The podIpv4CidrSize. */ + @java.lang.Override public int getPodIpv4CidrSize() { return podIpv4CidrSize_; } @@ -1999,6 +2032,7 @@ public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() { * * @return The initialNodeCount. */ + @java.lang.Override public int getInitialNodeCount() { return initialNodeCount_; } @@ -2454,6 +2488,7 @@ public Builder addInstanceGroupUrlsBytes(com.google.protobuf.ByteString value) { * * @return The enum numeric value on the wire for status. */ + @java.lang.Override public int getStatusValue() { return status_; } @@ -2470,6 +2505,7 @@ public int getStatusValue() { * @return This builder for chaining. */ public Builder setStatusValue(int value) { + status_ = value; onChanged(); return this; @@ -2485,6 +2521,7 @@ public Builder setStatusValue(int value) { * * @return The status. */ + @java.lang.Override public com.google.container.v1.NodePool.Status getStatus() { @SuppressWarnings("deprecation") com.google.container.v1.NodePool.Status result = @@ -3577,6 +3614,7 @@ public com.google.container.v1.StatusCondition.Builder addConditionsBuilder(int * * @return The podIpv4CidrSize. */ + @java.lang.Override public int getPodIpv4CidrSize() { return podIpv4CidrSize_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java index 06033c1c..521278c1 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java @@ -136,6 +136,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } @@ -154,6 +155,7 @@ public boolean getEnabled() { * * @return The minNodeCount. */ + @java.lang.Override public int getMinNodeCount() { return minNodeCount_; } @@ -172,6 +174,7 @@ public int getMinNodeCount() { * * @return The maxNodeCount. */ + @java.lang.Override public int getMaxNodeCount() { return maxNodeCount_; } @@ -189,6 +192,7 @@ public int getMaxNodeCount() { * * @return The autoprovisioned. */ + @java.lang.Override public boolean getAutoprovisioned() { return autoprovisioned_; } @@ -566,6 +570,7 @@ public Builder mergeFrom( * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } @@ -618,6 +623,7 @@ public Builder clearEnabled() { * * @return The minNodeCount. */ + @java.lang.Override public int getMinNodeCount() { return minNodeCount_; } @@ -672,6 +678,7 @@ public Builder clearMinNodeCount() { * * @return The maxNodeCount. */ + @java.lang.Override public int getMaxNodeCount() { return maxNodeCount_; } @@ -725,6 +732,7 @@ public Builder clearMaxNodeCount() { * * @return The autoprovisioned. */ + @java.lang.Override public boolean getAutoprovisioned() { return autoprovisioned_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java index 137e2cbf..d8a5caf4 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java @@ -273,6 +273,10 @@ public Effect findValueByNumber(int number) { }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } return getDescriptor().getValues().get(ordinal()); } @@ -318,6 +322,7 @@ private Effect(int value) { * * @return The key. */ + @java.lang.Override public java.lang.String getKey() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { @@ -340,6 +345,7 @@ public java.lang.String getKey() { * * @return The bytes for key. */ + @java.lang.Override public com.google.protobuf.ByteString getKeyBytes() { java.lang.Object ref = key_; if (ref instanceof java.lang.String) { @@ -365,6 +371,7 @@ public com.google.protobuf.ByteString getKeyBytes() { * * @return The value. */ + @java.lang.Override public java.lang.String getValue() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { @@ -387,6 +394,7 @@ public java.lang.String getValue() { * * @return The bytes for value. */ + @java.lang.Override public com.google.protobuf.ByteString getValueBytes() { java.lang.Object ref = value_; if (ref instanceof java.lang.String) { @@ -412,6 +420,7 @@ public com.google.protobuf.ByteString getValueBytes() { * * @return The enum numeric value on the wire for effect. */ + @java.lang.Override public int getEffectValue() { return effect_; } @@ -426,6 +435,7 @@ public int getEffectValue() { * * @return The effect. */ + @java.lang.Override public com.google.container.v1.NodeTaint.Effect getEffect() { @SuppressWarnings("deprecation") com.google.container.v1.NodeTaint.Effect result = @@ -1004,6 +1014,7 @@ public Builder setValueBytes(com.google.protobuf.ByteString value) { * * @return The enum numeric value on the wire for effect. */ + @java.lang.Override public int getEffectValue() { return effect_; } @@ -1020,6 +1031,7 @@ public int getEffectValue() { * @return This builder for chaining. */ public Builder setEffectValue(int value) { + effect_ = value; onChanged(); return this; @@ -1035,6 +1047,7 @@ public Builder setEffectValue(int value) { * * @return The effect. */ + @java.lang.Override public com.google.container.v1.NodeTaint.Effect getEffect() { @SuppressWarnings("deprecation") com.google.container.v1.NodeTaint.Effect result = diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java index 0b210350..51eb259a 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java @@ -390,6 +390,10 @@ public Status findValueByNumber(int number) { }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } return getDescriptor().getValues().get(ordinal()); } @@ -851,6 +855,10 @@ public Type findValueByNumber(int number) { }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } return getDescriptor().getValues().get(ordinal()); } @@ -896,6 +904,7 @@ private Type(int value) { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -918,6 +927,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -946,6 +956,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -972,6 +983,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -998,6 +1010,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The enum numeric value on the wire for operationType. */ + @java.lang.Override public int getOperationTypeValue() { return operationType_; } @@ -1012,6 +1025,7 @@ public int getOperationTypeValue() { * * @return The operationType. */ + @java.lang.Override public com.google.container.v1.Operation.Type getOperationType() { @SuppressWarnings("deprecation") com.google.container.v1.Operation.Type result = @@ -1032,6 +1046,7 @@ public com.google.container.v1.Operation.Type getOperationType() { * * @return The enum numeric value on the wire for status. */ + @java.lang.Override public int getStatusValue() { return status_; } @@ -1046,6 +1061,7 @@ public int getStatusValue() { * * @return The status. */ + @java.lang.Override public com.google.container.v1.Operation.Status getStatus() { @SuppressWarnings("deprecation") com.google.container.v1.Operation.Status result = @@ -1066,6 +1082,7 @@ public com.google.container.v1.Operation.Status getStatus() { * * @return The detail. */ + @java.lang.Override public java.lang.String getDetail() { java.lang.Object ref = detail_; if (ref instanceof java.lang.String) { @@ -1088,6 +1105,7 @@ public java.lang.String getDetail() { * * @return The bytes for detail. */ + @java.lang.Override public com.google.protobuf.ByteString getDetailBytes() { java.lang.Object ref = detail_; if (ref instanceof java.lang.String) { @@ -1113,6 +1131,7 @@ public com.google.protobuf.ByteString getDetailBytes() { * * @return The statusMessage. */ + @java.lang.Override public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { @@ -1135,6 +1154,7 @@ public java.lang.String getStatusMessage() { * * @return The bytes for statusMessage. */ + @java.lang.Override public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { @@ -1160,6 +1180,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { * * @return The selfLink. */ + @java.lang.Override public java.lang.String getSelfLink() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { @@ -1182,6 +1203,7 @@ public java.lang.String getSelfLink() { * * @return The bytes for selfLink. */ + @java.lang.Override public com.google.protobuf.ByteString getSelfLinkBytes() { java.lang.Object ref = selfLink_; if (ref instanceof java.lang.String) { @@ -1207,6 +1229,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * * @return The targetLink. */ + @java.lang.Override public java.lang.String getTargetLink() { java.lang.Object ref = targetLink_; if (ref instanceof java.lang.String) { @@ -1229,6 +1252,7 @@ public java.lang.String getTargetLink() { * * @return The bytes for targetLink. */ + @java.lang.Override public com.google.protobuf.ByteString getTargetLinkBytes() { java.lang.Object ref = targetLink_; if (ref instanceof java.lang.String) { @@ -1257,6 +1281,7 @@ public com.google.protobuf.ByteString getTargetLinkBytes() { * * @return The location. */ + @java.lang.Override public java.lang.String getLocation() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { @@ -1282,6 +1307,7 @@ public java.lang.String getLocation() { * * @return The bytes for location. */ + @java.lang.Override public com.google.protobuf.ByteString getLocationBytes() { java.lang.Object ref = location_; if (ref instanceof java.lang.String) { @@ -1308,6 +1334,7 @@ public com.google.protobuf.ByteString getLocationBytes() { * * @return The startTime. */ + @java.lang.Override public java.lang.String getStartTime() { java.lang.Object ref = startTime_; if (ref instanceof java.lang.String) { @@ -1331,6 +1358,7 @@ public java.lang.String getStartTime() { * * @return The bytes for startTime. */ + @java.lang.Override public com.google.protobuf.ByteString getStartTimeBytes() { java.lang.Object ref = startTime_; if (ref instanceof java.lang.String) { @@ -1357,6 +1385,7 @@ public com.google.protobuf.ByteString getStartTimeBytes() { * * @return The endTime. */ + @java.lang.Override public java.lang.String getEndTime() { java.lang.Object ref = endTime_; if (ref instanceof java.lang.String) { @@ -1380,6 +1409,7 @@ public java.lang.String getEndTime() { * * @return The bytes for endTime. */ + @java.lang.Override public com.google.protobuf.ByteString getEndTimeBytes() { java.lang.Object ref = endTime_; if (ref instanceof java.lang.String) { @@ -1403,6 +1433,7 @@ public com.google.protobuf.ByteString getEndTimeBytes() { * * repeated .google.container.v1.StatusCondition cluster_conditions = 13; */ + @java.lang.Override public java.util.List getClusterConditionsList() { return clusterConditions_; } @@ -1415,6 +1446,7 @@ public java.util.List getClusterConditi * * repeated .google.container.v1.StatusCondition cluster_conditions = 13; */ + @java.lang.Override public java.util.List getClusterConditionsOrBuilderList() { return clusterConditions_; @@ -1428,6 +1460,7 @@ public java.util.List getClusterConditi * * repeated .google.container.v1.StatusCondition cluster_conditions = 13; */ + @java.lang.Override public int getClusterConditionsCount() { return clusterConditions_.size(); } @@ -1440,6 +1473,7 @@ public int getClusterConditionsCount() { * * repeated .google.container.v1.StatusCondition cluster_conditions = 13; */ + @java.lang.Override public com.google.container.v1.StatusCondition getClusterConditions(int index) { return clusterConditions_.get(index); } @@ -1452,6 +1486,7 @@ public com.google.container.v1.StatusCondition getClusterConditions(int index) { * * repeated .google.container.v1.StatusCondition cluster_conditions = 13; */ + @java.lang.Override public com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBuilder(int index) { return clusterConditions_.get(index); } @@ -1467,6 +1502,7 @@ public com.google.container.v1.StatusConditionOrBuilder getClusterConditionsOrBu * * repeated .google.container.v1.StatusCondition nodepool_conditions = 14; */ + @java.lang.Override public java.util.List getNodepoolConditionsList() { return nodepoolConditions_; } @@ -1479,6 +1515,7 @@ public java.util.List getNodepoolCondit * * repeated .google.container.v1.StatusCondition nodepool_conditions = 14; */ + @java.lang.Override public java.util.List getNodepoolConditionsOrBuilderList() { return nodepoolConditions_; @@ -1492,6 +1529,7 @@ public java.util.List getNodepoolCondit * * repeated .google.container.v1.StatusCondition nodepool_conditions = 14; */ + @java.lang.Override public int getNodepoolConditionsCount() { return nodepoolConditions_.size(); } @@ -1504,6 +1542,7 @@ public int getNodepoolConditionsCount() { * * repeated .google.container.v1.StatusCondition nodepool_conditions = 14; */ + @java.lang.Override public com.google.container.v1.StatusCondition getNodepoolConditions(int index) { return nodepoolConditions_.get(index); } @@ -1516,6 +1555,7 @@ public com.google.container.v1.StatusCondition getNodepoolConditions(int index) * * repeated .google.container.v1.StatusCondition nodepool_conditions = 14; */ + @java.lang.Override public com.google.container.v1.StatusConditionOrBuilder getNodepoolConditionsOrBuilder( int index) { return nodepoolConditions_.get(index); @@ -2351,6 +2391,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { * * @return The enum numeric value on the wire for operationType. */ + @java.lang.Override public int getOperationTypeValue() { return operationType_; } @@ -2367,6 +2408,7 @@ public int getOperationTypeValue() { * @return This builder for chaining. */ public Builder setOperationTypeValue(int value) { + operationType_ = value; onChanged(); return this; @@ -2382,6 +2424,7 @@ public Builder setOperationTypeValue(int value) { * * @return The operationType. */ + @java.lang.Override public com.google.container.v1.Operation.Type getOperationType() { @SuppressWarnings("deprecation") com.google.container.v1.Operation.Type result = @@ -2439,6 +2482,7 @@ public Builder clearOperationType() { * * @return The enum numeric value on the wire for status. */ + @java.lang.Override public int getStatusValue() { return status_; } @@ -2455,6 +2499,7 @@ public int getStatusValue() { * @return This builder for chaining. */ public Builder setStatusValue(int value) { + status_ = value; onChanged(); return this; @@ -2470,6 +2515,7 @@ public Builder setStatusValue(int value) { * * @return The status. */ + @java.lang.Override public com.google.container.v1.Operation.Status getStatus() { @SuppressWarnings("deprecation") com.google.container.v1.Operation.Status result = diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java index 37fb7853..c368559c 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java @@ -152,6 +152,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The enablePrivateNodes. */ + @java.lang.Override public boolean getEnablePrivateNodes() { return enablePrivateNodes_; } @@ -169,6 +170,7 @@ public boolean getEnablePrivateNodes() { * * @return The enablePrivateEndpoint. */ + @java.lang.Override public boolean getEnablePrivateEndpoint() { return enablePrivateEndpoint_; } @@ -189,6 +191,7 @@ public boolean getEnablePrivateEndpoint() { * * @return The masterIpv4CidrBlock. */ + @java.lang.Override public java.lang.String getMasterIpv4CidrBlock() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof java.lang.String) { @@ -214,6 +217,7 @@ public java.lang.String getMasterIpv4CidrBlock() { * * @return The bytes for masterIpv4CidrBlock. */ + @java.lang.Override public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { java.lang.Object ref = masterIpv4CidrBlock_; if (ref instanceof java.lang.String) { @@ -239,6 +243,7 @@ public com.google.protobuf.ByteString getMasterIpv4CidrBlockBytes() { * * @return The privateEndpoint. */ + @java.lang.Override public java.lang.String getPrivateEndpoint() { java.lang.Object ref = privateEndpoint_; if (ref instanceof java.lang.String) { @@ -261,6 +266,7 @@ public java.lang.String getPrivateEndpoint() { * * @return The bytes for privateEndpoint. */ + @java.lang.Override public com.google.protobuf.ByteString getPrivateEndpointBytes() { java.lang.Object ref = privateEndpoint_; if (ref instanceof java.lang.String) { @@ -286,6 +292,7 @@ public com.google.protobuf.ByteString getPrivateEndpointBytes() { * * @return The publicEndpoint. */ + @java.lang.Override public java.lang.String getPublicEndpoint() { java.lang.Object ref = publicEndpoint_; if (ref instanceof java.lang.String) { @@ -308,6 +315,7 @@ public java.lang.String getPublicEndpoint() { * * @return The bytes for publicEndpoint. */ + @java.lang.Override public com.google.protobuf.ByteString getPublicEndpointBytes() { java.lang.Object ref = publicEndpoint_; if (ref instanceof java.lang.String) { @@ -712,6 +720,7 @@ public Builder mergeFrom( * * @return The enablePrivateNodes. */ + @java.lang.Override public boolean getEnablePrivateNodes() { return enablePrivateNodes_; } @@ -767,6 +776,7 @@ public Builder clearEnablePrivateNodes() { * * @return The enablePrivateEndpoint. */ + @java.lang.Override public boolean getEnablePrivateEndpoint() { return enablePrivateEndpoint_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java index cfa01da2..45e800b8 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java @@ -139,6 +139,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return Whether the window field is set. */ + @java.lang.Override public boolean hasWindow() { return window_ != null; } @@ -153,6 +154,7 @@ public boolean hasWindow() { * * @return The window. */ + @java.lang.Override public com.google.container.v1.TimeWindow getWindow() { return window_ == null ? com.google.container.v1.TimeWindow.getDefaultInstance() : window_; } @@ -165,6 +167,7 @@ public com.google.container.v1.TimeWindow getWindow() { * * .google.container.v1.TimeWindow window = 1; */ + @java.lang.Override public com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder() { return getWindow(); } @@ -207,6 +210,7 @@ public com.google.container.v1.TimeWindowOrBuilder getWindowOrBuilder() { * * @return The recurrence. */ + @java.lang.Override public java.lang.String getRecurrence() { java.lang.Object ref = recurrence_; if (ref instanceof java.lang.String) { @@ -254,6 +258,7 @@ public java.lang.String getRecurrence() { * * @return The bytes for recurrence. */ + @java.lang.Override public com.google.protobuf.ByteString getRecurrenceBytes() { java.lang.Object ref = recurrence_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java index c0c0d263..1ce5533a 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java @@ -135,6 +135,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The resourceType. */ + @java.lang.Override public java.lang.String getResourceType() { java.lang.Object ref = resourceType_; if (ref instanceof java.lang.String) { @@ -157,6 +158,7 @@ public java.lang.String getResourceType() { * * @return The bytes for resourceType. */ + @java.lang.Override public com.google.protobuf.ByteString getResourceTypeBytes() { java.lang.Object ref = resourceType_; if (ref instanceof java.lang.String) { @@ -182,6 +184,7 @@ public com.google.protobuf.ByteString getResourceTypeBytes() { * * @return The minimum. */ + @java.lang.Override public long getMinimum() { return minimum_; } @@ -199,6 +202,7 @@ public long getMinimum() { * * @return The maximum. */ + @java.lang.Override public long getMaximum() { return maximum_; } @@ -666,6 +670,7 @@ public Builder setResourceTypeBytes(com.google.protobuf.ByteString value) { * * @return The minimum. */ + @java.lang.Override public long getMinimum() { return minimum_; } @@ -717,6 +722,7 @@ public Builder clearMinimum() { * * @return The maximum. */ + @java.lang.Override public long getMaximum() { return maximum_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java index ddda0d71..34da0458 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java @@ -281,6 +281,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The datasetId. */ + @java.lang.Override public java.lang.String getDatasetId() { java.lang.Object ref = datasetId_; if (ref instanceof java.lang.String) { @@ -303,6 +304,7 @@ public java.lang.String getDatasetId() { * * @return The bytes for datasetId. */ + @java.lang.Override public com.google.protobuf.ByteString getDatasetIdBytes() { java.lang.Object ref = datasetId_; if (ref instanceof java.lang.String) { @@ -936,6 +938,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } @@ -1296,6 +1299,7 @@ public Builder mergeFrom( * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } @@ -1411,6 +1415,7 @@ public com.google.protobuf.Parser getParserForType() * * @return Whether the bigqueryDestination field is set. */ + @java.lang.Override public boolean hasBigqueryDestination() { return bigqueryDestination_ != null; } @@ -1427,6 +1432,7 @@ public boolean hasBigqueryDestination() { * * @return The bigqueryDestination. */ + @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination() { return bigqueryDestination_ == null @@ -1444,6 +1450,7 @@ public boolean hasBigqueryDestination() { * .google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1; * */ + @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder() { return getBigqueryDestination(); @@ -1463,6 +1470,7 @@ public boolean hasBigqueryDestination() { * * @return The enableNetworkEgressMetering. */ + @java.lang.Override public boolean getEnableNetworkEgressMetering() { return enableNetworkEgressMetering_; } @@ -1483,6 +1491,7 @@ public boolean getEnableNetworkEgressMetering() { * * @return Whether the consumptionMeteringConfig field is set. */ + @java.lang.Override public boolean hasConsumptionMeteringConfig() { return consumptionMeteringConfig_ != null; } @@ -1499,6 +1508,7 @@ public boolean hasConsumptionMeteringConfig() { * * @return The consumptionMeteringConfig. */ + @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig() { return consumptionMeteringConfig_ == null @@ -1517,6 +1527,7 @@ public boolean hasConsumptionMeteringConfig() { * .google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3; * */ + @java.lang.Override public com.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder() { return getConsumptionMeteringConfig(); @@ -2126,6 +2137,7 @@ public Builder clearBigqueryDestination() { * * @return The enableNetworkEgressMetering. */ + @java.lang.Override public boolean getEnableNetworkEgressMetering() { return enableNetworkEgressMetering_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java index 444cb8ae..554f88b9 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java @@ -161,6 +161,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -186,6 +187,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -215,6 +217,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -241,6 +244,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -268,6 +272,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -292,6 +297,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -319,6 +325,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The nodePoolId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; @@ -343,6 +350,7 @@ public java.lang.String getNodePoolId() { * * @return The bytes for nodePoolId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; @@ -371,6 +379,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -395,6 +404,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java index f5b0aeb1..ddfe1bdc 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java @@ -175,6 +175,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The defaultClusterVersion. */ + @java.lang.Override public java.lang.String getDefaultClusterVersion() { java.lang.Object ref = defaultClusterVersion_; if (ref instanceof java.lang.String) { @@ -197,6 +198,7 @@ public java.lang.String getDefaultClusterVersion() { * * @return The bytes for defaultClusterVersion. */ + @java.lang.Override public com.google.protobuf.ByteString getDefaultClusterVersionBytes() { java.lang.Object ref = defaultClusterVersion_; if (ref instanceof java.lang.String) { @@ -283,6 +285,7 @@ public com.google.protobuf.ByteString getValidNodeVersionsBytes(int index) { * * @return The defaultImageType. */ + @java.lang.Override public java.lang.String getDefaultImageType() { java.lang.Object ref = defaultImageType_; if (ref instanceof java.lang.String) { @@ -305,6 +308,7 @@ public java.lang.String getDefaultImageType() { * * @return The bytes for defaultImageType. */ + @java.lang.Override public com.google.protobuf.ByteString getDefaultImageTypeBytes() { java.lang.Object ref = defaultImageType_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java index 190b9dfe..8117bfb8 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java @@ -166,6 +166,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -191,6 +192,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -220,6 +222,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -246,6 +249,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -273,6 +277,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -297,6 +302,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -326,6 +332,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return Whether the addonsConfig field is set. */ + @java.lang.Override public boolean hasAddonsConfig() { return addonsConfig_ != null; } @@ -343,6 +350,7 @@ public boolean hasAddonsConfig() { * * @return The addonsConfig. */ + @java.lang.Override public com.google.container.v1.AddonsConfig getAddonsConfig() { return addonsConfig_ == null ? com.google.container.v1.AddonsConfig.getDefaultInstance() @@ -360,6 +368,7 @@ public com.google.container.v1.AddonsConfig getAddonsConfig() { * .google.container.v1.AddonsConfig addons_config = 4 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() { return getAddonsConfig(); } @@ -378,6 +387,7 @@ public com.google.container.v1.AddonsConfigOrBuilder getAddonsConfigOrBuilder() * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -401,6 +411,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java index fbbf39c6..fc0d9d5d 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java @@ -189,6 +189,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -214,6 +215,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -243,6 +245,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -269,6 +272,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -296,6 +300,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -320,6 +325,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -370,6 +376,7 @@ public int getResourceLabelsCount() { * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public boolean containsResourceLabels(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -377,6 +384,7 @@ public boolean containsResourceLabels(java.lang.String key) { return internalGetResourceLabels().getMap().containsKey(key); } /** Use {@link #getResourceLabelsMap()} instead. */ + @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); @@ -391,6 +399,7 @@ public java.util.Map getResourceLabels() { * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } @@ -404,6 +413,7 @@ public java.util.Map getResourceLabelsMap() * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public java.lang.String getResourceLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { @@ -422,6 +432,7 @@ public java.lang.String getResourceLabelsOrDefault( * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -451,6 +462,7 @@ public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { * * @return The labelFingerprint. */ + @java.lang.Override public java.lang.String getLabelFingerprint() { java.lang.Object ref = labelFingerprint_; if (ref instanceof java.lang.String) { @@ -478,6 +490,7 @@ public java.lang.String getLabelFingerprint() { * * @return The bytes for labelFingerprint. */ + @java.lang.Override public com.google.protobuf.ByteString getLabelFingerprintBytes() { java.lang.Object ref = labelFingerprint_; if (ref instanceof java.lang.String) { @@ -504,6 +517,7 @@ public com.google.protobuf.ByteString getLabelFingerprintBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -527,6 +541,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -1366,6 +1381,7 @@ public int getResourceLabelsCount() { * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public boolean containsResourceLabels(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); @@ -1373,6 +1389,7 @@ public boolean containsResourceLabels(java.lang.String key) { return internalGetResourceLabels().getMap().containsKey(key); } /** Use {@link #getResourceLabelsMap()} instead. */ + @java.lang.Override @java.lang.Deprecated public java.util.Map getResourceLabels() { return getResourceLabelsMap(); @@ -1388,6 +1405,7 @@ public java.util.Map getResourceLabels() { * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public java.util.Map getResourceLabelsMap() { return internalGetResourceLabels().getMap(); } @@ -1402,6 +1420,7 @@ public java.util.Map getResourceLabelsMap() * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public java.lang.String getResourceLabelsOrDefault( java.lang.String key, java.lang.String defaultValue) { if (key == null) { @@ -1421,6 +1440,7 @@ public java.lang.String getResourceLabelsOrDefault( * map<string, string> resource_labels = 4 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public java.lang.String getResourceLabelsOrThrow(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java index 538d230e..ca98b260 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java @@ -156,6 +156,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -181,6 +182,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -210,6 +212,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -236,6 +239,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -263,6 +267,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -287,6 +292,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -313,6 +319,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } @@ -331,6 +338,7 @@ public boolean getEnabled() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -354,6 +362,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -1121,6 +1130,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java index 22f37ed4..bf5fbf3f 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java @@ -165,6 +165,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -190,6 +191,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -219,6 +221,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -245,6 +248,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -272,6 +276,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -296,6 +301,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -404,6 +410,7 @@ public com.google.protobuf.ByteString getLocationsBytes(int index) { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -427,6 +434,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java index 7b943aa6..ea9659fd 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java @@ -158,6 +158,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -183,6 +184,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -212,6 +214,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -238,6 +241,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -265,6 +269,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -289,6 +294,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -318,6 +324,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The loggingService. */ + @java.lang.Override public java.lang.String getLoggingService() { java.lang.Object ref = loggingService_; if (ref instanceof java.lang.String) { @@ -343,6 +350,7 @@ public java.lang.String getLoggingService() { * * @return The bytes for loggingService. */ + @java.lang.Override public com.google.protobuf.ByteString getLoggingServiceBytes() { java.lang.Object ref = loggingService_; if (ref instanceof java.lang.String) { @@ -369,6 +377,7 @@ public com.google.protobuf.ByteString getLoggingServiceBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -392,6 +401,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java index 05ecac00..0c47afd8 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java @@ -165,6 +165,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { @@ -188,6 +189,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { @@ -215,6 +217,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override public java.lang.String getZone() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { @@ -239,6 +242,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; if (ref instanceof java.lang.String) { @@ -264,6 +268,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { @@ -286,6 +291,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; if (ref instanceof java.lang.String) { @@ -314,6 +320,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return Whether the maintenancePolicy field is set. */ + @java.lang.Override public boolean hasMaintenancePolicy() { return maintenancePolicy_ != null; } @@ -331,6 +338,7 @@ public boolean hasMaintenancePolicy() { * * @return The maintenancePolicy. */ + @java.lang.Override public com.google.container.v1.MaintenancePolicy getMaintenancePolicy() { return maintenancePolicy_ == null ? com.google.container.v1.MaintenancePolicy.getDefaultInstance() @@ -348,6 +356,7 @@ public com.google.container.v1.MaintenancePolicy getMaintenancePolicy() { * .google.container.v1.MaintenancePolicy maintenance_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOrBuilder() { return getMaintenancePolicy(); } @@ -367,6 +376,7 @@ public com.google.container.v1.MaintenancePolicyOrBuilder getMaintenancePolicyOr * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -391,6 +401,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java index 6f8ddf93..c480c061 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java @@ -307,6 +307,10 @@ public Action findValueByNumber(int number) { }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } return getDescriptor().getValues().get(ordinal()); } @@ -354,6 +358,7 @@ private Action(int value) { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -379,6 +384,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -408,6 +414,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -434,6 +441,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -461,6 +469,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -485,6 +494,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -513,6 +523,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The enum numeric value on the wire for action. */ + @java.lang.Override public int getActionValue() { return action_; } @@ -529,6 +540,7 @@ public int getActionValue() { * * @return The action. */ + @java.lang.Override public com.google.container.v1.SetMasterAuthRequest.Action getAction() { @SuppressWarnings("deprecation") com.google.container.v1.SetMasterAuthRequest.Action result = @@ -552,6 +564,7 @@ public com.google.container.v1.SetMasterAuthRequest.Action getAction() { * * @return Whether the update field is set. */ + @java.lang.Override public boolean hasUpdate() { return update_ != null; } @@ -567,6 +580,7 @@ public boolean hasUpdate() { * * @return The update. */ + @java.lang.Override public com.google.container.v1.MasterAuth getUpdate() { return update_ == null ? com.google.container.v1.MasterAuth.getDefaultInstance() : update_; } @@ -580,6 +594,7 @@ public com.google.container.v1.MasterAuth getUpdate() { * .google.container.v1.MasterAuth update = 5 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public com.google.container.v1.MasterAuthOrBuilder getUpdateOrBuilder() { return getUpdate(); } @@ -598,6 +613,7 @@ public com.google.container.v1.MasterAuthOrBuilder getUpdateOrBuilder() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -621,6 +637,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -1417,6 +1434,7 @@ public Builder setClusterIdBytes(com.google.protobuf.ByteString value) { * * @return The enum numeric value on the wire for action. */ + @java.lang.Override public int getActionValue() { return action_; } @@ -1435,6 +1453,7 @@ public int getActionValue() { * @return This builder for chaining. */ public Builder setActionValue(int value) { + action_ = value; onChanged(); return this; @@ -1452,6 +1471,7 @@ public Builder setActionValue(int value) { * * @return The action. */ + @java.lang.Override public com.google.container.v1.SetMasterAuthRequest.Action getAction() { @SuppressWarnings("deprecation") com.google.container.v1.SetMasterAuthRequest.Action result = diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java index 693ff554..8618b705 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java @@ -158,6 +158,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -183,6 +184,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -212,6 +214,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -238,6 +241,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -265,6 +269,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -289,6 +294,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -320,6 +326,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The monitoringService. */ + @java.lang.Override public java.lang.String getMonitoringService() { java.lang.Object ref = monitoringService_; if (ref instanceof java.lang.String) { @@ -347,6 +354,7 @@ public java.lang.String getMonitoringService() { * * @return The bytes for monitoringService. */ + @java.lang.Override public com.google.protobuf.ByteString getMonitoringServiceBytes() { java.lang.Object ref = monitoringService_; if (ref instanceof java.lang.String) { @@ -373,6 +381,7 @@ public com.google.protobuf.ByteString getMonitoringServiceBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -396,6 +405,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java index 9c084c6c..e505127e 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java @@ -166,6 +166,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -191,6 +192,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -220,6 +222,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -246,6 +249,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -273,6 +277,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -297,6 +302,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -325,6 +331,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return Whether the networkPolicy field is set. */ + @java.lang.Override public boolean hasNetworkPolicy() { return networkPolicy_ != null; } @@ -341,6 +348,7 @@ public boolean hasNetworkPolicy() { * * @return The networkPolicy. */ + @java.lang.Override public com.google.container.v1.NetworkPolicy getNetworkPolicy() { return networkPolicy_ == null ? com.google.container.v1.NetworkPolicy.getDefaultInstance() @@ -357,6 +365,7 @@ public com.google.container.v1.NetworkPolicy getNetworkPolicy() { * .google.container.v1.NetworkPolicy network_policy = 4 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder() { return getNetworkPolicy(); } @@ -375,6 +384,7 @@ public com.google.container.v1.NetworkPolicyOrBuilder getNetworkPolicyOrBuilder( * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -398,6 +408,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java index 76baf6f6..7f9f66e9 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java @@ -174,6 +174,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -199,6 +200,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -228,6 +230,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -254,6 +257,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -281,6 +285,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -305,6 +310,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -332,6 +338,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The nodePoolId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; @@ -356,6 +363,7 @@ public java.lang.String getNodePoolId() { * * @return The bytes for nodePoolId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; @@ -384,6 +392,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * @return Whether the autoscaling field is set. */ + @java.lang.Override public boolean hasAutoscaling() { return autoscaling_ != null; } @@ -400,6 +409,7 @@ public boolean hasAutoscaling() { * * @return The autoscaling. */ + @java.lang.Override public com.google.container.v1.NodePoolAutoscaling getAutoscaling() { return autoscaling_ == null ? com.google.container.v1.NodePoolAutoscaling.getDefaultInstance() @@ -416,6 +426,7 @@ public com.google.container.v1.NodePoolAutoscaling getAutoscaling() { * .google.container.v1.NodePoolAutoscaling autoscaling = 5 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuilder() { return getAutoscaling(); } @@ -435,6 +446,7 @@ public com.google.container.v1.NodePoolAutoscalingOrBuilder getAutoscalingOrBuil * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -459,6 +471,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java index d1e5fa05..e1d5830a 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java @@ -175,6 +175,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -200,6 +201,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -229,6 +231,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -255,6 +258,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -282,6 +286,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -306,6 +311,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -333,6 +339,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The nodePoolId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; @@ -357,6 +364,7 @@ public java.lang.String getNodePoolId() { * * @return The bytes for nodePoolId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; @@ -385,6 +393,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * @return Whether the management field is set. */ + @java.lang.Override public boolean hasManagement() { return management_ != null; } @@ -401,6 +410,7 @@ public boolean hasManagement() { * * @return The management. */ + @java.lang.Override public com.google.container.v1.NodeManagement getManagement() { return management_ == null ? com.google.container.v1.NodeManagement.getDefaultInstance() @@ -417,6 +427,7 @@ public com.google.container.v1.NodeManagement getManagement() { * .google.container.v1.NodeManagement management = 5 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() { return getManagement(); } @@ -436,6 +447,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder() * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -460,6 +472,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java index 4bfecdff..3882d839 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java @@ -164,6 +164,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -189,6 +190,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -218,6 +220,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -244,6 +247,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -271,6 +275,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -295,6 +300,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -322,6 +328,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The nodePoolId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; @@ -346,6 +353,7 @@ public java.lang.String getNodePoolId() { * * @return The bytes for nodePoolId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; @@ -372,6 +380,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * @return The nodeCount. */ + @java.lang.Override public int getNodeCount() { return nodeCount_; } @@ -391,6 +400,7 @@ public int getNodeCount() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -415,6 +425,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -1314,6 +1325,7 @@ public Builder setNodePoolIdBytes(com.google.protobuf.ByteString value) { * * @return The nodeCount. */ + @java.lang.Override public int getNodeCount() { return nodeCount_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java index c0a15ab6..ac5d2dc9 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java @@ -128,6 +128,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The enableSecureBoot. */ + @java.lang.Override public boolean getEnableSecureBoot() { return enableSecureBoot_; } @@ -149,6 +150,7 @@ public boolean getEnableSecureBoot() { * * @return The enableIntegrityMonitoring. */ + @java.lang.Override public boolean getEnableIntegrityMonitoring() { return enableIntegrityMonitoring_; } @@ -498,6 +500,7 @@ public Builder mergeFrom( * * @return The enableSecureBoot. */ + @java.lang.Override public boolean getEnableSecureBoot() { return enableSecureBoot_; } @@ -559,6 +562,7 @@ public Builder clearEnableSecureBoot() { * * @return The enableIntegrityMonitoring. */ + @java.lang.Override public boolean getEnableIntegrityMonitoring() { return enableIntegrityMonitoring_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java index 16fb7323..92d4753c 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java @@ -156,6 +156,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -181,6 +182,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -210,6 +212,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -236,6 +239,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -263,6 +267,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -287,6 +292,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -314,6 +320,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -337,6 +344,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -362,6 +370,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * @return The rotateCredentials. */ + @java.lang.Override public boolean getRotateCredentials() { return rotateCredentials_; } @@ -1232,6 +1241,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * @return The rotateCredentials. */ + @java.lang.Override public boolean getRotateCredentials() { return rotateCredentials_; } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java index 83935833..9787773d 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java @@ -313,6 +313,10 @@ public Code findValueByNumber(int number) { }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } return getDescriptor().getValues().get(ordinal()); } @@ -358,6 +362,7 @@ private Code(int value) { * * @return The enum numeric value on the wire for code. */ + @java.lang.Override public int getCodeValue() { return code_; } @@ -372,6 +377,7 @@ public int getCodeValue() { * * @return The code. */ + @java.lang.Override public com.google.container.v1.StatusCondition.Code getCode() { @SuppressWarnings("deprecation") com.google.container.v1.StatusCondition.Code result = @@ -392,6 +398,7 @@ public com.google.container.v1.StatusCondition.Code getCode() { * * @return The message. */ + @java.lang.Override public java.lang.String getMessage() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { @@ -414,6 +421,7 @@ public java.lang.String getMessage() { * * @return The bytes for message. */ + @java.lang.Override public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { @@ -769,6 +777,7 @@ public Builder mergeFrom( * * @return The enum numeric value on the wire for code. */ + @java.lang.Override public int getCodeValue() { return code_; } @@ -785,6 +794,7 @@ public int getCodeValue() { * @return This builder for chaining. */ public Builder setCodeValue(int value) { + code_ = value; onChanged(); return this; @@ -800,6 +810,7 @@ public Builder setCodeValue(int value) { * * @return The code. */ + @java.lang.Override public com.google.container.v1.StatusCondition.Code getCode() { @SuppressWarnings("deprecation") com.google.container.v1.StatusCondition.Code result = diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java index 0c801b2d..f3bb4149 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java @@ -145,6 +145,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return Whether the startTime field is set. */ + @java.lang.Override public boolean hasStartTime() { return startTime_ != null; } @@ -159,6 +160,7 @@ public boolean hasStartTime() { * * @return The startTime. */ + @java.lang.Override public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } @@ -171,6 +173,7 @@ public com.google.protobuf.Timestamp getStartTime() { * * .google.protobuf.Timestamp start_time = 1; */ + @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { return getStartTime(); } @@ -189,6 +192,7 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { * * @return Whether the endTime field is set. */ + @java.lang.Override public boolean hasEndTime() { return endTime_ != null; } @@ -204,6 +208,7 @@ public boolean hasEndTime() { * * @return The endTime. */ + @java.lang.Override public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } @@ -217,6 +222,7 @@ public com.google.protobuf.Timestamp getEndTime() { * * .google.protobuf.Timestamp end_time = 2; */ + @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { return getEndTime(); } diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java index 9ab1137f..6fdc3cb5 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java @@ -166,6 +166,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -191,6 +192,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -220,6 +222,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -246,6 +249,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -273,6 +277,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -297,6 +302,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -324,6 +330,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return Whether the update field is set. */ + @java.lang.Override public boolean hasUpdate() { return update_ != null; } @@ -339,6 +346,7 @@ public boolean hasUpdate() { * * @return The update. */ + @java.lang.Override public com.google.container.v1.ClusterUpdate getUpdate() { return update_ == null ? com.google.container.v1.ClusterUpdate.getDefaultInstance() : update_; } @@ -352,6 +360,7 @@ public com.google.container.v1.ClusterUpdate getUpdate() { * .google.container.v1.ClusterUpdate update = 4 [(.google.api.field_behavior) = REQUIRED]; * */ + @java.lang.Override public com.google.container.v1.ClusterUpdateOrBuilder getUpdateOrBuilder() { return getUpdate(); } @@ -370,6 +379,7 @@ public com.google.container.v1.ClusterUpdateOrBuilder getUpdateOrBuilder() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -393,6 +403,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java index e521df01..c3ff7afd 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java @@ -158,6 +158,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -183,6 +184,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -212,6 +214,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -238,6 +241,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -265,6 +269,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -289,6 +294,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -322,6 +328,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The masterVersion. */ + @java.lang.Override public java.lang.String getMasterVersion() { java.lang.Object ref = masterVersion_; if (ref instanceof java.lang.String) { @@ -351,6 +358,7 @@ public java.lang.String getMasterVersion() { * * @return The bytes for masterVersion. */ + @java.lang.Override public com.google.protobuf.ByteString getMasterVersionBytes() { java.lang.Object ref = masterVersion_; if (ref instanceof java.lang.String) { @@ -377,6 +385,7 @@ public com.google.protobuf.ByteString getMasterVersionBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -400,6 +409,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java index 8c2757a4..091ed485 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java @@ -174,6 +174,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The projectId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getProjectId() { java.lang.Object ref = projectId_; @@ -199,6 +200,7 @@ public java.lang.String getProjectId() { * * @return The bytes for projectId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; @@ -228,6 +230,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() { * * @return The zone. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getZone() { java.lang.Object ref = zone_; @@ -254,6 +257,7 @@ public java.lang.String getZone() { * * @return The bytes for zone. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getZoneBytes() { java.lang.Object ref = zone_; @@ -281,6 +285,7 @@ public com.google.protobuf.ByteString getZoneBytes() { * * @return The clusterId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getClusterId() { java.lang.Object ref = clusterId_; @@ -305,6 +310,7 @@ public java.lang.String getClusterId() { * * @return The bytes for clusterId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getClusterIdBytes() { java.lang.Object ref = clusterId_; @@ -332,6 +338,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() { * * @return The nodePoolId. */ + @java.lang.Override @java.lang.Deprecated public java.lang.String getNodePoolId() { java.lang.Object ref = nodePoolId_; @@ -356,6 +363,7 @@ public java.lang.String getNodePoolId() { * * @return The bytes for nodePoolId. */ + @java.lang.Override @java.lang.Deprecated public com.google.protobuf.ByteString getNodePoolIdBytes() { java.lang.Object ref = nodePoolId_; @@ -390,6 +398,7 @@ public com.google.protobuf.ByteString getNodePoolIdBytes() { * * @return The nodeVersion. */ + @java.lang.Override public java.lang.String getNodeVersion() { java.lang.Object ref = nodeVersion_; if (ref instanceof java.lang.String) { @@ -420,6 +429,7 @@ public java.lang.String getNodeVersion() { * * @return The bytes for nodeVersion. */ + @java.lang.Override public com.google.protobuf.ByteString getNodeVersionBytes() { java.lang.Object ref = nodeVersion_; if (ref instanceof java.lang.String) { @@ -445,6 +455,7 @@ public com.google.protobuf.ByteString getNodeVersionBytes() { * * @return The imageType. */ + @java.lang.Override public java.lang.String getImageType() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { @@ -467,6 +478,7 @@ public java.lang.String getImageType() { * * @return The bytes for imageType. */ + @java.lang.Override public com.google.protobuf.ByteString getImageTypeBytes() { java.lang.Object ref = imageType_; if (ref instanceof java.lang.String) { @@ -494,6 +506,7 @@ public com.google.protobuf.ByteString getImageTypeBytes() { * * @return The name. */ + @java.lang.Override public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { @@ -518,6 +531,7 @@ public java.lang.String getName() { * * @return The bytes for name. */ + @java.lang.Override public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java index ede1085e..b73c329c 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java @@ -169,6 +169,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The subnetwork. */ + @java.lang.Override public java.lang.String getSubnetwork() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { @@ -192,6 +193,7 @@ public java.lang.String getSubnetwork() { * * @return The bytes for subnetwork. */ + @java.lang.Override public com.google.protobuf.ByteString getSubnetworkBytes() { java.lang.Object ref = subnetwork_; if (ref instanceof java.lang.String) { @@ -218,6 +220,7 @@ public com.google.protobuf.ByteString getSubnetworkBytes() { * * @return The network. */ + @java.lang.Override public java.lang.String getNetwork() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { @@ -241,6 +244,7 @@ public java.lang.String getNetwork() { * * @return The bytes for network. */ + @java.lang.Override public com.google.protobuf.ByteString getNetworkBytes() { java.lang.Object ref = network_; if (ref instanceof java.lang.String) { @@ -266,6 +270,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * @return The ipCidrRange. */ + @java.lang.Override public java.lang.String getIpCidrRange() { java.lang.Object ref = ipCidrRange_; if (ref instanceof java.lang.String) { @@ -288,6 +293,7 @@ public java.lang.String getIpCidrRange() { * * @return The bytes for ipCidrRange. */ + @java.lang.Override public com.google.protobuf.ByteString getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof java.lang.String) { @@ -312,6 +318,7 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; * */ + @java.lang.Override public java.util.List getSecondaryIpRangesList() { return secondaryIpRanges_; @@ -326,6 +333,7 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; * */ + @java.lang.Override public java.util.List getSecondaryIpRangesOrBuilderList() { return secondaryIpRanges_; @@ -340,6 +348,7 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; * */ + @java.lang.Override public int getSecondaryIpRangesCount() { return secondaryIpRanges_.size(); } @@ -353,6 +362,7 @@ public int getSecondaryIpRangesCount() { * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; * */ + @java.lang.Override public com.google.container.v1.UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index) { return secondaryIpRanges_.get(index); } @@ -366,6 +376,7 @@ public com.google.container.v1.UsableSubnetworkSecondaryRange getSecondaryIpRang * repeated .google.container.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 4; * */ + @java.lang.Override public com.google.container.v1.UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder(int index) { return secondaryIpRanges_.get(index); @@ -387,6 +398,7 @@ public com.google.container.v1.UsableSubnetworkSecondaryRange getSecondaryIpRang * * @return The statusMessage. */ + @java.lang.Override public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { @@ -412,6 +424,7 @@ public java.lang.String getStatusMessage() { * * @return The bytes for statusMessage. */ + @java.lang.Override public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java index 81bae15d..3a783ebd 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java @@ -301,6 +301,10 @@ public Status findValueByNumber(int number) { }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } return getDescriptor().getValues().get(ordinal()); } @@ -349,6 +353,7 @@ private Status(int value) { * * @return The rangeName. */ + @java.lang.Override public java.lang.String getRangeName() { java.lang.Object ref = rangeName_; if (ref instanceof java.lang.String) { @@ -372,6 +377,7 @@ public java.lang.String getRangeName() { * * @return The bytes for rangeName. */ + @java.lang.Override public com.google.protobuf.ByteString getRangeNameBytes() { java.lang.Object ref = rangeName_; if (ref instanceof java.lang.String) { @@ -397,6 +403,7 @@ public com.google.protobuf.ByteString getRangeNameBytes() { * * @return The ipCidrRange. */ + @java.lang.Override public java.lang.String getIpCidrRange() { java.lang.Object ref = ipCidrRange_; if (ref instanceof java.lang.String) { @@ -419,6 +426,7 @@ public java.lang.String getIpCidrRange() { * * @return The bytes for ipCidrRange. */ + @java.lang.Override public com.google.protobuf.ByteString getIpCidrRangeBytes() { java.lang.Object ref = ipCidrRange_; if (ref instanceof java.lang.String) { @@ -444,6 +452,7 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { * * @return The enum numeric value on the wire for status. */ + @java.lang.Override public int getStatusValue() { return status_; } @@ -458,6 +467,7 @@ public int getStatusValue() { * * @return The status. */ + @java.lang.Override public com.google.container.v1.UsableSubnetworkSecondaryRange.Status getStatus() { @SuppressWarnings("deprecation") com.google.container.v1.UsableSubnetworkSecondaryRange.Status result = @@ -1048,6 +1058,7 @@ public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { * * @return The enum numeric value on the wire for status. */ + @java.lang.Override public int getStatusValue() { return status_; } @@ -1064,6 +1075,7 @@ public int getStatusValue() { * @return This builder for chaining. */ public Builder setStatusValue(int value) { + status_ = value; onChanged(); return this; @@ -1079,6 +1091,7 @@ public Builder setStatusValue(int value) { * * @return The status. */ + @java.lang.Override public com.google.container.v1.UsableSubnetworkSecondaryRange.Status getStatus() { @SuppressWarnings("deprecation") com.google.container.v1.UsableSubnetworkSecondaryRange.Status result = diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java index 52d12f6b..1af63120 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java @@ -122,6 +122,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } @@ -455,6 +456,7 @@ public Builder mergeFrom( * * @return The enabled. */ + @java.lang.Override public boolean getEnabled() { return enabled_; } diff --git a/synth.metadata b/synth.metadata index d0b63ea2..e6c96369 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,8 +11,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "5a90d467aa65e7f038f87585e8fbb45d74475e7c", - "internalRef": "312088359" + "sha": "c4e37010d74071851ff24121f522e802231ac86e", + "internalRef": "313460921" } }, { From c3635c7dbade7823c03aa3747a4a927a3f7312f4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 5 Jun 2020 00:44:27 +0200 Subject: [PATCH 25/89] deps: update dependency com.google.cloud:google-cloud-core to v1.93.5 (#172) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-core](https://togithub.com/googleapis/java-core) | patch | `1.93.4` -> `1.93.5` | --- ### Release Notes
googleapis/java-core ### [`v1.93.5`](https://togithub.com/googleapis/java-core/blob/master/CHANGELOG.md#​1935-httpswwwgithubcomgoogleapisjava-corecomparev1934v1935-2020-05-26) [Compare Source](https://togithub.com/googleapis/java-core/compare/v1.93.4...v1.93.5)
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index b606b972..4af4015c 100644 --- a/pom.xml +++ b/pom.xml @@ -63,7 +63,7 @@ UTF-8 github google-cloud-container-parent - 1.93.4 + 1.93.5 1.9.2 1.18.0 1.56.0 From 50e85686a2973759de6d57973a9219bb7638605c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 5 Jun 2020 07:44:33 -0700 Subject: [PATCH 26/89] chore: turn on renovate-bot master issue for java repos (#180) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/94ecf927-e915-4508-98b1-89471d78e772/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/cac9eef310652bf138dd76b716e4986e757d62ac --- renovate.json | 3 ++- synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/renovate.json b/renovate.json index 29827d63..3591bfd5 100644 --- a/renovate.json +++ b/renovate.json @@ -76,5 +76,6 @@ "groupName": "jackson dependencies" } ], - "semanticCommits": true + "semanticCommits": true, + "masterIssue": true } \ No newline at end of file diff --git a/synth.metadata b/synth.metadata index e6c96369..7a522d3d 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "b98a6e5cf003f7b86c602449353f572b8cabcfeb" + "sha": "c3635c7dbade7823c03aa3747a4a927a3f7312f4" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8b65daa222d193b689279162781baf0aa1f0ffd2" + "sha": "cac9eef310652bf138dd76b716e4986e757d62ac" } } ], From 1ea59336a0790d464626bf99ea2f9c6c393182d2 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 5 Jun 2020 08:46:09 -0700 Subject: [PATCH 27/89] docs: fix a broken link in the docs. (#179) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/94ecf927-e915-4508-98b1-89471d78e772/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 314788929 Source-Link: https://github.com/googleapis/googleapis/commit/c77929eb8d6c7d6238f585cb9ee9d364893f9ed4 --- .../src/main/java/com/google/container/v1/Cluster.java | 8 ++++---- .../java/com/google/container/v1/ClusterOrBuilder.java | 2 +- .../main/proto/google/container/v1/cluster_service.proto | 2 +- synth.metadata | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java index ed68ffd8..49707f35 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java @@ -1023,7 +1023,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * *
    * The number of nodes to create in this cluster. You must ensure that your
-   * Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
+   * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
    * is sufficient for this number of instances. You must also have available
    * firewall and routes quota.
    * For requests, this field should only be used in lieu of a
@@ -5073,7 +5073,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
      *
      * 
      * The number of nodes to create in this cluster. You must ensure that your
-     * Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
+     * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
      * is sufficient for this number of instances. You must also have available
      * firewall and routes quota.
      * For requests, this field should only be used in lieu of a
@@ -5097,7 +5097,7 @@ public int getInitialNodeCount() {
      *
      * 
      * The number of nodes to create in this cluster. You must ensure that your
-     * Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
+     * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
      * is sufficient for this number of instances. You must also have available
      * firewall and routes quota.
      * For requests, this field should only be used in lieu of a
@@ -5124,7 +5124,7 @@ public Builder setInitialNodeCount(int value) {
      *
      * 
      * The number of nodes to create in this cluster. You must ensure that your
-     * Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
+     * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
      * is sufficient for this number of instances. You must also have available
      * firewall and routes quota.
      * For requests, this field should only be used in lieu of a
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java
index 9a429f24..7a7b6168 100644
--- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java
+++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java
@@ -88,7 +88,7 @@ public interface ClusterOrBuilder
    *
    * 
    * The number of nodes to create in this cluster. You must ensure that your
-   * Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
+   * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
    * is sufficient for this number of instances. You must also have available
    * firewall and routes quota.
    * For requests, this field should only be used in lieu of a
diff --git a/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto b/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto
index 3a798ca1..6d915f3f 100644
--- a/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto
+++ b/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto
@@ -989,7 +989,7 @@ message Cluster {
   string description = 2;
 
   // The number of nodes to create in this cluster. You must ensure that your
-  // Compute Engine resource quota
+  // Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
   // is sufficient for this number of instances. You must also have available
   // firewall and routes quota.
   // For requests, this field should only be used in lieu of a
diff --git a/synth.metadata b/synth.metadata
index 7a522d3d..38ea68ac 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -11,8 +11,8 @@
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "c4e37010d74071851ff24121f522e802231ac86e",
-        "internalRef": "313460921"
+        "sha": "c77929eb8d6c7d6238f585cb9ee9d364893f9ed4",
+        "internalRef": "314788929"
       }
     },
     {

From eb992676f5768b2fd6268c31d3413de1ebaad4ce Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot 
Date: Fri, 5 Jun 2020 19:50:10 -0700
Subject: [PATCH 28/89] build(java): skip lint on samples directory (#182)

This PR was generated using Autosynth. :rainbow:

Synth log will be available here:
https://source.cloud.google.com/results/invocations/d76bfbb4-fde1-4909-a913-608cdb170a49/targets

- [ ] To automatically regenerate this PR, check this box.

Source-Link: https://github.com/googleapis/synthtool/commit/987270824bd26f6a8c716d5e2022057b8ae7b26e
---
 .kokoro/build.sh | 4 +---
 synth.metadata   | 4 ++--
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/.kokoro/build.sh b/.kokoro/build.sh
index a0af8b0f..eff369ec 100755
--- a/.kokoro/build.sh
+++ b/.kokoro/build.sh
@@ -51,9 +51,7 @@ test)
     RETURN_CODE=$?
     ;;
 lint)
-    mvn \
-      -Penable-samples \
-      com.coveo:fmt-maven-plugin:check
+    mvn com.coveo:fmt-maven-plugin:check
     RETURN_CODE=$?
     ;;
 javadoc)
diff --git a/synth.metadata b/synth.metadata
index 38ea68ac..f3f8c0aa 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
       "git": {
         "name": ".",
         "remote": "https://github.com/googleapis/java-container.git",
-        "sha": "c3635c7dbade7823c03aa3747a4a927a3f7312f4"
+        "sha": "1ea59336a0790d464626bf99ea2f9c6c393182d2"
       }
     },
     {
@@ -19,7 +19,7 @@
       "git": {
         "name": "synthtool",
         "remote": "https://github.com/googleapis/synthtool.git",
-        "sha": "cac9eef310652bf138dd76b716e4986e757d62ac"
+        "sha": "987270824bd26f6a8c716d5e2022057b8ae7b26e"
       }
     }
   ],

From c66b4f1523fbf223b4585e5ff417f13a340ce2d6 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate 
Date: Thu, 11 Jun 2020 00:44:18 +0200
Subject: [PATCH 29/89] chore(deps): update dependency
 com.google.cloud.samples:shared-configuration to v1.0.18 (#186)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| com.google.cloud.samples:shared-configuration | patch | `1.0.17` -> `1.0.18` |

---

### Renovate configuration

:date: **Schedule**: At any time (no schedule defined).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container).
---
 samples/install-without-bom/pom.xml | 2 +-
 samples/pom.xml                     | 2 +-
 samples/snapshot/pom.xml            | 2 +-
 samples/snippets/pom.xml            | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 67fc9e42..c60a47d9 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -14,7 +14,7 @@
   
     com.google.cloud.samples
     shared-configuration
-    1.0.17
+    1.0.18
   
 
   
diff --git a/samples/pom.xml b/samples/pom.xml
index e816e8f6..fc69ae16 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -18,7 +18,7 @@
   
     com.google.cloud.samples
     shared-configuration
-    1.0.17
+    1.0.18
   
 
   
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 58049f6b..a908655a 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -14,7 +14,7 @@
   
     com.google.cloud.samples
     shared-configuration
-    1.0.17
+    1.0.18
   
 
   
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 2093f25e..62190e6f 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -14,7 +14,7 @@
   
     com.google.cloud.samples
     shared-configuration
-    1.0.17
+    1.0.18
   
 
   

From edc666cc7ed15cffddc58b62cc69cb90f0412986 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate 
Date: Thu, 11 Jun 2020 00:50:27 +0200
Subject: [PATCH 30/89] chore(deps): update dependency
 com.google.cloud:libraries-bom to v5.7.0 (#185)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `5.5.0` -> `5.7.0` |

---

### Renovate configuration

:date: **Schedule**: At any time (no schedule defined).

:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

:recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container).
---
 samples/snippets/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 62190e6f..de2d8b48 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -30,7 +30,7 @@
       
         com.google.cloud
         libraries-bom
-        5.5.0
+        5.7.0
         pom
         import
       

From e105f60fbde9ad45e9d03011a232e0978fe0fe09 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate 
Date: Thu, 11 Jun 2020 01:10:31 +0200
Subject: [PATCH 31/89] deps: update dependency io.grpc:grpc-bom to v1.30.0
 (#184)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [io.grpc:grpc-bom](https://togithub.com/grpc/grpc-java) | minor | `1.29.0` -> `1.30.0` |

---

### Release Notes

grpc/grpc-java ### [`v1.30.0`](https://togithub.com/grpc/grpc-java/releases/v1.30.0) [Compare Source](https://togithub.com/grpc/grpc-java/compare/v1.29.0...v1.30.0) ##### Behavioral Changes - netty: Bandwidth delay product (BDP) is enabled by default ([#​6979](https://togithub.com/grpc/grpc-java/issues/6979)). BDP dynamically adjusts flow control window to optimize the network bandwidth utilization. To disable this feature, build channel/server with `NettyChannelBuilder#flowControlWindow` or `NettyServerBuilder#flowControlWindow`. Existing `flowControlWindow` users need to use `initialFlowWindowSize` to enable BDP. ##### New Features - core: ManagedChannel provides LoadBalancer#Helper with implemented createResolvingOobChannel ([#​6923](https://togithub.com/grpc/grpc-java/issues/6923)). - stub: Add `ClientCallStreamObserver.disableAutoRequestWithInitial(int)` and `ServerCallStreamObserver.disableAutoRequest()` that disables all automatic inbound flow-control requests. These methods are intended to replace the existing `CallStreamObserver.disableAutoInboundFlowControl()`. There may still be some tweaks to the API, so `disableAutoInboundFlowControl()` is not yet deprecated - inprocess,core: add ability to pass status cause to client ([#​6968](https://togithub.com/grpc/grpc-java/issues/6968)). The new API is added to `InprocessChannelBuilder` to show stacktrace from transport when an error happens in tests. - netty: support setting options of boss in NettyServer ([#​6947](https://togithub.com/grpc/grpc-java/issues/6947)). Adds a new API on `NettyServerBuilder` to allow passing channel options for the boss ELG. ##### Bug Fixes - okhttp&#x3A; use new APIs to configure TLS in Android (roll forward of [#​6959](https://togithub.com/grpc/grpc-java/issues/6959)) ([#​6960](https://togithub.com/grpc/grpc-java/issues/6960)). Starting from Android 10, there is a new set of public APIs for configuring TLS, where we were previously invoking hidden methods in SSLSocket. Some of those hidden methods are no longer allowed (will be removed in the future) in Android 11. We migrate to use public APIs whenever possible. - netty: Using classloader to isolate grpc without isolating netty can cause exceptions when creating netty channel/server is fixed ([#​7048](https://togithub.com/grpc/grpc-java/issues/7048)). - api, core, services: make ProtoReflectionService interceptor compatible ([#​6967](https://togithub.com/grpc/grpc-java/issues/6967)). Previously intercepting the ProtoReflectionService breaks the internal hack of passing the server instance to the service. Now we change the way of how it obtains the server instance so that applying interceptors to it doesn’t break its functionality. This change also allows multiple servers to use a shared ProtoReflectionService instance. - netty: Reduce race window size between GOAWAY and new streams. This should greatly reduce the number of calls that fail with errors similar to “UNAVAILABLE: HTTP/2 error code: NO_ERROR Received Goaway.” Although note that these errors have multiple sources, and it only addresses one of them - core: Delay transport shutdown when changing a subchannel’s addresses. This should prevent users from seeing errors saying “UNAVAILABLE: InternalSubchannel closed transport due to address change,” which should have already been rare ##### Documentation - For Java 9+ users, we now recommend using `org.apache.tomcat:annotations-api` for the `@Generated` annotation instead of `javax.annotation:javax.annotation-api`, as it has a more appropriate license - SECURITY.md: add instruction for disabling Conscrypt's default TrustManager ([#​6962](https://togithub.com/grpc/grpc-java/issues/6962)). By default, Conscrypt delegates hostname verification to the platform's default HostNameVerifier, which in OpenJDK is a deny-all implementation. You can configure the Conscrypt provider to not use its TrustManager. ##### Dependencies - Starting from this version, some transitive dependencies of gRPC artifacts are changed from compile scope to runtime scope. Users may experience their application can not rebuild once the gRPC version is upgraded, because some other component of the project may require a dependency that is no longer transitively provided by gRPC artifacts at compile time; and if that happens, users should explicitly add that dependency for the other component. This change does not affect running the application at runtime. - Bumped protobuf to 3.12.0 ##### Examples - Deleted example-kotlin ([#​6936](https://togithub.com/grpc/grpc-java/issues/6936)). [grpc-kotlin](https://togithub.com/grpc/grpc-kotlin) was officially released and examples can be found in its own repository. ##### Acknowledgements [@​agasparovic-sabre](https://togithub.com/agasparovic-sabre) [@​AgentK20](https://togithub.com/AgentK20) [@​apolcyn](https://togithub.com/apolcyn) [@​asdf2014](https://togithub.com/asdf2014) [@​ashithasantosh](https://togithub.com/ashithasantosh) [@​chalin](https://togithub.com/chalin) [@​bogdandrutu](https://togithub.com/bogdandrutu) [@​DRayX](https://togithub.com/DRayX) [@​hojongs](https://togithub.com/hojongs) [@​Nextproc](https://togithub.com/Nextproc) [@​plaflamme](https://togithub.com/plaflamme) [@​reggiemcdonald](https://togithub.com/reggiemcdonald) [@​RiyaTyagi](https://togithub.com/RiyaTyagi)
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4af4015c..cf0d6ab3 100644 --- a/pom.xml +++ b/pom.xml @@ -67,7 +67,7 @@ 1.9.2 1.18.0 1.56.0 - 1.29.0 + 1.30.0 3.12.0 4.13 29.0-android From b00b9df1fb76c53d026c982270ad05c8d16b221b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 11 Jun 2020 02:00:56 +0200 Subject: [PATCH 32/89] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.8.0 (#187) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | minor | `0.6.0` -> `0.8.0` | --- ### Release Notes
googleapis/java-shared-config ### [`v0.8.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​080-httpswwwgithubcomgoogleapisjava-shared-configcomparev070v080-2020-06-10) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.7.0...v0.8.0) ##### Features - revert "feat: mark auto-value-annotations scope as provided" ([#​154](https://www.github.com/googleapis/java-shared-config/issues/154)) ([88afb4e](https://www.github.com/googleapis/java-shared-config/commit/88afb4e7c57cb6e00929c098135314a926d9da30)) ### [`v0.7.0`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​070-httpswwwgithubcomgoogleapisjava-shared-configcomparev060v070-2020-06-10) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.6.0...v0.7.0) ##### Features - mark auto-value-annotations scope as provided ([#​151](https://www.github.com/googleapis/java-shared-config/issues/151)) ([44ea4cb](https://www.github.com/googleapis/java-shared-config/commit/44ea4cbbf92b4ad35ffaffb7a01a1bce05063daf)) ##### Bug Fixes - lock the google-java-format version used by formatter plugin ([#​149](https://www.github.com/googleapis/java-shared-config/issues/149)) ([d58c054](https://www.github.com/googleapis/java-shared-config/commit/d58c05437a4ea8767db2bebfcc405ec77aeb9705))
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- google-cloud-container-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-container-bom/pom.xml b/google-cloud-container-bom/pom.xml index aeb24953..c2da3321 100644 --- a/google-cloud-container-bom/pom.xml +++ b/google-cloud-container-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.6.0 + 0.8.0 Google Cloud container BOM diff --git a/pom.xml b/pom.xml index cf0d6ab3..9a081f85 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.6.0 + 0.8.0 From 39906c6b52c5bc670c98bd8fd3bbce2540481c0e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 11 Jun 2020 10:57:51 -0700 Subject: [PATCH 33/89] chore: regenerate README versions (#188) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e66d5b32-5d3a-4216-853d-260a1b0f526f/targets - [ ] To automatically regenerate this PR, check this box. --- README.md | 2 +- synth.metadata | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a9cf8bfb..39d0ed85 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 5.5.0 + 5.7.0 pom import diff --git a/synth.metadata b/synth.metadata index f3f8c0aa..9e3b58c7 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "1ea59336a0790d464626bf99ea2f9c6c393182d2" + "sha": "b00b9df1fb76c53d026c982270ad05c8d16b221b" } }, { From b4fe07927691da958c033238848d6e4ddb96e6c6 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 11 Jun 2020 20:03:01 +0200 Subject: [PATCH 34/89] deps: update dependency com.google.protobuf:protobuf-bom to v3.12.2 (#169) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.protobuf:protobuf-bom](https://developers.google.com/protocol-buffers/) ([source](https://togithub.com/protocolbuffers/protobuf)) | patch | `3.12.0` -> `3.12.2` | --- ### Release Notes
protocolbuffers/protobuf ### [`v3.12.2`](https://togithub.com/protocolbuffers/protobuf/releases/v3.12.2) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.12.1...v3.12.2) ### C++ - Simplified the template export macros to fix the build for mingw32. ([#​7539](https://togithub.com/protocolbuffers/protobuf/issues/7539)) ### Objective-C - Fix for the :protobuf_objc target in the Bazel BUILD file. ([#​7538](https://togithub.com/protocolbuffers/protobuf/issues/7538)) ### [`v3.12.1`](https://togithub.com/protocolbuffers/protobuf/releases/v3.12.1) [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v3.12.0...v3.12.1) ### Ruby - Re-add binary gems for Ruby 2.3 and 2.4. These are EOL upstream, however many people still use them and dropping support will require more coordination. ([#​7529](https://togithub.com/protocolbuffers/protobuf/issues/7529), [#​7531](https://togithub.com/protocolbuffers/protobuf/issues/7531)).
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9a081f85..5dc99910 100644 --- a/pom.xml +++ b/pom.xml @@ -68,7 +68,7 @@ 1.18.0 1.56.0 1.30.0 - 3.12.0 + 3.12.2 4.13 29.0-android 1.4.4 From ccfdc1883955bb4b24697ccbb8a3dd42783c475f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 11 Jun 2020 11:14:54 -0700 Subject: [PATCH 35/89] docs: Fixed broken links in the reference documentation (#183) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/877c1c2f-5fbf-48be-9855-8cc009788f1a/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 315023125 Source-Link: https://github.com/googleapis/googleapis/commit/dd244bb3a5023a4a9290b21dae6b99020c026123 --- .../src/main/java/com/google/container/v1/NodePool.java | 8 ++++---- .../java/com/google/container/v1/NodePoolOrBuilder.java | 2 +- .../main/proto/google/container/v1/cluster_service.proto | 2 +- synth.metadata | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java index b827892f..2444a17a 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java @@ -611,7 +611,7 @@ public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() { * *
    * The initial node count for the pool. You must ensure that your
-   * Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
+   * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
    * is sufficient for this number of instances. You must also have available
    * firewall and routes quota.
    * 
@@ -2023,7 +2023,7 @@ public com.google.container.v1.NodeConfigOrBuilder getConfigOrBuilder() { * *
      * The initial node count for the pool. You must ensure that your
-     * Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
+     * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
      * is sufficient for this number of instances. You must also have available
      * firewall and routes quota.
      * 
@@ -2041,7 +2041,7 @@ public int getInitialNodeCount() { * *
      * The initial node count for the pool. You must ensure that your
-     * Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
+     * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
      * is sufficient for this number of instances. You must also have available
      * firewall and routes quota.
      * 
@@ -2062,7 +2062,7 @@ public Builder setInitialNodeCount(int value) { * *
      * The initial node count for the pool. You must ensure that your
-     * Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
+     * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
      * is sufficient for this number of instances. You must also have available
      * firewall and routes quota.
      * 
diff --git a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java index bd68445b..861c8e62 100644 --- a/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java +++ b/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java @@ -88,7 +88,7 @@ public interface NodePoolOrBuilder * *
    * The initial node count for the pool. You must ensure that your
-   * Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a>
+   * Compute Engine [resource quota](https://cloud.google.com/compute/quotas)
    * is sufficient for this number of instances. You must also have available
    * firewall and routes quota.
    * 
diff --git a/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto b/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto index 6d915f3f..6363fc94 100644 --- a/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto +++ b/proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto @@ -2087,7 +2087,7 @@ message NodePool { NodeConfig config = 2; // The initial node count for the pool. You must ensure that your - // Compute Engine resource quota + // Compute Engine [resource quota](https://cloud.google.com/compute/quotas) // is sufficient for this number of instances. You must also have available // firewall and routes quota. int32 initial_node_count = 3; diff --git a/synth.metadata b/synth.metadata index 9e3b58c7..97ce3517 100644 --- a/synth.metadata +++ b/synth.metadata @@ -11,8 +11,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "c77929eb8d6c7d6238f585cb9ee9d364893f9ed4", - "internalRef": "314788929" + "sha": "dd244bb3a5023a4a9290b21dae6b99020c026123", + "internalRef": "315023125" } }, { From d316783b5efc80eff8001899f361bc18fe2e0117 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 15 Jun 2020 22:33:56 +0200 Subject: [PATCH 36/89] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.8.1 --- google-cloud-container-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-container-bom/pom.xml b/google-cloud-container-bom/pom.xml index c2da3321..d6264909 100644 --- a/google-cloud-container-bom/pom.xml +++ b/google-cloud-container-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.8.0 + 0.8.1 Google Cloud container BOM diff --git a/pom.xml b/pom.xml index 5dc99910..6f695984 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.8.0 + 0.8.1 From b0055eeb8d9617d65cc8d83546f885e6df07a28b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 16 Jun 2020 12:18:43 -0700 Subject: [PATCH 37/89] ci: switch to secret manager for samples/integration tests (#192) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/2c593734-539a-435d-8a04-27f04c90082f/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/c4f3059c27591eb24d6942a0e357ec94c80459f2 Source-Link: https://github.com/googleapis/synthtool/commit/6eb80fa9f96433af8dbeb1c8323aa80cda49b374 Source-Link: https://github.com/googleapis/synthtool/commit/6d3eed67a45fd58f9c7bfa173c32e4fd4fed058f Source-Link: https://github.com/googleapis/synthtool/commit/d1addcdf80aa9ddef8c932c89c919024bbad7af3 --- .kokoro/build.sh | 2 +- .kokoro/nightly/integration.cfg | 12 +++------ .kokoro/nightly/samples.cfg | 16 +++++------- .kokoro/populate-secrets.sh | 43 +++++++++++++++++++++++++++++++ .kokoro/presubmit/integration.cfg | 12 +++------ .kokoro/presubmit/samples.cfg | 14 ++++------ .kokoro/trampoline.sh | 2 ++ synth.metadata | 4 +-- 8 files changed, 67 insertions(+), 38 deletions(-) create mode 100755 .kokoro/populate-secrets.sh diff --git a/.kokoro/build.sh b/.kokoro/build.sh index eff369ec..3976f865 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -39,7 +39,7 @@ retry_with_backoff 3 10 \ # if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then - export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS}) + export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}) fi RETURN_CODE=0 diff --git a/.kokoro/nightly/integration.cfg b/.kokoro/nightly/integration.cfg index 40c4abb7..0048c8ec 100644 --- a/.kokoro/nightly/integration.cfg +++ b/.kokoro/nightly/integration.cfg @@ -28,14 +28,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-it-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" } diff --git a/.kokoro/nightly/samples.cfg b/.kokoro/nightly/samples.cfg index 20aabd55..f2542931 100644 --- a/.kokoro/nightly/samples.cfg +++ b/.kokoro/nightly/samples.cfg @@ -24,19 +24,15 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-docs-samples-service-account" } env_vars: { - key: "ENABLE_BUILD_COP" - value: "true" + key: "SECRET_MANAGER_KEYS" + value: "java-docs-samples-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" } diff --git a/.kokoro/populate-secrets.sh b/.kokoro/populate-secrets.sh new file mode 100755 index 00000000..f5251425 --- /dev/null +++ b/.kokoro/populate-secrets.sh @@ -0,0 +1,43 @@ +#!/bin/bash +# Copyright 2020 Google LLC. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +function now { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n' ;} +function msg { println "$*" >&2 ;} +function println { printf '%s\n' "$(now) $*" ;} + + +# Populates requested secrets set in SECRET_MANAGER_KEYS from service account: +# kokoro-trampoline@cloud-devrel-kokoro-resources.iam.gserviceaccount.com +SECRET_LOCATION="${KOKORO_GFILE_DIR}/secret_manager" +msg "Creating folder on disk for secrets: ${SECRET_LOCATION}" +mkdir -p ${SECRET_LOCATION} +for key in $(echo ${SECRET_MANAGER_KEYS} | sed "s/,/ /g") +do + msg "Retrieving secret ${key}" + docker run --entrypoint=gcloud \ + --volume=${KOKORO_GFILE_DIR}:${KOKORO_GFILE_DIR} \ + gcr.io/google.com/cloudsdktool/cloud-sdk \ + secrets versions access latest \ + --project cloud-devrel-kokoro-resources \ + --secret ${key} > \ + "${SECRET_LOCATION}/${key}" + if [[ $? == 0 ]]; then + msg "Secret written to ${SECRET_LOCATION}/${key}" + else + msg "Error retrieving secret ${key}" + fi +done diff --git a/.kokoro/presubmit/integration.cfg b/.kokoro/presubmit/integration.cfg index 522e5b10..dded67a9 100644 --- a/.kokoro/presubmit/integration.cfg +++ b/.kokoro/presubmit/integration.cfg @@ -24,14 +24,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-it-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" } diff --git a/.kokoro/presubmit/samples.cfg b/.kokoro/presubmit/samples.cfg index 1171aead..01e09600 100644 --- a/.kokoro/presubmit/samples.cfg +++ b/.kokoro/presubmit/samples.cfg @@ -24,14 +24,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-docs-samples-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } -} +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-docs-samples-service-account" +} \ No newline at end of file diff --git a/.kokoro/trampoline.sh b/.kokoro/trampoline.sh index ba17ce01..9da0f839 100644 --- a/.kokoro/trampoline.sh +++ b/.kokoro/trampoline.sh @@ -21,4 +21,6 @@ function cleanup() { echo "cleanup"; } trap cleanup EXIT + +$(dirname $0)/populate-secrets.sh # Secret Manager secrets. python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" diff --git a/synth.metadata b/synth.metadata index 97ce3517..ed62106f 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "b00b9df1fb76c53d026c982270ad05c8d16b221b" + "sha": "d316783b5efc80eff8001899f361bc18fe2e0117" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "987270824bd26f6a8c716d5e2022057b8ae7b26e" + "sha": "c4f3059c27591eb24d6942a0e357ec94c80459f2" } } ], From e154d911bcb2475f7ba63145c5b935b81160f97a Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Jun 2020 01:36:15 +0200 Subject: [PATCH 38/89] chore(deps): update dependency com.google.cloud:libraries-bom to v6 (#193) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `5.7.0` -> `6.0.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index de2d8b48..97541262 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.7.0 + 6.0.0 pom import From f40fabe0739d0181274fea359e24312cbb3e6cb4 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 17 Jun 2020 19:40:08 +0200 Subject: [PATCH 39/89] chore(deps): update dependency com.google.cloud:libraries-bom to v7 (#195) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `6.0.0` -> `7.0.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 97541262..8f860fcc 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 6.0.0 + 7.0.0 pom import From 4bd1c9fe63e356020400b36a86f9be9c0b057a32 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 22 Jun 2020 13:13:20 -0700 Subject: [PATCH 40/89] chore: regenerate README versions (#196) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/5c193786-fcd8-4a90-b8a2-1d007566f359/targets - [ ] To automatically regenerate this PR, check this box. --- README.md | 2 +- synth.metadata | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 39d0ed85..fe1aac0c 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 5.7.0 + 7.0.0 pom import diff --git a/synth.metadata b/synth.metadata index ed62106f..c093d72a 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "d316783b5efc80eff8001899f361bc18fe2e0117" + "sha": "f40fabe0739d0181274fea359e24312cbb3e6cb4" } }, { From f6004bd0df35888993daefeb01e3e5f338e99d73 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 22 Jun 2020 22:50:54 +0200 Subject: [PATCH 41/89] build(deps): update dependency org.codehaus.mojo:build-helper-maven-plugin to v3.2.0 (#198) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [org.codehaus.mojo:build-helper-maven-plugin](http://www.mojohaus.org/build-helper-maven-plugin/) ([source](https://togithub.com/mojohaus/build-helper-maven-plugin)) | minor | `3.1.0` -> `3.2.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index c60a47d9..213bb640 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -53,7 +53,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.1.0 + 3.2.0 add-snippets-source diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index a908655a..b6ba3bfa 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -52,7 +52,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.1.0 + 3.2.0 add-snippets-source From fe21798b5fe4bbeee9bbde9174d3326b0a9e2f3c Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Mon, 22 Jun 2020 23:47:12 +0200 Subject: [PATCH 42/89] chore(deps): update dependency com.google.cloud:libraries-bom to v7.0.1 (#199) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | patch | `7.0.0` -> `7.0.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 8f860fcc..e69e946c 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 7.0.0 + 7.0.1 pom import From 2a706c35dcd2162467b7204c86f86332009beffc Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 23 Jun 2020 23:50:39 +0200 Subject: [PATCH 43/89] deps: update core dependencies (#189) --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 6f695984..77f85603 100644 --- a/pom.xml +++ b/pom.xml @@ -63,11 +63,11 @@ UTF-8 github google-cloud-container-parent - 1.93.5 + 1.93.6 1.9.2 1.18.0 - 1.56.0 - 1.30.0 + 1.57.0 + 1.30.2 3.12.2 4.13 29.0-android From 66a6ce8f66516e28c15b160fe3c8504663adc661 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 26 Jun 2020 07:22:41 +0200 Subject: [PATCH 44/89] chore(deps): update dependency com.google.cloud:libraries-bom to v8 (#203) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `7.0.1` -> `8.0.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index e69e946c..bd385c7c 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 7.0.1 + 8.0.0 pom import From e132d28cb65e6d9d3a2ae3aa3381a1d0193813f0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 26 Jun 2020 08:21:26 +0200 Subject: [PATCH 45/89] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.0 (#204) --- google-cloud-container-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-container-bom/pom.xml b/google-cloud-container-bom/pom.xml index d6264909..4e09931f 100644 --- a/google-cloud-container-bom/pom.xml +++ b/google-cloud-container-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.8.1 + 0.9.0 Google Cloud container BOM diff --git a/pom.xml b/pom.xml index 77f85603..93debf07 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.8.1 + 0.9.0 From e909f20144e88b90127a391b510d86139c6ac9fe Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 25 Jun 2020 23:45:20 -0700 Subject: [PATCH 46/89] fix: migrate to grpc_service_config (#202) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/24de3e05-3efb-415a-ac3d-99f7d576a03f/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 317953021 Source-Link: https://github.com/googleapis/googleapis/commit/cd24bd2d870ee5b9e046a2bfa0d0d0afda29be60 --- README.md | 2 +- .../container/v1/ClusterManagerClient.java | 445 ++++++------ .../container/v1/ClusterManagerSettings.java | 46 +- .../cloud/container/v1/package-info.java | 3 +- .../container/v1/stub/ClusterManagerStub.java | 16 +- .../v1/stub/ClusterManagerStubSettings.java | 238 ++++--- .../v1/stub/GrpcClusterManagerStub.java | 120 ++-- .../v1/ClusterManagerClientTest.java | 652 +++++++++--------- synth.metadata | 6 +- 9 files changed, 769 insertions(+), 759 deletions(-) diff --git a/README.md b/README.md index fe1aac0c..4edbc19c 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 7.0.0 + 7.0.1 pom import diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java index c27a944f..a1cc9dec 100644 --- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java +++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java @@ -90,8 +90,7 @@ * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) { * String projectId = ""; * String zone = ""; - * String clusterId = ""; - * Operation response = clusterManagerClient.deleteCluster(projectId, zone, clusterId); + * ListClustersResponse response = clusterManagerClient.listClusters(projectId, zone); * } * *
@@ -200,227 +199,6 @@ public ClusterManagerStub getStub() { return stub; } - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. - * - *

Firewalls and routes that were configured during cluster creation are also deleted. - * - *

Other Google Compute Engine resources that might be in use by the cluster, such as load - * balancer resources, are not deleted if they weren't present when the cluster was initially - * created. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   Operation response = clusterManagerClient.deleteCluster(projectId, zone, clusterId);
-   * }
-   * 
- * - * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated - * and replaced by the name field. - * @param zone Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. - * This field has been deprecated and replaced by the name field. - * @param clusterId Deprecated. The name of the cluster to delete. This field has been deprecated - * and replaced by the name field. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Operation deleteCluster(String projectId, String zone, String clusterId) { - DeleteClusterRequest request = - DeleteClusterRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .build(); - return deleteCluster(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. - * - *

Firewalls and routes that were configured during cluster creation are also deleted. - * - *

Other Google Compute Engine resources that might be in use by the cluster, such as load - * balancer resources, are not deleted if they weren't present when the cluster was initially - * created. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String name = "";
-   *   Operation response = clusterManagerClient.deleteCluster(name);
-   * }
-   * 
- * - * @param name The name (project, location, cluster) of the cluster to delete. Specified in the - * format `projects/*/locations/*/clusters/*`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Operation deleteCluster(String name) { - DeleteClusterRequest request = DeleteClusterRequest.newBuilder().setName(name).build(); - return deleteCluster(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. - * - *

Firewalls and routes that were configured during cluster creation are also deleted. - * - *

Other Google Compute Engine resources that might be in use by the cluster, such as load - * balancer resources, are not deleted if they weren't present when the cluster was initially - * created. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   DeleteClusterRequest request = DeleteClusterRequest.newBuilder().build();
-   *   Operation response = clusterManagerClient.deleteCluster(request);
-   * }
-   * 
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Operation deleteCluster(DeleteClusterRequest request) { - return deleteClusterCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. - * - *

Firewalls and routes that were configured during cluster creation are also deleted. - * - *

Other Google Compute Engine resources that might be in use by the cluster, such as load - * balancer resources, are not deleted if they weren't present when the cluster was initially - * created. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   DeleteClusterRequest request = DeleteClusterRequest.newBuilder().build();
-   *   ApiFuture<Operation> future = clusterManagerClient.deleteClusterCallable().futureCall(request);
-   *   // Do something
-   *   Operation response = future.get();
-   * }
-   * 
- */ - public final UnaryCallable deleteClusterCallable() { - return stub.deleteClusterCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes a node pool from a cluster. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String projectId = "";
-   *   String zone = "";
-   *   String clusterId = "";
-   *   String nodePoolId = "";
-   *   Operation response = clusterManagerClient.deleteNodePool(projectId, zone, clusterId, nodePoolId);
-   * }
-   * 
- * - * @param projectId Deprecated. The Google Developers Console [project ID or project - * number](https://developers.google.com/console/help/new/#projectnumber). This field has been - * deprecated and replaced by the name field. - * @param zone Deprecated. The name of the Google Compute Engine - * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. - * This field has been deprecated and replaced by the name field. - * @param clusterId Deprecated. The name of the cluster. This field has been deprecated and - * replaced by the name field. - * @param nodePoolId Deprecated. The name of the node pool to delete. This field has been - * deprecated and replaced by the name field. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Operation deleteNodePool( - String projectId, String zone, String clusterId, String nodePoolId) { - DeleteNodePoolRequest request = - DeleteNodePoolRequest.newBuilder() - .setProjectId(projectId) - .setZone(zone) - .setClusterId(clusterId) - .setNodePoolId(nodePoolId) - .build(); - return deleteNodePool(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes a node pool from a cluster. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   String name = "";
-   *   Operation response = clusterManagerClient.deleteNodePool(name);
-   * }
-   * 
- * - * @param name The name (project, location, cluster, node pool id) of the node pool to delete. - * Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Operation deleteNodePool(String name) { - DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().setName(name).build(); - return deleteNodePool(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes a node pool from a cluster. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().build();
-   *   Operation response = clusterManagerClient.deleteNodePool(request);
-   * }
-   * 
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Operation deleteNodePool(DeleteNodePoolRequest request) { - return deleteNodePoolCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD - /** - * Deletes a node pool from a cluster. - * - *

Sample code: - * - *


-   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
-   *   DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().build();
-   *   ApiFuture<Operation> future = clusterManagerClient.deleteNodePoolCallable().futureCall(request);
-   *   // Do something
-   *   Operation response = future.get();
-   * }
-   * 
- */ - public final UnaryCallable deleteNodePoolCallable() { - return stub.deleteNodePoolCallable(); - } - // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Lists all clusters owned by a project in either the specified zone or all zones. @@ -1602,6 +1380,126 @@ public final UnaryCallable setMasterAuthCallabl return stub.setMasterAuthCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. + * + *

Firewalls and routes that were configured during cluster creation are also deleted. + * + *

Other Google Compute Engine resources that might be in use by the cluster, such as load + * balancer resources, are not deleted if they weren't present when the cluster was initially + * created. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   String projectId = "";
+   *   String zone = "";
+   *   String clusterId = "";
+   *   Operation response = clusterManagerClient.deleteCluster(projectId, zone, clusterId);
+   * }
+   * 
+ * + * @param projectId Deprecated. The Google Developers Console [project ID or project + * number](https://support.google.com/cloud/answer/6158840). This field has been deprecated + * and replaced by the name field. + * @param zone Deprecated. The name of the Google Compute Engine + * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. + * This field has been deprecated and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster to delete. This field has been deprecated + * and replaced by the name field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation deleteCluster(String projectId, String zone, String clusterId) { + DeleteClusterRequest request = + DeleteClusterRequest.newBuilder() + .setProjectId(projectId) + .setZone(zone) + .setClusterId(clusterId) + .build(); + return deleteCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. + * + *

Firewalls and routes that were configured during cluster creation are also deleted. + * + *

Other Google Compute Engine resources that might be in use by the cluster, such as load + * balancer resources, are not deleted if they weren't present when the cluster was initially + * created. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   String name = "";
+   *   Operation response = clusterManagerClient.deleteCluster(name);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster) of the cluster to delete. Specified in the + * format `projects/*/locations/*/clusters/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation deleteCluster(String name) { + DeleteClusterRequest request = DeleteClusterRequest.newBuilder().setName(name).build(); + return deleteCluster(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. + * + *

Firewalls and routes that were configured during cluster creation are also deleted. + * + *

Other Google Compute Engine resources that might be in use by the cluster, such as load + * balancer resources, are not deleted if they weren't present when the cluster was initially + * created. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   DeleteClusterRequest request = DeleteClusterRequest.newBuilder().build();
+   *   Operation response = clusterManagerClient.deleteCluster(request);
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation deleteCluster(DeleteClusterRequest request) { + return deleteClusterCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes the cluster, including the Kubernetes endpoint and all worker nodes. + * + *

Firewalls and routes that were configured during cluster creation are also deleted. + * + *

Other Google Compute Engine resources that might be in use by the cluster, such as load + * balancer resources, are not deleted if they weren't present when the cluster was initially + * created. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   DeleteClusterRequest request = DeleteClusterRequest.newBuilder().build();
+   *   ApiFuture<Operation> future = clusterManagerClient.deleteClusterCallable().futureCall(request);
+   *   // Do something
+   *   Operation response = future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteClusterCallable() { + return stub.deleteClusterCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Lists all operations in a project in a specific zone or all zones. @@ -2236,6 +2134,107 @@ public final UnaryCallable createNodePoolCalla return stub.createNodePoolCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes a node pool from a cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   String projectId = "";
+   *   String zone = "";
+   *   String clusterId = "";
+   *   String nodePoolId = "";
+   *   Operation response = clusterManagerClient.deleteNodePool(projectId, zone, clusterId, nodePoolId);
+   * }
+   * 
+ * + * @param projectId Deprecated. The Google Developers Console [project ID or project + * number](https://developers.google.com/console/help/new/#projectnumber). This field has been + * deprecated and replaced by the name field. + * @param zone Deprecated. The name of the Google Compute Engine + * [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. + * This field has been deprecated and replaced by the name field. + * @param clusterId Deprecated. The name of the cluster. This field has been deprecated and + * replaced by the name field. + * @param nodePoolId Deprecated. The name of the node pool to delete. This field has been + * deprecated and replaced by the name field. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation deleteNodePool( + String projectId, String zone, String clusterId, String nodePoolId) { + DeleteNodePoolRequest request = + DeleteNodePoolRequest.newBuilder() + .setProjectId(projectId) + .setZone(zone) + .setClusterId(clusterId) + .setNodePoolId(nodePoolId) + .build(); + return deleteNodePool(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes a node pool from a cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   String name = "";
+   *   Operation response = clusterManagerClient.deleteNodePool(name);
+   * }
+   * 
+ * + * @param name The name (project, location, cluster, node pool id) of the node pool to delete. + * Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation deleteNodePool(String name) { + DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().setName(name).build(); + return deleteNodePool(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes a node pool from a cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().build();
+   *   Operation response = clusterManagerClient.deleteNodePool(request);
+   * }
+   * 
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Operation deleteNodePool(DeleteNodePoolRequest request) { + return deleteNodePoolCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Deletes a node pool from a cluster. + * + *

Sample code: + * + *


+   * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
+   *   DeleteNodePoolRequest request = DeleteNodePoolRequest.newBuilder().build();
+   *   ApiFuture<Operation> future = clusterManagerClient.deleteNodePoolCallable().futureCall(request);
+   *   // Do something
+   *   Operation response = future.get();
+   * }
+   * 
+ */ + public final UnaryCallable deleteNodePoolCallable() { + return stub.deleteNodePoolCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD /** * Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java index 53df6b43..de7f713a 100644 --- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java +++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java @@ -88,16 +88,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

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

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

  * 
  * ClusterManagerSettings.Builder clusterManagerSettingsBuilder =
  *     ClusterManagerSettings.newBuilder();
  * clusterManagerSettingsBuilder
- *     .deleteClusterSettings()
+ *     .listClustersSettings()
  *     .setRetrySettings(
- *         clusterManagerSettingsBuilder.deleteClusterSettings().getRetrySettings().toBuilder()
+ *         clusterManagerSettingsBuilder.listClustersSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ClusterManagerSettings clusterManagerSettings = clusterManagerSettingsBuilder.build();
@@ -107,16 +107,6 @@
 @Generated("by gapic-generator")
 @BetaApi
 public class ClusterManagerSettings extends ClientSettings {
-  /** Returns the object with the settings used for calls to deleteCluster. */
-  public UnaryCallSettings deleteClusterSettings() {
-    return ((ClusterManagerStubSettings) getStubSettings()).deleteClusterSettings();
-  }
-
-  /** Returns the object with the settings used for calls to deleteNodePool. */
-  public UnaryCallSettings deleteNodePoolSettings() {
-    return ((ClusterManagerStubSettings) getStubSettings()).deleteNodePoolSettings();
-  }
-
   /** Returns the object with the settings used for calls to listClusters. */
   public UnaryCallSettings listClustersSettings() {
     return ((ClusterManagerStubSettings) getStubSettings()).listClustersSettings();
@@ -178,6 +168,11 @@ public UnaryCallSettings setMasterAuthSettings(
     return ((ClusterManagerStubSettings) getStubSettings()).setMasterAuthSettings();
   }
 
+  /** Returns the object with the settings used for calls to deleteCluster. */
+  public UnaryCallSettings deleteClusterSettings() {
+    return ((ClusterManagerStubSettings) getStubSettings()).deleteClusterSettings();
+  }
+
   /** Returns the object with the settings used for calls to listOperations. */
   public UnaryCallSettings listOperationsSettings() {
     return ((ClusterManagerStubSettings) getStubSettings()).listOperationsSettings();
@@ -213,6 +208,11 @@ public UnaryCallSettings createNodePoolSetting
     return ((ClusterManagerStubSettings) getStubSettings()).createNodePoolSettings();
   }
 
+  /** Returns the object with the settings used for calls to deleteNodePool. */
+  public UnaryCallSettings deleteNodePoolSettings() {
+    return ((ClusterManagerStubSettings) getStubSettings()).deleteNodePoolSettings();
+  }
+
   /** Returns the object with the settings used for calls to rollbackNodePoolUpgrade. */
   public UnaryCallSettings
       rollbackNodePoolUpgradeSettings() {
@@ -366,16 +366,6 @@ public Builder applyToAllUnaryMethods(
       return this;
     }
 
-    /** Returns the builder for the settings used for calls to deleteCluster. */
-    public UnaryCallSettings.Builder deleteClusterSettings() {
-      return getStubSettingsBuilder().deleteClusterSettings();
-    }
-
-    /** Returns the builder for the settings used for calls to deleteNodePool. */
-    public UnaryCallSettings.Builder deleteNodePoolSettings() {
-      return getStubSettingsBuilder().deleteNodePoolSettings();
-    }
-
     /** Returns the builder for the settings used for calls to listClusters. */
     public UnaryCallSettings.Builder
         listClustersSettings() {
@@ -440,6 +430,11 @@ public UnaryCallSettings.Builder setMasterAuthS
       return getStubSettingsBuilder().setMasterAuthSettings();
     }
 
+    /** Returns the builder for the settings used for calls to deleteCluster. */
+    public UnaryCallSettings.Builder deleteClusterSettings() {
+      return getStubSettingsBuilder().deleteClusterSettings();
+    }
+
     /** Returns the builder for the settings used for calls to listOperations. */
     public UnaryCallSettings.Builder
         listOperationsSettings() {
@@ -478,6 +473,11 @@ public UnaryCallSettings.Builder createNodePoo
       return getStubSettingsBuilder().createNodePoolSettings();
     }
 
+    /** Returns the builder for the settings used for calls to deleteNodePool. */
+    public UnaryCallSettings.Builder deleteNodePoolSettings() {
+      return getStubSettingsBuilder().deleteNodePoolSettings();
+    }
+
     /** Returns the builder for the settings used for calls to rollbackNodePoolUpgrade. */
     public UnaryCallSettings.Builder
         rollbackNodePoolUpgradeSettings() {
diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java
index c9bf9d50..590986dc 100644
--- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java
+++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java
@@ -30,8 +30,7 @@
  * try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
  *   String projectId = "";
  *   String zone = "";
- *   String clusterId = "";
- *   Operation response = clusterManagerClient.deleteCluster(projectId, zone, clusterId);
+ *   ListClustersResponse response = clusterManagerClient.listClusters(projectId, zone);
  * }
  * 
  * 
diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java index 9367be17..2b0757ca 100644 --- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java +++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java @@ -72,14 +72,6 @@ @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public abstract class ClusterManagerStub implements BackgroundResource { - public UnaryCallable deleteClusterCallable() { - throw new UnsupportedOperationException("Not implemented: deleteClusterCallable()"); - } - - public UnaryCallable deleteNodePoolCallable() { - throw new UnsupportedOperationException("Not implemented: deleteNodePoolCallable()"); - } - public UnaryCallable listClustersCallable() { throw new UnsupportedOperationException("Not implemented: listClustersCallable()"); } @@ -128,6 +120,10 @@ public UnaryCallable setMasterAuthCallable() { throw new UnsupportedOperationException("Not implemented: setMasterAuthCallable()"); } + public UnaryCallable deleteClusterCallable() { + throw new UnsupportedOperationException("Not implemented: deleteClusterCallable()"); + } + public UnaryCallable listOperationsCallable() { throw new UnsupportedOperationException("Not implemented: listOperationsCallable()"); } @@ -156,6 +152,10 @@ public UnaryCallable createNodePoolCallable() throw new UnsupportedOperationException("Not implemented: createNodePoolCallable()"); } + public UnaryCallable deleteNodePoolCallable() { + throw new UnsupportedOperationException("Not implemented: deleteNodePoolCallable()"); + } + public UnaryCallable rollbackNodePoolUpgradeCallable() { throw new UnsupportedOperationException("Not implemented: rollbackNodePoolUpgradeCallable()"); diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java index e559243d..09293de0 100644 --- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java +++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java @@ -104,16 +104,16 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

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

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

  * 
  * ClusterManagerStubSettings.Builder clusterManagerSettingsBuilder =
  *     ClusterManagerStubSettings.newBuilder();
  * clusterManagerSettingsBuilder
- *     .deleteClusterSettings()
+ *     .listClustersSettings()
  *     .setRetrySettings(
- *         clusterManagerSettingsBuilder.deleteClusterSettings().getRetrySettings().toBuilder()
+ *         clusterManagerSettingsBuilder.listClustersSettings().getRetrySettings().toBuilder()
  *             .setTotalTimeout(Duration.ofSeconds(30))
  *             .build());
  * ClusterManagerStubSettings clusterManagerSettings = clusterManagerSettingsBuilder.build();
@@ -127,8 +127,6 @@ public class ClusterManagerStubSettings extends StubSettings DEFAULT_SERVICE_SCOPES =
       ImmutableList.builder().add("https://www.googleapis.com/auth/cloud-platform").build();
 
-  private final UnaryCallSettings deleteClusterSettings;
-  private final UnaryCallSettings deleteNodePoolSettings;
   private final UnaryCallSettings listClustersSettings;
   private final UnaryCallSettings getClusterSettings;
   private final UnaryCallSettings createClusterSettings;
@@ -143,6 +141,7 @@ public class ClusterManagerStubSettings extends StubSettings setLocationsSettings;
   private final UnaryCallSettings updateMasterSettings;
   private final UnaryCallSettings setMasterAuthSettings;
+  private final UnaryCallSettings deleteClusterSettings;
   private final UnaryCallSettings
       listOperationsSettings;
   private final UnaryCallSettings getOperationSettings;
@@ -152,6 +151,7 @@ public class ClusterManagerStubSettings extends StubSettings getNodePoolSettings;
   private final UnaryCallSettings createNodePoolSettings;
+  private final UnaryCallSettings deleteNodePoolSettings;
   private final UnaryCallSettings
       rollbackNodePoolUpgradeSettings;
   private final UnaryCallSettings
@@ -170,16 +170,6 @@ public class ClusterManagerStubSettings extends StubSettings
       listUsableSubnetworksSettings;
 
-  /** Returns the object with the settings used for calls to deleteCluster. */
-  public UnaryCallSettings deleteClusterSettings() {
-    return deleteClusterSettings;
-  }
-
-  /** Returns the object with the settings used for calls to deleteNodePool. */
-  public UnaryCallSettings deleteNodePoolSettings() {
-    return deleteNodePoolSettings;
-  }
-
   /** Returns the object with the settings used for calls to listClusters. */
   public UnaryCallSettings listClustersSettings() {
     return listClustersSettings;
@@ -241,6 +231,11 @@ public UnaryCallSettings setMasterAuthSettings(
     return setMasterAuthSettings;
   }
 
+  /** Returns the object with the settings used for calls to deleteCluster. */
+  public UnaryCallSettings deleteClusterSettings() {
+    return deleteClusterSettings;
+  }
+
   /** Returns the object with the settings used for calls to listOperations. */
   public UnaryCallSettings listOperationsSettings() {
     return listOperationsSettings;
@@ -276,6 +271,11 @@ public UnaryCallSettings createNodePoolSetting
     return createNodePoolSettings;
   }
 
+  /** Returns the object with the settings used for calls to deleteNodePool. */
+  public UnaryCallSettings deleteNodePoolSettings() {
+    return deleteNodePoolSettings;
+  }
+
   /** Returns the object with the settings used for calls to rollbackNodePoolUpgrade. */
   public UnaryCallSettings
       rollbackNodePoolUpgradeSettings() {
@@ -401,8 +401,6 @@ public Builder toBuilder() {
   protected ClusterManagerStubSettings(Builder settingsBuilder) throws IOException {
     super(settingsBuilder);
 
-    deleteClusterSettings = settingsBuilder.deleteClusterSettings().build();
-    deleteNodePoolSettings = settingsBuilder.deleteNodePoolSettings().build();
     listClustersSettings = settingsBuilder.listClustersSettings().build();
     getClusterSettings = settingsBuilder.getClusterSettings().build();
     createClusterSettings = settingsBuilder.createClusterSettings().build();
@@ -415,6 +413,7 @@ protected ClusterManagerStubSettings(Builder settingsBuilder) throws IOException
     setLocationsSettings = settingsBuilder.setLocationsSettings().build();
     updateMasterSettings = settingsBuilder.updateMasterSettings().build();
     setMasterAuthSettings = settingsBuilder.setMasterAuthSettings().build();
+    deleteClusterSettings = settingsBuilder.deleteClusterSettings().build();
     listOperationsSettings = settingsBuilder.listOperationsSettings().build();
     getOperationSettings = settingsBuilder.getOperationSettings().build();
     cancelOperationSettings = settingsBuilder.cancelOperationSettings().build();
@@ -422,6 +421,7 @@ protected ClusterManagerStubSettings(Builder settingsBuilder) throws IOException
     listNodePoolsSettings = settingsBuilder.listNodePoolsSettings().build();
     getNodePoolSettings = settingsBuilder.getNodePoolSettings().build();
     createNodePoolSettings = settingsBuilder.createNodePoolSettings().build();
+    deleteNodePoolSettings = settingsBuilder.deleteNodePoolSettings().build();
     rollbackNodePoolUpgradeSettings = settingsBuilder.rollbackNodePoolUpgradeSettings().build();
     setNodePoolManagementSettings = settingsBuilder.setNodePoolManagementSettings().build();
     setLabelsSettings = settingsBuilder.setLabelsSettings().build();
@@ -503,9 +503,6 @@ public ApiFuture getFuturePagedResponse(
   public static class Builder extends StubSettings.Builder {
     private final ImmutableList> unaryMethodSettingsBuilders;
 
-    private final UnaryCallSettings.Builder deleteClusterSettings;
-    private final UnaryCallSettings.Builder
-        deleteNodePoolSettings;
     private final UnaryCallSettings.Builder
         listClustersSettings;
     private final UnaryCallSettings.Builder getClusterSettings;
@@ -524,6 +521,7 @@ public static class Builder extends StubSettings.Builder setLocationsSettings;
     private final UnaryCallSettings.Builder updateMasterSettings;
     private final UnaryCallSettings.Builder setMasterAuthSettings;
+    private final UnaryCallSettings.Builder deleteClusterSettings;
     private final UnaryCallSettings.Builder
         listOperationsSettings;
     private final UnaryCallSettings.Builder getOperationSettings;
@@ -535,6 +533,8 @@ public static class Builder extends StubSettings.Builder getNodePoolSettings;
     private final UnaryCallSettings.Builder
         createNodePoolSettings;
+    private final UnaryCallSettings.Builder
+        deleteNodePoolSettings;
     private final UnaryCallSettings.Builder
         rollbackNodePoolUpgradeSettings;
     private final UnaryCallSettings.Builder
@@ -564,11 +564,13 @@ public static class Builder extends StubSettings.Builder> definitions =
           ImmutableMap.builder();
       definitions.put(
-          "idempotent",
+          "retry_policy_1_codes",
           ImmutableSet.copyOf(
               Lists.newArrayList(
-                  StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
-      definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.newArrayList()));
+                  StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED)));
+      definitions.put("no_retry_codes", ImmutableSet.copyOf(Lists.newArrayList()));
+      definitions.put(
+          "no_retry_1_codes", ImmutableSet.copyOf(Lists.newArrayList()));
       RETRYABLE_CODE_DEFINITIONS = definitions.build();
     }
 
@@ -585,9 +587,19 @@ public static class Builder extends StubSettings.Builder>of(
-              deleteClusterSettings,
-              deleteNodePoolSettings,
               listClustersSettings,
               getClusterSettings,
               createClusterSettings,
@@ -677,6 +687,7 @@ protected Builder(ClientContext clientContext) {
               setLocationsSettings,
               updateMasterSettings,
               setMasterAuthSettings,
+              deleteClusterSettings,
               listOperationsSettings,
               getOperationSettings,
               cancelOperationSettings,
@@ -684,6 +695,7 @@ protected Builder(ClientContext clientContext) {
               listNodePoolsSettings,
               getNodePoolSettings,
               createNodePoolSettings,
+              deleteNodePoolSettings,
               rollbackNodePoolUpgradeSettings,
               setNodePoolManagementSettings,
               setLabelsSettings,
@@ -709,160 +721,160 @@ private static Builder createDefault() {
 
     private static Builder initDefaults(Builder builder) {
 
-      builder
-          .deleteClusterSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
-
-      builder
-          .deleteNodePoolSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
-
       builder
           .listClustersSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       builder
           .getClusterSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       builder
           .createClusterSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .updateClusterSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .updateNodePoolSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .setNodePoolAutoscalingSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .setLoggingServiceSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .setMonitoringServiceSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .setAddonsConfigSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .setLocationsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .updateMasterSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .setMasterAuthSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
+
+      builder
+          .deleteClusterSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       builder
           .listOperationsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       builder
           .getOperationSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       builder
           .cancelOperationSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .getServerConfigSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       builder
           .listNodePoolsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       builder
           .getNodePoolSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       builder
           .createNodePoolSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
+
+      builder
+          .deleteNodePoolSettings()
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params"));
 
       builder
           .rollbackNodePoolUpgradeSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .setNodePoolManagementSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .setLabelsSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .setLegacyAbacSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .startIPRotationSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .completeIPRotationSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .setNodePoolSizeSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .setNetworkPolicySettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .setMaintenancePolicySettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));
 
       builder
           .listUsableSubnetworksSettings()
-          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
-          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
+          .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
+          .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
 
       return builder;
     }
@@ -870,8 +882,6 @@ private static Builder initDefaults(Builder builder) {
     protected Builder(ClusterManagerStubSettings settings) {
       super(settings);
 
-      deleteClusterSettings = settings.deleteClusterSettings.toBuilder();
-      deleteNodePoolSettings = settings.deleteNodePoolSettings.toBuilder();
       listClustersSettings = settings.listClustersSettings.toBuilder();
       getClusterSettings = settings.getClusterSettings.toBuilder();
       createClusterSettings = settings.createClusterSettings.toBuilder();
@@ -884,6 +894,7 @@ protected Builder(ClusterManagerStubSettings settings) {
       setLocationsSettings = settings.setLocationsSettings.toBuilder();
       updateMasterSettings = settings.updateMasterSettings.toBuilder();
       setMasterAuthSettings = settings.setMasterAuthSettings.toBuilder();
+      deleteClusterSettings = settings.deleteClusterSettings.toBuilder();
       listOperationsSettings = settings.listOperationsSettings.toBuilder();
       getOperationSettings = settings.getOperationSettings.toBuilder();
       cancelOperationSettings = settings.cancelOperationSettings.toBuilder();
@@ -891,6 +902,7 @@ protected Builder(ClusterManagerStubSettings settings) {
       listNodePoolsSettings = settings.listNodePoolsSettings.toBuilder();
       getNodePoolSettings = settings.getNodePoolSettings.toBuilder();
       createNodePoolSettings = settings.createNodePoolSettings.toBuilder();
+      deleteNodePoolSettings = settings.deleteNodePoolSettings.toBuilder();
       rollbackNodePoolUpgradeSettings = settings.rollbackNodePoolUpgradeSettings.toBuilder();
       setNodePoolManagementSettings = settings.setNodePoolManagementSettings.toBuilder();
       setLabelsSettings = settings.setLabelsSettings.toBuilder();
@@ -904,8 +916,6 @@ protected Builder(ClusterManagerStubSettings settings) {
 
       unaryMethodSettingsBuilders =
           ImmutableList.>of(
-              deleteClusterSettings,
-              deleteNodePoolSettings,
               listClustersSettings,
               getClusterSettings,
               createClusterSettings,
@@ -918,6 +928,7 @@ protected Builder(ClusterManagerStubSettings settings) {
               setLocationsSettings,
               updateMasterSettings,
               setMasterAuthSettings,
+              deleteClusterSettings,
               listOperationsSettings,
               getOperationSettings,
               cancelOperationSettings,
@@ -925,6 +936,7 @@ protected Builder(ClusterManagerStubSettings settings) {
               listNodePoolsSettings,
               getNodePoolSettings,
               createNodePoolSettings,
+              deleteNodePoolSettings,
               rollbackNodePoolUpgradeSettings,
               setNodePoolManagementSettings,
               setLabelsSettings,
@@ -953,16 +965,6 @@ public Builder applyToAllUnaryMethods(
       return unaryMethodSettingsBuilders;
     }
 
-    /** Returns the builder for the settings used for calls to deleteCluster. */
-    public UnaryCallSettings.Builder deleteClusterSettings() {
-      return deleteClusterSettings;
-    }
-
-    /** Returns the builder for the settings used for calls to deleteNodePool. */
-    public UnaryCallSettings.Builder deleteNodePoolSettings() {
-      return deleteNodePoolSettings;
-    }
-
     /** Returns the builder for the settings used for calls to listClusters. */
     public UnaryCallSettings.Builder
         listClustersSettings() {
@@ -1027,6 +1029,11 @@ public UnaryCallSettings.Builder setMasterAuthS
       return setMasterAuthSettings;
     }
 
+    /** Returns the builder for the settings used for calls to deleteCluster. */
+    public UnaryCallSettings.Builder deleteClusterSettings() {
+      return deleteClusterSettings;
+    }
+
     /** Returns the builder for the settings used for calls to listOperations. */
     public UnaryCallSettings.Builder
         listOperationsSettings() {
@@ -1065,6 +1072,11 @@ public UnaryCallSettings.Builder createNodePoo
       return createNodePoolSettings;
     }
 
+    /** Returns the builder for the settings used for calls to deleteNodePool. */
+    public UnaryCallSettings.Builder deleteNodePoolSettings() {
+      return deleteNodePoolSettings;
+    }
+
     /** Returns the builder for the settings used for calls to rollbackNodePoolUpgrade. */
     public UnaryCallSettings.Builder
         rollbackNodePoolUpgradeSettings() {
diff --git a/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java b/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java
index f5d214cd..133fef89 100644
--- a/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java
+++ b/google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java
@@ -83,24 +83,6 @@
 @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
 public class GrpcClusterManagerStub extends ClusterManagerStub {
 
-  private static final MethodDescriptor
-      deleteClusterMethodDescriptor =
-          MethodDescriptor.newBuilder()
-              .setType(MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName("google.container.v1.ClusterManager/DeleteCluster")
-              .setRequestMarshaller(
-                  ProtoUtils.marshaller(DeleteClusterRequest.getDefaultInstance()))
-              .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
-              .build();
-  private static final MethodDescriptor
-      deleteNodePoolMethodDescriptor =
-          MethodDescriptor.newBuilder()
-              .setType(MethodDescriptor.MethodType.UNARY)
-              .setFullMethodName("google.container.v1.ClusterManager/DeleteNodePool")
-              .setRequestMarshaller(
-                  ProtoUtils.marshaller(DeleteNodePoolRequest.getDefaultInstance()))
-              .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
-              .build();
   private static final MethodDescriptor
       listClustersMethodDescriptor =
           MethodDescriptor.newBuilder()
@@ -205,6 +187,15 @@ public class GrpcClusterManagerStub extends ClusterManagerStub {
                   ProtoUtils.marshaller(SetMasterAuthRequest.getDefaultInstance()))
               .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
               .build();
+  private static final MethodDescriptor
+      deleteClusterMethodDescriptor =
+          MethodDescriptor.newBuilder()
+              .setType(MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName("google.container.v1.ClusterManager/DeleteCluster")
+              .setRequestMarshaller(
+                  ProtoUtils.marshaller(DeleteClusterRequest.getDefaultInstance()))
+              .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
+              .build();
   private static final MethodDescriptor
       listOperationsMethodDescriptor =
           MethodDescriptor.newBuilder()
@@ -267,6 +258,15 @@ public class GrpcClusterManagerStub extends ClusterManagerStub {
                   ProtoUtils.marshaller(CreateNodePoolRequest.getDefaultInstance()))
               .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
               .build();
+  private static final MethodDescriptor
+      deleteNodePoolMethodDescriptor =
+          MethodDescriptor.newBuilder()
+              .setType(MethodDescriptor.MethodType.UNARY)
+              .setFullMethodName("google.container.v1.ClusterManager/DeleteNodePool")
+              .setRequestMarshaller(
+                  ProtoUtils.marshaller(DeleteNodePoolRequest.getDefaultInstance()))
+              .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
+              .build();
   private static final MethodDescriptor
       rollbackNodePoolUpgradeMethodDescriptor =
           MethodDescriptor.newBuilder()
@@ -359,8 +359,6 @@ public class GrpcClusterManagerStub extends ClusterManagerStub {
 
   private final BackgroundResource backgroundResources;
 
-  private final UnaryCallable deleteClusterCallable;
-  private final UnaryCallable deleteNodePoolCallable;
   private final UnaryCallable listClustersCallable;
   private final UnaryCallable getClusterCallable;
   private final UnaryCallable createClusterCallable;
@@ -374,6 +372,7 @@ public class GrpcClusterManagerStub extends ClusterManagerStub {
   private final UnaryCallable setLocationsCallable;
   private final UnaryCallable updateMasterCallable;
   private final UnaryCallable setMasterAuthCallable;
+  private final UnaryCallable deleteClusterCallable;
   private final UnaryCallable listOperationsCallable;
   private final UnaryCallable getOperationCallable;
   private final UnaryCallable cancelOperationCallable;
@@ -381,6 +380,7 @@ public class GrpcClusterManagerStub extends ClusterManagerStub {
   private final UnaryCallable listNodePoolsCallable;
   private final UnaryCallable getNodePoolCallable;
   private final UnaryCallable createNodePoolCallable;
+  private final UnaryCallable deleteNodePoolCallable;
   private final UnaryCallable
       rollbackNodePoolUpgradeCallable;
   private final UnaryCallable
@@ -438,32 +438,6 @@ protected GrpcClusterManagerStub(
       throws IOException {
     this.callableFactory = callableFactory;
 
-    GrpcCallSettings deleteClusterTransportSettings =
-        GrpcCallSettings.newBuilder()
-            .setMethodDescriptor(deleteClusterMethodDescriptor)
-            .setParamsExtractor(
-                new RequestParamsExtractor() {
-                  @Override
-                  public Map extract(DeleteClusterRequest request) {
-                    ImmutableMap.Builder params = ImmutableMap.builder();
-                    params.put("name", String.valueOf(request.getName()));
-                    return params.build();
-                  }
-                })
-            .build();
-    GrpcCallSettings deleteNodePoolTransportSettings =
-        GrpcCallSettings.newBuilder()
-            .setMethodDescriptor(deleteNodePoolMethodDescriptor)
-            .setParamsExtractor(
-                new RequestParamsExtractor() {
-                  @Override
-                  public Map extract(DeleteNodePoolRequest request) {
-                    ImmutableMap.Builder params = ImmutableMap.builder();
-                    params.put("name", String.valueOf(request.getName()));
-                    return params.build();
-                  }
-                })
-            .build();
     GrpcCallSettings listClustersTransportSettings =
         GrpcCallSettings.newBuilder()
             .setMethodDescriptor(listClustersMethodDescriptor)
@@ -621,6 +595,19 @@ public Map extract(SetMasterAuthRequest request) {
                   }
                 })
             .build();
+    GrpcCallSettings deleteClusterTransportSettings =
+        GrpcCallSettings.newBuilder()
+            .setMethodDescriptor(deleteClusterMethodDescriptor)
+            .setParamsExtractor(
+                new RequestParamsExtractor() {
+                  @Override
+                  public Map extract(DeleteClusterRequest request) {
+                    ImmutableMap.Builder params = ImmutableMap.builder();
+                    params.put("name", String.valueOf(request.getName()));
+                    return params.build();
+                  }
+                })
+            .build();
     GrpcCallSettings
         listOperationsTransportSettings =
             GrpcCallSettings.newBuilder()
@@ -713,6 +700,19 @@ public Map extract(CreateNodePoolRequest request) {
                   }
                 })
             .build();
+    GrpcCallSettings deleteNodePoolTransportSettings =
+        GrpcCallSettings.newBuilder()
+            .setMethodDescriptor(deleteNodePoolMethodDescriptor)
+            .setParamsExtractor(
+                new RequestParamsExtractor() {
+                  @Override
+                  public Map extract(DeleteNodePoolRequest request) {
+                    ImmutableMap.Builder params = ImmutableMap.builder();
+                    params.put("name", String.valueOf(request.getName()));
+                    return params.build();
+                  }
+                })
+            .build();
     GrpcCallSettings
         rollbackNodePoolUpgradeTransportSettings =
             GrpcCallSettings.newBuilder()
@@ -848,12 +848,6 @@ public Map extract(ListUsableSubnetworksRequest request) {
                     })
                 .build();
 
-    this.deleteClusterCallable =
-        callableFactory.createUnaryCallable(
-            deleteClusterTransportSettings, settings.deleteClusterSettings(), clientContext);
-    this.deleteNodePoolCallable =
-        callableFactory.createUnaryCallable(
-            deleteNodePoolTransportSettings, settings.deleteNodePoolSettings(), clientContext);
     this.listClustersCallable =
         callableFactory.createUnaryCallable(
             listClustersTransportSettings, settings.listClustersSettings(), clientContext);
@@ -896,6 +890,9 @@ public Map extract(ListUsableSubnetworksRequest request) {
     this.setMasterAuthCallable =
         callableFactory.createUnaryCallable(
             setMasterAuthTransportSettings, settings.setMasterAuthSettings(), clientContext);
+    this.deleteClusterCallable =
+        callableFactory.createUnaryCallable(
+            deleteClusterTransportSettings, settings.deleteClusterSettings(), clientContext);
     this.listOperationsCallable =
         callableFactory.createUnaryCallable(
             listOperationsTransportSettings, settings.listOperationsSettings(), clientContext);
@@ -917,6 +914,9 @@ public Map extract(ListUsableSubnetworksRequest request) {
     this.createNodePoolCallable =
         callableFactory.createUnaryCallable(
             createNodePoolTransportSettings, settings.createNodePoolSettings(), clientContext);
+    this.deleteNodePoolCallable =
+        callableFactory.createUnaryCallable(
+            deleteNodePoolTransportSettings, settings.deleteNodePoolSettings(), clientContext);
     this.rollbackNodePoolUpgradeCallable =
         callableFactory.createUnaryCallable(
             rollbackNodePoolUpgradeTransportSettings,
@@ -966,14 +966,6 @@ public Map extract(ListUsableSubnetworksRequest request) {
     backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources());
   }
 
-  public UnaryCallable deleteClusterCallable() {
-    return deleteClusterCallable;
-  }
-
-  public UnaryCallable deleteNodePoolCallable() {
-    return deleteNodePoolCallable;
-  }
-
   public UnaryCallable listClustersCallable() {
     return listClustersCallable;
   }
@@ -1022,6 +1014,10 @@ public UnaryCallable setMasterAuthCallable() {
     return setMasterAuthCallable;
   }
 
+  public UnaryCallable deleteClusterCallable() {
+    return deleteClusterCallable;
+  }
+
   public UnaryCallable listOperationsCallable() {
     return listOperationsCallable;
   }
@@ -1050,6 +1046,10 @@ public UnaryCallable createNodePoolCallable()
     return createNodePoolCallable;
   }
 
+  public UnaryCallable deleteNodePoolCallable() {
+    return deleteNodePoolCallable;
+  }
+
   public UnaryCallable
       rollbackNodePoolUpgradeCallable() {
     return rollbackNodePoolUpgradeCallable;
diff --git a/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java b/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java
index 75ef96ee..2522bf17 100644
--- a/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java
+++ b/google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java
@@ -128,268 +128,6 @@ public void tearDown() throws Exception {
     client.close();
   }
 
-  @Test
-  @SuppressWarnings("all")
-  public void deleteClusterTest() {
-    String name = "name3373707";
-    String zone2 = "zone2-696322977";
-    String detail = "detail-1335224239";
-    String statusMessage = "statusMessage-239442758";
-    String selfLink = "selfLink-1691268851";
-    String targetLink = "targetLink-2084812312";
-    String location = "location1901043637";
-    String startTime = "startTime-1573145462";
-    String endTime = "endTime1725551537";
-    Operation expectedResponse =
-        Operation.newBuilder()
-            .setName(name)
-            .setZone(zone2)
-            .setDetail(detail)
-            .setStatusMessage(statusMessage)
-            .setSelfLink(selfLink)
-            .setTargetLink(targetLink)
-            .setLocation(location)
-            .setStartTime(startTime)
-            .setEndTime(endTime)
-            .build();
-    mockClusterManager.addResponse(expectedResponse);
-
-    String projectId = "projectId-1969970175";
-    String zone = "zone3744684";
-    String clusterId = "clusterId240280960";
-
-    Operation actualResponse = client.deleteCluster(projectId, zone, clusterId);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockClusterManager.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteClusterRequest actualRequest = (DeleteClusterRequest) actualRequests.get(0);
-
-    Assert.assertEquals(projectId, actualRequest.getProjectId());
-    Assert.assertEquals(zone, actualRequest.getZone());
-    Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteClusterExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
-    mockClusterManager.addException(exception);
-
-    try {
-      String projectId = "projectId-1969970175";
-      String zone = "zone3744684";
-      String clusterId = "clusterId240280960";
-
-      client.deleteCluster(projectId, zone, clusterId);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception
-    }
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteClusterTest2() {
-    String name = "name3373707";
-    String zone2 = "zone2-696322977";
-    String detail = "detail-1335224239";
-    String statusMessage = "statusMessage-239442758";
-    String selfLink = "selfLink-1691268851";
-    String targetLink = "targetLink-2084812312";
-    String location = "location1901043637";
-    String startTime = "startTime-1573145462";
-    String endTime = "endTime1725551537";
-    Operation expectedResponse =
-        Operation.newBuilder()
-            .setName(name)
-            .setZone(zone2)
-            .setDetail(detail)
-            .setStatusMessage(statusMessage)
-            .setSelfLink(selfLink)
-            .setTargetLink(targetLink)
-            .setLocation(location)
-            .setStartTime(startTime)
-            .setEndTime(endTime)
-            .build();
-    mockClusterManager.addResponse(expectedResponse);
-
-    String projectId = "projectId-1969970175";
-    String zone = "zone3744684";
-    String clusterId = "clusterId240280960";
-
-    Operation actualResponse = client.deleteCluster(projectId, zone, clusterId);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockClusterManager.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteClusterRequest actualRequest = (DeleteClusterRequest) actualRequests.get(0);
-
-    Assert.assertEquals(projectId, actualRequest.getProjectId());
-    Assert.assertEquals(zone, actualRequest.getZone());
-    Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteClusterExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
-    mockClusterManager.addException(exception);
-
-    try {
-      String projectId = "projectId-1969970175";
-      String zone = "zone3744684";
-      String clusterId = "clusterId240280960";
-
-      client.deleteCluster(projectId, zone, clusterId);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception
-    }
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteNodePoolTest() {
-    String name = "name3373707";
-    String zone2 = "zone2-696322977";
-    String detail = "detail-1335224239";
-    String statusMessage = "statusMessage-239442758";
-    String selfLink = "selfLink-1691268851";
-    String targetLink = "targetLink-2084812312";
-    String location = "location1901043637";
-    String startTime = "startTime-1573145462";
-    String endTime = "endTime1725551537";
-    Operation expectedResponse =
-        Operation.newBuilder()
-            .setName(name)
-            .setZone(zone2)
-            .setDetail(detail)
-            .setStatusMessage(statusMessage)
-            .setSelfLink(selfLink)
-            .setTargetLink(targetLink)
-            .setLocation(location)
-            .setStartTime(startTime)
-            .setEndTime(endTime)
-            .build();
-    mockClusterManager.addResponse(expectedResponse);
-
-    String projectId = "projectId-1969970175";
-    String zone = "zone3744684";
-    String clusterId = "clusterId240280960";
-    String nodePoolId = "nodePoolId1043384033";
-
-    Operation actualResponse = client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockClusterManager.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteNodePoolRequest actualRequest = (DeleteNodePoolRequest) actualRequests.get(0);
-
-    Assert.assertEquals(projectId, actualRequest.getProjectId());
-    Assert.assertEquals(zone, actualRequest.getZone());
-    Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteNodePoolExceptionTest() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
-    mockClusterManager.addException(exception);
-
-    try {
-      String projectId = "projectId-1969970175";
-      String zone = "zone3744684";
-      String clusterId = "clusterId240280960";
-      String nodePoolId = "nodePoolId1043384033";
-
-      client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception
-    }
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteNodePoolTest2() {
-    String name = "name3373707";
-    String zone2 = "zone2-696322977";
-    String detail = "detail-1335224239";
-    String statusMessage = "statusMessage-239442758";
-    String selfLink = "selfLink-1691268851";
-    String targetLink = "targetLink-2084812312";
-    String location = "location1901043637";
-    String startTime = "startTime-1573145462";
-    String endTime = "endTime1725551537";
-    Operation expectedResponse =
-        Operation.newBuilder()
-            .setName(name)
-            .setZone(zone2)
-            .setDetail(detail)
-            .setStatusMessage(statusMessage)
-            .setSelfLink(selfLink)
-            .setTargetLink(targetLink)
-            .setLocation(location)
-            .setStartTime(startTime)
-            .setEndTime(endTime)
-            .build();
-    mockClusterManager.addResponse(expectedResponse);
-
-    String projectId = "projectId-1969970175";
-    String zone = "zone3744684";
-    String clusterId = "clusterId240280960";
-    String nodePoolId = "nodePoolId1043384033";
-
-    Operation actualResponse = client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
-    Assert.assertEquals(expectedResponse, actualResponse);
-
-    List actualRequests = mockClusterManager.getRequests();
-    Assert.assertEquals(1, actualRequests.size());
-    DeleteNodePoolRequest actualRequest = (DeleteNodePoolRequest) actualRequests.get(0);
-
-    Assert.assertEquals(projectId, actualRequest.getProjectId());
-    Assert.assertEquals(zone, actualRequest.getZone());
-    Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId());
-    Assert.assertTrue(
-        channelProvider.isHeaderSent(
-            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
-            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
-  }
-
-  @Test
-  @SuppressWarnings("all")
-  public void deleteNodePoolExceptionTest2() throws Exception {
-    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
-    mockClusterManager.addException(exception);
-
-    try {
-      String projectId = "projectId-1969970175";
-      String zone = "zone3744684";
-      String clusterId = "clusterId240280960";
-      String nodePoolId = "nodePoolId1043384033";
-
-      client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
-      Assert.fail("No exception raised");
-    } catch (InvalidArgumentException e) {
-      // Expected exception
-    }
-  }
-
   @Test
   @SuppressWarnings("all")
   public void listClustersTest() {
@@ -1438,7 +1176,141 @@ public void setAddonsConfigTest2() {
     Assert.assertEquals(projectId, actualRequest.getProjectId());
     Assert.assertEquals(zone, actualRequest.getZone());
     Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertEquals(addonsConfig, actualRequest.getAddonsConfig());
+    Assert.assertEquals(addonsConfig, actualRequest.getAddonsConfig());
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void setAddonsConfigExceptionTest2() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
+    mockClusterManager.addException(exception);
+
+    try {
+      String projectId = "projectId-1969970175";
+      String zone = "zone3744684";
+      String clusterId = "clusterId240280960";
+      AddonsConfig addonsConfig = AddonsConfig.newBuilder().build();
+
+      client.setAddonsConfig(projectId, zone, clusterId, addonsConfig);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception
+    }
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void setLocationsTest() {
+    String name = "name3373707";
+    String zone2 = "zone2-696322977";
+    String detail = "detail-1335224239";
+    String statusMessage = "statusMessage-239442758";
+    String selfLink = "selfLink-1691268851";
+    String targetLink = "targetLink-2084812312";
+    String location = "location1901043637";
+    String startTime = "startTime-1573145462";
+    String endTime = "endTime1725551537";
+    Operation expectedResponse =
+        Operation.newBuilder()
+            .setName(name)
+            .setZone(zone2)
+            .setDetail(detail)
+            .setStatusMessage(statusMessage)
+            .setSelfLink(selfLink)
+            .setTargetLink(targetLink)
+            .setLocation(location)
+            .setStartTime(startTime)
+            .setEndTime(endTime)
+            .build();
+    mockClusterManager.addResponse(expectedResponse);
+
+    String projectId = "projectId-1969970175";
+    String zone = "zone3744684";
+    String clusterId = "clusterId240280960";
+    List locations = new ArrayList<>();
+
+    Operation actualResponse = client.setLocations(projectId, zone, clusterId, locations);
+    Assert.assertEquals(expectedResponse, actualResponse);
+
+    List actualRequests = mockClusterManager.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    SetLocationsRequest actualRequest = (SetLocationsRequest) actualRequests.get(0);
+
+    Assert.assertEquals(projectId, actualRequest.getProjectId());
+    Assert.assertEquals(zone, actualRequest.getZone());
+    Assert.assertEquals(clusterId, actualRequest.getClusterId());
+    Assert.assertEquals(locations, actualRequest.getLocationsList());
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void setLocationsExceptionTest() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
+    mockClusterManager.addException(exception);
+
+    try {
+      String projectId = "projectId-1969970175";
+      String zone = "zone3744684";
+      String clusterId = "clusterId240280960";
+      List locations = new ArrayList<>();
+
+      client.setLocations(projectId, zone, clusterId, locations);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception
+    }
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void setLocationsTest2() {
+    String name = "name3373707";
+    String zone2 = "zone2-696322977";
+    String detail = "detail-1335224239";
+    String statusMessage = "statusMessage-239442758";
+    String selfLink = "selfLink-1691268851";
+    String targetLink = "targetLink-2084812312";
+    String location = "location1901043637";
+    String startTime = "startTime-1573145462";
+    String endTime = "endTime1725551537";
+    Operation expectedResponse =
+        Operation.newBuilder()
+            .setName(name)
+            .setZone(zone2)
+            .setDetail(detail)
+            .setStatusMessage(statusMessage)
+            .setSelfLink(selfLink)
+            .setTargetLink(targetLink)
+            .setLocation(location)
+            .setStartTime(startTime)
+            .setEndTime(endTime)
+            .build();
+    mockClusterManager.addResponse(expectedResponse);
+
+    String projectId = "projectId-1969970175";
+    String zone = "zone3744684";
+    String clusterId = "clusterId240280960";
+    List locations = new ArrayList<>();
+
+    Operation actualResponse = client.setLocations(projectId, zone, clusterId, locations);
+    Assert.assertEquals(expectedResponse, actualResponse);
+
+    List actualRequests = mockClusterManager.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    SetLocationsRequest actualRequest = (SetLocationsRequest) actualRequests.get(0);
+
+    Assert.assertEquals(projectId, actualRequest.getProjectId());
+    Assert.assertEquals(zone, actualRequest.getZone());
+    Assert.assertEquals(clusterId, actualRequest.getClusterId());
+    Assert.assertEquals(locations, actualRequest.getLocationsList());
     Assert.assertTrue(
         channelProvider.isHeaderSent(
             ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -1447,7 +1319,7 @@ public void setAddonsConfigTest2() {
 
   @Test
   @SuppressWarnings("all")
-  public void setAddonsConfigExceptionTest2() throws Exception {
+  public void setLocationsExceptionTest2() throws Exception {
     StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
     mockClusterManager.addException(exception);
 
@@ -1455,9 +1327,9 @@ public void setAddonsConfigExceptionTest2() throws Exception {
       String projectId = "projectId-1969970175";
       String zone = "zone3744684";
       String clusterId = "clusterId240280960";
-      AddonsConfig addonsConfig = AddonsConfig.newBuilder().build();
+      List locations = new ArrayList<>();
 
-      client.setAddonsConfig(projectId, zone, clusterId, addonsConfig);
+      client.setLocations(projectId, zone, clusterId, locations);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
       // Expected exception
@@ -1466,7 +1338,7 @@ public void setAddonsConfigExceptionTest2() throws Exception {
 
   @Test
   @SuppressWarnings("all")
-  public void setLocationsTest() {
+  public void updateMasterTest() {
     String name = "name3373707";
     String zone2 = "zone2-696322977";
     String detail = "detail-1335224239";
@@ -1493,19 +1365,19 @@ public void setLocationsTest() {
     String projectId = "projectId-1969970175";
     String zone = "zone3744684";
     String clusterId = "clusterId240280960";
-    List locations = new ArrayList<>();
+    String masterVersion = "masterVersion-2139460613";
 
-    Operation actualResponse = client.setLocations(projectId, zone, clusterId, locations);
+    Operation actualResponse = client.updateMaster(projectId, zone, clusterId, masterVersion);
     Assert.assertEquals(expectedResponse, actualResponse);
 
     List actualRequests = mockClusterManager.getRequests();
     Assert.assertEquals(1, actualRequests.size());
-    SetLocationsRequest actualRequest = (SetLocationsRequest) actualRequests.get(0);
+    UpdateMasterRequest actualRequest = (UpdateMasterRequest) actualRequests.get(0);
 
     Assert.assertEquals(projectId, actualRequest.getProjectId());
     Assert.assertEquals(zone, actualRequest.getZone());
     Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertEquals(locations, actualRequest.getLocationsList());
+    Assert.assertEquals(masterVersion, actualRequest.getMasterVersion());
     Assert.assertTrue(
         channelProvider.isHeaderSent(
             ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -1514,7 +1386,7 @@ public void setLocationsTest() {
 
   @Test
   @SuppressWarnings("all")
-  public void setLocationsExceptionTest() throws Exception {
+  public void updateMasterExceptionTest() throws Exception {
     StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
     mockClusterManager.addException(exception);
 
@@ -1522,9 +1394,9 @@ public void setLocationsExceptionTest() throws Exception {
       String projectId = "projectId-1969970175";
       String zone = "zone3744684";
       String clusterId = "clusterId240280960";
-      List locations = new ArrayList<>();
+      String masterVersion = "masterVersion-2139460613";
 
-      client.setLocations(projectId, zone, clusterId, locations);
+      client.updateMaster(projectId, zone, clusterId, masterVersion);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
       // Expected exception
@@ -1533,7 +1405,7 @@ public void setLocationsExceptionTest() throws Exception {
 
   @Test
   @SuppressWarnings("all")
-  public void setLocationsTest2() {
+  public void updateMasterTest2() {
     String name = "name3373707";
     String zone2 = "zone2-696322977";
     String detail = "detail-1335224239";
@@ -1560,19 +1432,19 @@ public void setLocationsTest2() {
     String projectId = "projectId-1969970175";
     String zone = "zone3744684";
     String clusterId = "clusterId240280960";
-    List locations = new ArrayList<>();
+    String masterVersion = "masterVersion-2139460613";
 
-    Operation actualResponse = client.setLocations(projectId, zone, clusterId, locations);
+    Operation actualResponse = client.updateMaster(projectId, zone, clusterId, masterVersion);
     Assert.assertEquals(expectedResponse, actualResponse);
 
     List actualRequests = mockClusterManager.getRequests();
     Assert.assertEquals(1, actualRequests.size());
-    SetLocationsRequest actualRequest = (SetLocationsRequest) actualRequests.get(0);
+    UpdateMasterRequest actualRequest = (UpdateMasterRequest) actualRequests.get(0);
 
     Assert.assertEquals(projectId, actualRequest.getProjectId());
     Assert.assertEquals(zone, actualRequest.getZone());
     Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertEquals(locations, actualRequest.getLocationsList());
+    Assert.assertEquals(masterVersion, actualRequest.getMasterVersion());
     Assert.assertTrue(
         channelProvider.isHeaderSent(
             ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -1581,7 +1453,7 @@ public void setLocationsTest2() {
 
   @Test
   @SuppressWarnings("all")
-  public void setLocationsExceptionTest2() throws Exception {
+  public void updateMasterExceptionTest2() throws Exception {
     StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
     mockClusterManager.addException(exception);
 
@@ -1589,9 +1461,9 @@ public void setLocationsExceptionTest2() throws Exception {
       String projectId = "projectId-1969970175";
       String zone = "zone3744684";
       String clusterId = "clusterId240280960";
-      List locations = new ArrayList<>();
+      String masterVersion = "masterVersion-2139460613";
 
-      client.setLocations(projectId, zone, clusterId, locations);
+      client.updateMaster(projectId, zone, clusterId, masterVersion);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
       // Expected exception
@@ -1600,9 +1472,9 @@ public void setLocationsExceptionTest2() throws Exception {
 
   @Test
   @SuppressWarnings("all")
-  public void updateMasterTest() {
+  public void setMasterAuthTest() {
     String name = "name3373707";
-    String zone2 = "zone2-696322977";
+    String zone = "zone3744684";
     String detail = "detail-1335224239";
     String statusMessage = "statusMessage-239442758";
     String selfLink = "selfLink-1691268851";
@@ -1613,7 +1485,7 @@ public void updateMasterTest() {
     Operation expectedResponse =
         Operation.newBuilder()
             .setName(name)
-            .setZone(zone2)
+            .setZone(zone)
             .setDetail(detail)
             .setStatusMessage(statusMessage)
             .setSelfLink(selfLink)
@@ -1624,22 +1496,20 @@ public void updateMasterTest() {
             .build();
     mockClusterManager.addResponse(expectedResponse);
 
-    String projectId = "projectId-1969970175";
-    String zone = "zone3744684";
-    String clusterId = "clusterId240280960";
-    String masterVersion = "masterVersion-2139460613";
+    SetMasterAuthRequest.Action action = SetMasterAuthRequest.Action.UNKNOWN;
+    MasterAuth update = MasterAuth.newBuilder().build();
+    SetMasterAuthRequest request =
+        SetMasterAuthRequest.newBuilder().setAction(action).setUpdate(update).build();
 
-    Operation actualResponse = client.updateMaster(projectId, zone, clusterId, masterVersion);
+    Operation actualResponse = client.setMasterAuth(request);
     Assert.assertEquals(expectedResponse, actualResponse);
 
     List actualRequests = mockClusterManager.getRequests();
     Assert.assertEquals(1, actualRequests.size());
-    UpdateMasterRequest actualRequest = (UpdateMasterRequest) actualRequests.get(0);
+    SetMasterAuthRequest actualRequest = (SetMasterAuthRequest) actualRequests.get(0);
 
-    Assert.assertEquals(projectId, actualRequest.getProjectId());
-    Assert.assertEquals(zone, actualRequest.getZone());
-    Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertEquals(masterVersion, actualRequest.getMasterVersion());
+    Assert.assertEquals(action, actualRequest.getAction());
+    Assert.assertEquals(update, actualRequest.getUpdate());
     Assert.assertTrue(
         channelProvider.isHeaderSent(
             ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -1648,17 +1518,17 @@ public void updateMasterTest() {
 
   @Test
   @SuppressWarnings("all")
-  public void updateMasterExceptionTest() throws Exception {
+  public void setMasterAuthExceptionTest() throws Exception {
     StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
     mockClusterManager.addException(exception);
 
     try {
-      String projectId = "projectId-1969970175";
-      String zone = "zone3744684";
-      String clusterId = "clusterId240280960";
-      String masterVersion = "masterVersion-2139460613";
+      SetMasterAuthRequest.Action action = SetMasterAuthRequest.Action.UNKNOWN;
+      MasterAuth update = MasterAuth.newBuilder().build();
+      SetMasterAuthRequest request =
+          SetMasterAuthRequest.newBuilder().setAction(action).setUpdate(update).build();
 
-      client.updateMaster(projectId, zone, clusterId, masterVersion);
+      client.setMasterAuth(request);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
       // Expected exception
@@ -1667,7 +1537,7 @@ public void updateMasterExceptionTest() throws Exception {
 
   @Test
   @SuppressWarnings("all")
-  public void updateMasterTest2() {
+  public void deleteClusterTest() {
     String name = "name3373707";
     String zone2 = "zone2-696322977";
     String detail = "detail-1335224239";
@@ -1694,19 +1564,17 @@ public void updateMasterTest2() {
     String projectId = "projectId-1969970175";
     String zone = "zone3744684";
     String clusterId = "clusterId240280960";
-    String masterVersion = "masterVersion-2139460613";
 
-    Operation actualResponse = client.updateMaster(projectId, zone, clusterId, masterVersion);
+    Operation actualResponse = client.deleteCluster(projectId, zone, clusterId);
     Assert.assertEquals(expectedResponse, actualResponse);
 
     List actualRequests = mockClusterManager.getRequests();
     Assert.assertEquals(1, actualRequests.size());
-    UpdateMasterRequest actualRequest = (UpdateMasterRequest) actualRequests.get(0);
+    DeleteClusterRequest actualRequest = (DeleteClusterRequest) actualRequests.get(0);
 
     Assert.assertEquals(projectId, actualRequest.getProjectId());
     Assert.assertEquals(zone, actualRequest.getZone());
     Assert.assertEquals(clusterId, actualRequest.getClusterId());
-    Assert.assertEquals(masterVersion, actualRequest.getMasterVersion());
     Assert.assertTrue(
         channelProvider.isHeaderSent(
             ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -1715,7 +1583,7 @@ public void updateMasterTest2() {
 
   @Test
   @SuppressWarnings("all")
-  public void updateMasterExceptionTest2() throws Exception {
+  public void deleteClusterExceptionTest() throws Exception {
     StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
     mockClusterManager.addException(exception);
 
@@ -1723,9 +1591,8 @@ public void updateMasterExceptionTest2() throws Exception {
       String projectId = "projectId-1969970175";
       String zone = "zone3744684";
       String clusterId = "clusterId240280960";
-      String masterVersion = "masterVersion-2139460613";
 
-      client.updateMaster(projectId, zone, clusterId, masterVersion);
+      client.deleteCluster(projectId, zone, clusterId);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
       // Expected exception
@@ -1734,9 +1601,9 @@ public void updateMasterExceptionTest2() throws Exception {
 
   @Test
   @SuppressWarnings("all")
-  public void setMasterAuthTest() {
+  public void deleteClusterTest2() {
     String name = "name3373707";
-    String zone = "zone3744684";
+    String zone2 = "zone2-696322977";
     String detail = "detail-1335224239";
     String statusMessage = "statusMessage-239442758";
     String selfLink = "selfLink-1691268851";
@@ -1747,7 +1614,7 @@ public void setMasterAuthTest() {
     Operation expectedResponse =
         Operation.newBuilder()
             .setName(name)
-            .setZone(zone)
+            .setZone(zone2)
             .setDetail(detail)
             .setStatusMessage(statusMessage)
             .setSelfLink(selfLink)
@@ -1758,20 +1625,20 @@ public void setMasterAuthTest() {
             .build();
     mockClusterManager.addResponse(expectedResponse);
 
-    SetMasterAuthRequest.Action action = SetMasterAuthRequest.Action.UNKNOWN;
-    MasterAuth update = MasterAuth.newBuilder().build();
-    SetMasterAuthRequest request =
-        SetMasterAuthRequest.newBuilder().setAction(action).setUpdate(update).build();
+    String projectId = "projectId-1969970175";
+    String zone = "zone3744684";
+    String clusterId = "clusterId240280960";
 
-    Operation actualResponse = client.setMasterAuth(request);
+    Operation actualResponse = client.deleteCluster(projectId, zone, clusterId);
     Assert.assertEquals(expectedResponse, actualResponse);
 
     List actualRequests = mockClusterManager.getRequests();
     Assert.assertEquals(1, actualRequests.size());
-    SetMasterAuthRequest actualRequest = (SetMasterAuthRequest) actualRequests.get(0);
+    DeleteClusterRequest actualRequest = (DeleteClusterRequest) actualRequests.get(0);
 
-    Assert.assertEquals(action, actualRequest.getAction());
-    Assert.assertEquals(update, actualRequest.getUpdate());
+    Assert.assertEquals(projectId, actualRequest.getProjectId());
+    Assert.assertEquals(zone, actualRequest.getZone());
+    Assert.assertEquals(clusterId, actualRequest.getClusterId());
     Assert.assertTrue(
         channelProvider.isHeaderSent(
             ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -1780,17 +1647,16 @@ public void setMasterAuthTest() {
 
   @Test
   @SuppressWarnings("all")
-  public void setMasterAuthExceptionTest() throws Exception {
+  public void deleteClusterExceptionTest2() throws Exception {
     StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
     mockClusterManager.addException(exception);
 
     try {
-      SetMasterAuthRequest.Action action = SetMasterAuthRequest.Action.UNKNOWN;
-      MasterAuth update = MasterAuth.newBuilder().build();
-      SetMasterAuthRequest request =
-          SetMasterAuthRequest.newBuilder().setAction(action).setUpdate(update).build();
+      String projectId = "projectId-1969970175";
+      String zone = "zone3744684";
+      String clusterId = "clusterId240280960";
 
-      client.setMasterAuth(request);
+      client.deleteCluster(projectId, zone, clusterId);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
       // Expected exception
@@ -2426,6 +2292,140 @@ public void createNodePoolExceptionTest2() throws Exception {
     }
   }
 
+  @Test
+  @SuppressWarnings("all")
+  public void deleteNodePoolTest() {
+    String name = "name3373707";
+    String zone2 = "zone2-696322977";
+    String detail = "detail-1335224239";
+    String statusMessage = "statusMessage-239442758";
+    String selfLink = "selfLink-1691268851";
+    String targetLink = "targetLink-2084812312";
+    String location = "location1901043637";
+    String startTime = "startTime-1573145462";
+    String endTime = "endTime1725551537";
+    Operation expectedResponse =
+        Operation.newBuilder()
+            .setName(name)
+            .setZone(zone2)
+            .setDetail(detail)
+            .setStatusMessage(statusMessage)
+            .setSelfLink(selfLink)
+            .setTargetLink(targetLink)
+            .setLocation(location)
+            .setStartTime(startTime)
+            .setEndTime(endTime)
+            .build();
+    mockClusterManager.addResponse(expectedResponse);
+
+    String projectId = "projectId-1969970175";
+    String zone = "zone3744684";
+    String clusterId = "clusterId240280960";
+    String nodePoolId = "nodePoolId1043384033";
+
+    Operation actualResponse = client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
+    Assert.assertEquals(expectedResponse, actualResponse);
+
+    List actualRequests = mockClusterManager.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    DeleteNodePoolRequest actualRequest = (DeleteNodePoolRequest) actualRequests.get(0);
+
+    Assert.assertEquals(projectId, actualRequest.getProjectId());
+    Assert.assertEquals(zone, actualRequest.getZone());
+    Assert.assertEquals(clusterId, actualRequest.getClusterId());
+    Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId());
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteNodePoolExceptionTest() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
+    mockClusterManager.addException(exception);
+
+    try {
+      String projectId = "projectId-1969970175";
+      String zone = "zone3744684";
+      String clusterId = "clusterId240280960";
+      String nodePoolId = "nodePoolId1043384033";
+
+      client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception
+    }
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteNodePoolTest2() {
+    String name = "name3373707";
+    String zone2 = "zone2-696322977";
+    String detail = "detail-1335224239";
+    String statusMessage = "statusMessage-239442758";
+    String selfLink = "selfLink-1691268851";
+    String targetLink = "targetLink-2084812312";
+    String location = "location1901043637";
+    String startTime = "startTime-1573145462";
+    String endTime = "endTime1725551537";
+    Operation expectedResponse =
+        Operation.newBuilder()
+            .setName(name)
+            .setZone(zone2)
+            .setDetail(detail)
+            .setStatusMessage(statusMessage)
+            .setSelfLink(selfLink)
+            .setTargetLink(targetLink)
+            .setLocation(location)
+            .setStartTime(startTime)
+            .setEndTime(endTime)
+            .build();
+    mockClusterManager.addResponse(expectedResponse);
+
+    String projectId = "projectId-1969970175";
+    String zone = "zone3744684";
+    String clusterId = "clusterId240280960";
+    String nodePoolId = "nodePoolId1043384033";
+
+    Operation actualResponse = client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
+    Assert.assertEquals(expectedResponse, actualResponse);
+
+    List actualRequests = mockClusterManager.getRequests();
+    Assert.assertEquals(1, actualRequests.size());
+    DeleteNodePoolRequest actualRequest = (DeleteNodePoolRequest) actualRequests.get(0);
+
+    Assert.assertEquals(projectId, actualRequest.getProjectId());
+    Assert.assertEquals(zone, actualRequest.getZone());
+    Assert.assertEquals(clusterId, actualRequest.getClusterId());
+    Assert.assertEquals(nodePoolId, actualRequest.getNodePoolId());
+    Assert.assertTrue(
+        channelProvider.isHeaderSent(
+            ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
+            GaxGrpcProperties.getDefaultApiClientHeaderPattern()));
+  }
+
+  @Test
+  @SuppressWarnings("all")
+  public void deleteNodePoolExceptionTest2() throws Exception {
+    StatusRuntimeException exception = new StatusRuntimeException(Status.INVALID_ARGUMENT);
+    mockClusterManager.addException(exception);
+
+    try {
+      String projectId = "projectId-1969970175";
+      String zone = "zone3744684";
+      String clusterId = "clusterId240280960";
+      String nodePoolId = "nodePoolId1043384033";
+
+      client.deleteNodePool(projectId, zone, clusterId, nodePoolId);
+      Assert.fail("No exception raised");
+    } catch (InvalidArgumentException e) {
+      // Expected exception
+    }
+  }
+
   @Test
   @SuppressWarnings("all")
   public void rollbackNodePoolUpgradeTest() {
diff --git a/synth.metadata b/synth.metadata
index c093d72a..ddc8320c 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,15 +4,15 @@
       "git": {
         "name": ".",
         "remote": "https://github.com/googleapis/java-container.git",
-        "sha": "f40fabe0739d0181274fea359e24312cbb3e6cb4"
+        "sha": "2a706c35dcd2162467b7204c86f86332009beffc"
       }
     },
     {
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "dd244bb3a5023a4a9290b21dae6b99020c026123",
-        "internalRef": "315023125"
+        "sha": "cd24bd2d870ee5b9e046a2bfa0d0d0afda29be60",
+        "internalRef": "317953021"
       }
     },
     {

From d001d6fbd62cab4d4264fc34df73684d0cdbd0e0 Mon Sep 17 00:00:00 2001
From: yangnuoyu <46553752+yangnuoyu@users.noreply.github.com>
Date: Fri, 26 Jun 2020 10:16:53 -0700
Subject: [PATCH 47/89] feat(deps): adopt flatten plugin and
 google-cloud-shared-dependencies (#206)

---
 .gitignore                              |  4 +-
 google-cloud-container/pom.xml          |  9 +++
 grpc-google-cloud-container-v1/pom.xml  |  9 +++
 pom.xml                                 | 84 ++-----------------------
 proto-google-cloud-container-v1/pom.xml |  9 +++
 5 files changed, 35 insertions(+), 80 deletions(-)

diff --git a/.gitignore b/.gitignore
index dc2d514c..598779ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -42,4 +42,6 @@ api_key
 # Python utilities
 *.pyc
 artman-genfiles
-venv
\ No newline at end of file
+venv
+
+.flattened-pom.xml
diff --git a/google-cloud-container/pom.xml b/google-cloud-container/pom.xml
index 8b2ad99c..8bc57b12 100644
--- a/google-cloud-container/pom.xml
+++ b/google-cloud-container/pom.xml
@@ -102,4 +102,13 @@
       
     
   
+
+  
+    
+      
+        org.codehaus.mojo
+        flatten-maven-plugin
+      
+    
+  
 
\ No newline at end of file
diff --git a/grpc-google-cloud-container-v1/pom.xml b/grpc-google-cloud-container-v1/pom.xml
index bc454598..42b7aafb 100644
--- a/grpc-google-cloud-container-v1/pom.xml
+++ b/grpc-google-cloud-container-v1/pom.xml
@@ -53,4 +53,13 @@
       
     
   
+
+  
+    
+      
+        org.codehaus.mojo
+        flatten-maven-plugin
+      
+    
+  
 
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 93debf07..efdecc6a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -63,17 +63,6 @@
     UTF-8
     github
     google-cloud-container-parent
-    1.93.6
-    1.9.2
-    1.18.0
-    1.57.0
-    1.30.2
-    3.12.2
-    4.13
-    29.0-android
-    1.4.4
-    1.3.2
-    1.18
   
 
   
@@ -95,80 +84,17 @@
       
 
       
-        io.grpc
-        grpc-bom
-        ${grpc.version}
-        pom
-        import
-      
-      
-        com.google.api
-        gax-bom
-        ${gax.version}
-        pom
-        import
-      
-      
-        com.google.guava
-        guava-bom
-        ${guava.version}
-        pom
-        import
-      
-      
-        com.google.protobuf
-        protobuf-bom
-        ${protobuf.version}
+        com.google.cloud
+        google-cloud-shared-dependencies
+        0.8.1
         pom
         import
       
-      
-        com.google.api
-        api-common
-        ${google.api-common.version}
-      
-      
-        com.google.api.grpc
-        proto-google-common-protos
-        ${google.common-protos.version}
-      
-      
-        com.google.cloud
-        google-cloud-core
-        ${google.core.version}
-      
-      
-        org.threeten
-        threetenbp
-        ${threeten.version}
-      
-      
-        javax.annotation
-        javax.annotation-api
-        ${javax.annotations.version}
-      
-      
-        org.codehaus.mojo
-        animal-sniffer-annotations
-        ${animal-sniffer.version}
-      
-      
-        com.google.code.gson
-        gson
-        2.8.6
-      
 
       
         junit
         junit
-        ${junit.version}
-        test
-      
-      
-        com.google.api
-        gax-grpc
-        ${gax.version}
-        testlib
+        4.13
         test
       
     
@@ -258,7 +184,7 @@
             https://developers.google.com/protocol-buffers/docs/reference/java/
             https://googleapis.dev/java/google-auth-library/latest/
             https://googleapis.dev/java/gax/latest/
-            https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/
+            https://googleapis.github.io/api-common-java/
           
         
       
diff --git a/proto-google-cloud-container-v1/pom.xml b/proto-google-cloud-container-v1/pom.xml
index 37108d65..e608c47f 100644
--- a/proto-google-cloud-container-v1/pom.xml
+++ b/proto-google-cloud-container-v1/pom.xml
@@ -22,4 +22,13 @@
       proto-google-common-protos
     
   
+
+  
+    
+      
+        org.codehaus.mojo
+        flatten-maven-plugin
+      
+    
+  
 
\ No newline at end of file

From fb315bebb1d24e1e1ef613ac1f015815f11427de Mon Sep 17 00:00:00 2001
From: Yoshi Automation Bot 
Date: Fri, 26 Jun 2020 22:42:24 -0700
Subject: [PATCH 48/89] chore: regenerate README versions (#205)

This PR was generated using Autosynth. :rainbow:

Synth log will be available here:
https://source.cloud.google.com/results/invocations/1b8e3777-2a8a-43ca-858f-1e4587d9e4d1/targets

- [ ] To automatically regenerate this PR, check this box.
---
 README.md      | 2 +-
 synth.metadata | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 4edbc19c..61160b21 100644
--- a/README.md
+++ b/README.md
@@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
     
       com.google.cloud
       libraries-bom
-      7.0.1
+      8.0.0
       pom
       import
     
diff --git a/synth.metadata b/synth.metadata
index ddc8320c..ecb0f1f3 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,7 +4,7 @@
       "git": {
         "name": ".",
         "remote": "https://github.com/googleapis/java-container.git",
-        "sha": "2a706c35dcd2162467b7204c86f86332009beffc"
+        "sha": "e909f20144e88b90127a391b510d86139c6ac9fe"
       }
     },
     {

From b1b8994c7f7ca9daced77a6daf75f7d4298ff9db Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate 
Date: Wed, 1 Jul 2020 21:02:21 +0200
Subject: [PATCH 49/89] deps: update dependency
 com.google.cloud:google-cloud-shared-dependencies to v0.8.2 (#209)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | patch | `0.8.1` -> `0.8.2` |

---

### Release Notes

googleapis/java-shared-dependencies ### [`v0.8.2`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​082-httpswwwgithubcomgoogleapisjava-shared-dependenciescomparev081v082-2020-07-01) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.8.1...v0.8.2)
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index efdecc6a..0c9e6a66 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.8.1 + 0.8.2 pom import From 3a5bc82091334e594a72a2402b92202a5749f552 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 8 Jul 2020 13:28:50 -0700 Subject: [PATCH 50/89] ci(java): run dependency test on Java 8 and 11 (#208) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/351f1c1a-f71f-4cfc-968c-ac334fd05a73/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/4f2c9f752a94042472fc03c5bd9e06e89817d2bd --- .github/workflows/ci.yaml | 5 ++++- .kokoro/dependencies.sh | 4 +++- pom.xml | 5 ++++- synth.metadata | 4 ++-- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 445b4bf8..68302207 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,11 +36,14 @@ jobs: JOB_TYPE: test dependencies: runs-on: ubuntu-latest + strategy: + matrix: + java: [8, 11] steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 with: - java-version: 8 + java-version: ${{matrix.java}} - run: java -version - run: .kokoro/dependencies.sh linkage-monitor: diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index cf3bb434..cee4f11e 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -41,8 +41,10 @@ echo "****************** DEPENDENCY LIST COMPLETENESS CHECK *******************" ## Run dependency list completeness check function completenessCheck() { # Output dep list with compile scope generated using the original pom + # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency. + # This is stripped from the output as it is not present in the flattened pom. msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | grep -v ':test$' >.org-list.txt + mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// | grep -v ':test$' >.org-list.txt # Output dep list generated using the flattened pom (test scope deps are ommitted) msg "Generating dependency list using flattened pom..." diff --git a/pom.xml b/pom.xml index 0c9e6a66..778b5dbf 100644 --- a/pom.xml +++ b/pom.xml @@ -107,7 +107,10 @@ org.apache.maven.plugins maven-dependency-plugin - org.objenesis:objenesis + + org.objenesis:objenesis + javax.annotation:javax.annotation-api + diff --git a/synth.metadata b/synth.metadata index ecb0f1f3..aeff5aa5 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "e909f20144e88b90127a391b510d86139c6ac9fe" + "sha": "fb315bebb1d24e1e1ef613ac1f015815f11427de" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "c4f3059c27591eb24d6942a0e357ec94c80459f2" + "sha": "4f2c9f752a94042472fc03c5bd9e06e89817d2bd" } } ], From 7db249d1fad65f87ffe4716b3c747f61ae61ba25 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 16 Jul 2020 19:46:11 +0200 Subject: [PATCH 51/89] chore(deps): update dependency com.google.cloud:libraries-bom to v8.1.0 (#212) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `8.0.0` -> `8.1.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#googleapis/java-container). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index bd385c7c..c33f92bd 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 8.0.0 + 8.1.0 pom import From a9a195b5d351638970605f023590dd64f7b8a910 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 28 Jul 2020 19:14:15 +0200 Subject: [PATCH 52/89] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.3 (#211) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 778b5dbf..65557a83 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.8.2 + 0.8.3 pom import From 05d3a2fa01c987caee594bbc557772338df7e11c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 29 Jul 2020 13:32:26 -0700 Subject: [PATCH 53/89] chore: regenerate README (#215) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/dbbb67d7-4ea8-474e-aa12-ba9b084f1285/targets - [ ] To automatically regenerate this PR, check this box. --- README.md | 2 +- synth.metadata | 251 ++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 251 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 61160b21..48ed8c26 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 8.0.0 + 8.1.0 pom import diff --git a/synth.metadata b/synth.metadata index aeff5aa5..40c131e1 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "fb315bebb1d24e1e1ef613ac1f015815f11427de" + "sha": "a9a195b5d351638970605f023590dd64f7b8a910" } }, { @@ -33,5 +33,254 @@ "generator": "bazel" } } + ], + "generatedFiles": [ + ".github/CODEOWNERS", + ".github/ISSUE_TEMPLATE/bug_report.md", + ".github/ISSUE_TEMPLATE/feature_request.md", + ".github/ISSUE_TEMPLATE/support_request.md", + ".github/PULL_REQUEST_TEMPLATE.md", + ".github/release-please.yml", + ".github/trusted-contribution.yml", + ".github/workflows/ci.yaml", + ".kokoro/build.bat", + ".kokoro/build.sh", + ".kokoro/coerce_logs.sh", + ".kokoro/common.cfg", + ".kokoro/common.sh", + ".kokoro/continuous/common.cfg", + ".kokoro/continuous/dependencies.cfg", + ".kokoro/continuous/integration.cfg", + ".kokoro/continuous/java11.cfg", + ".kokoro/continuous/java7.cfg", + ".kokoro/continuous/java8-osx.cfg", + ".kokoro/continuous/java8-win.cfg", + ".kokoro/continuous/java8.cfg", + ".kokoro/continuous/lint.cfg", + ".kokoro/continuous/propose_release.cfg", + ".kokoro/continuous/samples.cfg", + ".kokoro/dependencies.sh", + ".kokoro/linkage-monitor.sh", + ".kokoro/nightly/common.cfg", + ".kokoro/nightly/dependencies.cfg", + ".kokoro/nightly/integration.cfg", + ".kokoro/nightly/java11.cfg", + ".kokoro/nightly/java7.cfg", + ".kokoro/nightly/java8-osx.cfg", + ".kokoro/nightly/java8-win.cfg", + ".kokoro/nightly/java8.cfg", + ".kokoro/nightly/lint.cfg", + ".kokoro/nightly/samples.cfg", + ".kokoro/populate-secrets.sh", + ".kokoro/presubmit/clirr.cfg", + ".kokoro/presubmit/common.cfg", + ".kokoro/presubmit/dependencies.cfg", + ".kokoro/presubmit/integration.cfg", + ".kokoro/presubmit/java11.cfg", + ".kokoro/presubmit/java7.cfg", + ".kokoro/presubmit/java8-osx.cfg", + ".kokoro/presubmit/java8-win.cfg", + ".kokoro/presubmit/java8.cfg", + ".kokoro/presubmit/linkage-monitor.cfg", + ".kokoro/presubmit/lint.cfg", + ".kokoro/presubmit/samples.cfg", + ".kokoro/release/bump_snapshot.cfg", + ".kokoro/release/common.cfg", + ".kokoro/release/common.sh", + ".kokoro/release/drop.cfg", + ".kokoro/release/drop.sh", + ".kokoro/release/promote.cfg", + ".kokoro/release/promote.sh", + ".kokoro/release/publish_javadoc.cfg", + ".kokoro/release/publish_javadoc.sh", + ".kokoro/release/snapshot.cfg", + ".kokoro/release/snapshot.sh", + ".kokoro/release/stage.cfg", + ".kokoro/release/stage.sh", + ".kokoro/trampoline.sh", + "CODE_OF_CONDUCT.md", + "CONTRIBUTING.md", + "LICENSE", + "README.md", + "codecov.yaml", + "google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java", + "google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java", + "google-cloud-container/src/main/java/com/google/cloud/container/v1/package-info.java", + "google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStub.java", + "google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/ClusterManagerStubSettings.java", + "google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerCallableFactory.java", + "google-cloud-container/src/main/java/com/google/cloud/container/v1/stub/GrpcClusterManagerStub.java", + "google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerClientTest.java", + "google-cloud-container/src/test/java/com/google/cloud/container/v1/ClusterManagerSmokeTest.java", + "google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManager.java", + "google-cloud-container/src/test/java/com/google/cloud/container/v1/MockClusterManagerImpl.java", + "grpc-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterManagerGrpc.java", + "java.header", + "license-checks.xml", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfig.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AcceleratorConfigOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfig.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AddonsConfigOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfig.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AuthenticatorGroupsConfigOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptions.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoUpgradeOptionsOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorization.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/BinaryAuthorizationOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CancelOperationRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfig.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClientCertificateConfigOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfig.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CloudRunConfigOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Cluster.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscaling.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterAutoscalingOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterServiceProto.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdate.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ClusterUpdateOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateClusterRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CreateNodePoolRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindow.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DailyMaintenanceWindowOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryption.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DatabaseEncryptionOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteClusterRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/DeleteNodePoolRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetClusterRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetNodePoolRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetOperationRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/GetServerConfigRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscaling.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HorizontalPodAutoscalingOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancing.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/HttpLoadBalancingOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicy.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IPAllocationPolicyOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfig.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/IntraNodeVisibilityConfigOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboard.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/KubernetesDashboardOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbac.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/LegacyAbacOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponse.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListClustersResponseOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponse.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListNodePoolsResponseOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponse.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListOperationsResponseOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponse.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ListUsableSubnetworksResponseOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicy.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenancePolicyOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindow.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaintenanceWindowOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuth.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfig.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MasterAuthorizedNetworksConfigOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraint.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/MaxPodsConstraintOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfig.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkConfigOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicy.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfig.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyConfigOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NetworkPolicyOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfig.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeConfigOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagement.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeManagementOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePool.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscaling.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolAutoscalingOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodePoolOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaint.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/NodeTaintOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/Operation.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/OperationOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfig.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/PrivateClusterConfigOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindow.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RecurringTimeWindowOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimit.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceLimitOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfig.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ResourceUsageExportConfigOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/RollbackNodePoolUpgradeRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfig.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ServerConfigOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetAddonsConfigRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLabelsRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLegacyAbacRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLocationsRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetLoggingServiceRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMaintenancePolicyRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMasterAuthRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetMonitoringServiceRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNetworkPolicyRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolAutoscalingRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolManagementRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/SetNodePoolSizeRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfig.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/ShieldedInstanceConfigOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StartIPRotationRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusCondition.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/StatusConditionOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindow.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/TimeWindowOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateClusterRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateMasterRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequest.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UpdateNodePoolRequestOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetwork.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRange.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/UsableSubnetworkSecondaryRangeOrBuilder.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscaling.java", + "proto-google-cloud-container-v1/src/main/java/com/google/container/v1/VerticalPodAutoscalingOrBuilder.java", + "proto-google-cloud-container-v1/src/main/proto/google/container/v1/cluster_service.proto", + "renovate.json", + "samples/install-without-bom/pom.xml", + "samples/pom.xml", + "samples/snapshot/pom.xml", + "samples/snippets/pom.xml" ] } \ No newline at end of file From 064be85608970cb0cf15414ed082ab4cdc294b1a Mon Sep 17 00:00:00 2001 From: twinkle-kadia <70891596+twinkle-kadia@users.noreply.github.com> Date: Wed, 16 Sep 2020 14:39:29 +0530 Subject: [PATCH 54/89] test: fix build (#227) --- .../cloud/container/v1/it/ITSystemTest.java | 41 ++++++++----------- 1 file changed, 16 insertions(+), 25 deletions(-) diff --git a/google-cloud-container/src/test/java/com/google/cloud/container/v1/it/ITSystemTest.java b/google-cloud-container/src/test/java/com/google/cloud/container/v1/it/ITSystemTest.java index 5e0a9651..84e1a8ab 100644 --- a/google-cloud-container/src/test/java/com/google/cloud/container/v1/it/ITSystemTest.java +++ b/google-cloud-container/src/test/java/com/google/cloud/container/v1/it/ITSystemTest.java @@ -55,8 +55,6 @@ public class ITSystemTest { + "/zones/us-central1-a/clusters/" + CLUSTER_NAME; private static final String NODE_POOL_SEL_LINK = SELF_LINK + "/nodePools/" + NODE_POOL_NAME; - private static final String LOGGING_SERVICE = "logging.googleapis.com"; - private static final String MONITORING_SERVICE = "monitoring.googleapis.com"; private static final String NETWORK = "default"; private static final int INITIAL_NODE_COUNT = 1; @@ -64,6 +62,15 @@ public class ITSystemTest { public static void beforeClass() throws Exception { client = ClusterManagerClient.create(); + /** create node pool* */ + NodePool nodePool = + NodePool.newBuilder() + .setInitialNodeCount(INITIAL_NODE_COUNT) + .setName(NODE_POOL_NAME) + .setSelfLink(NODE_POOL_SEL_LINK) + .setStatusMessage(STATUS_MESSAGE) + .build(); + /** create cluster */ Cluster cluster = Cluster.newBuilder() @@ -71,25 +78,12 @@ public static void beforeClass() throws Exception { .setLocation("us-central1") .setDescription(DETAIL) .setSelfLink(SELF_LINK) - .setInitialNodeCount(INITIAL_NODE_COUNT) - .setLoggingService(LOGGING_SERVICE) - .setMonitoringService(MONITORING_SERVICE) + .addNodePools(nodePool) .setStatusMessage(STATUS_MESSAGE) .setNetwork(NETWORK) .build(); operation = client.createCluster(PROJECT_ID, ZONE, cluster); LOG.info(String.format("%s cluster created successfully.", CLUSTER_NAME)); - - /** create node pool* */ - NodePool nodePool = - NodePool.newBuilder() - .setInitialNodeCount(INITIAL_NODE_COUNT) - .setName(NODE_POOL_NAME) - .setSelfLink(NODE_POOL_SEL_LINK) - .setStatusMessage(STATUS_MESSAGE) - .build(); - Thread.sleep(TimeUnit.MINUTES.toMillis(5)); - client.createNodePool(PROJECT_ID, ZONE, CLUSTER_NAME, nodePool); LOG.info(String.format("%s node pool created successfully.", NODE_POOL_NAME)); } @@ -98,37 +92,34 @@ public static void afterClass() throws Exception { Thread.sleep(TimeUnit.MINUTES.toMillis(5)); client.deleteCluster(PROJECT_ID, ZONE, CLUSTER_NAME); LOG.info(String.format("%s cluster deleted successfully.", CLUSTER_NAME)); - client.close(); } @Test public void getClusterTest() { Cluster cluster = client.getCluster(PROJECT_ID, ZONE, CLUSTER_NAME); + NodePool nodePool = client.getNodePool(PROJECT_ID, ZONE, CLUSTER_NAME, NODE_POOL_NAME); assertEquals(CLUSTER_NAME, cluster.getName()); assertEquals(DETAIL, cluster.getDescription()); - assertEquals(ZONE, cluster.getZone()); + assertEquals(ZONE, cluster.getLocation()); assertEquals(SELF_LINK, cluster.getSelfLink()); assertEquals(NETWORK, cluster.getNetwork()); - assertEquals(INITIAL_NODE_COUNT, cluster.getInitialNodeCount()); - assertEquals(LOGGING_SERVICE, cluster.getLoggingService()); - assertEquals(LOGGING_SERVICE, cluster.getLoggingService()); + assertEquals(INITIAL_NODE_COUNT, nodePool.getInitialNodeCount()); } @Test public void listClusterTest() { ListClustersResponse clustersResponse = client.listClusters(PROJECT_ID, ZONE); List clusters = clustersResponse.getClustersList(); + NodePool nodePool = client.getNodePool(PROJECT_ID, ZONE, CLUSTER_NAME, NODE_POOL_NAME); for (Cluster cluster : clusters) { if (CLUSTER_NAME.equals(cluster.getName())) { assertEquals(CLUSTER_NAME, cluster.getName()); assertEquals(DETAIL, cluster.getDescription()); - assertEquals(ZONE, cluster.getZone()); + assertEquals(ZONE, cluster.getLocation()); assertEquals(SELF_LINK, cluster.getSelfLink()); assertEquals(NETWORK, cluster.getNetwork()); - assertEquals(INITIAL_NODE_COUNT, cluster.getInitialNodeCount()); - assertEquals(LOGGING_SERVICE, cluster.getLoggingService()); - assertEquals(LOGGING_SERVICE, cluster.getLoggingService()); + assertEquals(INITIAL_NODE_COUNT, nodePool.getInitialNodeCount()); } } } From bea6ed65580b93207033f7ae983aa7c382c14546 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 16 Sep 2020 11:20:05 +0200 Subject: [PATCH 55/89] build(deps): update dependency org.apache.maven.plugins:maven-project-info-reports-plugin to v3.1.1 (#226) This PR contains the following updates: | Package | Update | Change | |---|---|---| | org.apache.maven.plugins:maven-project-info-reports-plugin | patch | `3.1.0` -> `3.1.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 65557a83..3120ac04 100644 --- a/pom.xml +++ b/pom.xml @@ -129,7 +129,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.1.0 + 3.1.1 From ce08762db57ee3473fd7abf977745381271924a8 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 16 Sep 2020 11:23:59 +0200 Subject: [PATCH 56/89] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.9.0 (#217) --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3120ac04..77102bcc 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.8.3 + 0.9.0 pom import From 1c435d7f8b8c21f6fe4c2d10f881e4a1e6a2c2eb Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 16 Sep 2020 02:24:02 -0700 Subject: [PATCH 57/89] chore(docs): add cloud-RAD (#216) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/71a02c6b-8ba2-4db0-b76d-9e42934df8a3/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/dd230c816f88d0141fcd0be83498986287220d1b --- .kokoro/release/publish_javadoc.cfg | 10 ++++++++++ .kokoro/release/publish_javadoc.sh | 25 +++++++++++++++++++++++-- synth.metadata | 4 ++-- 3 files changed, 35 insertions(+), 4 deletions(-) diff --git a/.kokoro/release/publish_javadoc.cfg b/.kokoro/release/publish_javadoc.cfg index a2d9365c..bb8176ac 100644 --- a/.kokoro/release/publish_javadoc.cfg +++ b/.kokoro/release/publish_javadoc.cfg @@ -1,14 +1,24 @@ # Format: //devtools/kokoro/config/proto/build.proto + +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/doc-templates/" + env_vars: { key: "STAGING_BUCKET" value: "docs-staging" } +env_vars: { + key: "STAGING_BUCKET_V2" + value: "docs-staging-v2-staging" + # Production will be at: docs-staging-v2 +} + env_vars: { key: "TRAMPOLINE_BUILD_FILE" value: "github/java-container/.kokoro/release/publish_javadoc.sh" } + before_action { fetch_keystore { keystore_resource { diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh index 37ba5028..0a6a1f0a 100755 --- a/.kokoro/release/publish_javadoc.sh +++ b/.kokoro/release/publish_javadoc.sh @@ -24,6 +24,11 @@ if [[ -z "${STAGING_BUCKET}" ]]; then exit 1 fi +if [[ -z "${STAGING_BUCKET_V2}" ]]; then + echo "Need to set STAGING_BUCKET_V2 environment variable" + exit 1 +fi + # work from the git root directory pushd $(dirname "$0")/../../ @@ -31,13 +36,13 @@ pushd $(dirname "$0")/../../ python3 -m pip install gcp-docuploader # compile all packages -mvn clean install -B -DskipTests=true +mvn clean install -B -q -DskipTests=true NAME=google-cloud-container VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3) # build the docs -mvn site -B +mvn site -B -q pushd target/site/apidocs @@ -53,3 +58,19 @@ python3 -m docuploader upload . \ --staging-bucket ${STAGING_BUCKET} popd + +# V2 +mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" + +pushd target/devsite + +# create metadata +python3 -m docuploader create-metadata \ + --name ${NAME} \ + --version ${VERSION} \ + --language java + +# upload docs +python3 -m docuploader upload . \ + --credentials ${CREDENTIALS} \ + --staging-bucket ${STAGING_BUCKET_V2} diff --git a/synth.metadata b/synth.metadata index 40c131e1..1de549fe 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "a9a195b5d351638970605f023590dd64f7b8a910" + "sha": "05d3a2fa01c987caee594bbc557772338df7e11c" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "4f2c9f752a94042472fc03c5bd9e06e89817d2bd" + "sha": "dd230c816f88d0141fcd0be83498986287220d1b" } } ], From 86653acff07ec81c169b1733c0efc428af53ae1d Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 16 Sep 2020 11:54:10 +0200 Subject: [PATCH 58/89] chore(deps): update dependency com.google.cloud:libraries-bom to v10 (#225) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `8.1.0` -> `10.1.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-container). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index c33f92bd..db48d37e 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 8.1.0 + 10.1.0 pom import From fb709e62607b504ad057edb42b398a9bb4ff524f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 21 Sep 2020 14:36:58 -0700 Subject: [PATCH 59/89] chore: regenerate README autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. --- README.md | 2 +- synth.metadata | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 48ed8c26..605c8b43 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 8.1.0 + 10.1.0 pom import diff --git a/synth.metadata b/synth.metadata index 1de549fe..36a9d6e1 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "05d3a2fa01c987caee594bbc557772338df7e11c" + "sha": "86653acff07ec81c169b1733c0efc428af53ae1d" } }, { From b79a5be62defa319f8a664e5696d46903382b1a6 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 22 Sep 2020 11:36:12 -0700 Subject: [PATCH 60/89] chore: regenerate common templates (#230) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/0b813512-0a4c-4833-b4a7-d4281972de25/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/80003a3de2d8a75f5b47cb2e77e018f7f0f776cc Source-Link: https://github.com/googleapis/synthtool/commit/538a68019eb4a36a0cdfa4021f324dd01b784395 Source-Link: https://github.com/googleapis/synthtool/commit/019c7168faa0e56619f792693a8acdb30d6de19b Source-Link: https://github.com/googleapis/synthtool/commit/968465a1cad496e1292ef4584a054a35f756ff94 Source-Link: https://github.com/googleapis/synthtool/commit/9602086c6c5b05db77950c7f7495a2a3868f3537 Source-Link: https://github.com/googleapis/synthtool/commit/c3caf0704f25a0c365f1c315e804a30b87c62a75 Source-Link: https://github.com/googleapis/synthtool/commit/f8823dec98277a9516f2fb6fae9f58b3a59a23e1 Source-Link: https://github.com/googleapis/synthtool/commit/4530cc6ff080ef8aca258c1ec92c4db10a1bbfb4 --- .github/CODEOWNERS | 2 + .github/workflows/auto-release.yaml | 69 ++++++++++++++++++++++++++ .github/workflows/samples.yaml | 14 ++++++ .kokoro/continuous/dependencies.cfg | 12 ----- .kokoro/continuous/integration.cfg | 7 --- .kokoro/continuous/java11.cfg | 7 --- .kokoro/continuous/java7.cfg | 7 --- .kokoro/continuous/java8-osx.cfg | 3 -- .kokoro/continuous/java8-win.cfg | 3 -- .kokoro/continuous/lint.cfg | 13 ----- .kokoro/continuous/propose_release.cfg | 53 -------------------- .kokoro/continuous/samples.cfg | 31 ------------ .kokoro/dependencies.sh | 9 ++-- .kokoro/nightly/dependencies.cfg | 12 ----- .kokoro/nightly/lint.cfg | 13 ----- .kokoro/release/stage.cfg | 31 ++---------- synth.metadata | 17 ++----- 17 files changed, 97 insertions(+), 206 deletions(-) create mode 100644 .github/workflows/auto-release.yaml create mode 100644 .github/workflows/samples.yaml delete mode 100644 .kokoro/continuous/dependencies.cfg delete mode 100644 .kokoro/continuous/integration.cfg delete mode 100644 .kokoro/continuous/java11.cfg delete mode 100644 .kokoro/continuous/java7.cfg delete mode 100644 .kokoro/continuous/java8-osx.cfg delete mode 100644 .kokoro/continuous/java8-win.cfg delete mode 100644 .kokoro/continuous/lint.cfg delete mode 100644 .kokoro/continuous/propose_release.cfg delete mode 100644 .kokoro/continuous/samples.cfg delete mode 100644 .kokoro/nightly/dependencies.cfg delete mode 100644 .kokoro/nightly/lint.cfg diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 6137bef2..30fdb7b9 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -4,5 +4,7 @@ # For syntax help see: # https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax +* @googleapis/yoshi-java + # The java-samples-reviewers team is the default owner for samples changes samples/**/*.java @googleapis/java-samples-reviewers diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml new file mode 100644 index 00000000..d26427e4 --- /dev/null +++ b/.github/workflows/auto-release.yaml @@ -0,0 +1,69 @@ +on: + pull_request: +name: auto-release +jobs: + approve: + runs-on: ubuntu-latest + steps: + - uses: actions/github-script@v3.0.0 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + debug: true + script: | + // only approve PRs from release-please[bot] + if (context.payload.pull_request.user.login !== "release-please[bot]") { + return; + } + + // only approve PRs like "chore: release " + if ( !context.payload.pull_request.title.startsWith("chore: release") ) { + return; + } + + // trigger auto-release when + // 1) it is a SNAPSHOT release (auto-generated post regular release) + // 2) there are dependency updates only + // 3) there are no open dependency update PRs in this repo (to avoid multiple releases) + if ( + context.payload.pull_request.body.includes("Fix") || + context.payload.pull_request.body.includes("Build") || + context.payload.pull_request.body.includes("Documentation") || + context.payload.pull_request.body.includes("BREAKING CHANGES") || + context.payload.pull_request.body.includes("Features") + ) { + console.log( "Not auto-releasing since it is not a dependency-update-only release." ); + return; + } + + const promise = github.pulls.list.endpoint({ + owner: context.repo.owner, + repo: context.repo.repo, + state: 'open' + }); + const open_pulls = await github.paginate(promise) + + if ( open_pulls.length > 1 && !context.payload.pull_request.title.includes("SNAPSHOT") ) { + for ( const pull of open_pulls ) { + if ( pull.title.startsWith("deps: update dependency") ) { + console.log( "Not auto-releasing yet since there are dependency update PRs open in this repo." ); + return; + } + } + } + + // approve release PR + await github.pulls.createReview({ + owner: context.repo.owner, + repo: context.repo.repo, + body: 'Rubber stamped release!', + pull_number: context.payload.pull_request.number, + event: 'APPROVE' + }); + + // attach kokoro:force-run and automerge labels + await github.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.payload.pull_request.number, + labels: ['kokoro:force-run', 'automerge'] + }); \ No newline at end of file diff --git a/.github/workflows/samples.yaml b/.github/workflows/samples.yaml new file mode 100644 index 00000000..a1d50073 --- /dev/null +++ b/.github/workflows/samples.yaml @@ -0,0 +1,14 @@ +on: + pull_request: +name: samples +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - name: Run checkstyle + run: mvn -P lint --quiet --batch-mode checkstyle:check + working-directory: samples/snippets diff --git a/.kokoro/continuous/dependencies.cfg b/.kokoro/continuous/dependencies.cfg deleted file mode 100644 index 1a5bf99a..00000000 --- a/.kokoro/continuous/dependencies.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# 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/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-container/.kokoro/dependencies.sh" -} diff --git a/.kokoro/continuous/integration.cfg b/.kokoro/continuous/integration.cfg deleted file mode 100644 index 3b017fc8..00000000 --- a/.kokoro/continuous/integration.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# 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/java8" -} diff --git a/.kokoro/continuous/java11.cfg b/.kokoro/continuous/java11.cfg deleted file mode 100644 index 709f2b4c..00000000 --- a/.kokoro/continuous/java11.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# 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/java11" -} diff --git a/.kokoro/continuous/java7.cfg b/.kokoro/continuous/java7.cfg deleted file mode 100644 index cb24f44e..00000000 --- a/.kokoro/continuous/java7.cfg +++ /dev/null @@ -1,7 +0,0 @@ -# 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/java7" -} diff --git a/.kokoro/continuous/java8-osx.cfg b/.kokoro/continuous/java8-osx.cfg deleted file mode 100644 index c14ec2e7..00000000 --- a/.kokoro/continuous/java8-osx.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-container/.kokoro/build.sh" diff --git a/.kokoro/continuous/java8-win.cfg b/.kokoro/continuous/java8-win.cfg deleted file mode 100644 index 6b638557..00000000 --- a/.kokoro/continuous/java8-win.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -build_file: "java-container/.kokoro/build.bat" diff --git a/.kokoro/continuous/lint.cfg b/.kokoro/continuous/lint.cfg deleted file mode 100644 index 6d323c8a..00000000 --- a/.kokoro/continuous/lint.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# 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/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "lint" -} \ No newline at end of file diff --git a/.kokoro/continuous/propose_release.cfg b/.kokoro/continuous/propose_release.cfg deleted file mode 100644 index d6aed0de..00000000 --- a/.kokoro/continuous/propose_release.cfg +++ /dev/null @@ -1,53 +0,0 @@ -# Format: //devtools/kokoro/config/proto/build.proto - -# Build logs will be here -action { - define_artifacts { - regex: "**/*sponge_log.xml" - } -} - -# Download trampoline resources. -gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" - -# Use the trampoline script to run in docker. -build_file: "java-container/.kokoro/trampoline.sh" - -# Configure the docker image for kokoro-trampoline. -env_vars: { - key: "TRAMPOLINE_IMAGE" - value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-container/.kokoro/continuous/propose_release.sh" -} - -# tokens used by release-please to keep an up-to-date release PR. -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-key-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-token-release-please" - } - } -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "github-magic-proxy-url-release-please" - } - } -} diff --git a/.kokoro/continuous/samples.cfg b/.kokoro/continuous/samples.cfg deleted file mode 100644 index fa7b493d..00000000 --- a/.kokoro/continuous/samples.cfg +++ /dev/null @@ -1,31 +0,0 @@ -# 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/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "samples" -} - -env_vars: { - key: "GCLOUD_PROJECT" - value: "gcloud-devel" -} - -env_vars: { - key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" -} - -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } -} diff --git a/.kokoro/dependencies.sh b/.kokoro/dependencies.sh index cee4f11e..c91e5a56 100755 --- a/.kokoro/dependencies.sh +++ b/.kokoro/dependencies.sh @@ -43,12 +43,13 @@ function completenessCheck() { # Output dep list with compile scope generated using the original pom # Running mvn dependency:list on Java versions that support modules will also include the module of the dependency. # This is stripped from the output as it is not present in the flattened pom. + # Only dependencies with 'compile' or 'runtime' scope are included from original dependency list. msg "Generating dependency list using original pom..." - mvn dependency:list -f pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// | grep -v ':test$' >.org-list.txt + mvn dependency:list -f pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' | sed -e s/\\s--\\smodule.*// >.org-list.txt - # Output dep list generated using the flattened pom (test scope deps are ommitted) + # Output dep list generated using the flattened pom (only 'compile' and 'runtime' scopes) msg "Generating dependency list using flattened pom..." - mvn dependency:list -f .flattened-pom.xml -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt + mvn dependency:list -f .flattened-pom.xml -DincludeScope=runtime -Dsort=true | grep '\[INFO] .*:.*:.*:.*:.*' >.new-list.txt # Compare two dependency lists msg "Comparing dependency lists..." @@ -85,4 +86,4 @@ then else msg "Errors found. See log statements above." exit 1 -fi +fi \ No newline at end of file diff --git a/.kokoro/nightly/dependencies.cfg b/.kokoro/nightly/dependencies.cfg deleted file mode 100644 index 1a5bf99a..00000000 --- a/.kokoro/nightly/dependencies.cfg +++ /dev/null @@ -1,12 +0,0 @@ -# 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/java8" -} - -env_vars: { - key: "TRAMPOLINE_BUILD_FILE" - value: "github/java-container/.kokoro/dependencies.sh" -} diff --git a/.kokoro/nightly/lint.cfg b/.kokoro/nightly/lint.cfg deleted file mode 100644 index 6d323c8a..00000000 --- a/.kokoro/nightly/lint.cfg +++ /dev/null @@ -1,13 +0,0 @@ -# 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/java8" -} - -env_vars: { - key: "JOB_TYPE" - value: "lint" -} \ No newline at end of file diff --git a/.kokoro/release/stage.cfg b/.kokoro/release/stage.cfg index dca2b4b5..7ebc3e9a 100644 --- a/.kokoro/release/stage.cfg +++ b/.kokoro/release/stage.cfg @@ -13,32 +13,7 @@ action { } } -# Fetch the token needed for reporting release status to GitHub -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "yoshi-automation-github-key" - } - } -} - -# Fetch magictoken to use with Magic Github Proxy -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "releasetool-magictoken" - } - } -} - -# Fetch api key to use with Magic Github Proxy -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "magic-github-proxy-api-key" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "releasetool-publish-reporter-app,releasetool-publish-reporter-googleapis-installation,releasetool-publish-reporter-pem" } diff --git a/synth.metadata b/synth.metadata index 36a9d6e1..def18b32 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "86653acff07ec81c169b1733c0efc428af53ae1d" + "sha": "fb709e62607b504ad057edb42b398a9bb4ff524f" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "dd230c816f88d0141fcd0be83498986287220d1b" + "sha": "80003a3de2d8a75f5b47cb2e77e018f7f0f776cc" } } ], @@ -42,34 +42,25 @@ ".github/PULL_REQUEST_TEMPLATE.md", ".github/release-please.yml", ".github/trusted-contribution.yml", + ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", + ".github/workflows/samples.yaml", ".kokoro/build.bat", ".kokoro/build.sh", ".kokoro/coerce_logs.sh", ".kokoro/common.cfg", ".kokoro/common.sh", ".kokoro/continuous/common.cfg", - ".kokoro/continuous/dependencies.cfg", - ".kokoro/continuous/integration.cfg", - ".kokoro/continuous/java11.cfg", - ".kokoro/continuous/java7.cfg", - ".kokoro/continuous/java8-osx.cfg", - ".kokoro/continuous/java8-win.cfg", ".kokoro/continuous/java8.cfg", - ".kokoro/continuous/lint.cfg", - ".kokoro/continuous/propose_release.cfg", - ".kokoro/continuous/samples.cfg", ".kokoro/dependencies.sh", ".kokoro/linkage-monitor.sh", ".kokoro/nightly/common.cfg", - ".kokoro/nightly/dependencies.cfg", ".kokoro/nightly/integration.cfg", ".kokoro/nightly/java11.cfg", ".kokoro/nightly/java7.cfg", ".kokoro/nightly/java8-osx.cfg", ".kokoro/nightly/java8-win.cfg", ".kokoro/nightly/java8.cfg", - ".kokoro/nightly/lint.cfg", ".kokoro/nightly/samples.cfg", ".kokoro/populate-secrets.sh", ".kokoro/presubmit/clirr.cfg", From c75111112cc987438a44129a79ab86c74d5af781 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 23 Sep 2020 15:46:11 -0700 Subject: [PATCH 61/89] build(java): use yoshi-approver token for auto-approve (#231) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/d5869cdc-1d22-470d-9791-d8e49c2ab4c3/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/916c10e8581804df2b48a0f0457d848f3faa582e --- .github/workflows/auto-release.yaml | 4 ++-- synth.metadata | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index d26427e4..c8494910 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -7,7 +7,7 @@ jobs: steps: - uses: actions/github-script@v3.0.0 with: - github-token: ${{secrets.GITHUB_TOKEN}} + github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} debug: true script: | // only approve PRs from release-please[bot] @@ -66,4 +66,4 @@ jobs: repo: context.repo.repo, issue_number: context.payload.pull_request.number, labels: ['kokoro:force-run', 'automerge'] - }); \ No newline at end of file + }); diff --git a/synth.metadata b/synth.metadata index def18b32..5dcc915a 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "fb709e62607b504ad057edb42b398a9bb4ff524f" + "sha": "b79a5be62defa319f8a664e5696d46903382b1a6" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "80003a3de2d8a75f5b47cb2e77e018f7f0f776cc" + "sha": "916c10e8581804df2b48a0f0457d848f3faa582e" } } ], From 3f133e5f02a215cbb927a6bac07725d30c18f714 Mon Sep 17 00:00:00 2001 From: Jeff Ching Date: Thu, 24 Sep 2020 14:00:35 -0700 Subject: [PATCH 62/89] chore: add repo settings configuration (#232) --- .github/sync-repo-settings.yaml | 49 +++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/sync-repo-settings.yaml diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml new file mode 100644 index 00000000..6bddd18e --- /dev/null +++ b/.github/sync-repo-settings.yaml @@ -0,0 +1,49 @@ + +# Whether or not rebase-merging is enabled on this repository. +# Defaults to `true` +rebaseMergeAllowed: false + +# Whether or not squash-merging is enabled on this repository. +# Defaults to `true` +squashMergeAllowed: true + +# Whether or not PRs are merged with a merge commit on this repository. +# Defaults to `false` +mergeCommitAllowed: false + +# Rules for master branch protection +branchProtectionRules: +# Identifies the protection rule pattern. Name of the branch to be protected. +# Defaults to `master` +- pattern: master + # Can admins overwrite branch protection. + # Defaults to `true` + isAdminEnforced: true + # Number of approving reviews required to update matching branches. + # Defaults to `1` + requiredApprovingReviewCount: 1 + # Are reviews from code owners required to update matching branches. + # Defaults to `false` + requiresCodeOwnerReviews: true + # Require up to date branches + requiresStrictStatusChecks: false + # List of required status check contexts that must pass for commits to be accepted to matching branches. + requiredStatusCheckContexts: + - "dependencies (8)" + - "dependencies (11)" + - "linkage-monitor" + - "lint" + - "clirr" + - "units (7)" + - "units (8)" + - "units (11)" + - "Kokoro - Test: Integration" + - "cla/google" +# List of explicit permissions to add (additive only) +permissionRules: +- team: yoshi-admins + permission: admin +- team: yoshi-java-admins + permission: admin +- team: yoshi-java + permission: push \ No newline at end of file From f30bbbc904eee437320cfca05bafb8d83427e81e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 25 Sep 2020 08:52:17 -0700 Subject: [PATCH 63/89] chore(ci): skip autorelease workflow on non-release PRs (#233) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/92b0ec64-dee8-4ca6-950e-72a705e79ceb/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/95dbe1bee3c7f7e52ddb24a54c37080620e0d1a2 --- .github/workflows/auto-release.yaml | 1 + synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index c8494910..3ce51eee 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -4,6 +4,7 @@ name: auto-release jobs: approve: runs-on: ubuntu-latest + if: contains(github.head_ref, 'release-v') steps: - uses: actions/github-script@v3.0.0 with: diff --git a/synth.metadata b/synth.metadata index 5dcc915a..4acddf75 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "b79a5be62defa319f8a664e5696d46903382b1a6" + "sha": "3f133e5f02a215cbb927a6bac07725d30c18f714" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "916c10e8581804df2b48a0f0457d848f3faa582e" + "sha": "95dbe1bee3c7f7e52ddb24a54c37080620e0d1a2" } } ], From e17d75e550a1a9d8423ddc40a14b2f240dea2c10 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 25 Sep 2020 17:36:03 -0700 Subject: [PATCH 64/89] chore(ci): verify autorelease release PR content has changes (#234) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/b8d998b8-87b8-4f2e-b147-1d34fd8a86f9/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/da29da32b3a988457b49ae290112b74f14b713cc --- .github/workflows/auto-release.yaml | 18 ++++++++++++++++++ synth.metadata | 4 ++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index 3ce51eee..bc1554ae 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -21,6 +21,24 @@ jobs: return; } + // only approve PRs with pom.xml and versions.txt changes + const filesPromise = github.pulls.listFiles.endpoint({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: context.payload.pull_request.number, + }); + const changed_files = await github.paginate(filesPromise) + + if ( changed_files.length < 1 ) { + console.log( "Not proceeding since PR is empty!" ) + return; + } + + if ( !changed_files.some(v => v.filename.includes("pom")) || !changed_files.some(v => v.filename.includes("versions.txt")) ) { + console.log( "PR file changes do not have pom.xml or versions.txt -- something is wrong. PTAL!" ) + return; + } + // trigger auto-release when // 1) it is a SNAPSHOT release (auto-generated post regular release) // 2) there are dependency updates only diff --git a/synth.metadata b/synth.metadata index 4acddf75..067f312d 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "3f133e5f02a215cbb927a6bac07725d30c18f714" + "sha": "f30bbbc904eee437320cfca05bafb8d83427e81e" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "95dbe1bee3c7f7e52ddb24a54c37080620e0d1a2" + "sha": "da29da32b3a988457b49ae290112b74f14b713cc" } } ], From b99e8d626a9f20b22635ab981899301185533434 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 30 Sep 2020 09:12:20 -0700 Subject: [PATCH 65/89] chore(java): use separate autosynth job for README (#235) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/52bbaa55-e421-4eef-8134-3f067b5c8364/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/e6168630be3e31eede633ba2c6f1cd64248dec1c --- .github/readme/synth.py | 19 ++++++++++++ .kokoro/continuous/readme.cfg | 55 +++++++++++++++++++++++++++++++++++ .kokoro/readme.sh | 36 +++++++++++++++++++++++ synth.metadata | 8 +++-- 4 files changed, 115 insertions(+), 3 deletions(-) create mode 100644 .github/readme/synth.py create mode 100644 .kokoro/continuous/readme.cfg create mode 100644 .kokoro/readme.sh diff --git a/.github/readme/synth.py b/.github/readme/synth.py new file mode 100644 index 00000000..7b48cc28 --- /dev/null +++ b/.github/readme/synth.py @@ -0,0 +1,19 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""This script is used to synthesize generated the README for this library.""" + +from synthtool.languages import java + +java.custom_templates(["java_library/README.md"]) diff --git a/.kokoro/continuous/readme.cfg b/.kokoro/continuous/readme.cfg new file mode 100644 index 00000000..55e2b514 --- /dev/null +++ b/.kokoro/continuous/readme.cfg @@ -0,0 +1,55 @@ +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Format: //devtools/kokoro/config/proto/build.proto + +env_vars: { + key: "TRAMPOLINE_IMAGE" + value: "gcr.io/cloud-devrel-kokoro-resources/python-multi" +} + +env_vars: { + key: "TRAMPOLINE_BUILD_FILE" + value: "github/java-container/.kokoro/readme.sh" +} + +# Build logs will be here +action { + define_artifacts { + regex: "**/*sponge_log.xml" + regex: "**/*sponge_log.log" + } +} + +# The github token is stored here. +before_action { + fetch_keystore { + keystore_resource { + keystore_config_id: 73713 + keyname: "yoshi-automation-github-key" + # TODO(theacodes): remove this after secrets have globally propagated + backend_type: FASTCONFIGPUSH + } + } +} + +# Common env vars for all repositories and builds. +env_vars: { + key: "GITHUB_USER" + value: "yoshi-automation" +} +env_vars: { + key: "GITHUB_EMAIL" + value: "yoshi-automation@google.com" +} diff --git a/.kokoro/readme.sh b/.kokoro/readme.sh new file mode 100644 index 00000000..18e17f84 --- /dev/null +++ b/.kokoro/readme.sh @@ -0,0 +1,36 @@ +#!/bin/bash +# Copyright 2020 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +cd ${KOKORO_ARTIFACTS_DIR}/github/java-container + +# Disable buffering, so that the logs stream through. +export PYTHONUNBUFFERED=1 + +# Kokoro exposes this as a file, but the scripts expect just a plain variable. +export GITHUB_TOKEN=$(cat ${KOKORO_KEYSTORE_DIR}/73713_yoshi-automation-github-key) + +# Setup git credentials +echo "https://${GITHUB_TOKEN}:@github.com" >> ~/.git-credentials +git config --global credential.helper 'store --file ~/.git-credentials' + +python3.6 -m pip install git+https://github.com/googleapis/synthtool.git#egg=gcp-synthtool +python3.6 -m autosynth.synth \ + --repository=googleapis/java-container \ + --synth-file-name=.github/readme/synth.py \ + --metadata-path=.github/readme/synth.metadata \ + --pr-title="chore: regenerate README" \ + --branch-suffix="readme" \ No newline at end of file diff --git a/synth.metadata b/synth.metadata index 067f312d..b66536dc 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "f30bbbc904eee437320cfca05bafb8d83427e81e" + "sha": "e17d75e550a1a9d8423ddc40a14b2f240dea2c10" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "da29da32b3a988457b49ae290112b74f14b713cc" + "sha": "e6168630be3e31eede633ba2c6f1cd64248dec1c" } } ], @@ -40,6 +40,7 @@ ".github/ISSUE_TEMPLATE/feature_request.md", ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", + ".github/readme/synth.py", ".github/release-please.yml", ".github/trusted-contribution.yml", ".github/workflows/auto-release.yaml", @@ -52,6 +53,7 @@ ".kokoro/common.sh", ".kokoro/continuous/common.cfg", ".kokoro/continuous/java8.cfg", + ".kokoro/continuous/readme.cfg", ".kokoro/dependencies.sh", ".kokoro/linkage-monitor.sh", ".kokoro/nightly/common.cfg", @@ -75,6 +77,7 @@ ".kokoro/presubmit/linkage-monitor.cfg", ".kokoro/presubmit/lint.cfg", ".kokoro/presubmit/samples.cfg", + ".kokoro/readme.sh", ".kokoro/release/bump_snapshot.cfg", ".kokoro/release/common.cfg", ".kokoro/release/common.sh", @@ -92,7 +95,6 @@ "CODE_OF_CONDUCT.md", "CONTRIBUTING.md", "LICENSE", - "README.md", "codecov.yaml", "google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerClient.java", "google-cloud-container/src/main/java/com/google/cloud/container/v1/ClusterManagerSettings.java", From 462ca1635e389fc6f8dea6218878bf2e656aaf2a Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 30 Sep 2020 16:56:17 -0700 Subject: [PATCH 66/89] build: rename samples lint workflow to checkstyle to disambiguate branch protection with unit lint (#236) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/d930cc96-a531-49bb-98d1-aa98f3e84e7c/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/8a7a3021fe97aa0a3641db642fe2b767f1c8110f --- .github/workflows/samples.yaml | 2 +- synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/samples.yaml b/.github/workflows/samples.yaml index a1d50073..c46230a7 100644 --- a/.github/workflows/samples.yaml +++ b/.github/workflows/samples.yaml @@ -2,7 +2,7 @@ on: pull_request: name: samples jobs: - lint: + checkstyle: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/synth.metadata b/synth.metadata index b66536dc..0dd151c7 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "e17d75e550a1a9d8423ddc40a14b2f240dea2c10" + "sha": "b99e8d626a9f20b22635ab981899301185533434" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "e6168630be3e31eede633ba2c6f1cd64248dec1c" + "sha": "8a7a3021fe97aa0a3641db642fe2b767f1c8110f" } } ], From 4eac26bdd1dc8b17f6794322a56415c9909718fd Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 6 Oct 2020 15:12:23 -0700 Subject: [PATCH 67/89] build(java): readme.sh should be executable (#237) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/be7cdecb-1936-4613-9472-c229f469aea3/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/0762e8ee2ec21cdfc4d82020b985a104feb0453b --- .kokoro/readme.sh | 0 synth.metadata | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 .kokoro/readme.sh diff --git a/.kokoro/readme.sh b/.kokoro/readme.sh old mode 100644 new mode 100755 diff --git a/synth.metadata b/synth.metadata index 0dd151c7..0268a1b0 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "b99e8d626a9f20b22635ab981899301185533434" + "sha": "462ca1635e389fc6f8dea6218878bf2e656aaf2a" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "8a7a3021fe97aa0a3641db642fe2b767f1c8110f" + "sha": "0762e8ee2ec21cdfc4d82020b985a104feb0453b" } } ], From 8102d5ebfb86ded60e20a28c3d76534a798f467f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 14 Oct 2020 09:16:50 -0700 Subject: [PATCH 68/89] ci(java): suggest formatting fixes (#243) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/c7323cb0-257b-4ad3-b644-b94b558b2a13/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/b65ef07d99946d23e900ef2cc490274a16edd336 --- .github/workflows/formatting.yaml | 25 +++++++++++++++++++++++++ synth.metadata | 5 +++-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/formatting.yaml diff --git a/.github/workflows/formatting.yaml b/.github/workflows/formatting.yaml new file mode 100644 index 00000000..d4d367cf --- /dev/null +++ b/.github/workflows/formatting.yaml @@ -0,0 +1,25 @@ +on: + pull_request_target: + types: [opened, synchronize] + branches: + - master +name: format +jobs: + format-code: + runs-on: ubuntu-latest + env: + ACCESS_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} + steps: + - uses: actions/checkout@v2 + with: + ref: ${{github.event.pull_request.head.ref}} + repository: ${{github.event.pull_request.head.repo.full_name}} + - uses: actions/setup-java@v1 + with: + java-version: 11 + - run: "mvn com.coveo:fmt-maven-plugin:format" + - uses: googleapis/code-suggester@v1.8.0 + with: + command: review + pull_number: ${{ github.event.pull_request.number }} + git_dir: '.' diff --git a/synth.metadata b/synth.metadata index 0268a1b0..2d24f1d9 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "462ca1635e389fc6f8dea6218878bf2e656aaf2a" + "sha": "4eac26bdd1dc8b17f6794322a56415c9909718fd" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "0762e8ee2ec21cdfc4d82020b985a104feb0453b" + "sha": "b65ef07d99946d23e900ef2cc490274a16edd336" } } ], @@ -45,6 +45,7 @@ ".github/trusted-contribution.yml", ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", + ".github/workflows/formatting.yaml", ".github/workflows/samples.yaml", ".kokoro/build.bat", ".kokoro/build.sh", From d33f1795ad89cba0c24b3d87c4cf61d7eba1a21c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 15 Oct 2020 15:38:28 -0700 Subject: [PATCH 69/89] ci(java): restrict presubmit samples ITs to only snapshot (#245) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/fbbe40e0-e2ab-4acf-9ad7-1fe4653b43d5/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/27e0e916cbfdb3d5ff6639b686cc04f78a0b0386 --- .kokoro/build.sh | 11 +++++++++-- synth.metadata | 4 ++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 3976f865..c878b426 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -69,9 +69,16 @@ integration) RETURN_CODE=$? ;; samples) - if [[ -f samples/pom.xml ]] + SAMPLES_DIR=samples + # only run ITs in snapshot/ on presubmit PRs. run ITs in all 3 samples/ subdirectories otherwise. + if [[ ! -z ${KOKORO_GITHUB_PULL_REQUEST_NUMBER} ]] then - pushd samples + SAMPLES_DIR=samples/snapshot + fi + + if [[ -f ${SAMPLES_DIR}/pom.xml ]] + then + pushd {SAMPLES_DIR} mvn -B \ -Penable-samples \ -DtrimStackTrace=false \ diff --git a/synth.metadata b/synth.metadata index 2d24f1d9..9c7ac232 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "4eac26bdd1dc8b17f6794322a56415c9909718fd" + "sha": "8102d5ebfb86ded60e20a28c3d76534a798f467f" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "b65ef07d99946d23e900ef2cc490274a16edd336" + "sha": "27e0e916cbfdb3d5ff6639b686cc04f78a0b0386" } } ], From f2908dd666d98e90d46e1753148258bddf426cff Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 15 Oct 2020 17:08:26 -0700 Subject: [PATCH 70/89] chore: regenerate README (#246) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-10-15 22:43:20,364 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-container/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working directory clean 2020-10-15 22:43:21,285 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/e06c1484-562f-4ee7-aa23-e3da0e0a0a85/targets - [ ] To automatically regenerate this PR, check this box. --- .github/readme/synth.metadata/synth.metadata | 18 ++++++++++++++++++ README.md | 3 --- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 .github/readme/synth.metadata/synth.metadata diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata new file mode 100644 index 00000000..d4bdce3f --- /dev/null +++ b/.github/readme/synth.metadata/synth.metadata @@ -0,0 +1,18 @@ +{ + "sources": [ + { + "git": { + "name": ".", + "remote": "https://github.com/googleapis/java-container.git", + "sha": "d33f1795ad89cba0c24b3d87c4cf61d7eba1a21c" + } + }, + { + "git": { + "name": "synthtool", + "remote": "https://github.com/googleapis/synthtool.git", + "sha": "27e0e916cbfdb3d5ff6639b686cc04f78a0b0386" + } + } + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 605c8b43..c318ebf0 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,6 @@ If you are using Maven without BOM, add this to your dependencies: ``` -[//]: # ({x-version-update-start:google-cloud-container:released}) - If you are using Gradle, add this to your dependencies ```Groovy compile 'com.google.cloud:google-cloud-container:1.0.4' @@ -53,7 +51,6 @@ If you are using SBT, add this to your dependencies ```Scala libraryDependencies += "com.google.cloud" % "google-cloud-container" % "1.0.4" ``` -[//]: # ({x-version-update-end}) ## Authentication From 9b1bbae043d9b349851fa8f08b00e34059bd2eb8 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 16 Oct 2020 09:08:59 -0700 Subject: [PATCH 71/89] build(java): auto-approve README regeneration (#247) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/21d46434-1f66-4dee-862f-7b883a683c46/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1 --- .github/workflows/approve-readme.yaml | 54 +++++++++++++++++++++++++++ synth.metadata | 5 ++- 2 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/approve-readme.yaml diff --git a/.github/workflows/approve-readme.yaml b/.github/workflows/approve-readme.yaml new file mode 100644 index 00000000..e2d841d6 --- /dev/null +++ b/.github/workflows/approve-readme.yaml @@ -0,0 +1,54 @@ +on: + pull_request: +name: auto-merge-readme +jobs: + approve: + runs-on: ubuntu-latest + if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' + steps: + - uses: actions/github-script@v3.0.0 + with: + github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} + script: | + // only approve PRs from yoshi-automation + if (context.payload.pull_request.user.login !== "yoshi-automation") { + return; + } + + // only approve PRs like "chore: release " + if (!context.payload.pull_request.title === "chore: regenerate README") { + return; + } + + // only approve PRs with README.md and synth.metadata changes + const files = new Set( + ( + await github.paginate( + github.pulls.listFiles.endpoint({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: context.payload.pull_request.number, + }) + ) + ).map(file => file.filename) + ); + if (files.size != 2 || !files.has("README.md") || !files.has(".github/readme/synth.metadata/synth.metadata")) { + return; + } + + // approve README regeneration PR + await github.pulls.createReview({ + owner: context.repo.owner, + repo: context.repo.repo, + body: 'Rubber stamped PR!', + pull_number: context.payload.pull_request.number, + event: 'APPROVE' + }); + + // attach automerge label + await github.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.payload.pull_request.number, + labels: ['automerge'] + }); diff --git a/synth.metadata b/synth.metadata index 9c7ac232..0fc2d815 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "8102d5ebfb86ded60e20a28c3d76534a798f467f" + "sha": "f2908dd666d98e90d46e1753148258bddf426cff" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "27e0e916cbfdb3d5ff6639b686cc04f78a0b0386" + "sha": "7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1" } } ], @@ -43,6 +43,7 @@ ".github/readme/synth.py", ".github/release-please.yml", ".github/trusted-contribution.yml", + ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", ".github/workflows/ci.yaml", ".github/workflows/formatting.yaml", From 0c5da984be2d5e4137a1a394ccb1c0e037d034c9 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 20 Oct 2020 15:46:04 -0700 Subject: [PATCH 72/89] build(java): enable snippet-bot (#249) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8e612041-fee6-48c6-a4b4-cd4a514d71be/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/5a506ec8765cc04f7e29f888b8e9b257d9a7ae11 --- .github/snippet-bot.yml | 0 synth.metadata | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .github/snippet-bot.yml diff --git a/.github/snippet-bot.yml b/.github/snippet-bot.yml new file mode 100644 index 00000000..e69de29b diff --git a/synth.metadata b/synth.metadata index 0fc2d815..2cea80d6 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "f2908dd666d98e90d46e1753148258bddf426cff" + "sha": "9b1bbae043d9b349851fa8f08b00e34059bd2eb8" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "7c5370937dd9ba9dcf9cd7d2af880a58b389b4f1" + "sha": "5a506ec8765cc04f7e29f888b8e9b257d9a7ae11" } } ], @@ -42,6 +42,7 @@ ".github/PULL_REQUEST_TEMPLATE.md", ".github/readme/synth.py", ".github/release-please.yml", + ".github/snippet-bot.yml", ".github/trusted-contribution.yml", ".github/workflows/approve-readme.yaml", ".github/workflows/auto-release.yaml", From ff02517127bc191636f5f8b5471977a9c69f824c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 21 Oct 2020 11:16:19 -0700 Subject: [PATCH 73/89] chore: clean up and update renovate.json (#250) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/fd91270a-eeaf-451b-975d-e31cdfff3bd1/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/6abb59097be84599a1d6091fe534a49e5c5cf948 --- renovate.json | 30 +++++++++++------------------- synth.metadata | 4 ++-- 2 files changed, 13 insertions(+), 21 deletions(-) diff --git a/renovate.json b/renovate.json index 3591bfd5..05f6b7b3 100644 --- a/renovate.json +++ b/renovate.json @@ -17,24 +17,6 @@ ], "versionScheme": "docker" }, - { - "packagePatterns": [ - "^com.google.api:gax", - "^com.google.auth:", - "^com.google.cloud:google-cloud-core", - "^io.grpc:", - "^com.google.guava:" - ], - "groupName": "core dependencies" - }, - { - "packagePatterns": [ - "^com.google.http-client:", - "^com.google.oauth-client:", - "^com.google.api-client:" - ], - "groupName": "core transport dependencies" - }, { "packagePatterns": [ "*" @@ -63,6 +45,16 @@ "semanticCommitType": "chore", "semanticCommitScope": "deps" }, + { + "packagePatterns": [ + "^junit:junit", + "^com.google.truth:truth", + "^org.mockito:mockito-core", + "^org.objenesis:objenesis" + ], + "semanticCommitType": "test", + "semanticCommitScope": "deps" + }, { "packagePatterns": [ "^com.google.cloud:google-cloud-" @@ -78,4 +70,4 @@ ], "semanticCommits": true, "masterIssue": true -} \ No newline at end of file +} diff --git a/synth.metadata b/synth.metadata index 2cea80d6..17c03ed0 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "9b1bbae043d9b349851fa8f08b00e34059bd2eb8" + "sha": "0c5da984be2d5e4137a1a394ccb1c0e037d034c9" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5a506ec8765cc04f7e29f888b8e9b257d9a7ae11" + "sha": "6abb59097be84599a1d6091fe534a49e5c5cf948" } } ], From e0190bd0d30c069d7321b7ce49d866ca567711cb Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 21 Oct 2020 21:48:06 +0200 Subject: [PATCH 74/89] chore(deps): update dependency com.google.cloud:libraries-bom to v13 (#255) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | major | `10.1.0` -> `13.1.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-container). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index db48d37e..cce79643 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 10.1.0 + 13.1.0 pom import From a59fcbc244cb074bdcd3de7220befd97cf8d9392 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Wed, 21 Oct 2020 13:02:10 -0700 Subject: [PATCH 75/89] chore: regenerate README (#256) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-10-21 19:51:15,939 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-container/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working directory clean 2020-10-21 19:51:16,882 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/c14b1711-4f14-4a73-a83e-aaccc380b2c2/targets - [ ] To automatically regenerate this PR, check this box. --- .github/readme/synth.metadata/synth.metadata | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index d4bdce3f..9a86f40c 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "d33f1795ad89cba0c24b3d87c4cf61d7eba1a21c" + "sha": "e0190bd0d30c069d7321b7ce49d866ca567711cb" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "27e0e916cbfdb3d5ff6639b686cc04f78a0b0386" + "sha": "901ddd44e9ef7887ee681b9183bbdea99437fdcc" } } ] diff --git a/README.md b/README.md index c318ebf0..135692fa 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 10.1.0 + 13.1.0 pom import From cfb161932c91d9136f5044882e154978435657ed Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 22 Oct 2020 18:12:18 +0200 Subject: [PATCH 76/89] test(deps): update dependency junit:junit to v4.13.1 (#254) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [junit:junit](http://junit.org) ([source](https://togithub.com/junit-team/junit4)) | patch | `4.13` -> `4.13.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-container). --- pom.xml | 2 +- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 77102bcc..ff748f5b 100644 --- a/pom.xml +++ b/pom.xml @@ -94,7 +94,7 @@ junit junit - 4.13 + 4.13.1 test diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 213bb640..a3e88b3e 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -36,7 +36,7 @@ junit junit - 4.13 + 4.13.1 test diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index b6ba3bfa..9292d9c9 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -34,7 +34,7 @@ junit junit - 4.13 + 4.13.1 test diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index cce79643..21c7680d 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -47,7 +47,7 @@ junit junit - 4.13 + 4.13.1 test From 6347c4ca16bf8e08233487c43bf2254089c537be Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 22 Oct 2020 18:27:41 +0200 Subject: [PATCH 77/89] chore(deps): update dependency com.google.cloud.samples:shared-configuration to v1.0.21 (#251) --- samples/install-without-bom/pom.xml | 2 +- samples/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- samples/snippets/pom.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index a3e88b3e..f12fad44 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.18 + 1.0.21 diff --git a/samples/pom.xml b/samples/pom.xml index fc69ae16..c39b2788 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -18,7 +18,7 @@ com.google.cloud.samples shared-configuration - 1.0.18 + 1.0.21 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 9292d9c9..caf7abfc 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.18 + 1.0.21 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 21c7680d..b2903d6d 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -14,7 +14,7 @@ com.google.cloud.samples shared-configuration - 1.0.18 + 1.0.21 From 4f6771eb6133ab58444d9401977b3959a4346098 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 22 Oct 2020 18:27:58 +0200 Subject: [PATCH 78/89] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.3 (#210) --- google-cloud-container-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-container-bom/pom.xml b/google-cloud-container-bom/pom.xml index 4e09931f..9b34d3cf 100644 --- a/google-cloud-container-bom/pom.xml +++ b/google-cloud-container-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.9.0 + 0.9.3 Google Cloud container BOM diff --git a/pom.xml b/pom.xml index ff748f5b..35cbd24c 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.0 + 0.9.3 From 63294a5b0a33f837acca66cbb401d92004474a5b Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 22 Oct 2020 18:44:07 +0200 Subject: [PATCH 79/89] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v0.13.0 (#252) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | minor | `0.9.0` -> `0.13.0` | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v0.13.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0130-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0121v0130-2020-10-20) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.12.1...v0.13.0) ##### Features - add jackson-core to the list of managed dependencies ([#​190](https://www.github.com/googleapis/java-shared-dependencies/issues/190)) ([b37035e](https://www.github.com/googleapis/java-shared-dependencies/commit/b37035ed9b0beeb5e07d6e1c121154eece1a2c87)) ##### Dependencies - update dependency com.google.guava:guava-bom to v30 ([#​181](https://www.github.com/googleapis/java-shared-dependencies/issues/181)) ([bdb1e58](https://www.github.com/googleapis/java-shared-dependencies/commit/bdb1e582288d06a872e36ac8b778563f2d088468)) - update gax.version to v1.60.0 ([#​187](https://www.github.com/googleapis/java-shared-dependencies/issues/187)) ([8a8adf7](https://www.github.com/googleapis/java-shared-dependencies/commit/8a8adf7745d563c449bf095aad63b5e4a94e1a7d)) - update google.common-protos.version to v2 ([#​174](https://www.github.com/googleapis/java-shared-dependencies/issues/174)) ([3f7e3ff](https://www.github.com/googleapis/java-shared-dependencies/commit/3f7e3ffd5e07d2f11f0aa981dae2bdf5381e429f)) ##### [0.12.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.12.0...v0.12.1) (2020-10-16) ##### Dependencies - update dependency com.google.api:api-common to v1.10.1 ([#​180](https://www.github.com/googleapis/java-shared-dependencies/issues/180)) ([b1f2d5d](https://www.github.com/googleapis/java-shared-dependencies/commit/b1f2d5dfde24fcf683eeb5600fce7f51190ecce8)) ### [`v0.12.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0121-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0120v0121-2020-10-16) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.12.0...v0.12.1) ### [`v0.12.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0120-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0110v0120-2020-10-15) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.11.0...v0.12.0) ##### Dependencies - update dependency com.google.api-client:google-api-client-bom to v1.30.11 ([#​169](https://www.github.com/googleapis/java-shared-dependencies/issues/169)) ([a1b18d1](https://www.github.com/googleapis/java-shared-dependencies/commit/a1b18d1838c2ceca882615d574ab5d0245794820)) - update dependency com.google.auth:google-auth-library-bom to v0.22.0 ([#​171](https://www.github.com/googleapis/java-shared-dependencies/issues/171)) ([0c7635a](https://www.github.com/googleapis/java-shared-dependencies/commit/0c7635a82d922971ae6aac18dc2ee1879e017516)) ### [`v0.11.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0110-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0102v0110-2020-10-13) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.10.2...v0.11.0) ##### Dependencies - update dependency com.google.http-client:google-http-client-bom to v1.37.0 ([#​166](https://www.github.com/googleapis/java-shared-dependencies/issues/166)) ([5721225](https://www.github.com/googleapis/java-shared-dependencies/commit/572122574ce8452b6a0fc6df919e9ce2d8ffd2ce)) - update dependency io.grpc:grpc-bom to v1.32.2 ([#​165](https://www.github.com/googleapis/java-shared-dependencies/issues/165)) ([b70ddb0](https://www.github.com/googleapis/java-shared-dependencies/commit/b70ddb00a3be97536cdd80bd57fe6bca1b0973e2)) ##### [0.10.2](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.1...v0.10.2) (2020-10-08) ##### Dependencies - update dependency org.threeten:threetenbp to v1.4.5 ([#​162](https://www.github.com/googleapis/java-shared-dependencies/issues/162)) ([54eccb5](https://www.github.com/googleapis/java-shared-dependencies/commit/54eccb533353ddfe537a7e069a696a3f0f70f211)) ##### [0.10.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.10.0...v0.10.1) (2020-10-06) ##### Dependencies - update gax.version to v1.59.1 ([#​159](https://www.github.com/googleapis/java-shared-dependencies/issues/159)) ([7c84443](https://www.github.com/googleapis/java-shared-dependencies/commit/7c84443db92e1d910590fa89c2e35b14613e7eba)) ### [`v0.10.2`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0102-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0101v0102-2020-10-08) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.10.1...v0.10.2) ### [`v0.10.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0101-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare0100v0101-2020-10-06) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.10.0...v0.10.1) ### [`v0.10.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​0100-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare091v0100-2020-09-23) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.9.1...v0.10.0) ##### Features - manage error-prone version ([#​147](https://www.github.com/googleapis/java-shared-dependencies/issues/147)) ([0fb3108](https://www.github.com/googleapis/java-shared-dependencies/commit/0fb3108c96abcdef83b5051e842530e6c9934c37)) ##### Dependencies - update google.core.version to v1.93.9 ([#​148](https://www.github.com/googleapis/java-shared-dependencies/issues/148)) ([b2a680e](https://www.github.com/googleapis/java-shared-dependencies/commit/b2a680ec9297136dceb622463672cc554359ba5b)) ##### [0.9.1](https://www.github.com/googleapis/java-shared-dependencies/compare/0.9.0...v0.9.1) (2020-09-23) ##### Dependencies - update dependency io.grpc:grpc-bom to v1.32.1 ([#​133](https://www.github.com/googleapis/java-shared-dependencies/issues/133)) ([cde0463](https://www.github.com/googleapis/java-shared-dependencies/commit/cde0463dd15c2a510085a3d5e3ac7b418c2fc3d4)) - update iam.version to v1.0.1 ([#​136](https://www.github.com/googleapis/java-shared-dependencies/issues/136)) ([162e2bd](https://www.github.com/googleapis/java-shared-dependencies/commit/162e2bda35fc3427ce571c6747aae4c9eb5866f6)) ### [`v0.9.1`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​091-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare090v091-2020-09-23) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v0.9.0...v0.9.1)
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-container). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 35cbd24c..59c6d43c 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ com.google.cloud google-cloud-shared-dependencies - 0.9.0 + 0.13.0 pom import From 481b2877efbb25ae4344f22de5f23c81638bd2dd Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Thu, 22 Oct 2020 21:38:27 +0200 Subject: [PATCH 80/89] test(deps): update dependency com.google.truth:truth to v1.1 (#253) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.truth:truth](com/google/truth/truth) | minor | `1.0.1` -> `1.1` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-container). --- 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 f12fad44..51f2c3ad 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -42,7 +42,7 @@ com.google.truth truth - 1.0.1 + 1.1 test diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index caf7abfc..0d84bc82 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -40,7 +40,7 @@ com.google.truth truth - 1.0.1 + 1.1 test diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index b2903d6d..dfcb6b75 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -53,7 +53,7 @@ com.google.truth truth - 1.0.1 + 1.1 test From 7765c0d17e4aeb44e305463cc58a5a6ea941abf9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Fri, 23 Oct 2020 19:58:04 +0200 Subject: [PATCH 81/89] chore(deps): update dependency com.google.cloud:libraries-bom to v13.2.0 (#258) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `13.1.0` -> `13.2.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-container). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index dfcb6b75..32dfb2ad 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 13.1.0 + 13.2.0 pom import From 7774a14a40ff0d8e31eb4b90ea5da9d4e0eebb72 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 23 Oct 2020 11:34:11 -0700 Subject: [PATCH 82/89] chore: regenerate README (#259) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-10-23 18:00:20,780 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-container/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working directory clean 2020-10-23 18:00:21,755 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/e4b65e25-bd95-4e69-a7c2-5c6fa5e07738/targets - [ ] To automatically regenerate this PR, check this box. --- .github/readme/synth.metadata/synth.metadata | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 9a86f40c..006bc6d8 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "e0190bd0d30c069d7321b7ce49d866ca567711cb" + "sha": "7765c0d17e4aeb44e305463cc58a5a6ea941abf9" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "901ddd44e9ef7887ee681b9183bbdea99437fdcc" + "sha": "721a7d2abb129029eca9d85a40da6eb7b8b1739a" } } ] diff --git a/README.md b/README.md index 135692fa..f782f9fc 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 13.1.0 + 13.2.0 pom import From 8d366dfdad34ea38ada616c4cfcfb045ecf13d66 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 26 Oct 2020 16:52:23 -0700 Subject: [PATCH 83/89] chore: regenerate common templates (#257) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/8bb66718-6c73-48bc-9fe4-75dc94d1a47a/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/5f6ef0ec5501d33c4667885b37a7685a30d41a76 Source-Link: https://github.com/googleapis/synthtool/commit/9593c3b5b714cc9b17c445aee8834ac2b4b9348b --- .kokoro/release/publish_javadoc.sh | 2 +- CODE_OF_CONDUCT.md | 7 ++++--- synth.metadata | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.kokoro/release/publish_javadoc.sh b/.kokoro/release/publish_javadoc.sh index 0a6a1f0a..00049476 100755 --- a/.kokoro/release/publish_javadoc.sh +++ b/.kokoro/release/publish_javadoc.sh @@ -62,7 +62,7 @@ popd # V2 mvn clean site -B -q -Ddevsite.template="${KOKORO_GFILE_DIR}/java/" -pushd target/devsite +pushd target/devsite/reference # create metadata python3 -m docuploader create-metadata \ diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 6b2238bb..2add2547 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,3 +1,4 @@ + # Code of Conduct ## Our Pledge @@ -69,12 +70,12 @@ dispute. If you are unable to resolve the matter for any reason, or if the behavior is threatening or harassing, report it. We are dedicated to providing an environment where participants feel welcome and safe. -Reports should be directed to *[PROJECT STEWARD NAME(s) AND EMAIL(s)]*, the -Project Steward(s) for *[PROJECT NAME]*. It is the Project Steward’s duty to +Reports should be directed to *googleapis-stewards@google.com*, the +Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to receive and address reported violations of the code of conduct. They will then work with a committee consisting of representatives from the Open Source Programs Office and the Google Open Source Strategy team. If for any reason you -are uncomfortable reaching out the Project Steward, please email +are uncomfortable reaching out to the Project Steward, please email opensource@google.com. We will investigate every complaint, but you may not receive a direct response. diff --git a/synth.metadata b/synth.metadata index 17c03ed0..64e59868 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "0c5da984be2d5e4137a1a394ccb1c0e037d034c9" + "sha": "481b2877efbb25ae4344f22de5f23c81638bd2dd" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "6abb59097be84599a1d6091fe534a49e5c5cf948" + "sha": "5f6ef0ec5501d33c4667885b37a7685a30d41a76" } } ], From 8c2435284cbb071cf7c51db5e7e50edaaa3327fa Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 27 Oct 2020 01:00:27 +0100 Subject: [PATCH 84/89] chore(deps): update dependency com.google.cloud:libraries-bom to v13.3.0 (#260) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | minor | `13.2.0` -> `13.3.0` | --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-container). --- samples/snippets/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 32dfb2ad..1326e29e 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 13.2.0 + 13.3.0 pom import From a8bd73fecd313936efac95b2aaab959a3d046f8c Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 26 Oct 2020 17:44:08 -0700 Subject: [PATCH 85/89] chore: regenerate README (#261) This PR was generated using Autosynth. :rainbow:
Log from Synthtool ``` 2020-10-27 00:06:11,641 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-container/.github/readme/synth.py. On branch autosynth-readme nothing to commit, working directory clean 2020-10-27 00:06:12,538 synthtool [DEBUG] > Wrote metadata to .github/readme/synth.metadata/synth.metadata. ```
Full log will be available here: https://source.cloud.google.com/results/invocations/fe37cb89-695e-4705-8fa6-a995f3e25410/targets - [ ] To automatically regenerate this PR, check this box. --- .github/readme/synth.metadata/synth.metadata | 4 ++-- README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata index 006bc6d8..fccd2aef 100644 --- a/.github/readme/synth.metadata/synth.metadata +++ b/.github/readme/synth.metadata/synth.metadata @@ -4,14 +4,14 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "7765c0d17e4aeb44e305463cc58a5a6ea941abf9" + "sha": "8c2435284cbb071cf7c51db5e7e50edaaa3327fa" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "721a7d2abb129029eca9d85a40da6eb7b8b1739a" + "sha": "fd3584b01cedd6c9f79d08be4e2365085f955aa5" } } ] diff --git a/README.md b/README.md index f782f9fc..b2d4aaa4 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 13.2.0 + 13.3.0 pom import From 70035b20a4fd20ffe85e4a8cf2a2fcb4b73406cb Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Tue, 27 Oct 2020 11:06:17 -0700 Subject: [PATCH 86/89] chore(ci): fix typo in restrict presubmit samples ITs to only snapshot (#262) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e1618cb3-d96b-427f-9c50-971f9f53c51f/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/f68649c5f26bcff6817c6d21e90dac0fc71fef8e --- .kokoro/build.sh | 2 +- synth.metadata | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.kokoro/build.sh b/.kokoro/build.sh index c878b426..e16b04a7 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -78,7 +78,7 @@ samples) if [[ -f ${SAMPLES_DIR}/pom.xml ]] then - pushd {SAMPLES_DIR} + pushd ${SAMPLES_DIR} mvn -B \ -Penable-samples \ -DtrimStackTrace=false \ diff --git a/synth.metadata b/synth.metadata index 64e59868..b798cfb1 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "481b2877efbb25ae4344f22de5f23c81638bd2dd" + "sha": "a8bd73fecd313936efac95b2aaab959a3d046f8c" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "5f6ef0ec5501d33c4667885b37a7685a30d41a76" + "sha": "f68649c5f26bcff6817c6d21e90dac0fc71fef8e" } } ], From f282b0815538ab92bc3103cb02a3caf80be93078 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 27 Oct 2020 20:26:38 +0100 Subject: [PATCH 87/89] build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.4 (#263) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [com.google.cloud:google-cloud-shared-config](https://togithub.com/googleapis/java-shared-config) | patch | `0.9.3` -> `0.9.4` | --- ### Release Notes
googleapis/java-shared-config ### [`v0.9.4`](https://togithub.com/googleapis/java-shared-config/blob/master/CHANGELOG.md#​094-httpswwwgithubcomgoogleapisjava-shared-configcomparev093v094-2020-10-21) [Compare Source](https://togithub.com/googleapis/java-shared-config/compare/v0.9.3...v0.9.4)
--- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-container). --- google-cloud-container-bom/pom.xml | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google-cloud-container-bom/pom.xml b/google-cloud-container-bom/pom.xml index 9b34d3cf..b435d658 100644 --- a/google-cloud-container-bom/pom.xml +++ b/google-cloud-container-bom/pom.xml @@ -8,7 +8,7 @@ com.google.cloud google-cloud-shared-config - 0.9.3 + 0.9.4 Google Cloud container BOM diff --git a/pom.xml b/pom.xml index 59c6d43c..eff46ccb 100644 --- a/pom.xml +++ b/pom.xml @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.9.3 + 0.9.4 From b2810fe463055c734844b9f32f80f5b0a9179fc0 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Fri, 30 Oct 2020 15:28:09 -0700 Subject: [PATCH 88/89] chore(java): enable generated-files-bot (#264) This PR was generated using Autosynth. :rainbow: Synth log will be available here: https://source.cloud.google.com/results/invocations/e07b6e89-ec48-4b2f-bfb3-3325e61d3771/targets - [ ] To automatically regenerate this PR, check this box. Source-Link: https://github.com/googleapis/synthtool/commit/b19b401571e77192f8dd38eab5fb2300a0de9324 --- .github/generated-files-bot.yml | 7 +++++++ synth.metadata | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .github/generated-files-bot.yml diff --git a/.github/generated-files-bot.yml b/.github/generated-files-bot.yml new file mode 100644 index 00000000..20f3acc2 --- /dev/null +++ b/.github/generated-files-bot.yml @@ -0,0 +1,7 @@ +externalManifests: +- type: json + file: 'synth.metadata' + jsonpath: '$.generatedFiles[*]' +- type: json + file: '.github/readme/synth.metadata/synth.metadata' + jsonpath: '$.generatedFiles[*]' diff --git a/synth.metadata b/synth.metadata index b798cfb1..7e6c3947 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-container.git", - "sha": "a8bd73fecd313936efac95b2aaab959a3d046f8c" + "sha": "f282b0815538ab92bc3103cb02a3caf80be93078" } }, { @@ -19,7 +19,7 @@ "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "f68649c5f26bcff6817c6d21e90dac0fc71fef8e" + "sha": "b19b401571e77192f8dd38eab5fb2300a0de9324" } } ], @@ -40,6 +40,7 @@ ".github/ISSUE_TEMPLATE/feature_request.md", ".github/ISSUE_TEMPLATE/support_request.md", ".github/PULL_REQUEST_TEMPLATE.md", + ".github/generated-files-bot.yml", ".github/readme/synth.py", ".github/release-please.yml", ".github/snippet-bot.yml", From ed2d9934ccaa8422fcc9aae26f9e0772b4c9af8f Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Fri, 30 Oct 2020 23:14:03 +0000 Subject: [PATCH 89/89] chore: release 1.1.0 (#207) :robot: I have created a release \*beep\* \*boop\* --- ## [1.1.0](https://www.github.com/googleapis/java-container/compare/v1.0.4...v1.1.0) (2020-10-30) ### Features * **deps:** adopt flatten plugin and google-cloud-shared-dependencies ([#206](https://www.github.com/googleapis/java-container/issues/206)) ([d001d6f](https://www.github.com/googleapis/java-container/commit/d001d6fbd62cab4d4264fc34df73684d0cdbd0e0)) ### Bug Fixes * migrate to grpc_service_config ([#202](https://www.github.com/googleapis/java-container/issues/202)) ([e909f20](https://www.github.com/googleapis/java-container/commit/e909f20144e88b90127a391b510d86139c6ac9fe)) * restore retry config for deleteCluster, deleteNode ([#166](https://www.github.com/googleapis/java-container/issues/166)) ([697949e](https://www.github.com/googleapis/java-container/commit/697949ef41ccc010f3fe221902699bbcf5ef0763)) ### Documentation * fix a broken link in the docs. ([#179](https://www.github.com/googleapis/java-container/issues/179)) ([1ea5933](https://www.github.com/googleapis/java-container/commit/1ea59336a0790d464626bf99ea2f9c6c393182d2)) * Fixed broken links in the reference documentation ([#183](https://www.github.com/googleapis/java-container/issues/183)) ([ccfdc18](https://www.github.com/googleapis/java-container/commit/ccfdc1883955bb4b24697ccbb8a3dd42783c475f)) ### Dependencies * update core dependencies ([#189](https://www.github.com/googleapis/java-container/issues/189)) ([2a706c3](https://www.github.com/googleapis/java-container/commit/2a706c35dcd2162467b7204c86f86332009beffc)) * update dependency com.google.api:api-common to v1.9.1 ([#171](https://www.github.com/googleapis/java-container/issues/171)) ([b98a6e5](https://www.github.com/googleapis/java-container/commit/b98a6e5cf003f7b86c602449353f572b8cabcfeb)) * update dependency com.google.api:api-common to v1.9.2 ([#178](https://www.github.com/googleapis/java-container/issues/178)) ([bb9954f](https://www.github.com/googleapis/java-container/commit/bb9954ff7982df60c6ebc5f672ce935888e80dc8)) * update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 ([#160](https://www.github.com/googleapis/java-container/issues/160)) ([cb5982a](https://www.github.com/googleapis/java-container/commit/cb5982ae91ac5a2a342a1df414a3a4683b7621cf)) * update dependency com.google.cloud:google-cloud-core to v1.93.5 ([#172](https://www.github.com/googleapis/java-container/issues/172)) ([c3635c7](https://www.github.com/googleapis/java-container/commit/c3635c7dbade7823c03aa3747a4a927a3f7312f4)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.13.0 ([#252](https://www.github.com/googleapis/java-container/issues/252)) ([63294a5](https://www.github.com/googleapis/java-container/commit/63294a5b0a33f837acca66cbb401d92004474a5b)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.2 ([#209](https://www.github.com/googleapis/java-container/issues/209)) ([b1b8994](https://www.github.com/googleapis/java-container/commit/b1b8994c7f7ca9daced77a6daf75f7d4298ff9db)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.3 ([#211](https://www.github.com/googleapis/java-container/issues/211)) ([a9a195b](https://www.github.com/googleapis/java-container/commit/a9a195b5d351638970605f023590dd64f7b8a910)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v0.9.0 ([#217](https://www.github.com/googleapis/java-container/issues/217)) ([ce08762](https://www.github.com/googleapis/java-container/commit/ce08762db57ee3473fd7abf977745381271924a8)) * update dependency com.google.protobuf:protobuf-bom to v3.12.0 ([#164](https://www.github.com/googleapis/java-container/issues/164)) ([0cdb923](https://www.github.com/googleapis/java-container/commit/0cdb92371a1842495a1fd181e72fc6f9f95c4e05)) * update dependency com.google.protobuf:protobuf-bom to v3.12.2 ([#169](https://www.github.com/googleapis/java-container/issues/169)) ([b4fe079](https://www.github.com/googleapis/java-container/commit/b4fe07927691da958c033238848d6e4ddb96e6c6)) * update dependency io.grpc:grpc-bom to v1.29.0 ([#152](https://www.github.com/googleapis/java-container/issues/152)) ([856f1cc](https://www.github.com/googleapis/java-container/commit/856f1cccdc00c003e4731f1d10d6cd85c1593506)) * update dependency io.grpc:grpc-bom to v1.30.0 ([#184](https://www.github.com/googleapis/java-container/issues/184)) ([e105f60](https://www.github.com/googleapis/java-container/commit/e105f60fbde9ad45e9d03011a232e0978fe0fe09)) * update dependency org.threeten:threetenbp to v1.4.4 ([#154](https://www.github.com/googleapis/java-container/issues/154)) ([a483161](https://www.github.com/googleapis/java-container/commit/a48316167d0cdebd6716484dcf026d4af6e6baec)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). --- CHANGELOG.md | 37 +++++++++++++++++++++++++ google-cloud-container-bom/pom.xml | 8 +++--- google-cloud-container/pom.xml | 4 +-- grpc-google-cloud-container-v1/pom.xml | 4 +-- pom.xml | 8 +++--- proto-google-cloud-container-v1/pom.xml | 4 +-- versions.txt | 6 ++-- 7 files changed, 54 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3c4014e..c2a0e724 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,42 @@ # Changelog +## [1.1.0](https://www.github.com/googleapis/java-container/compare/v1.0.4...v1.1.0) (2020-10-30) + + +### Features + +* **deps:** adopt flatten plugin and google-cloud-shared-dependencies ([#206](https://www.github.com/googleapis/java-container/issues/206)) ([d001d6f](https://www.github.com/googleapis/java-container/commit/d001d6fbd62cab4d4264fc34df73684d0cdbd0e0)) + + +### Bug Fixes + +* migrate to grpc_service_config ([#202](https://www.github.com/googleapis/java-container/issues/202)) ([e909f20](https://www.github.com/googleapis/java-container/commit/e909f20144e88b90127a391b510d86139c6ac9fe)) +* restore retry config for deleteCluster, deleteNode ([#166](https://www.github.com/googleapis/java-container/issues/166)) ([697949e](https://www.github.com/googleapis/java-container/commit/697949ef41ccc010f3fe221902699bbcf5ef0763)) + + +### Documentation + +* fix a broken link in the docs. ([#179](https://www.github.com/googleapis/java-container/issues/179)) ([1ea5933](https://www.github.com/googleapis/java-container/commit/1ea59336a0790d464626bf99ea2f9c6c393182d2)) +* Fixed broken links in the reference documentation ([#183](https://www.github.com/googleapis/java-container/issues/183)) ([ccfdc18](https://www.github.com/googleapis/java-container/commit/ccfdc1883955bb4b24697ccbb8a3dd42783c475f)) + + +### Dependencies + +* update core dependencies ([#189](https://www.github.com/googleapis/java-container/issues/189)) ([2a706c3](https://www.github.com/googleapis/java-container/commit/2a706c35dcd2162467b7204c86f86332009beffc)) +* update dependency com.google.api:api-common to v1.9.1 ([#171](https://www.github.com/googleapis/java-container/issues/171)) ([b98a6e5](https://www.github.com/googleapis/java-container/commit/b98a6e5cf003f7b86c602449353f572b8cabcfeb)) +* update dependency com.google.api:api-common to v1.9.2 ([#178](https://www.github.com/googleapis/java-container/issues/178)) ([bb9954f](https://www.github.com/googleapis/java-container/commit/bb9954ff7982df60c6ebc5f672ce935888e80dc8)) +* update dependency com.google.api.grpc:proto-google-common-protos to v1.18.0 ([#160](https://www.github.com/googleapis/java-container/issues/160)) ([cb5982a](https://www.github.com/googleapis/java-container/commit/cb5982ae91ac5a2a342a1df414a3a4683b7621cf)) +* update dependency com.google.cloud:google-cloud-core to v1.93.5 ([#172](https://www.github.com/googleapis/java-container/issues/172)) ([c3635c7](https://www.github.com/googleapis/java-container/commit/c3635c7dbade7823c03aa3747a4a927a3f7312f4)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.13.0 ([#252](https://www.github.com/googleapis/java-container/issues/252)) ([63294a5](https://www.github.com/googleapis/java-container/commit/63294a5b0a33f837acca66cbb401d92004474a5b)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.2 ([#209](https://www.github.com/googleapis/java-container/issues/209)) ([b1b8994](https://www.github.com/googleapis/java-container/commit/b1b8994c7f7ca9daced77a6daf75f7d4298ff9db)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.8.3 ([#211](https://www.github.com/googleapis/java-container/issues/211)) ([a9a195b](https://www.github.com/googleapis/java-container/commit/a9a195b5d351638970605f023590dd64f7b8a910)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v0.9.0 ([#217](https://www.github.com/googleapis/java-container/issues/217)) ([ce08762](https://www.github.com/googleapis/java-container/commit/ce08762db57ee3473fd7abf977745381271924a8)) +* update dependency com.google.protobuf:protobuf-bom to v3.12.0 ([#164](https://www.github.com/googleapis/java-container/issues/164)) ([0cdb923](https://www.github.com/googleapis/java-container/commit/0cdb92371a1842495a1fd181e72fc6f9f95c4e05)) +* update dependency com.google.protobuf:protobuf-bom to v3.12.2 ([#169](https://www.github.com/googleapis/java-container/issues/169)) ([b4fe079](https://www.github.com/googleapis/java-container/commit/b4fe07927691da958c033238848d6e4ddb96e6c6)) +* update dependency io.grpc:grpc-bom to v1.29.0 ([#152](https://www.github.com/googleapis/java-container/issues/152)) ([856f1cc](https://www.github.com/googleapis/java-container/commit/856f1cccdc00c003e4731f1d10d6cd85c1593506)) +* update dependency io.grpc:grpc-bom to v1.30.0 ([#184](https://www.github.com/googleapis/java-container/issues/184)) ([e105f60](https://www.github.com/googleapis/java-container/commit/e105f60fbde9ad45e9d03011a232e0978fe0fe09)) +* update dependency org.threeten:threetenbp to v1.4.4 ([#154](https://www.github.com/googleapis/java-container/issues/154)) ([a483161](https://www.github.com/googleapis/java-container/commit/a48316167d0cdebd6716484dcf026d4af6e6baec)) + ### [1.0.4](https://www.github.com/googleapis/java-container/compare/v1.0.3...v1.0.4) (2020-04-20) diff --git a/google-cloud-container-bom/pom.xml b/google-cloud-container-bom/pom.xml index b435d658..18d6a14c 100644 --- a/google-cloud-container-bom/pom.xml +++ b/google-cloud-container-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-container-bom - 1.0.5-SNAPSHOT + 1.1.0 pom com.google.cloud @@ -63,17 +63,17 @@ com.google.api.grpc grpc-google-cloud-container-v1 - 1.0.5-SNAPSHOT + 1.1.0 com.google.api.grpc proto-google-cloud-container-v1 - 1.0.5-SNAPSHOT + 1.1.0 com.google.cloud google-cloud-container - 1.0.5-SNAPSHOT + 1.1.0
diff --git a/google-cloud-container/pom.xml b/google-cloud-container/pom.xml index 8bc57b12..942761bd 100644 --- a/google-cloud-container/pom.xml +++ b/google-cloud-container/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-container - 1.0.5-SNAPSHOT + 1.1.0 jar Google Cloud Container https://github.com/googleapis/java-container @@ -11,7 +11,7 @@ com.google.cloud google-cloud-container-parent - 1.0.5-SNAPSHOT + 1.1.0 google-cloud-container diff --git a/grpc-google-cloud-container-v1/pom.xml b/grpc-google-cloud-container-v1/pom.xml index 42b7aafb..60d75285 100644 --- a/grpc-google-cloud-container-v1/pom.xml +++ b/grpc-google-cloud-container-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-container-v1 - 1.0.5-SNAPSHOT + 1.1.0 grpc-google-cloud-container-v1 GRPC library for grpc-google-cloud-container-v1 com.google.cloud google-cloud-container-parent - 1.0.5-SNAPSHOT + 1.1.0 diff --git a/pom.xml b/pom.xml index eff46ccb..aaf6454e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-container-parent pom - 1.0.5-SNAPSHOT + 1.1.0 Google Cloud Container Parent https://github.com/googleapis/java-container @@ -70,17 +70,17 @@ com.google.api.grpc proto-google-cloud-container-v1 - 1.0.5-SNAPSHOT + 1.1.0 com.google.api.grpc grpc-google-cloud-container-v1 - 1.0.5-SNAPSHOT + 1.1.0 com.google.cloud google-cloud-container - 1.0.5-SNAPSHOT + 1.1.0 diff --git a/proto-google-cloud-container-v1/pom.xml b/proto-google-cloud-container-v1/pom.xml index e608c47f..f1dc48be 100644 --- a/proto-google-cloud-container-v1/pom.xml +++ b/proto-google-cloud-container-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-container-v1 - 1.0.5-SNAPSHOT + 1.1.0 proto-google-cloud-container-v1 PROTO library for proto-google-cloud-container-v1 com.google.cloud google-cloud-container-parent - 1.0.5-SNAPSHOT + 1.1.0 diff --git a/versions.txt b/versions.txt index 2d5bcf36..cf5d0fde 100644 --- a/versions.txt +++ b/versions.txt @@ -1,6 +1,6 @@ # Format: # module:released-version:current-version -proto-google-cloud-container-v1:1.0.4:1.0.5-SNAPSHOT -grpc-google-cloud-container-v1:1.0.4:1.0.5-SNAPSHOT -google-cloud-container:1.0.4:1.0.5-SNAPSHOT +proto-google-cloud-container-v1:1.1.0:1.1.0 +grpc-google-cloud-container-v1:1.1.0:1.1.0 +google-cloud-container:1.1.0:1.1.0